Raised This Month: $ Target: $400
 0% 

Run Time Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 08-30-2013 , 16:13   Run Time Error
Reply With Quote #1

Can a
PHP Code:
[AMXXRun time error 4 
cause a Server crash or something?
UchihaSkills is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 08-30-2013 , 16:59   Re: Run Time Error
Reply With Quote #2

Don't know what 4 is. Show the whole error.
__________________
Black Rose is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-30-2013 , 17:07   Re: Run Time Error
Reply With Quote #3

Quote:
Originally Posted by UchihaSkills View Post
Can a
PHP Code:
[AMXXRun time error 4 
cause a Server crash or something?
What is the rest of the error message? While it shouldn't cause a crash, it is hard to tell without more information (the code that is causing the error and/or the complete error message)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
UchihaSkills
Senior Member
Join Date: May 2013
Location: Germany
Old 09-01-2013 , 15:37   Re: Run Time Error
Reply With Quote #4

PHP Code:
 L 09/01/2013 10:40:59: [AMXXDisplaying debug trace (plugin "uq_jumpstats.amxx")
L 09/01/2013 10:40:59: [AMXXRun time error 4index out of bounds 
L 09
/01/2013 10:40:59: [AMXX]    [0colorchat.inc::ColorChat (line 74)
L 09/01/2013 10:40:59: [AMXX]    [1uq_jumpstats.sma::Color_Chat_Lang (line 8166)
L 09/01/2013 10:40:59: [AMXX]    [2uq_jumpstats.sma::Color_Chat_Lang (line 8164)
L 09/01/2013 10:40:59: [AMXX]    [3uq_jumpstats.sma::ResetHUD (line 8754
http://forums.alliedmods.net/showthread.php?t=141586

Last edited by UchihaSkills; 09-01-2013 at 15:40.
UchihaSkills is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-01-2013 , 17:15   Re: Run Time Error
Reply With Quote #5

Quote:
Originally Posted by UchihaSkills View Post
PHP Code:
 L 09/01/2013 10:40:59: [AMXXDisplaying debug trace (plugin "uq_jumpstats.amxx")
L 09/01/2013 10:40:59: [AMXXRun time error 4index out of bounds 
L 09
/01/2013 10:40:59: [AMXX]    [0colorchat.inc::ColorChat (line 74)
L 09/01/2013 10:40:59: [AMXX]    [1uq_jumpstats.sma::Color_Chat_Lang (line 8166)
L 09/01/2013 10:40:59: [AMXX]    [2uq_jumpstats.sma::Color_Chat_Lang (line 8164)
L 09/01/2013 10:40:59: [AMXX]    [3uq_jumpstats.sma::ResetHUD (line 8754
http://forums.alliedmods.net/showthread.php?t=141586
If you have issues with a particular plugin, post in that plugin's thread.
__________________
fysiks is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 09-02-2013 , 01:09   Re: Run Time Error
Reply With Quote #6

Fysiks is correct, and always compile anything locally.
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-02-2013 , 01:53   Re: Run Time Error
Reply With Quote #7

Quote:
Originally Posted by HalfLife View Post
and always compile anything locally.
How is that relevant? It's not.
__________________
fysiks is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 09-02-2013 , 03:33   Re: Run Time Error
Reply With Quote #8

Quote:
Originally Posted by fysiks View Post
How is that relevant? It's not.
If that plugin has error or something, it will show the warnings/errors in the compile processing. And it is better than online because you can compile with your own includes. And RTE happens when you press "Get Plugin" button on the plugin's page so if it needs custom includes, it will give you a broken AMXX file which will cause RTE (Run Time Error).
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-02-2013 , 09:47   Re: Run Time Error
Reply With Quote #9

Quote:
Originally Posted by HalfLife View Post
And RTE happens when you press "Get Plugin" button on the plugin's page so if it needs custom includes, it will give you a broken AMXX file which will cause RTE (Run Time Error).
Completely wrong. If the web compiler compiles the plugin but with invalid include files, you will get an Invalid Plugin load error. Run Time Errors are caused by the way the code is written, not compiled. I can give you a plugin that will generate Run Time Errors no matter how you compiled it if you want to test that theory
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 09-02-2013 , 10:09   Re: Run Time Error
Reply With Quote #10

Quote:
Originally Posted by YamiKaitou View Post
Completely wrong. If the web compiler compiles the plugin but with invalid include files, you will get an Invalid Plugin load error. Run Time Errors are caused by the way the code is written, not compiled. I can give you a plugin that will generate Run Time Errors no matter how you compiled it if you want to test that theory
Yeah I know like backweapon. But those plugins are very old.
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife 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 18:51.


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