it wont be easy but ill take a look into the issue see if i can get my friend to help abit
Printable View
it wont be easy but ill take a look into the issue see if i can get my friend to help abit
hm... maybe this help you void CPlayer::sendmsg_StartMoveResult(char *pMsg)
{
decrypt_Move(sizeof(_move_request_clzo), pMsg);
_move_request_clzo *pRecv = (_move_request_clzo *)pMsg;
printf("Move start: from (%f;%f;%f) to (%d;0;%d)\n",pRecv->fCur[0],pRecv->fCur[1],pRecv->fCur[2],pRecv->zTar[0],pRecv->zTar[0]);
setPos(pRecv->fCur);
//TODO: HARDCODED. Need send this to players around.
bMove = true;
}
void CPlayer::decrypt_Move(int nSize, char *pMsg)
{
for(int i = 0; i < nSize; i++)
{
pMsg[i] ^= 32 + wXorKey;
pMsg[i] -= 23 + byPlusKey;
}
}
void CPlayer::encrypt_Move(int nSize, char *pMsg)
{
for(int i=0;i<nSize;i++)
{
pMsg[i] += 23 + byPlusKey;
pMsg[i] ^= 32 + wXorKey;
}
}
Good news people. Thanks to Darks' help, I figured out the movement decryption. Turns out I was using bytes instead of integers to brute force the byPlusKey and wXorKey values.
In any case. I'll be slowly moving forward with the project and will keep this thread up-to-date on the happenings.
As of today, I'm no longer working on it. It's come to my realization, there's no point. Not a big enough demand for it. I don't work for free, so I'd rather spend my time doing something else.
If you want the source.(They're incomplete), then you may as for them VIA THIS THREAD. Private messages will be ignored, depending on the number of people who ask. I'll release it to everyone.
Im want source, im interested!
Im want source, im interested! 2
I'm coding in C# now for a couple of years and i'm verry interested at your code, because i think i can learn alot from it about packet routing ect.
send me the source bro.
https://mega.co.nz/#!QMxhQAyA!eAGM_p...0YKK5CGvnRbtqE
Everything you need to continue where I left off.
There's a library called Soul Net Lib. It's written by me. Make sure you don't delete it, because it's not free. If you're interested in the source or updates for it, you'll have to pay for them.
what is Soul Net?
It's a network library that handles the base server/client connections and sockets.
ok is it a complete file or is modding it essential to moving farther?
- - - Updated - - -
and how much for it