vagos123 Posted August 15, 2010 Share Posted August 15, 2010 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 Quote Link to comment Share on other sites More sharing options...
Lineage 2 Mortal Posted August 15, 2010 Share Posted August 15, 2010 nice but.. some photos? tHANKS. Quote Link to comment Share on other sites More sharing options...
vagos123 Posted August 15, 2010 Author Share Posted August 15, 2010 nice but.. some photos? tHANKS. o yeah i forgot check this the second item i use is what i share :) Quote Link to comment Share on other sites More sharing options...
Fanky Posted August 15, 2010 Share Posted August 15, 2010 Thats pretty eazy to do. by the way thanks for share. Quote Link to comment Share on other sites More sharing options...
vagos123 Posted August 15, 2010 Author Share Posted August 15, 2010 Thats pretty eazy to do. by the way thanks for share. i just started creating java things :) anyway thx :) Quote Link to comment Share on other sites More sharing options...
Onix Posted August 15, 2010 Share Posted August 15, 2010 wrong section you should make new topic here because this section is with l2j modifications . request move or lock this topic . Quote Link to comment Share on other sites More sharing options...
vagos123 Posted August 15, 2010 Author Share Posted August 15, 2010 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 Quote Link to comment Share on other sites More sharing options...
Onix Posted August 16, 2010 Share Posted August 16, 2010 i dont check exactly this share but now i see net.sf.l2j.gameserver.handler.itemhandlers an open Book.java sorry my mistake -.- Quote Link to comment Share on other sites More sharing options...
vagos123 Posted August 16, 2010 Author Share Posted August 16, 2010 i dont check exactly this share but now i see net.sf.l2j.gameserver.handler.itemhandlers an open Book.java sorry my mistake -.- never mind :) Quote Link to comment Share on other sites More sharing options...
Cherub Posted August 22, 2010 Share Posted August 22, 2010 Great share... I was looking for this for a long time. Quote Link to comment Share on other sites More sharing options...
exah Posted August 22, 2010 Share Posted August 22, 2010 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 Quote Link to comment Share on other sites More sharing options...
DarkKnightCZ Posted August 22, 2010 Share Posted August 22, 2010 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 :) Quote Link to comment Share on other sites More sharing options...
vagos123 Posted August 23, 2010 Author Share Posted August 23, 2010 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 Quote Link to comment Share on other sites More sharing options...
eKo Posted August 24, 2010 Share Posted August 24, 2010 goto function dosent work when i click on a port nothing happens i guess you need to mod bypasstoerver any clues Quote Link to comment Share on other sites More sharing options...
Sponz Posted August 24, 2010 Share Posted August 24, 2010 goto function dosent work when i click on a port nothing happens i guess you need to mod bypasstoerver any clues same problem here.... 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.