Jump to content

Question

Recommended Posts

  • 0
Posted

Την έχω βάλει έκανα το force geodata true και το geodata 2 αλλά έκανε κανονικά wallpray.

 

filos einai axristi i geodata auti tsampa asxolise ...

  • 0
Posted

Άλλος τρόπος υπάρχει;

 

μόνο να βάλεις ένα radius για το pray και να το κάνει μόνο αν είναι δίπλα στο npc.
  • 0
Posted

μόνο να βάλεις ένα radius για το pray και να το κάνει μόνο αν είναι δίπλα στο npc.

Πως μπορώ να το κάνω ;
  • 0
Posted

Πήγαινε εδώ,

 

com.l2jfrozen.gameserver.handler.skillhandlers - TakeCastle.java;

 

Μετά κάνε search:

		else if(!Util.checkIfInRange(200, player, player.getTarget(), true))
		sm.addString("You are not in range of the flagpole.");

 

Εκεί που λέει 200 κάνε το 50 ή 100 και δοκίμασε.

  • 0
Posted

Πήγαινε εδώ,

 

com.l2jfrozen.gameserver.handler.skillhandlers - TakeCastle.java;

 

Μετά κάνε search:

		else if(!Util.checkIfInRange(200, player, player.getTarget(), true))
		sm.addString("You are not in range of the flagpole.");

 

Εκεί που λέει 200 κάνε το 50 ή 100 και δοκίμασε.

 

If u had a clew about packets u would know that this is just a tempfix and its easily bypassed, if you dont have geodata even with radius 10 u can wallpray, because client xyz != server xyz. If you have fail geodata ur server-side xyz is still moving when u are walling, but the client doesnt accept it (cause you cant cheat the client-side geodata easily).

 

In other words ur codes checks server side xyz, but in order to start pray the server thinks that you are ALREADY on the flagpole radius so u make the same useless check again with ur code.

 

Tnx Lock It

 

gg wp

 

Edit: Additionally getTarget() sucks since u can trick it by targeting smth else

  • 0
Posted

If u had a clew about packets u would know that this is just a tempfix and its easily bypassed, if you dont have geodata even with radius 10 u can wallpray, because client xyz != server xyz. If you have fail geodata ur server-side xyz is still moving when u are walling, but the client doesnt accept it (cause you cant cheat the client-side geodata easily).

 

In other words ur codes checks server side xyz, but in order to start pray the server thinks that you are ALREADY on the flagpole radius so u make the same useless check again with ur code.

 

gg wp

 

Edit: Additionally getTarget() sucks since u can trick it by targeting smth else

Ήταν μια απλή λύση που μπορούσα να δώσω.

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