Raised This Month: $ Target: $400
 0% 

[HAM] Server Crash OBJ Cap


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-08-2011 , 23:49   [HAM] Server Crash OBJ Cap
Reply With Quote #1

Switched from When you would do _AddProgress(id, 0); it would crash.
PHP Code:
public _AddProgress( const id, const duration )
{
    
message_beginMSG_ONEgmsgBarTime_id )
    
write_shortduration )
    
message_end()

switch to the below code and Create_BarTime(id, 0, 0) works just fine no crashes

PHP Code:
stock Create_BarTime(iddurationflag)
{

    if( 
is_user_connected(id) && !is_user_bot(id))
    {

        
message_beginMSG_ONEgmsgBarTime, {0,0,0}, id )
        
write_byteduration // duration 
        
write_byteflag )
        
message_end() 
    
    }

and works fine.

Last edited by Doc-Holiday; 08-09-2011 at 17:11.
Doc-Holiday is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-09-2011 , 03:14   Re: [HAM] Server Crash OBJ Cap
Reply With Quote #2

Could you stop to edit each time your post ? Now, your post doesn't make sense at all. You are not alone on this forum.
__________________
Arkshine is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-09-2011 , 06:01   Re: [HAM] Server Crash OBJ Cap
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
Could you stop to edit each time your post ? Now, your post doesn't make sense at all. You are not alone on this forum.
I only edit once i solve...

If i solve it i edit it.. it still has the issue AddProgress from some thread called HUD Progress bar didnt work for what i wanted kept crashing

i cahnged it to that stock i found from some one else and it works fine.
Doc-Holiday is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-09-2011 , 08:54   Re: [HAM] Server Crash OBJ Cap
Reply With Quote #4

Seems like you need to look harder before you post if you're going to solve all your "problems" on your own.

Arkshine is correct, your post makes absolutely no sense.
__________________
fysiks is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 08-09-2011 , 17:08   Re: [HAM] Server Crash OBJ Cap
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
Seems like you need to look harder before you post if you're going to solve all your "problems" on your own.

Arkshine is correct, your post makes absolutely no sense.
look at the post time and edit... i couldnt figure out why it was crashing so i searched and searched untill i found the above stock... same thing as before just with one extra parameter and it doesnt crash...
Doc-Holiday 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 03:26.


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