Jump to content

Kido

Members
  • Posts

    1445
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Kido

  1. Edit: Lol nvm this the script need some fixes, give me a min. and i will fix it Edit2: Finally fixed, there were some mistakes There was no menu predefined for gold coins, it just opened alone the silver coins trade This line switch(select("Ghostring Scroll:Holy Armor Scroll:Shadow Armor Scroll":Tao Gunka Scroll:Repair Weapon Scroll")) { Has an error, there is an extra " just after Shadow Armor Scroll When fixed that, after putting the amount of desired exchange, the npc does nothing and a blank window of npc message stucks the player (fixed adding a close; at the end of every exchange I hope it helps prontera,146,172,6 script Kidolol 872,{ set .@name$,"[Coin Exchanger]"; mes .@name$; mes "Hi! What Can i Do For You ?"; menu "Silver Coin",sc,"Gold Coin",gc; //added options to select for Silver/Gold exchanges mes .@name$; sc: next; switch(select("Level 5 Assumptio Scroll:Level 5 Aspersio Scroll:Level 10 Blessing Scroll:Level 10 Increase Agi Scroll:Level 10 Mystical Amplification Scroll:Level 10 Wind Walk:Gold Coin")) { case 1: mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 675,.@t; getitem 12218,5*.@t; close; // added 1 close; to every end of exchange to fix the tuck message window } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } break; case 2: mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 675,.@t; getitem 12217,5*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } break; case 3: mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 675,.@t; getitem 12215,10*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } break; case 4: mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 675,.@t; getitem 12216,10*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } break; case 5: mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 675,.@t; getitem 14593,5*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } break; case 6: mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 675,.@t; getitem 12219,5*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } break; case 7: mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 5 ) ||(countitem(675) < .@t){ close; } delitem 675,.@t; getitem 671,.@t/5; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } break; } gc: next; menu "Ghostring Scroll",GS,"Holy Armor Scroll",HAS,"Shadow Armor Scroll",SAS,"Tao Gunka Scroll",TGS,"Repair Weapon Scroll",RWS,"Silver Coin",SCS; //switch(select("Ghostring Scroll:Holy Armor Scroll:Shadow Armor Scroll:Tao Gunka Scroll:Repair Weapon Scroll")) { //was removed to put a menu instead since it has an extra " and could mess the whole case count (maybe this was not neccesary at all ... next; GS: mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 671,.@t; getitem 14598,10*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } close; HAS: next; mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 671,.@t; getitem 14540,5*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } close; SAS: next; mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 671,.@t; getitem 14539,10*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } close; TGS: next; mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 0 ) ||(countitem(675) < .@t){ close;} delitem 671,.@t; getitem 14602,10*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } close; RWS: next; mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 5 ) ||(countitem(675) < .@t){ close;} delitem 671,.@t; getitem 14521,1*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } close; SCS: next; mes "Please Input The Number of Coins"; input .@t; if(checkweight(675,.@t)){ if(.@t < 5 ) ||(countitem(675) < .@t){ close;} delitem 671,.@t; getitem 675,5*.@t; close; } else { mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } close; } } Tell me if you get an error
  2. euphy already did it o:!!!
  3. woa amazing o:!!!! may i ask for the name of the song, it was sooooooo cooooooooool !!! lol huh i was going to edit the topic to made it more simple guildstorage opesn to any members but it will have password setted by the gm thanks for sharing o:!
  4. Lol, actually there are 2 "skull types, 1 that monster drops and has the ID 7005 Skull Item ID# 7005 (Skull) Type Miscellaneous Class n/a Buy 1044z Sell 522z Weight 1 Description A skull taken from a corpse. Item Script {},{},{} Dropped By Dark Lord (60%) [mvp drop] Flame Skull (50%) Wander Man / Wanderer (48.5%) Gemini-S58 (30%) Alarm (15%) Shelter / Mistress of Shelter (10%) Wind Ghost (5%) Siorava (Re-Stats) (5%) Obtainable From Old Blue Box, Old Violet Box and the another one that is only droped when a player is killed (if enabled on the conf,) which id is 7420 Skull Item ID# 7420 (Skull_) Type Miscellaneous Class n/a Buy n/a Sell n/a Weight 0 Description A skull in which someone's name has been carved. Item Script {},{},{} Dropped By No Result however, if it makes you feel better, you can just go to the src and change the ID of the skull that is droped when players are killed (7420) for the id of the item that you want instead, alwats remember to make a backup if anything wents wrong
  5. i didn't understand the 30 day limit script thing, do you want the script to has a limit of 30 days? if that so, you better put the effect on a rental item (?)
  6. allright good luck, lol maybe was that, maybe it didn't update properly, sometimes happens, sometimes too users report errors right after updating lol
  7. i know lol just checked the las link where you downloaded rathena, there should be the number of the revision
  8. allright, it's more a bug then, report it and provide your revision so they can see on it, that's more a source thing D:
  9. i found this http://rathena.org/board/tracker/issue-7293-map-server-crashed-r17155/ for what i found it may be because you a old version, have you tried to get a newer revision?
  10. Hello, i would to request/knowHowToDo a npc that opens the guild storage only for the guild master and also, the guild master will have the option to select up to 10 members of its guild that can open the guild storage too. The npc will work for all guilds and all guild masters, it will be a public npc not a one inside the castle, also it won't be neccesary to the guild/guild master to have 1 castle conquered. Thank you in advance o:!
  11. oh lol mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } close; } // also, looks like this is an extra } gc: switch(select("Ghostring Scroll:Holy Armor Scroll:Shadow Armor Scroll":Tao Gunka Scroll:Repair Weapon Scroll")) { case 8: seems like you lose a break; there, try to change that for this and tell me if you get any errors mes "You Don't Have Enough Coin, Please Comeback Again When You Have It."; close; } break; //<<<< it was a close; , also there was an extra } gc: switch(select("Ghostring Scroll:Holy Armor Scroll:Shadow Armor Scroll":Tao Gunka Scroll:Repair Weapon Scroll")) { case 8: let me know if it works o:!
  12. ooooh cool o:! perfect to make legends/horror story of that part o:!!!! ty Euphy for the repply
  13. have you read this o:? http://rathena.org/wiki/Permanent_Monster_Spawn well i don't get it at all too xD anyone o: ?
  14. what errors are you getting? (check the server window) a screen shot would be helpful can't test now sorry D:!
  15. do you get any error? have you aplied correctly the modification? have you compiled yet? always make sure you backup your files before doing those changes D:
  16. Kido

    Q>on 255 exp

    this may help you copy the table that Hatake Kakashi gave http://rathena.org/board/topic/57097-255-expjob-for-3rd-jobs/
  17. did you try this too? http://rathena.org/board/topic/80057-homunculus-max-level/
  18. with the newest revision it's possible lol huh if may i ask, you asking this for an item effect? it would be like this bonus3 bAddMonsterDropItem,YoudItemID,RC_Player,1000; however, if you want it to auto drop like skulls on pvp, that will need src modification D: huh dunno if is there a way by script to make each time a player is killed by another, the item will drop D:
  19. try 5006,Machoman_Glasses,Machoman's Glasses,5,36000,,100,,1,,4,0xFFFFFFFE,7,2,512,,0,0,92,{ bonus2 bHpDrainRate,1000,20; bonus bMaxHPrate,-20; },{},{} for the solar sword, i think the % of gaining hp is too low, test increasing it and see if it works lol no need to pay tell me if this works
  20. huh dunno if this has to be but, have you checked the lua files?
  21. you made a new grf? did you make sure that DATA.INI reads it? [Data] 0=YourGrfwithNewGmSprites.grf 1=yourothergrfs.grf 2=rdata.grf 3=data.grf
  22. hey try to make them, read this https://github.com/rathena/rathena/blob/master/doc/item_bonus.txt also http://rathena.org/wiki/Bonus tell me if you have any problems o:!
  23. try to use mapflags and the restrict.txt file trunk / npc / mapflag trunk / npc / mapflag / restricted.txt
  24. Kido

    R>Attribute 85%

    what? you want an effect that reduces the damage of an attribute by 85%? this? for example, fire bonus2 bSubEle,Ele_Fire,85;
  25. it sounds to me more of a bug D: do you still have the problem? which revision is?
×
×
  • Create New...