SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06/08/2019, 11:54 PM   #1
Goku
Little Clucker
 
Goku's Avatar
 
Join Date: Aug 2019
Location: X, Y, Z
Posts: 15
Reputation: 0
Default spaming messages idk why

Code:
[debug] AMX backtrace:
[debug] #0 0000604c in public OnZombieCreate () from lolwtf.amx
[debug] Run time error 4: "Array index out of bounds"
[debug]  Attempted to read/write array element at index 100 in array of size 100
[debug] AMX backtrace:
[debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
i am getting this spamming msg when i start the server i am using rnpc filter-script can anyone tell me why this happening?

here are the codes:

Code:
public OnZombieCreate()
{
	RNPC_SetUpdateRate(80);

	new type = random(4), name[MAX_PLAYER_NAME], zombieid = ServerData[server_zombies];
	if(type == SPRINTER_ZOMBIE)
	{
		ZombieData[zombieid][zombie_species] = SPRINTER_ZOMBIE;
	}
	else
	{
		ZombieData[zombieid][zombie_species] = RUNNER_ZOMBIE;
	}

	ZombieData[zombieid][zombie_victim]= INVALID_PLAYER_ID;

	format(name, sizeof(name), "Zombie_%i", zombieid + 1);
	ConnectRNPC(name);

	ServerData[server_zombies]++;

	if(ServerData[server_zombies] >= MAX_ZOMBIES)
	{
		KillTimer(ServerData[server_zombietimer]);
		printf("Number of zombies created: %i", ServerData[server_zombies]);
	}
	return 1;
}
here is the server log:

Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[03:48:58] 
[03:48:58] Server Plugins
[03:48:58] --------------
[03:48:58]  Loading plugin: crashdetect.dll
[03:48:59]   CrashDetect plugin 4.19
[03:48:59]   Loaded.
[03:48:59]  Loading plugin: streamer.dll
[03:48:59] 

*** Streamer Plugin v2.9.3 by Incognito loaded ***

[03:48:59]   Loaded.
[03:48:59]  Loading plugin: sscanf.dll
[03:49:00] 

[03:49:00]  ===============================

[03:49:00]       sscanf plugin loaded.     

[03:49:00]          Version:  2.8.2        

[03:49:00]    (c) 2012 Alex "******" Cole  

[03:49:00]  ===============================

[03:49:00]   Loaded.
[03:49:00]  Loading plugin: RNPC.dll
[03:49:00] RNPC V0.3.1 by Mauzen (21.12.2012)
[03:49:00]   Loaded.
[03:49:00]  Loading plugin: MapAndreas.dll
[03:49:00]   Loaded.
[03:49:00]  Loaded 5 plugins.

[03:49:01] 
[03:49:01] Filterscripts
[03:49:01] ---------------
[03:49:01]   Loading filterscript 'lolwtf.amx'...
[03:49:01]   Loaded 1 filterscripts.

[03:49:01]   RNPC versionchecker: checking for updates...
[03:49:01] 
----------------------------------
[03:49:01]  Blank Gamemode by your name here
[03:49:01] ----------------------------------

[03:49:01] Number of vehicle models: 0
[03:49:10] Number of zombies created: 100
[03:49:37] [connection] 127.0.0.1:61243 requests connection cookie.
[03:49:38] [connection] incoming connection: 127.0.0.1:61243 id: 0
[03:49:38] [join] [PAK]Broly has joined the server (0:127.0.0.1)
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 0000604c in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 0000604c in public OnZombieCreate () from lolwtf.amx
[03:49:43] [debug] Run time error 4: "Array index out of bounds"
[03:49:43] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:43] [debug] AMX backtrace:
[03:49:43] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:44] [debug] Run time error 4: "Array index out of bounds"
[03:49:44] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:44] [debug] AMX backtrace:
[03:49:44] [debug] #0 0000604c in public OnZombieCreate () from lolwtf.amx
[03:49:44] [debug] Run time error 4: "Array index out of bounds"
[03:49:44] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:44] [debug] AMX backtrace:
[03:49:44] [debug] #0 0000604c in public OnZombieCreate () from lolwtf.amx
[03:49:44] [debug] Run time error 4: "Array index out of bounds"
[03:49:44] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:44] [debug] AMX backtrace:
[03:49:44] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:44] [debug] Run time error 4: "Array index out of bounds"
[03:49:44] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:44] [debug] AMX backtrace:
[03:49:44] [debug] #0 0000604c in public OnZombieCreate () from lolwtf.amx
[03:49:44] [debug] Run time error 4: "Array index out of bounds"
[03:49:44] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:44] [debug] AMX backtrace:
[03:49:44] [debug] #0 0000604c in public OnZombieCreate () from lolwtf.amx
[03:49:44] [debug] Run time error 4: "Array index out of bounds"
[03:49:44] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:44] [debug] AMX backtrace:
[03:49:44] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:44] [debug] Run time error 4: "Array index out of bounds"
[03:49:44] [debug]  Attempted to read/write array element at index 100 in array of size 100
[03:49:44] [debug] AMX backtrace:
[03:49:44] [debug] #0 00006090 in public OnZombieCreate () from lolwtf.amx
[03:49:44] [debug] Run time error 4: "Array index out of bounds"
[03:49:44] [debug]  Attempted to read/write array element at index 100 in array of size 100
Thanks in advance
__________________
Code:
public OnPlayerConnect(playerid)
{
     SendClientMessage(playerid,-1,Welcome to my server and now good bye :p);
     Kick(playerid);
     return 1;
}
Goku is offline   Reply With Quote
 

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[quer] spaming carl0o0s Server Support 1 23/03/2014 11:03 AM
IC chat and Commands spaming - Help! FL3GM4 Scripting Help 2 13/01/2013 02:11 AM
spaming with killing player dud Scripting Help 1 08/12/2012 09:52 PM
command spaming TouR Help Archive 14 24/02/2010 02:05 PM


All times are GMT. The time now is 01:40 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.