Poseidon Posted June 6, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 107 Reputation: 6 Joined: 12/09/11 Last Seen: May 9, 2017 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
Poseidon Posted June 6, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 107 Reputation: 6 Joined: 12/09/11 Last Seen: May 9, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted June 6, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
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.