Jump to content

Valor

Members
  • Posts

    72
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Valor

  1. case 1: setarray .@Items[0],2307,2309,2314,2316,2321,2325,2327,2328,2330,2332,2334,2335,2341,2344,2346,2348,2350,2337,2386,2394,2395,2396; set .@j,50; // this .@j is you max rand for spesific item break; case 2: setarray .@Items[0],2311,2318,2319,2320,2308,2310,2315,2317,2322,2324,2326,2331,2333,2336,2342,2345,2347,2349,2351; set .@j,55; // this .@j is you max rand for spesific item set .@k,1; break; case 3: setarray .@Items[0],2364,2365,2391,2374,2375,2376,2377,2378,2379,2380,2381,2382,2387,2388,2389,2390; set .@j,60; // this .@j is you max rand for spesific item if you are looking on your script you have case 36 success, more than 36 you will not get the item (enchant fail). idk if its work. but try change default to use break; insted of close; case 36: set .@addpart,4750;break; default: specialeffect2 EF_PHARMACY_FAIL; break;
  2. your script echant progress it delete you current used item, then giving you new one with enchant.. by close line //delitem @itemid,1; means u terminate point 1
  3. i bet this from hunting missions.txt line 290 set .@Mission_Count, getvar(#Mission_Count, $@partymembercid[.@i]); set .@Mission0, getvar(Mission0, $@partymembercid[.@i]); set .@HP, getvar(HP, $@partymembercid[.@i]); // this HP causing error if (.@Mission_Count && .@Mission0 && .@HP > 0) { system read variable as Healt Point (HP) param.... i just add somthing on back of its HP set .@Mission_Count, getvar(#Mission_Count, $@partymembercid[.@i]); set .@Mission0, getvar(Mission0, $@partymembercid[.@i]); set .@HP, getvar(HPr, $@partymembercid[.@i]); if (.@Mission_Count && .@Mission0 && .@HPr > 0) { or maybe im wrong , idk next, better u provide more information on your error..
  4. oh, yea if (Zeny >= 500000) { ...... thats zeny requirement for NPC open enchantment option but wont consume your zeny else if you dont have certain zeny he ll only tell you information. .its removeable or change to what ever you like...
  5. if (Zeny < 400000) { mes "[Dorry]"; mes "Sorry, but you don't have enough zeny."; close; } progressbar "ffff00",7; set Zeny, Zeny-400000; try change your line to if (countitem(909) < 666 ){ // if you jellopy lower than 666 mes "[Dorry]"; mes "Sorry, but you don't have enough jellopies."; close; } progressbar "ffff00",7; delitem 909,666;
  6. src/map/status.c @@ -3100,7 +3144,7 @@ int status_calc_pc_(struct map_session_data* sd, enum e_status_calc_opt opt) } base_status->aspd_rate = 1000; base_status->ele_lv = 1; base_status->race = ((sd->class_&MAPID_BASEMASK) == MAPID_SUMMONER) ? RC_BRUTE : RC_PLAYER; base_status->class_ = CLASS_NORMAL; // CHANGE THIS RC_BRUTE^ to RC_DEMIHUMAN
  7. Thanks @Secrets // valor trial: simple query mvp card on gears // thanks to Secrets // command: @mvp - script mvpcardcheck -1,{ OnInIt: bindatcmd "mvp",strnpcinfo(0)+"::OnCommand",99; end; OnCommand: .@rst = query_sql("SELECT inventory.char_id, inventory.nameid, inventory.refine, inventory.card0 FROM inventory INNER JOIN mob_db_re ON inventory.card0 = mob_db_re.dropcardid WHERE mob_db_re.mexp != 0 AND mob_db_re.dropcardid != 0", .@cid, .@itemid, .@refine, .@card0); for ( .@i = 0; .@i < .@rst; .@i++ ){ dispbottom .@i+1+"."+strcharinfo(0,.@cid[.@i])+" has +"+.@refine[.@i]+" "+getitemname(.@itemid[.@i])+" ["+getitemname(.@card0[.@i])+"] "; } end; } maybe someone need
  8. hi, im testing this to check mvp card existence query_sql "SELECT `DropCardid` FROM `mob_db_re` WHERE `MEXP` != 0 ",.@mvpcard$; query_sql "SELECT `char_id` FROM `inventory` WHERE `nameid` = '"+.@mvpcard$+"' OR `card0` = '"+.@mvpcard$+"' OR `card1` = '"+.@mvpcard$+"' OR `card2` = '"+.@mvpcard$+"' OR `card3` = '"+.@mvpcard$+"'",.@mcid$; .@totalmvp = getarraysize(.@mcid$); mes "Total MvP Cards: ^990000" + .@totalmvp +"^000000"; but the result always 0 what did i miss or wrong? thx
  9. https://github.com/rathena/rathena/commit/12ee8aa might this slove your problem?
  10. hmm... sepertinya sudah ada di item_db (server side), coba cek di client side, Folder RO> System > Iteminfo.lua/lub (open notepad++). Find/Search > Ketupat / ItemID.
  11. ga lebi mudah pake ini aja? https://pastebin.com/cB0WKhA2
  12. find good vps hosting for u (OVH, Conoha,DO,etc) then hire some good pro dev around rathena to set up your ragnarok server. this forum provide so many information and guide for "dev wanna be"
  13. yes, i have phpmyadmin installed in old vps... new to linux, i need to google more hehe
  14. im using CentoS 6, its same method as download upload using filezilla via ftp? maybe i can do 1,2,5 ,seems easy but point 3,4 i dont understand, is that using command at SSH? or filezila? both @Chaos92 @hazimjauhari90 thx
  15. can anyone provide me link or guide txt how to do save n easy way migration VPS to VPS for ragnarok server? Basicly i have almost zero knowledge about this, currently im using Putty SSH and Filezilla FTP only, no cpanel, vps has unpublished rathena server database, website(empty), and forum(empty) in it. what important thing to note and what changes necesary on migration. (client xml , patch, etc). cant find any exist guide specific ro file migration on search thx in advance
  16. OnMyMobDead: ++'round; if ( 'round >= 2 && 'round != 'mvpamount && 'round_item_amount ) { for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == instance_mapname("guild_vs2-2") ) getitem 'round_item_id, 'round_item_amount; } } } try this? copy from euphy mvp ladder.
  17. hi, pemula di sini lg belajar bikin server.... 1. mohon bimbingan untuk git pull buat update latest rathena features, langkah aman nya gimana dan apa saja yg harus di perhatikan atau di cek ulang, saya liat di instance db baru sampe sara, padahal di rathena uda ada gmt sama htf, bentar lg faceworm malah... 2. klo ada mention "dont forget to upgrade your sql : upgrade_20161106.sql" < itu bijimana ya maksudnya? 3. stylish default dr rathena warna nya acak2an dan hitam semua... palete uda ada, uda cek client.conf jg atur max color... apa lagi yg harus saya cek? thx duluan deh
  18. helow, cari yg jualan database instance lengkap tinggal colok ke server dimana ya? ato ada ga si? thx
×
×
  • Create New...