Jump to content

New Bypass For L2Teleporterinstance [Acis]


Hugey

Recommended Posts

Hello to all member MaxCheaters and happy new year, this is my first share in this community and I hope to be helpful for some people.

 

With this code you can make your life more easy when you make Gatekeeper for your server

also you can edit location of your Gatekeeper and when server is Live without change something inside XML or SQL files.

 

You have to add this line inside HTML of your L2TeleportInstance

  • gameserver\data\html\teleporter\30080.htm
<a action="bypass -h npc_%objectId%_player_go_to 83305 148038 -3413" msg="811;to custom location"><font color=LEVEL>Char Teleport to location</font></a>

7Cs7guL.png

===================================================================
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java	(revision 5)
+++ java/net/sf/l2j/gameserver/model/actor/instance/L2TeleporterInstance.java	(working copy)
@@ -18,6 +18,7 @@
 import java.util.StringTokenizer;
 
 import net.sf.l2j.Config;
+import net.sf.l2j.gameserver.ai.CtrlIntention;
 import net.sf.l2j.gameserver.cache.HtmCache;
 import net.sf.l2j.gameserver.datatables.MapRegionTable;
 import net.sf.l2j.gameserver.datatables.TeleportLocationTable;
@@ -88,6 +89,11 @@
 			}
 			showChatWindow(player, val);
 		}
+		else if (command.startsWith("player_go_to"))
+		{
+			String val = command.substring(13);
+			teleportCharTo(player, val);
+		}
 		else
 			super.onBypassFeedback(player, command);
 	}
@@ -215,4 +221,18 @@
 		
 		return COND_ALL_FALSE;
 	}
+	
+       //Author Hugey
+	private static void teleportCharTo(L2PcInstance activeChar, String location)
+	{
+		StringTokenizer st = new StringTokenizer(location);
+		
+		activeChar.getAI().setIntention(CtrlIntention.IDLE);
+		activeChar.teleToLocation(Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), 0);
+	}
 }
\ No newline at end of file

Author : Hugey

Edited by Hugey
  • Upvote 1
Link to comment
Share on other sites

Nothing special but nice..since there is teleports.xml is just some more lines inside the core

 

Trust me i find guy who dont know to edit XML's, so this is the way to have faster access to locations  and change via HTML and just with using //reload htm

Edited by Hugey
Link to comment
Share on other sites

Trust me i find guy who dont know to edit XML's, so this is the way to have faster access to locations  and change via HTML and just with using //reload htm

He could just open xmls with notepad. Good share by your side. May be helpfull like you say. :)

Link to comment
Share on other sites

Trust me i find guy who dont know to edit XML's

Then, he must learn some things about "Computers" and after to try for live server..

Link to comment
Share on other sites

He could just open xmls with notepad. Good share by your side. May be helpfull like you say. :)

  • I think i will help 2-3 guys on this forum by this "code"

 

Then, he must learn some things about "Computers" and after to try for live server..

  • He must learn but everyone need help to learn in 2k17

 

So this is a copy paste of goto command without checks (?)

  • Just StringTokenizer An3rchy, nothing special
Link to comment
Share on other sites

Its better for someone to learn how he can edit the xmls since this way is not the best for live servers...

can be easily bypassed with many programms, such andrenaline and the player will be able to teleport everywhere in the map just with changing the cords...

 

Except if you add a list with the cords that allowed which is a huge amount of wasted time without reason..

 

For me <- not suggested...

Edited by melron
Link to comment
Share on other sites

Simple, but very useful, thks for share!

  • Thanks mate

 

Its better for someone to learn how he can edit the xmls since this way is not the best for live servers...

can be easily bypassed with many programms, such andrenaline and the player will be able to teleport everywhere in the map just with changing the cords...

 

Except if you add a list with the cords that allowed which is a huge amount of wasted time without reason..

 

For me <- not suggested...

  • Then he can anyway use your GK with bypassed with many programs , but he need to be close to npc.
Link to comment
Share on other sites

 

  •  
  • Thanks mate
  •  

 

  •  
  • Then he can anyway use your GK with bypassed with many programs , but he need to be close to npc.
  •  

 

 

Ofc ... but theres something...

He can just bypass the ID of the teleport.. i mean

<a action="bypass -h npc_%objectId%_goto 26" msg="811;Town of Oren">Town of Oren - 9400 Adena</a><br1> 

He can just change the goto to 1060 so he will go to antharas lair...

In your case he can just use 

<a action="bypass -h npc_%objectId%_player_go_to 147464 1672 -336" msg="811;to custom location"><font color=LEVEL>Char Teleport to location</font></a> 

and boom? 

 

Click Me!

 

 

 

Aden castle Pray room!

 

Untitled.png

 

 

Edited by melron
Link to comment
Share on other sites

 

 

  • Dean image!
  • I got your point man.
  • But he still have to be near on Gatekeeper to use this
  • I do not said this is the best way for live server ^_^ just helping newbies with ideas
Link to comment
Share on other sites

 

  • Dean image!
  • I got your point man.
  • But he still have to be near on Gatekeeper to use this
  • I do not said this is the best way for live server ^_^ just helping newbies with ideas

 

Yea i know you want to help but

Helping must be with correct way... if you help someone with wrong way then whats the point of this?

Also about the radius of the gatekeeper who cares? He will just be near the gk and do what i said... ?

This one is usefull for local servers for easy edit but still can be with the xmls.

 

P.s About your code u can just use:

 

 

	private static void teleportCharTo(L2PcInstance activeChar, String location)
 	{
	 	StringTokenizer st = new StringTokenizer(location);

	 	activeChar.getAI().setIntention(CtrlIntention.IDLE);
	 	activeChar.teleToLocation(Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), 0);
	 	
 	} 

 

 

Good work ;)

Edited by melron
Link to comment
Share on other sites

About your code u can just use:

	private static void teleportCharTo(L2PcInstance activeChar, String location)
 	{
	 	StringTokenizer st = new StringTokenizer(location);

	 	activeChar.getAI().setIntention(CtrlIntention.IDLE);
	 	activeChar.teleToLocation(Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), 0);
	 	
 	} 
  • I don't think is bad way :P just not recommended for live server with 2k17 hackers :P

     

Edited by Hugey
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.



  • Posts

    • Why not making hi5 files to support login/play at the client and only make some client parts for the rest? Isnt it more easy?
    • Powerful Spells Caster & Spiritual Healer Web: lovespellsafrika.com Phone: +27780802727 WhatsApp +27789121499 Email: bbaantu@gmail.com Real Magic Spells | How To Get Back Ex-Boyfriend or Ex-Girlfriend. Real Magic Spells for all purpose; Now you can benefit through the use of spells like Love Spells, Money Spells, Talismans, Charms, Prayers, Curses and Chants. Magic Spells can be spell cast for many purposes. Talismans and Charms work as powerful Ingredients. If you need any spiritual knowledge on the power of Spells and Magic you can always Powerful Magic Rings Love Spells                     Casting of Simple and Effective Love Spells Easy Love Spells Spells for Attraction between two Lovers Binding Love Spells Get back Lost Lover Spells Spells to Strengthen Love Relation Lost Love Spells Soul Mate Spells Marriage Spell for a happy Married Life. Retrieve a Lost Love Spells Bring Back Your Love Spells Gay Love Spells, Lesbian Love Spells Anti-Love Spells, Divorce Spells, Break up Spells How to Get Back Ex-Boyfriend, or Ex-Girlfriend Casting Spells to Get Rid of Your Husband, Wife or Partner without Fights or them hating you Magic Rings, Powerful Love Rings Spells to stop a divorce Voodoo Spells for Love Love Return Spells Money & Prosperity Spells Phone: +27780802727 WhatsApp +27789121499 How to Cast Magic Money Spells Lottery Spells or Lotto Spells Voodoo Spells for Money Black Magic Spell for Money Protection & Banishing Spells Black Magic Spells and Curses to Destroy Enemy or Evil People Protection from Black Magic Spells and Curses Dark Magic Spells Voodoo Spells for Revenge Spells to win court cases &legal matters Healing spells for all purpose Stroke Diabetics Lottery Spells Phone: +27780802727 WhatsApp: +27789121499 Web: lovespellsafrika.com
    • Powerful Spells Caster & Spiritual Healer Web: lovespellsafrika.com Phone: +27780802727 WhatsApp +27789121499 Email: bbaantu@gmail.com Real Magic Spells | How To Get Back Ex-Boyfriend or Ex-Girlfriend. Real Magic Spells for all purpose; Now you can benefit through the use of spells like Love Spells, Money Spells, Talismans, Charms, Prayers, Curses and Chants. Magic Spells can be spell cast for many purposes. Talismans and Charms work as powerful Ingredients. If you need any spiritual knowledge on the power of Spells and Magic you can always Powerful Magic Rings Love Spells                     Casting of Simple and Effective Love Spells Easy Love Spells Spells for Attraction between two Lovers Binding Love Spells Get back Lost Lover Spells Spells to Strengthen Love Relation Lost Love Spells Soul Mate Spells Marriage Spell for a happy Married Life. Retrieve a Lost Love Spells Bring Back Your Love Spells Gay Love Spells, Lesbian Love Spells Anti-Love Spells, Divorce Spells, Break up Spells How to Get Back Ex-Boyfriend, or Ex-Girlfriend Casting Spells to Get Rid of Your Husband, Wife or Partner without Fights or them hating you Magic Rings, Powerful Love Rings Spells to stop a divorce Voodoo Spells for Love Love Return Spells Money & Prosperity Spells Phone: +27780802727 WhatsApp +27789121499 How to Cast Magic Money Spells Lottery Spells or Lotto Spells Voodoo Spells for Money Black Magic Spell for Money Protection & Banishing Spells Black Magic Spells and Curses to Destroy Enemy or Evil People Protection from Black Magic Spells and Curses Dark Magic Spells Voodoo Spells for Revenge Spells to win court cases &legal matters Healing spells for all purpose Stroke Diabetics Lottery Spells Phone: +27780802727 WhatsApp: +27789121499 Web: lovespellsafrika.com
    • GOLD BARS MINERS AND EXPORTERS Call +27785383038 Email golddnuggets@gmail.com We are miners and exporters of gold bars, Nuggets, dust and rough diamonds looking for serious buyers for long term business Buy Gold Nuggets in Uganda and gold bars from us because we are the leading sellers of the following mineral Gold bars and Gold Nuggets in Uganda 98.9% purity 24 carats of Congo origin (DRC), Uganda, South Africa & Southern Sudan, Central Africa (Gold Nuggets in Uganda) on good price. Call +27785383038 We can supply Gold up to 600 kilograms or even More at a generally low price to meet the buyers resell value for his money, We Can Supply both Whole sale and Retail, the Buyer is free to come down for inspection and viewing of the goods at our headquarters in Kampala, Uganda. We sell and deliver all over the World. We have in stock four (4) Standard categories of Gold ” 24 Carat – 98.9% Gold ” 18 Carat – 75% Gold ” 18 Carat – 58.3% Gold ” 12 Carat – 50% Gold Firstly, it’s worthwhile to note that gold (Au) in itself is a commodity that’s been highly coveted ever since the World knew of beauty and economics – as far back as biblical times. Pure Gold Nuggets in Uganda from DRC Congo and Uganda The DRC Congo is an impoverished country with a long history of civil conflicts. The country itself is highly endowed with natural resources. Buy Gold Nuggets in Uganda and bars from us and you see your business grow. Are you looking for Gold in Africa, Agents of Gold in Africa, Congo gold, Gold Nuggets in Uganda, gold bars, gold dust, gold dealers, gold sellers, and gold quality? Then Ngamba Mining (Pty) Ltd is the right place. We sell and deliver Gold everywhere in the world. Gold Nuggets in Uganda, Bars, Diamond on Sale in Africa A gold nugget is a naturally occurring piece of native gold. Watercourses often concentrate nuggets and finer gold in placers. Nuggets are recovered by placer mining, but they are also found in residual deposits where the gold-bearing veins or lodes are weathered. Nuggets are also found in the tailings piles of previous mining operations, especially those left by gold mining dredges.   Nuggets are usually 20.5K to 22K purity (83% to 92%)   Gold bars, gold dust and Gold Nuggets in Uganda are the various maximum coveted treasured metals within the global. Jewellery crafted out of these pure substances is often incredibly valued and sought out by using savvy consumers across the world. Learn the whole lot you want to know about deciding on first-class pieces right now here! By contacting Ngambo Mining (Pty) Ltd Call :+27785383038 Email: golddnuggets@gmail.com
  • Topics

×
×
  • Create New...