About changes in memory

02/22/2006 17:40 xJin56x#1
Hi :)

I decided to try to change my own coordinates in memory (perhaps for a teleport, but it's just a little challenge )

I found them but when i change them, they are back to normal.... This is like this in many games...

I'd like to know how to conserve coordinates i enter and not the old one !? Must i hack a function that refresh it every time ?

Thanks :)
02/22/2006 17:56 chocoman4k#2
The coordinates in memory might be read only values, means you receive them from the server in an unknown form, the client processes that data and saves it to memory in order to display the coordinates on the next window redraw.

Yea, there is highly probably a function which you have to call in order to change your coordinates effectively.
02/22/2006 21:14 xJin56x#3
Hehe ok !!! I found why it didnt work =]

Thanks for help =]
02/22/2006 21:48 hal#4
I think it's wrong move are done by client. Value you find are perhaps read only but there should be in client's memory rw coord for pos.
When you are creating an mmorpg the first thing you should consider is to lower communication between client and server If the server must each time you move send a packet tell you your new position you will use cpu and lan for nothing the client know already where he is.
What you found is probably non native coord.

IE for daoc coord where coded in float form.