Jump to content
  • 0

[Request] Custom warper


Decimare

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  02/10/12
  • Last Seen:  

I'm looking for a warper npc with the following criteria:

1.Enabled OnPCLoadMapEvent for Dungeons. Either quest or all.

2. Last warp

3. Favourite warp list

4. Has "Home town" as the first option on the list for convenience

Any other features would be great too, as long as I am able to edit them. Which I should have no problem with regardless. Thank you.

Edit: If there will be field, or dungeon level selectable warps, I would prefer this to be easily disabled please.

Edited by Decimare
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  217
  • Reputation:   18
  • Joined:  11/20/11
  • Last Seen:  

Have you tried editing Toasty's Warper?

http://rathena.org/board/topic/57378-toastys-warper/

Edited by Mirage
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  02/10/12
  • Last Seen:  

I was considering using that one, unfortunately, the biggest thing is that "auto unlock", the OnPCLoadMapEvent. Unfortunately I'm too inexperienced to know exactly where to put this. Also, at the moment my ragnarok client is reading from data folder first, for my own convenience. Currently my warper is sort of outdated, even compared to the server itself.

I did find one I liked, however the download link doesn't seem to work as it's on the old eAthena forums. Here is the forum thread for reference: http://www.eathena.w...er-t202106.html

Edited by Decimare
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  217
  • Reputation:   18
  • Joined:  11/20/11
  • Last Seen:  

Well, OnPCLoadMapEvent is an event itself, so it can be at the beginning or end of the script or in the middle. Doesn't really matter, to my knowledge at least. Toasty's is great, and its easy to edit.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  02/10/12
  • Last Seen:  

Toasty's warper has too much unfortunately. In fact, I'd be better off making my own warper. The problem remains the same. I need a warper with the

OnPCLoadMapEvent script. I just don't know how to build that piece, since I'm still learning.

Edit: Just the peice of the script would be wonderful too, I do have to edit my warper to add the maps which it's missing, but those are just dungeon entrances and towns. Nothing major. Editing this into my current warper would work just fine as well.

Edited by Decimare
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

what are you trying to do with OnPCLoadMapEvent with your warper

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  02/10/12
  • Last Seen:  

what are you trying to do with OnPCLoadMapEvent with your warper

I want to restrict warping to dungeons unless the player discovers the dungeon's first floor map. I would like it to hide to that character until that character visits it as well, if that's possible.

Example: Player goes to warper to visit dungeon, dungeon list consists of Payon dungeon, Clock Tower, and Thor Volcano. Player visits Odins Temple for the first time, Odins Temple is then added to the list.

I also want this to warp just outside of the dungeon. Not allow the player to select the dungeon level they want to go to. I may restrict this later to towns once I can revise how this certain script works, and test it myself.

Since I figured this might help, this is my current warper, I still have to add things to the list however.

- script Warp Agent#01::warpra 859,{
// set @lvlselect,0;
callfunc "F_ClearGarbage"; //Clear outdated, unused variables
mes "[Warp Agent]";
mes "Hello " + strcharinfo(0) + ",";
mes "I can teleport you to any Town or Dungeon!";
mes "Where do you want to go?";
next;
switch(select("To a Town:To a Dungeon")) {
 case 1:
  mes "[Warp Agent]";
  mes "Please select which town you would like to be teleported to.";
  next;
  switch(select("Alberta:Aldebaran:Amatsu:Ayothaya:Comodo:Einbroch:Einbech:Geffen:Gonryun:Hugel:Izlude:Lighthalzen:Louyang:Lutie:Morroc:Payon:Prontera:Umbala:Yuno")) {
case 1:
 warp "alberta",27,236;
 break;
case 2:
 warp "aldebaran",145,120;
 break;
case 3:
 warp "amatsu",197,86;
 break;
case 4:
 warp "ayothaya",149,118;
 break;
case 5:
 warp "comodo",188,161;
 break;
case 6:
 warp "einbroch",64,200;
 break;
case 7:
 warp "einbech",70,95;
 break;
case 8:
 warp "geffen",119,66;
 break;
case 9:
 warp "gonryun",150,130;
 break;
case 10:
 warp "hugel",96,145;
 break;
case 11:
 warp "izlude",128,111;
 break;
case 12:
 warp "lighthalzen",158,92;
 break;
case 13:
 warp "louyang",210,108;
 break;
case 14:
 warp "xmas",150,133;
 break;
case 15:
 warp "morocc",159,93;
 break;
case 16:
 warp "payon",152,75;
 break;
case 17:
 warp "prontera",156,187;
 break;
case 18:
 warp "umbala",130,130;
 break;
case 19:
 warp "yuno",160,168;
 break;
  }
  break;
 case 2:
  mes "[Warp Agent]";
  mes "Please select which dungeon you would like to be teleported to.";
  next;
  switch(select("Abyss Lake:Amatsu Dungeon:Anthell:Ayothaya Dungeon:Bibilan Dungeon:Coal Mine (Dead Pit):Culvert:Einbech Dungeon:Glast Heim:Gonryun Dungeon:Juperos:Lighthalzen Bio Lab:Magma Dungeon:Niflheim:Odin Temple:Orc Dungeon:Payon Dungeon:Pyramids:Sphinx:Sunken Ship:Thanatos Tower:Turtle Dungeon")) {
case 1:
 warp "hu_fild05",189,207;
 break;
case 2:
 warp "ama_dun01",229,12;
 break;
case 3:
 warp "moc_fild20",164,145;
 break;
case 4:
 warp "ayo_fild02",280,149;
 break;
case 5:
 warp "izlu2dun",106,88;
 break;
case 6:
 warp "mjolnir_02",81,359;
 break;
case 7:
 warp "prt_sewb1",126,248;
 break;
case 8:
 warp "einbech",135,249;
 break;
case 9:
 warp "glast_01",368,303;
 break;
case 10:
 warp "gonryun",160,195;
 break;
case 11:
 warp "yuno_fild07",218,176;
 break;
case 12:
 warp "lighthalzen",158,285;
 break;
case 13:
 warp "yuno_fild03",39,140;
 break;
case 14:
 warp "niflheim",35,161;
 break;
case 15:
 warp "odin_tem01",98,144;
 break;
case 16:
 warp "gef_fild10",70,332;
 break;
case 17:
 warp "pay_arche",43,132;
 break;
case 18:
 warp "moc_ruins",62,162;
 break;
case 19:
 warp "moc_fild19",107,100;
 break;
case 20:
 warp "alb2trea",75,98;
 break;
case 21:
 warp "tha_scene01",131,223;
 break;
case 22:
 warp "tur_dun01",149,238;
  }
  break;
}
end;
}

Edited by Arcenciel
Codeboxed
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
Answer this question...

×   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...