Jump to content

Poseidon's Warper


Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   6
  • Joined:  12/09/11
  • Last Seen:  

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 by Poseidon
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   6
  • Joined:  12/09/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...