Well, making the display work doesn't mean the client works with 3.51..
Alot of other things left to do!
(But it's a start )
How To "build" Client.exe?
-
- DBfiller
- Posts: 3816
- Joined: Fri Oct 31, 2003 5:30 am
- Location: San Diego CA, USA
- Contact:
coolShetar wrote: HBX renewed its forum.
How to make 2.20 client work with 3.51 HGServer:
The story
After 2.20 Siementech decided to change Status values (probably because of the lack of space concidering those new aura's etc, they needed space for bitshifting)
What did they change?
They changed all the status flags from short to int, which doubles the size.
Not only m_iStatus (m_sStatus) but also m_iPlayerStatus
How to do it yourself?
Well, here it gets a lil bit more difficult, I'll try to explain it.
-First of all, change the definitions in the Client's Game.h (from short to int)
-It might be smart to also change the m_sStatus's name into m_iStatus (only for experienced coders, this is not needed but eases the overview)
-Last but NOT the least lol:
In Client's Game.cpp find all the Status values, the easiest by using the Find In Files option in Visual C++. Some of those values are decoded after receivement from the HGServer.
Example:change those values into int values.sp = (short *)cp;
m_sPlayerStatus = *sp;
cp += 2;
Example:This should do..!ip = (int *)cp;
m_iPlayerStatus = *ip;
cp += 4;
PS:
-If I forgot / misplaced something, be sure to post it..!
-If you don't know how to do it, forget it.
this calls for a new sticky!
<img src='http://img88.exs.cx/img88/2290/7666.jpg' border='0' alt='user posted image' />