Doesn't load gamemode.
#1

Hello, something just happend and the server doesn't load the gamemode, which is fully compiled. Here's the server log:


SA-MP Dedicated Server
----------------------
v0.3c, ©2005-2010 SA-MP Team

[00:52:32]
[00:52:32] Server Plugins
[00:52:32] --------------
[00:52:32] Loading plugin: streamer
[00:52:32]

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

[00:52:32] Loaded.
[00:52:32] Loaded 1 plugins.

[00:52:32]
[00:52:32] Ban list
[00:52:32] --------
[00:52:32] Loaded: samp.ban
[00:52:32]
[00:52:32]
[00:52:32] Filter Scripts
[00:52:32] ---------------
[00:52:32] Loaded 0 filter scripts.

[00:52:32] Script[gamemodes/FreeRoamLT.amx]: Run time error 19: "File or function is not found"
[00:52:32] Number of vehicle models: 0

Any suggestions?
Reply
#2

Have you added the gamemode to the server config ?
Is it in the gamemode folder ?
Reply
#3

Compile the GM if any error that's why its not loading
Reply
#4

Theres no errors when compilling and the gamemode is in gamemodes folder and it is in server.cfg. When compiling the server theres just this one warning at the end of the gamemode:

C:\Users\Type-R\Desktop\FreeRoam LT\gamemodes\FreeRoamLT.pwn(8784) : warning 203: symbol is never used: "ret_memcpy"

i dont know how to fix it.
Reply
#5

Under your defines:

Код:
#pragma unused ret_memcpy
To get rid of warning.
Reply
#6

Thanks, i got rid of the warning, but i still can't figure out how to get the server read the Gamemode...
Reply
#7

bad pawno version. try compile with right pawno version
Reply
#8

Quote:
Originally Posted by the_chaoz
Посмотреть сообщение
bad pawno version. try compile with right pawno version
He's using 3c, so he's already got the latest version, read his log.
Reply
#9

This was a server log, before i edited the server it would give this message:

[01:45:49] Script[gamemodes/FreeRoamLT.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[01:45:49] Number of vehicle models: 78

but the server would still work, any suggestions?
Reply
#10

You need this in your script:

Код:
main()
{
   	
}
Put it near the top somewhere.
Reply
#11

So for the one that isin't loading the script, can it be that i scripted something wrong maybe?
Reply
#12

Lets take a peek at your gm then ?
If it's to big to put on here, use pastebin.
Reply
#13

I don't want to publish it. I think i will figure it out myself, but thanks for help.
Reply
#14

This error means you are missing a plugin, Please check if all plugins you have included really are there, if not, download them
Reply
#15

Quote:
Originally Posted by Type-R
Посмотреть сообщение
I don't want to publish it. I think i will figure it out myself, but thanks for help.
I did'nt want to steal it m8..lolz
Just wanted to see where you was going wrong.
Reply
#16

Quote:
Originally Posted by alpha500delta
Посмотреть сообщение
This error means you are missing a plugin, Please check if all plugins you have included really are there, if not, download them
Which error ?
Reply
#17

Almost sure this error

Run time error 19: "File or function is not found"

is not referring to the script not being found, Try seeing if your script need plugins that you aren't loading.
Reply
#18

the error runtime 19 comes because of: You got missing plugins , or scriptfiles.

check your plugins
Reply
#19

Quote:
Originally Posted by titanak
Посмотреть сообщение
the error runtime 19 comes because of: You got missing plugins , or scriptfiles.

check your plugins
Just a heads up, the last error was:
Код:
[01:45:49] Script[gamemodes/FreeRoamLT.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
And we fixed that with:

Код:
main()
{
   	
}
Reply
#20

kk. but i dont have main() function in gamemode and still no errors with compiling.. lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)