AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Run Time Error (https://forums.alliedmods.net/showthread.php?t=225004)

UchihaSkills 08-30-2013 16:13

Run Time Error
 
Can a
PHP Code:

[AMXXRun time error 4 

cause a Server crash or something?

Black Rose 08-30-2013 16:59

Re: Run Time Error
 
Don't know what 4 is. Show the whole error.

YamiKaitou 08-30-2013 17:07

Re: Run Time Error
 
Quote:

Originally Posted by UchihaSkills (Post 2024979)
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)

UchihaSkills 09-01-2013 15:37

Re: Run Time Error
 
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

fysiks 09-01-2013 17:15

Re: Run Time Error
 
Quote:

Originally Posted by UchihaSkills (Post 2026478)
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.

HalfLife 09-02-2013 01:09

Re: Run Time Error
 
Fysiks is correct, and always compile anything locally.

fysiks 09-02-2013 01:53

Re: Run Time Error
 
Quote:

Originally Posted by HalfLife (Post 2026704)
and always compile anything locally.

How is that relevant? It's not.

HalfLife 09-02-2013 03:33

Re: Run Time Error
 
Quote:

Originally Posted by fysiks (Post 2026720)
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).

YamiKaitou 09-02-2013 09:47

Re: Run Time Error
 
Quote:

Originally Posted by HalfLife (Post 2026755)
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

HalfLife 09-02-2013 10:09

Re: Run Time Error
 
Quote:

Originally Posted by YamiKaitou (Post 2026942)
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.


All times are GMT -4. The time now is 18:51.

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