[Help] Why is this happening?

08/24/2014 05:59 Spirited#16
Maybe I wasn't clear enough. Put a check in the set and debug it. If HP > x, breakpoint. Do some thinking.
[Only registered and activated users can see links. Click Here To Register...]

^
I know you know how to debug. You liked this thread of mine in January.
08/24/2014 13:54 -impulse-#17
Quote:
Originally Posted by Spirited View Post
Maybe I wasn't clear enough. Put a check in the set and debug it. If HP > x, breakpoint. Do some thinking.
[Only registered and activated users can see links. Click Here To Register...]

^
I know you know how to debug. You liked this thread of mine in January.
There is nothing to debug! lol. The server knows exactly what hp the player should have but littlechris has no idea about the packets that are used by these 2 features. Each has it's bottlenecks and if one didn't get familiar with them they can't really fix it.
08/24/2014 19:09 littlechris95#18
Quote:
Originally Posted by -impulse- View Post
There is nothing to debug! lol. The server knows exactly what hp the player should have but littlechris has no idea about the packets that are used by these 2 features. Each has it's bottlenecks and if one didn't get familiar with them they can't really fix it.
Refinery Packet 2077:44

Code:
value | offset
1, 4 //Type
9381233, 8//ItemUID
3, 12 //Mode
724444, 16 //RefineryID
5, 20 //RefineryLevel
2500, 24 //RefineryEffect
300702, 28 //RefineryTime
Something is missing?
08/24/2014 19:25 Spirited#19
Quote:
Originally Posted by -impulse- View Post
There is nothing to debug! lol. The server knows exactly what hp the player should have but littlechris has no idea about the packets that are used by these 2 features. Each has it's bottlenecks and if one didn't get familiar with them they can't really fix it.
Ah, I see. That's unfortunate.
08/24/2014 22:56 Super Aids#20
Quote:
Originally Posted by littlechris95 View Post
Refinery Packet 2077:44

Code:
value | offset
1, 4 //Type
9381233, 8//ItemUID
3, 12 //Mode
724444, 16 //RefineryID
5, 20 //RefineryLevel
2500, 24 //RefineryEffect
300702, 28 //RefineryTime
Something is missing?
Probably the last 16 offsets. Assuming 44 is the size of your packet.
08/25/2014 00:21 -impulse-#21
Code:
724444, 16 //RefineryID
Is the issue. Not the offset but the value.

Code:
if (value >= 724440 && value <= 724444 || value == 3004140) value = 301;
That will fix your issue
08/25/2014 05:47 littlechris95#22
Quote:
Originally Posted by -impulse- View Post
Code:
724444, 16 //RefineryID
Is the issue. Not the offset but the value.

Code:
if (value >= 724440 && value <= 724444 || value == 3004140) value = 301;
That will fix your issue
Working perfectly! 'o'

Thank you so far!

#Request Closed