Raised This Month: $ Target: $400
 0% 

Getting error in server console


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-31-2010 , 16:00   Re: Getting error in server console
Reply With Quote #1

ZombieClass[id] > 3 will also cause an index out of bounds.

Quote:
Originally Posted by drekes View Post
he means that you should post the code he asked in his previous post, and that Exolent may have confused you by saying that the error is near a set_task call.
lol, you just repeated what Bugsy had just said.

This is the previous post to which Bugsy is refering:

Quote:
Originally Posted by Bugsy View Post
Show where ZombieClass[ id ] is assigned a value and make sure id is a value (1-32) player id.
Either way, the full code will provide the easiest and quickest way to get this problem solved.
__________________

Last edited by fysiks; 05-31-2010 at 16:04.
fysiks is offline
Effect
Junior Member
Join Date: May 2010
Old 06-01-2010 , 06:51   Re: Getting error in server console
Reply With Quote #2

Thanks for help.

Last edited by Effect; 06-02-2010 at 07:37.
Effect is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-31-2010 , 13:45   Re: Getting error in server console
Reply With Quote #3

Please refer to my previous post and show what was requested. Exolent may have confused you when he said the error code may be near the set_task call.
__________________

Last edited by Bugsy; 05-31-2010 at 13:47.
Bugsy is offline
Effect
Junior Member
Join Date: May 2010
Old 05-31-2010 , 14:57   Re: Getting error in server console
Reply With Quote #4

I do not understand your previous post
Effect is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-31-2010 , 15:49   Re: Getting error in server console
Reply With Quote #5

he means that you should post the code he asked in his previous post, and that Exolent may have confused you by saying that the error is near a set_task call.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-31-2010 , 15:59   Re: Getting error in server console
Reply With Quote #6

The problem is with that set_task() is being sent a task ID that is not 1-32 and the receiving function indexes the array with the task ID, thus throwing the "index out of bounds" error.

So, the easiest way to fix it is to show the full code so we can point out where the error exists.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 05:23.


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