[HELP] Annoying GameMode Error...
#1

okay so now I'm getting this annoying ass error when I start the server...actually for SOME reason it happens EVERYTIME I try to make a server and then compile it successfully, that's when this error comes in... it is REALLY REALLY annoying because I do not have any plugins loaded or on the line of the server.cfg...I DO have the "main()" function on my gamemode... so what can I do now?

crashinfo.txt
Код:
SA-MP Server: 0.3c



Exception At Address: 0x004A4B44



Registers:

EAX: 0x00000000	EBX: 0x00000400	ECX: 0x00000100	EDX: 0x7EFEFEFF

ESI: 0x00000000	EDI: 0x022BD4B8	EBP: 0x0000003E	ESP: 0x0012FD28

EFLAGS: 0x00010216



Stack:

+0000: 0x02890020   0x02311CB8   0x022BD4B8   0x0047CFFB

+0010: 0x022BD4B8   0x00000000   0x00000400   0x013A52C8

+0020: 0x00000000   0x0012FD80   0x023118EC   0x0000003E

+0030: 0x0048837E   0x43670000   0x43CA8000   0x00000000

+0040: 0x013A52C8   0x013A52C8   0x022C21B8   0x02890020

+0050: 0x00000000   0x022FDE70   0x022C798C   0x00401096

+0060: 0x013A52C8   0x023118EC   0x022E5A5C   0x00402BB3

+0070: 0x013A52C8   0x00000014   0x0012FDB8   0x023118EC

+0080: 0x004F52B0   0x013A52C8   0x00000001   0x00000000

+0090: 0x00013570   0x00013570   0x0002BE90   0x0002C0B4

+00A0: 0x000280B8   0x0002C0A8   0x000280B8   0x022C21B8

+00B0: 0x022E5A5C   0x00000000   0x022C1020   0x000238A4

+00C0: 0x00483D74   0x013A52C8   0x0012FE00   0x0000000A

+00D0: 0x01438FC0   0xFFFFFFFF   0x0000000A   0x01438FC0

+00E0: 0x00498D72   0x004F52B0   0x004C06B9   0x01438C01

+00F0: 0xFFFFFFFF   0x00000000   0x013A52C8   0x0012FEA4

+0100: 0x004B4998   0xFFFFFFFF   0x004981AF   0x00000001

+0110: 0x00000000   0x00001DB0   0x0012FF88   0x7FFD3000

+0120: 0x00013000   0x00010101   0x00000064   0x00001A0A

+0130: 0x00000078   0x00001784   0x01438FC0   0x656D6167
server_log.txt
Код:
SA-MP Dedicated Server
----------------------
v0.3c, ©2005-2010 SA-MP Team

[18:53:11] 
[18:53:11] Server Plugins
[18:53:11] --------------
[18:53:11]  Loaded 0 plugins.

[18:53:12] 
[18:53:12] Ban list
[18:53:12] --------
[18:53:12]  Loaded: samp.ban
[18:53:12] 
[18:53:12] 
[18:53:12] Filter Scripts
[18:53:12] ---------------
[18:53:12]   Loading filter script 'JunkBuster.amx'...
[18:53:12] 

[18:53:12] [junkbuster] Current JunkBuster configuration:
[18:53:12] [junkbuster] - WeaponHack = 1
[18:53:12] [junkbuster] - MoneyHack = 1
[18:53:12] [junkbuster] - Jetpack = 1
[18:53:12] [junkbuster] - HealthHack = 1
[18:53:12] [junkbuster] - ArmourHack = 1
[18:53:12] [junkbuster] - DriveBy = 1
[18:53:12] [junkbuster] - Spam = 1
[18:53:12] [junkbuster] - CommandSpam = 1
[18:53:12] [junkbuster] - BadWords = 0
[18:53:12] [junkbuster] - CarJackHack = 1
[18:53:12] [junkbuster] - TeleportHack = 1
[18:53:12] [junkbuster] - MaxPing = 1000
[18:53:12] [junkbuster] - SpectateHack = 0
[18:53:12] [junkbuster] - Blacklist = 0
[18:53:12] [junkbuster] - IpBans = 1
[18:53:12] [junkbuster] - TempBans = 1
[18:53:12] [junkbuster] - SpawnKill = 10
[18:53:12] [junkbuster] - CapsLock = 0
[18:53:12] [junkbuster] - 3DSpeed = 0
[18:53:12] [junkbuster] - MaxSpeed = 240
[18:53:12] [junkbuster] - AdminImmunity = 1
[18:53:12] [junkbuster] - Advertisement = 1
[18:53:12] [junkbuster] - FreezeUpdate = 0
[18:53:12] [junkbuster] - SpawnTime = 10
[18:53:12] [junkbuster] - CheckpointTeleport = 1
[18:53:12] [junkbuster] - Airbreak = 1
[18:53:12] [junkbuster] - TankMode = 1
[18:53:12] [junkbuster] - WarnPlayers = 0
[18:53:12] [junkbuster] - SingleplayerCheats = 1
[18:53:12] [junkbuster] - MinFPS = 6
[18:53:12] [junkbuster] - DisableBadWeapons = 1
[18:53:12] [junkbuster] - CBug = 12
[18:53:12] [junkbuster] - AntiBugKill = 1
[18:53:12] [junkbuster] - NoReload = 40
[18:53:12] 

[18:53:12] [junkbuster] 0 IP-bans have been loaded.
[18:53:12] [junkbuster] 0 temporary bans have been loaded.
[18:53:12] [junkbuster] 3 whitelist entries have been loaded.
[18:53:12] [junkbuster] 4 blacklist entries have been loaded.
[18:53:12] [junkbuster] 41 bad words have been loaded.
[18:53:12] [junkbuster] 3 forbidden weapons have been loaded.
[18:53:12] [junkbuster] JunkBuster has been configurated.
[18:53:12] [junkbuster] JunkBuster has successfully been loaded.
[18:53:12] 
+---------------------------------------------+
[18:53:12] ¦            JunkBuster Anti-Cheat              ¦
[18:53:12] ¦                     by                        ¦
[18:53:12] ¦               Double-O-Seven                  ¦
[18:53:12] ¦           loaded as filterscript!             ¦
[18:53:12] +-----------------------------------------------+

[18:53:12] You are now using JunkBuster as filterscript!
[18:53:12] Make sure that you have included JunkBuster_Cient.inc
[18:53:12] in all your other script! You must include JunkBuster.inc
[18:53:12] in ONLY ONE script! In this case, it's this filterscript!
[18:53:12] Use JunkBuster_Client.inc in your other scripts!
[18:53:12]   Loading filter script 'Cookies.amx'...
[18:53:12]   Loading filter script 'HealthBar4.amx'...
[18:53:12]   Loading filter script 'animations.amx'...
[18:53:12]   Loaded 4 filter scripts.

[18:53:12] Script[gamemodes/ZombieMod.amx]: Run time error 19: "File or function is not found"
[18:53:12] Number of vehicle models: 0
any ideas? please I really need help...
Reply
#2

u need main() function in your gamemode.
like
main(){
printf("initiating..");
}
Reply
#3

Quote:
Originally Posted by Kapil
Посмотреть сообщение
u need main() function in your gamemode.
like
main(){
printf("initiating..");
}
here's the main() function...its already in the gamemode...

Код:
main()
{
        print("\n*********************************");
        print("             ~~~Zombies Vs Humans~~~         ");
        print("([--------------------------------------])\n");
}
Reply
#4

Well. This could mean anything. Can you please try finding the line or Compiling the script? If you find an error on compiling the script, post that line the error is saying.
Reply
#5

You ARE missing a plugin!
Reply
#6

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
You ARE missing a plugin!
By the description of that, He Could have several things:
Code Problems, Plugin Problems, Plugin Missing as you have said and Include Problems.


-I suggest that you check if there are any errors with compiling.
If there are, post them here, and the line of error


-Check for any missing plugins
If there are missing plugins either remove them or
download them and add them to your server package


-Check if all the includes used in that script are downloaded
If not, Same as with the Plugins. Download or Remove the include line

-Redownload all your plugins & includes and be sure their Up-To-Date


If all of this doesn't work, and all is fine then your Server package, for some Weird reason could be corrupted (This is the most Unlikely issue to happen) Try Downloading a brand new package from SAMP and Install the Gamemode and Filterscripts, scriptfiles & plugins
Reply
#7

Quote:
Originally Posted by DeadAhead
Посмотреть сообщение
Well. This could mean anything. Can you please try finding the line or Compiling the script? If you find an error on compiling the script, post that line the error is saying.
I have NO errors upon compiling just usual warnings due to indentation...

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
You ARE missing a plugin!
I am not running any plugins its a BASE gamemode I began editing it a few days ago...I don't think it needs any plugins LOL

Quote:
Originally Posted by DeadAhead
Посмотреть сообщение
By the description of that, He Could have several things:
Code Problems, Plugin Problems, Plugin Missing as you have said and Include Problems.


-I suggest that you check if there are any errors with compiling.
If there are, post them here, and the line of error


-Check for any missing plugins
If there are missing plugins either remove them or
download them and add them to your server package


-Check if all the includes used in that script are downloaded
If not, Same as with the Plugins. Download or Remove the include line

-Redownload all your plugins & includes and be sure their Up-To-Date


If all of this doesn't work, and all is fine then your Server package, for some Weird reason could be corrupted (This is the most Unlikely issue to happen) Try Downloading a brand new package from SAMP and Install the Gamemode and Filterscripts, scriptfiles & plugins
does this mean I have to download the package again? Ill post here my OnGameModeInit() callback..

Код:
public OnGameModeInit()
{
		FadeInit();
		SetTimer("ArmourUpdate", 1000, true);
        SetGameModeText(".:ZombiesVsHumans:.");
        AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
        //AddPlayerClass(162, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
        SetTimer("rMessage", TIMER, true);
        SetTimer("NoZombieWeapons",1000,true);
        SetTimer("PayRanks",600000,true);
        SetNameTagDrawDistance(5);
        SetTeamCount(2);
        ShowNameTags(1);
        ShowPlayerMarkers(0);
        UsePlayerPedAnims();
        AllowInteriorWeapons(1);
    	DisableInteriorEnterExits();
        SetWorldTime(0);
        for(new i; i<MAX_PLAYERS; i++)
        {
                if(IsPlayerConnected(i))
        {
                OnPlayerConnect(i);
        }
        }
        MaxP = GetMaxPlayers();
 		drawagain();
 		SetTimer("pOnline", SEC2, 1);
     SetTimer("StatsInfromation",300 , 1);
 	for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
 	{
	    PlayerStats[playerid] = TextDrawCreate(231.000000,405.000000,"");
	    Textdraw1 = TextDrawCreate(260.000000,391.000000,"STATS");
	    TextDrawUseBox(PlayerStats[playerid],1);
	    TextDrawBoxColor(PlayerStats[playerid],0xffffff33);
	    TextDrawTextSize(PlayerStats[playerid],389.000000,119.000000);
	    TextDrawAlignment(PlayerStats[playerid],0);
	    TextDrawAlignment(Textdraw1,0);
	    TextDrawBackgroundColor(PlayerStats[playerid],0x000000ff);
	    TextDrawBackgroundColor(Textdraw1,0xff000033);
	    TextDrawFont(PlayerStats[playerid],2);
	    TextDrawLetterSize(PlayerStats[playerid],0.399999,1.200000);
	    TextDrawFont(Textdraw1,2);
	    TextDrawLetterSize(Textdraw1,0.799999,1.300000);
	    TextDrawColor(PlayerStats[playerid],0xffffffff);
	    TextDrawColor(Textdraw1,0xffffffff);
	    TextDrawSetOutline(PlayerStats[playerid],1);
	    TextDrawSetOutline(Textdraw1,1);
	    TextDrawSetProportional(PlayerStats[playerid],1);
	    TextDrawSetProportional(Textdraw1,1);
	    TextDrawSetShadow(PlayerStats[playerid],1);
	    TextDrawSetShadow(Textdraw1,1);

	    Save(playerid);
	}
        return 1;
}
Reply
#8

so no-one can help me huh? any ideas...
Reply
#9

Show us the includes in your script.
Reply
#10

Quote:
Originally Posted by Cameltoe
Посмотреть сообщение
Show us the includes in your script.
I have all the 0.3c includes and also I have...

Dini dudb dutils foreach j_fader_v2 JunkBuster mapandreas Seifensive sscanf2 streamer(not used) and zcmd

thats all the ones I have... plus the initial 0.3c includes that came with the package...

EDIT: I guess this is an inexplainable error...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)