Raised This Month: $ Target: $400
 0% 

Bullets Clip : Bug ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
solidsnake
Member
Join Date: Jul 2006
Old 02-24-2007 , 08:43   Bullets Clip : Bug ?
Reply With Quote #1

Dear friends, i'm trying to set weapon clip bullet over 100, but i think there is a bug : when i set clip over 127, value is increasing while firing.

Example : bullets 200, i got 56, increasing when i firing, and decreasing when reach 127.

How to fix this problem ?

Thanks !
solidsnake is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-24-2007 , 12:48   Re: Bullets Clip : Bug ?
Reply With Quote #2

This is because the client receives the clip ammo as a signed byte (-128 to 127). So if you go outside of those bounds, weird numbers start showing up. The clip ammo is actually going down, but the display is messed up. If you shoot enough you will see it start to decline.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
solidsnake
Member
Join Date: Jul 2006
Old 02-25-2007 , 04:12   Re: Bullets Clip : Bug ?
Reply With Quote #3

Quote:
Originally Posted by XxAvalanchexX View Post
This is because the client receives the clip ammo as a signed byte (-128 to 127). So if you go outside of those bounds, weird numbers start showing up. The clip ammo is actually going down, but the display is messed up. If you shoot enough you will see it start to decline.
Thank you XxAvalanchexX, there is no way to fix this trouble ?
solidsnake is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-25-2007 , 04:21   Re: Bullets Clip : Bug ?
Reply With Quote #4

Unfortunately not, it's hard-coded into the client to only receive it as a byte.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode