Jump to content

Joseph

Members
  • Posts

    341
  • Joined

  • Last visited

Everything posted by Joseph

  1. <header>,{ for (set .@i,1; .@i <= 10; set .@i,.@i + 1) setarray .@m[getarraysize(.@m)],(getequipisequiped(.@i)&&getequipisenableref(.@i)&&getequiprefinerycnt(.@i)<10)?.@i:0; for (set .@i,0; .@i < getarraysize(.@m); set .@i,.@i + 1) { while (getequiprefinerycnt(.@m[.@i])<10) successrefitem .@m[.@i]; } close; }
  2. <header>,{ for (set .@i,1; .@i <= 10; set .@i,.@i + 1) set .@m$,.@m$+((getequipisequiped(.@i)&&getequipisenableref(.@i)&&getequiprefinerycnt(.@i)<10)?getequipname(.@i):"")+":"; set .@m,select(.@m$); setarray .@r,7227,2; if (countitem(.@r)<.@r[1]) dispbottom .@r[1]+" x "+getitemname(.@r)+" per +10 refine!"; else { delitem .@r,.@r[1]; while (getequiprefinerycnt(.@m)<10) successrefitem .@m; } close; }
  3. OnTouch Disablenpc OnTimer or Awake And lastly, check your curlys "}".
  4. <header>,{ mes "[Warper]"; mes "Please select a destination."; switch (select("Main Town:Quests/Donations:Free Item Room:Mall")) { Case 1: setarray .@m$, "trinity","109","85"; break; Case 2: setarray .@m$, "nov_grnds","227","70"; break; Case 3: setarray .@m$, "new_zone04","141","80"; break; Case 4: setarray .@m$, "ayothaya","0","0"; break; } close2; warp .@m$[0],atoi(.@m$[1]),atoi(.@m$[2]); end; }
  5. 0 = Vending is allowed.
  6. You can repeat stuffs by using loops. loops
  7. Check your scripts carefully and see db/const.txt. There is no cell_vending.
  8. Use: cell_novending https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/const.txt
  9. Edit the items yourself. http://upaste.me/7ed1763602656f7 Case 0: getitem 671,1; break; Case 1: getitem 672,1; break; Case 2: getitem 673,1; break; Case 3: getitem 674,1; break; Case 4: getitem 675,1; break; Case 5: getitem 676,1; break; Case 6: getitem 677,1; break; Note: Case 0 is Sunday.
  10. Joseph

    Job Master

    https://rathena.svn....m/jobmaster.txt
  11. Oops. Sorry. Check my previous post. If you're using dialogue then change: end; to close;
  12. Try this.. {summon "I'm so evil!",1272,120000,"summonpls::On" + getcharid(0);},{},{getmapxy .@map$, .@x, .@y, 0; killmonster .@map$,"summonpls::On"+getcharid(0);}
  13. I think this might helps. Gettimetick
  14. If you want dialogue, edit: //do whatever new_zone04,100,29,6 script Novice Master 743,{ if (Class == Job_Novice && JovLevel < 10) { //do whatever end; } mes "[ ^ff0000Novice Master^000000 ]"; mes "Wie ich sehe hast du dein Training absolviert."; next; mes "[ ^ff0000Novice Master^000000 ]"; mes "M?chtest du nun nach loltownwhatever gehen?"; switch(select("Ja","Nein")) { case 1: Save("anymap", 38, 21); warp "lol",38,22; close; case 2: next; mes "[ ^ff0000Novice Master^000000 ]"; mes "Komm wieder wenn du bereit bist in die Stadt zu gehen."; close; } }
  15. Wasn't that what you asked for? o.O http://upaste.me/85c0709db16c8a1 Edit the dialogue: mes "You have taken the items.";
  16. It can be solved by using permanent character variable. http://upaste.me/5b897088f7f23e0
  17. An extra "}" Already: mes "You have already Freebies items"; close; } http://upaste.me/139570771d1221e
  18. - script NoVending -1,{ OnInit: setcell "<map name>",<x1>,<y1>,<x2>,<y2>,cell_novending,1; end; }
  19. Yes, script_commands.txt might help you.
  20. Why don't you use rAthena? Anyhow, here you go.. http://upaste.me/5b31706ac29a94d
  21. Right click on your working copy and hit SVN update. Of course you must have tortoise installed before doing this.
×
×
  • Create New...