AlliedModders

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

Maldiny 10-10-2010 03:38

Error vote_timelimit
 
Code:

L 10/10/2010 - 01:31:33: Info (map "awp_circular") (file "addons/amxmodx/logs/error_20101010.log")
L 10/10/2010 - 01:31:33: [AMXX] Displaying debug trace (plugin "vote_timelimit.amxx")
L 10/10/2010 - 01:31:33: [AMXX] Run time error 4: index out of bounds
L 10/10/2010 - 01:31:33: [AMXX]    [0] colorchat.inc::ColorChat (line 53)
L 10/10/2010 - 01:31:33: [AMXX]    [1] i918i7tu.sma.p::finish_vote (line 139)


What means that?

SaM.ThE.MaN 10-10-2010 05:35

Re: Error vote_timelimit
 
It means your script has error

fysiks 10-10-2010 17:01

Re: Error vote_timelimit
 
Quote:

Originally Posted by Maldiny (Post 1320891)
Code:

L 10/10/2010 - 01:31:33: Info (map "awp_circular") (file "addons/amxmodx/logs/error_20101010.log")
L 10/10/2010 - 01:31:33: [AMXX] Displaying debug trace (plugin "vote_timelimit.amxx")
L 10/10/2010 - 01:31:33: [AMXX] Run time error 4: index out of bounds
L 10/10/2010 - 01:31:33: [AMXX]    [0] colorchat.inc::ColorChat (line 53)
L 10/10/2010 - 01:31:33: [AMXX]    [1] i918i7tu.sma.p::finish_vote (line 139)


What means that?

Link to the plugin that you are using.

FiFiX 10-10-2010 17:39

Re: Error vote_timelimit
 
Probably, You are sending message to not connected player.
colorchat.inc::ColorChat (line 53)

On the top of in if(index) or if(id) place if(!is_user_connected(id/index)) return PLUGIN_HANDLED

That should slove the problem :]

fysiks 10-10-2010 17:49

Re: Error vote_timelimit
 
Quote:

Originally Posted by FiFiX (Post 1321541)
Probably, You are sending message to not connected player.

No, the error is "index out of bounds" which means it's an array being given an improper index.

FiFiX 10-10-2010 18:10

Re: Error vote_timelimit
 
I'm afraid I'm right. Had the same issue.
http://forums.alliedmods.net/showpos...4&postcount=62

And that index out of bounds means that You're trying to use index that doesn't exist ;] So disconnected player ;]

fysiks 10-10-2010 18:49

Re: Error vote_timelimit
 
Quote:

Originally Posted by FiFiX (Post 1321566)
And that index out of bounds means that You're trying to use index that doesn't exist ;] So disconnected player ;]

Incorrect. Index out of bounds has nothing to do with a player being connected. You can get that error with any array that is indexed incorrectly.

Enough with technicalities. Don't reply.

nikhilgupta345 10-10-2010 21:56

Re: Error vote_timelimit
 
LOL that's not nice :(

Maldiny 10-11-2010 00:34

Re: Error vote_timelimit
 
the problem is solved . thanks anyway


All times are GMT -4. The time now is 10:28.

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