Hi everyone, I'm attempting to copy over a game server written in Java. I'm almost through the login decoding but this is the part that is stopping me from finishing.
I've tried using PeekQ and PeekL but they aren't working. Maybe the problem is I can't use 32 left shift? PB is only allowing 31 as the maximum. Please help
SoFlawLess_ wrote:I've tried using PeekQ and PeekL but they aren't working. Maybe the problem is I can't use 32 left shift? PB is only allowing 31 as the maximum.
When you say PeekQ and PeekL aren't working, did you try it like this?
I noticed that the return value that you had for the procedure ReadQWord() was specified as a long, it should be a quad. Perhaps that was the cause of your problems.
SoFlawLess_ wrote:I've tried using PeekQ and PeekL but they aren't working. Maybe the problem is I can't use 32 left shift? PB is only allowing 31 as the maximum.
When you say PeekQ and PeekL aren't working, did you try it like this?
I noticed that the return value that you had for the procedure ReadQWord() was specified as a long, it should be a quad. Perhaps that was the cause of your problems.