Jump to content

GiovanT

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by GiovanT

  1. Guys, i make enchanter NPC for costume item and im only want to enchant just for head, middle, lower and garment costume. But i must unequip my Left acc and equip Right acc to do that, please help me to fix my script...thx mes "[Costume Enchanter]"; mes "Choose any of the equipment you're wearing that you'd like to enchant."; next; setarray [email protected]$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set [email protected]$,""; for(set [email protected],1; [email protected]<=20; set [email protected],[email protected]+1) { if(getequipisequiped([email protected]>=10) && !getequipisequiped([email protected]>=15) && !getequipisequiped([email protected]==14)) { set [email protected]$, [email protected]$ + "[" + getequipname([email protected]) + "]"; set [email protected],1; } set [email protected]$, [email protected]$ + ":"; } if ([email protected] == 0) { mes "[Costume Enchanter]"; mes "Please ^0066FFUnequip^000000 your ^0055FFLeft Accessory^000000 and ^0066FFEquip^000000 your ^0055FFRight Accessory^000000"; close; } set [email protected], select([email protected]$); next; if(!getequipisequiped([email protected])) { //custom check mes "[Costume Enchanter]"; mes "Sorry, I can only enchant equipment,"; mes "not body parts. Come back when you're wearing something"; mes "on that slot."; close; } mes "[Costume Enchanter]"; mes "What kind of enchantment do you desire?"; switch(select("Atk Rate and Hit:Matk Rate and Fixed Cast:Critical Rate and Critical:Long Atk Rate and ASPD:Max HP Rate and Def:Heal Rate and MDef:Cancel")) { case 1: switch(select("Atk Rate and Hit:Cancel")) { case 1: set [email protected],29061; break; default: set [email protected],0; break; } break; case 2: switch(select("Matk Rate and Fixed Cast:Cancel")) { case 1: set [email protected],29071; break; default: set [email protected],0; break; } break; case 3: switch(select("Critical Rate and Critical:Cancel")) { case 1: set [email protected],29081; break; default: set [email protected],0; break; } break; case 4: switch(select("Long Atk Rate and ASPD:Cancel")) { case 1: set [email protected],29091; break; default: set [email protected],0; break; } break; case 5: switch(select("Max HP Rate and Def:Cancel")) { case 1: set [email protected],29101; break; default: set [email protected],0; break; } break; case 6: switch(select("Heal Rate and MDef:Cancel")) { case 1: set [email protected],29111; break; default: set [email protected],0; break; } break; default: set [email protected],0; break; } set [email protected], getequipid([email protected]); // save id of the item set [email protected], getitemslots([email protected]); // slots of the item set [email protected], getequiprefinerycnt([email protected]); // refine level of the item setarray [email protected]_card[0], getequipcardid([email protected],0),getequipcardid([email protected],1),getequipcardid([email protected],2),getequipcardid([email protected],3); // get current cards next; if ([email protected] == 0) { mes "[Costume Enchanter]"; mes "Stop wasting my time..."; } else { // anti-hack if (callfunc("F_IsEquipIDHack", [email protected], [email protected]) || callfunc("F_IsEquipCardHack", [email protected], [email protected]_card[0], [email protected]_card[1], [email protected]_card[2], [email protected]_card[3])) { mes "[Costume Enchanter]"; mes "Hey! What do you think you're doing!"; mes "Don't you dare switch your gear while I'm working on them, okay?"; close; } if ([email protected]_card[3] == 0 && [email protected] < 4) { set [email protected]_card[3],[email protected]; } else if ([email protected]_card[2] == 0 && [email protected] < 3) { set [email protected]_card[2],[email protected]; } else if ([email protected]_card[1] == 0 && [email protected] < 2) { set [email protected]_card[1],[email protected]; } else if ([email protected]_card[0] == 0 && [email protected] < 1) { set [email protected]_card[0],[email protected]; } else { mes "[Costume Enchanter]"; mes "I don't think I can fit any more enchantments"; mes "onto this piece of equipment."; close; } specialeffect2 EF_REPAIRWEAPON; delequip [email protected]; getitem2 [email protected],1,1,[email protected],0,[email protected]_card[0],[email protected]_card[1],[email protected]_card[2],[email protected]_card[3]; mes "[Costume Enchanter]"; mes "All done!"; } }
  2. Hello Guys, i want to ask how to disable that shadow... sorry if i wrong section since i dunno where to put this question...
  3. So i need 2 database 1 with login table and the second i need to delete the login table?
  4. Help please i try to run the server by clicking "run server" but map server cant be open... i already has MSVCR110.dll on C:\Windows\System32 can someone help me?
  5. already read that, but i still confused this part "2. Other base Sql. (to the login server is not required/login table will not used)", what does that mean?
  6. Hello, want to ask... 1. Is it possible to make 1 client with 2 server, which the 1st server for Renewal and the 2nd for Pre Renewal. (using just 1 computer) 2. If it does how can i do it ? Specific please... Thx >.<
  7. GiovanT

    Two Shop

    Just change this line : Add(1,5022,1,0,0,7086,1,969,10,999,40,1003,50,984,2); Add(1,5032,1,0,0,1059,250,2221,1,2227,1,7063,600); Add(1,5027,1,0,0,2252,1,1036,400,7001,50,4052,1); Add(1,5045,1,0,0,2252,1,1054,450,943,1200); Add(2,1224,1,0,0,7297,30,969,10,999,50,714,10); Add(2,1225,1,0,0,7292,30,969,10,999,50,714,10); Add(3,531,1,3,0,512,1,713,1); Add(3,532,1,3,0,513,1,713,1); Add(3,533,1,3,0,514,1,713,1); Add(3,534,1,3,0,515,1,713,1);
  8. change -> if (@sold_nameid[[email protected]] > 4000 && @sold_nameid[[email protected]] < 4700) { to -> if (@sold_nameid[[email protected]] > 4000 && @sold_nameid[[email protected]] < 4700 || @sold_nameid[[email protected]] > 20000 && @sold_nameid[[email protected]] < 20022) {
  9. I download rathena server from : https://github.com/rathena/rathena But i didn't know how to compile it, im using vc ultimate 2012 here's my ss sorry if i wrong post, still new on forum >.<
  10. Oops sorry, still not work... Where should i put that script? update *** Thank all, i already solved it...
  11. Please help, can't validate if user already change new/old Dress. test.txt
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.