SA-MP Forums Archive
Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (/showthread.php?tid=423052)



Help - En2katas - 16.03.2013

Hello everyone, so faced with such a problem, when I try to raise my files to the hosts throw this one maybe you know why?

Script[gamemodes/SRG.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[14:52:54] Number of vehicle models: 75
[14:52:54] --- Server Shutting Down.


Re: Help - Nathan_Taylor - 16.03.2013

Does it work if you try and start the server on your end, Locally? If not, something is wrong in your code and I can't be sure what it is unless I can see the code. If it works on your computer, then something is wrong with your host, contact their support.


Re: Help - En2katas - 16.03.2013

The server is running on your computer, but on the up host shows unknow mode


Re: Help - Nathan_Taylor - 16.03.2013

Well then it seems that your script is fine, I would contact the host, obviously it is their problem. Make sure if you are using any plugins that you are uploading them to your host and adding then to your CONF file on your host server aswell. Other than that, it must be their problem, as it is working on your computer.


Re: Help - En2katas - 16.03.2013

Now it does not turn on, because in the phpmyadmin sql file have caused that combine with hosta GameMode


here is believed to be perhaps the mysql log?:

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

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[15:55:03]
[15:55:03] Server Plugins
[15:55:03] --------------
[15:55:03] Loading plugin: streamer.so
[15:55:03]

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

[15:55:03] Loaded.
[15:55:03] Loading plugin: mysql.so
[15:55:03]

> MySQL plugin R5 successfully loaded.

[15:55:03] Loaded.
[15:55:03] Loading plugin: sscanf.so
[15:55:03]

[15:55:03] ===============================

[15:55:03] sscanf plugin loaded.

[15:55:03] Version: 2.8.1

[15:55:03] © 2012 Alex "******" Cole

[15:55:03] ===============================

[15:55:03] Loaded.
[15:55:03] Loaded 3 plugins.

[15:55:03]
[15:55:03] Ban list
[15:55:03] --------
[15:55:03] Loaded: samp.ban
[15:55:03]
[15:55:03]
[15:55:03] Filterscripts
[15:55:03] ---------------
[15:55:03] Loading filterscript 'SRG.amx'...
[15:55:03] Unable to load filterscript 'SRG.amx'.
[15:55:03] Loading filterscript 'AFK.amx'...
[15:55:03] --- ` AFK `
[15:55:03] Loading filterscript 'neon.amx'...
[15:55:03] Unable to load filterscript 'neon.amx'.
[15:55:03] Loading filterscript 'Valdymas.amx'...
[15:55:03]



[15:55:03]



[15:55:03] Loaded 2 filterscripts.

[15:55:03] GRP4: Success... current session id is: 610
[15:55:03] Filterscript 'UPDATE.amx' unload failed.
[15:55:03] Filterscript 'UPDATE.amx' load failed'.
[15:55:03] Total vehicles: 305
[15:55:03] Total Models: 45
[15:55:03]
Printing model data:

[15:55:03] Number of Leviathan(ID:417): 2
[15:55:03] Number of News Chopper(ID:48: 2
[15:55:03] Number of Beagle(ID:511): 2
[15:55:03] Number of Stunt(ID:513): 3
[15:55:03] Number of Shamal(ID:519): 3
[15:55:03] Number of Streak(ID:53: 1
[15:55:03] Number of Cargobob(ID:54: 2
[15:55:03] Number of Streak Carriage(ID:570): 3
[15:55:03] GRP4: Uzkraunam Taimerius...
[15:55:03] Serveris Veikia
[15:55:03] Script[gamemodes/SRG.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[15:55:03] Number of vehicle models: 75
[15:55:03] --- Server Shutting Down.
[15:55:03]

*** Streamer Plugin v2.6.1 by Incognito unloaded ***

[15:55:03]

> MySQL plugin unloaded.

[15:55:03]

[15:55:03] ===============================

[15:55:03] sscanf plugin unloaded.

[15:55:03] ===============================


Re: Help - Nathan_Taylor - 16.03.2013

Well then it seems that your script is fine, I would contact the host, obviously it is their problem. Make sure if you are using any plugins that you are uploading them to your host and adding then to your CONF file on your host server aswell. Other than that, it must be their problem, as it is working on your computer.


Re: Help - En2katas - 16.03.2013

Now it does not turn on, because in the phpmyadmin sql file have caused that combine with hosta GameMode


Re: Help - tyler12 - 16.03.2013

Add main(){} to your gamemode.


Re: Help - En2katas - 16.03.2013

Me gamemode complinÄ… without errors and warnings all right there, just as the cause file does not start or unknow mode ..

I tried to lead the sql file into phpmyadmin as gm tied to mysql.


Re: Help - tyler12 - 16.03.2013

Add main(){} to the gamemode. It doesn't give error(s) if it's not there.