Jump to content

Recommended Posts

Posted

Hello Hello Hello! My 1st share in this section :)

 

i have for you an item which teleports you to farming areas

 

I was customising a pack for a server i wanna open

 

and while i was talking with the other admin he told me that it would be nice to have

 

a custom farm areas teleporter

 

like the old L2DeathWhisper(L2 DeathAvenue now)

 

So as i was searching i found Stefoulis15 way for pop up html and i created the teleporter

 

and i decided to share it with you! Here we go :

 

 

First of all go to net.sf.l2j.gameserver.handler.itemhandlers an open Book.java

 

Find these :

 

   private static final int[] ITEM_IDS = { 5588,6317,7561,7064,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,
      7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112 };

 

 

and make them look like this

 

   private static final int[] ITEM_IDS = { 5588,6317,7561,7064,7082,7083,7084,7085,7086,7087,7088,7089,7090,7091,
      7092,7093,7094,7095,7096,7097,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7569 };

 

 

So core part in done

 

Now let's go to data/html/help and create some htmls

 

1st. 7569.htm :

 

 

<html><body>
<center><tr><td><font color="FF40FF">-= MxC Custom Teleporter =-</font></tr></td><br>
 <tr><td><font color="FF0066">______________________________</font></tr></td><br>
<br>
<tr><td>Welcome.</tr></td><br>
<br>
<button value="LeveL Up Zone" action="bypass -h player_help 7569-1.htm" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<button value="Farm Zone" action="bypass -h player_help 7569-2.htm" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<button value="PvP Zone" a action="bypass -h player_help 7569-3.htm" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
 
<tr><td><font color="FF0066">______________________________</font></tr></td>
</body></html>

 

 

2nd. 7569-1.htm

 

<html><body>
<center><tr><td><font color="800080">-= Level Up Zone =-</font></tr></td><br>
 <tr><td><font color="FF0066">______________________________</font></tr></td><br>
<tr><td><br></td>
</tr>
<button value="LeveL (5-10)" action="bypass -h npc_%objectId%_goto 50075" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<tr>

<button value="LeveL (20-30)" action="bypass -h npc_%objectId%_goto 50066" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<tr>


<button value="LeveL (40-50)" action="bypass -h npc_%objectId%_goto 50051" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<tr>

<button value="LeveL (60-70)" action="bypass -h npc_%objectId%_goto 50083" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<tr>

<button value="LeveL (75-80)" action="bypass -h npc_%objectId%_goto 50100" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<tr>




 <br>
<tr><td><font color="FF0066">______________________________</font></tr></td><br>
<a action ="bypass -h player_help 7569.htm"><font color="FFF080">Back</font></a>
</body></html>

 

 

3rd . 7569-2.htm

 

<html><body>
<center><tr><td><font color="800080">-= Farm Zone =-</font></tr></td><br>
 <tr><td><font color="FF0066">______________________________</font></tr></td><br>
<tr><td><br></td>
</tr>
<button value="Festival Adena" action="bypass -h npc_%objectId%_goto 50151" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<tr>

<button value="Adena" action="bypass -h npc_%objectId%_goto 50160" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<tr>


 <br>
<tr><td><font color="FF0066">______________________________</font></tr></td><br>
<a action=action ="bypass -h player_help 7569.htm""><font color="FFF080">Back</font></a>
</body></html>


 

 

4th . 7569-3.htm

 

 

<html><body>
<center><tr><td><font color="800080">-= PvP Zone =-</font></tr></td><br>
 <tr><td><font color="FF0066">______________________________</font></tr></td><br>
<tr><td><br></td></tr>


<button value="PvP Zone" action="bypass -h npc_%objectId%_goto 50173" width=204 height=20 back="sek.cbui36" fore="sek.cbui75">
<tr>


 <br>
<tr><td><font color="FF0066">______________________________</font></tr></td><br>
<a action ="bypass -h player_help 7569.htm"><font color="FFF080">Back</font></a>
</body></html>

 

and the sql for all the teleports

 

http://pastebin.com/JSmAE1TT

 

Compile your core and datapack and

 

Then in game with your admin char press //create_item 7569

 

or pop up the admin menu (//admin) an select item!

 

NOTE : The item i selected spawns at the quest section

 

you must change it from here navicat/etcitems

 

NOTE2: I hope to raise my karma!

 

I made this on L2J Interlude

 

Posted

wrong section you should make new topic here because this section is with l2j modifications .

 

request move or lock this topic .

lol?

 

you edit the java side for this

 

it belongs here

 

source topic http://www.maxcheaters.com/forum/index.php?topic=157195.0

Posted

Greetings community my question is this code allows the user to teleport and just displays the HTML as I have tried but once I click it I do not know the teleport teleports do not have the number assigned in the html but not fix it and yet I so teleports not know what the main function of this code

 

luck

 

excuse my bad translation

Posted

exah: the main function is that you have "book" in your inventory, if you read it, you can teleport to farming locations, if you cant teleport, you probably didnt import sqls / didnt edited java code / didnt create htmls :)

 

vagos123: its cool idea, but for some server absolutely useless (cause they can kill someone and "escape via this book", or something like this :) ), but nice share and dont stop contributing :)

Posted

exah: the main function is that you have "book" in your inventory, if you read it, you can teleport to farming locations, if you cant teleport, you probably didnt import sqls / didnt edited java code / didnt create htmls :)

 

vagos123: its cool idea, but for some server absolutely useless (cause they can kill someone and "escape via this book", or something like this :) ), but nice share and dont stop contributing :)

yes you are right

 

i will create or find a code

 

when characters cannot escape

 

and i will share it again

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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