Raised This Month: $ Target: $400
 0% 

How you can determinate weather the crash was caused by too much entities


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
10000000
BANNED
Join Date: Oct 2009
Old 11-02-2009 , 21:09   How you can determinate weather the crash was caused by too much entities
Reply With Quote #1

Title says all.
10000000 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-02-2009 , 21:20   Re: How you can determinate weather the crash was caused by too much entities
Reply With Quote #2

I believe there is a specific error for that.
__________________
fysiks is offline
VMAN
Senior Member
Join Date: Oct 2007
Location: California, US
Old 11-02-2009 , 21:26   Re: How you can determinate weather the crash was caused by too much entities
Reply With Quote #3

Use HLSW log and wait until it crashes
__________________
VMAN is offline
Old 12-10-2013, 08:38
m4m3ts
This message has been deleted by YamiKaitou. Reason: spam
10000000
BANNED
Join Date: Oct 2009
Old 11-02-2009 , 23:42   Re: How you can determinate weather the crash was caused by too much entities
Reply With Quote #5

What I mean is, will it just crash or there is a message like fysiks said?
10000000 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-03-2009 , 00:21   Re: How you can determinate weather the crash was caused by too much entities
Reply With Quote #6

It will crash with a message.
__________________
fysiks is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 11-03-2009 , 02:40   Re: How you can determinate weather the crash was caused by too much entities
Reply With Quote #7

Hook FM_Sys_Error that passes a string for your function (the error message) and log it.
__________________
joaquimandrade is offline
10000000
BANNED
Join Date: Oct 2009
Old 11-03-2009 , 11:43   Re: How you can determinate weather the crash was caused by too much entities
Reply With Quote #8

This way I suppose

PHP Code:
register_forward(FM_Sys_Error"hi_im_crasher")

public 
hi_im_crasher(const err[]) 
    
log_to_file("itcrashed.log"err
And this will be called from any kind of crashes?

Thanks quim
10000000 is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 11-03-2009 , 13:56   Re: How you can determinate weather the crash was caused by too much entities
Reply With Quote #9

Quote:
Originally Posted by 10000000 View Post
This way I suppose

PHP Code:
register_forward(FM_Sys_Error"hi_im_crasher")

public 
hi_im_crasher(const err[]) 
    
log_to_file("itcrashed.log"err
And this will be called from any kind of crashes?

Thanks quim
It will happen on deliberate crashes from the engine. Like "message sent before ..."

De nada, Speed
__________________
joaquimandrade is offline
Reply


Thread Tools
Display Modes

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 17:39.


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