Jump to content
  • 0

Validate Location in Water? [Interlude]


Question

Posted

Hello,

How validate location in water?  Now when i send validatelocation packet with x/y/z/heading changes in client only x/y/heading.

its interlude bug or what?

9 answers to this question

Recommended Posts

  • 0
Posted
15 hours ago, wongerlt said:

Hello,

How validate location in water?  Now when i send validatelocation packet with x/y/z/heading changes in client only x/y/heading.

its interlude bug or what?

Can you try to explain a bit better?

  • 0
Posted
16 hours ago, wongerlt said:

Hello,

How validate location in water?  Now when i send validatelocation packet with x/y/z/heading changes in client only x/y/heading.

its interlude bug or what?

 

if you are a project administrator

///stat l2

 

spacer.png

 

if you are a regular player 

/loc     ( you need to enter commands in the game chat )

ps - shows the coordinates in the chat in system messages

( 1 will be x , then 2 will be the Y coordinate and 3 will be the -z axis ) 

ps2 - map position shows your location and its number - the screenshot shows an example.

 

  • 0
Posted (edited)

I mean when i send ValidateLocation packet to client while character is under water changes only x,y and heading.

Seems z coordinate didn't work under water. And if i send packet with z coordinate which are highter than water height then working fine.

 

 

Edited by wongerlt
  • 0
Posted

Maybe because it means what in water zone you can't falls down and no point to correct from server side the Z height, except the cases where position definely out of water zone? What kind of logic would you assume if you were a client developer?

  • 0
Posted
34 minutes ago, Rootware said:

Maybe because it means what in water zone you can't falls down and no point to correct from server side the Z height, except the cases where position definely out of water zone? What kind of logic would you assume if you were a client developer?

Then how correct x,y without z in water? tell me 

  • 0
Posted
55 minutes ago, wongerlt said:

Then how correct x,y without z in water? tell me 

 

No way. No reason for correcting X,Y coords under water. Swimming is very slow for making async and exploits.

  • 0
Posted
30 minutes ago, Rootware said:

 

No way. No reason for correcting X,Y coords under water. Swimming is very slow for making async and exploits.

really not small different after one minute of swimming

http://prntscr.com/25qb8ex

 

 

 

Just tested one thing, if i set char. to walk then while swimming char. uses running speed and when i set to run then char. uses walk speed for swimming. (in client side), weird thing 😄

  • 0
Posted

Client it self change speed in water if character is in `running state`. Move speed difference is big (from 0 to 100+...) between client side/server side..

So for now temporary fix is just set character move state to `walk`  in water. With it speed difference is only 0~5 max.

Or maybe some one have better idea? 😄

  • 0
Posted

Maybe better use retail "fix" and use swimming speed for run/walk mode from PC_paramaters.txt?

 

moving_speed_begin
	FFighter={80; 115; 50; 50; 0; 0; 0; 0}
	MFighter={80; 115; 50; 50; 0; 0; 0; 0}
	FMagic={78; 120; 50; 50; 0; 0; 0; 0}
	MMagic={78; 120; 50; 50; 0; 0; 0; 0}
	FElfFighter={90; 125; 50; 50; 0; 0; 0; 0}
	MElfFighter={90; 125; 50; 50; 0; 0; 0; 0}
	FElfMagic={85; 122; 50; 50; 0; 0; 0; 0}
	MElfMagic={85; 122; 50; 50; 0; 0; 0; 0}
	FDarkelfFighter={85; 122; 50; 50; 0; 0; 0; 0}
	MDarkelfFighter={85; 122; 50; 50; 0; 0; 0; 0}
	FDarkelfMagic={85; 122; 50; 50; 0; 0; 0; 0}
	MDarkelfMagic={85; 122; 50; 50; 0; 0; 0; 0}
	FOrcFighter={70; 117; 50; 50; 0; 0; 0; 0}
	MOrcFighter={70; 117; 50; 50; 0; 0; 0; 0}
	FShaman={70; 121; 50; 50; 0; 0; 0; 0}
	MShaman={70; 121; 50; 50; 0; 0; 0; 0}
	FDwarfFighter={80; 115; 50; 50; 0; 0; 0; 0}
	MDwarfFighter={80; 115; 50; 50; 0; 0; 0; 0}
	FKamaelSoldier={87; 122; 50; 50; 0; 0; 0; 0}
	MKamaelSoldier={87; 122; 50; 50; 0; 0; 0; 0}
moving_speed_end

 

where, {ground_walk; ground_run; swim_underwater_walk; swim_underwater_run; fly_walk; fly_run; swim_surface_walk; swim_surface_run}.

 

Or continue make shitcode on previous shitcode, aka Shitcode Dev?

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