Help server error . I GIVE +REP
#1

So i compile my GM no errors , and when i try to run server this msessge apear :
Script[gamemodes/MyServer.amx]: Run time error 20: "Invalid invalid index parametar<bad entery point>"



What do i doo ?




Only give +REP if it works ...
Reply
#2

add this anywhere
Код:
main()
{
	print("\n----------------------------------");
	print("");
	print("");
	print("");
	print("");
	print("----------------------------------\n");
}
in your gamemode.
Reply
#3

It won't work .... I DON'T KNOW WHY ? !!!
Reply
#4

Where do you put it?Show me
Reply
#5

Reply
#6

Can you show me your server.cfg and log?
Reply
#7

Server Log :
[22:54:42] Filterscripts
[22:54:42] ---------------
[22:54:42] Loading filterscript 'Zadmin4.2.amx'...
[22:54:42] Unable to load filterscript 'Zadmin4.2.amx'.
[22:54:42] Loading filterscript ',.amx'...
[22:54:42] Unable to load filterscript ',.amx'.
[22:54:42] Loaded 0 filterscripts.

[22:54:42]
[22:54:42] =======================================
[22:54:42] | |
[22:54:42] | YSI version 1.04.0000 |
[22:54:42] | By Alex "******" Cole |
[22:54:42] | |
[22:54:42] =======================================
[22:54:42]
[22:54:42] Script[gamemodes/VirtualLife.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[22:54:42] Number of vehicle models: 0
[22:54:42]
[22:54:42] ==========================================
[22:54:42] | |
[22:54:42] | A new version (v3.09.0684) of YSI is |
[22:54:42] | available from: |
[22:54:42] | |
[22:54:42] | www.y-less.com/YSI/YSI_1.0.zip |
[22:54:42] | |
[22:54:42] | Changelog: |
[22:54:42] | |
[22:54:42] | 3.00.0000: |
[22:54:42] | |
[22:54:42] | YSI 3.0 released! Now includes the |
[22:54:42] | "y_text" library for better messages, |
[22:54:42] | and a reworked "y_classes" library. |
[22:54:42] | Largely documented here |
[22:54:42] | "http://forum.sa-mp.com/showthread.php |
[22:54:42] | ?t=321092". |
[22:54:42] | |
[22:54:42] | 3.01.0002: |
[22:54:42] | |
[22:54:42] | Small fixes to "y_text" and |
[22:54:42] | "y_classes". |
[22:54:42] | |
[22:54:42] | 3.09.0684: |
[22:54:42] | |
[22:54:42] | Reverted to old download location. |
[22:54:42] | Improved (and fixed) version checks; |
[22:54:42] | added y_bitmap, y_areas, y_races, |
[22:54:42] | y_zonenames, better documentation; |
[22:54:42] | MANY other bug fixes - see the github |
[22:54:42] | repository for more details: |
[22:54:42] | |
[22:54:42] ==========================================
[22:54:42]


Server.cfg

echo Executing Server Config...
lanmode 0
rcon_password 1234567890
maxplayers 50
port 7777
hostname Virtual life [SA-MP 0.3z]
gamemode0 VirtualLife
filterscripts Zadmin4.2 ,
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
mapname Los Balkan
plugins sscanf , streamer , mysql
logtimeformat [%H:%M:%S]
Reply
#8

I dont know , it should be working...try replacing with just only this main() {}
Reply
#9

.. Maybe its cuz' i did login/register system and there is a bug in it ? ... I'm new to pawno so i watched at some tutorials .... ..
Reply
#10

There shouldn't be commas between the list of filterscripts and plugins, just a space.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)