Page 1 of 1

map grid location

Posted: Sat Jan 04, 2014 1:08 pm
by EDGECOM
I need to get the grid position the <pos> = (I-6) I have looked in the baseentity.cpp and header file also checked the mmo.h and cpp but could not find anything.

Re: map grid location

Posted: Sat Jan 04, 2014 3:12 pm
by demolish
Not sure what you mean, do you need the grid coordinates in-game or in a script?
(Not sure if it's even possible to print grid coordinates in a script)

Re: map grid location

Posted: Sat Jan 04, 2014 3:42 pm
by EDGECOM
I need to make a function in cpp code just like the CBaseentity::GetXPos() I am sure I need to get the info form a packet.

Re: map grid location

Posted: Sat Jan 04, 2014 6:07 pm
by kjLotus
EDGECOM wrote:I need to make a function in cpp code just like the CBaseentity::GetXPos() I am sure I need to get the info form a packet.
the grid pos is never sent to the server, it's converted from x/z pos only on the client

Re: map grid location

Posted: Sun Jan 05, 2014 1:10 am
by EDGECOM
yeah I have noticed that

in my findings it seems that the grid pos is based on resolution also. witch would be pointless for the server to process that data

so I guess I get to make X , Z tables :)

Re: map grid location

Posted: Thu Jan 09, 2014 4:02 pm
by EDGECOM
Well I have created my own grid system lol I am currently mapping all the different fishing spots on all the maps so I can make catch lists it's going to take me a few weeks ugh.. then I get to make rod and bait lists yay. I might be able to use some of the current bait and rod stuff but I will see when the time comes