Poseidon Posted June 6, 2012 Posted June 6, 2012 (edited) Hi guys i though i mite aswell release this version of my warper, It includes last warp and all new warps include eclage,port malaya,munk splendide. Oh before i forget it also charges for warp to dungeons and it only warps to first lvl of each dungeons. Enjoy Poseidon warper.txt Edited June 6, 2012 by Poseidon Quote
Euphy Posted June 6, 2012 Posted June 6, 2012 Small mistakes: instead of "end", use "close" after warping because you had a text box open. Also, the town warps don't include any end statement at all... That aside, a few sections of this could be heavily condensed. For instance, instead of writing: set lastmap$,"prontera"; set lastx,156; set lasty,187; warp "prontera",156,187; break; You could write: warp "prontera",156,187; break; // [other cases] } getmapxy(lastmap$,lastx,lasty,0); close; Also, instead of putting this Zeny check for every line: if (Zeny < 1000) goto NoZenys; You could end the script immediately if the player has no Zeny. mes "Please be aware there is a small charge of 1000z for using my services"; if (Zeny < 1000) close; Quote
Poseidon Posted June 6, 2012 Author Posted June 6, 2012 Thank you for your reply ill have alook at making the changes to my script soon but it was very first scrpt ever so it was more about me learning to script then really to release it but i seen No one has provided a warper that is current ie includes all warps to the likes of eclage,manuk,splendide. Quote
Euphy Posted June 6, 2012 Posted June 6, 2012 My warper in the SVN right now includes all the new maps. o: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/warper.txt Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.