Run time error 6.
#1

I downloaded Crashdetect, and when I started my server to see why it kept crashing on the host
[debug] Run time error 6: "Invalid instruction"
[12:54:31] [debug] Unknown opcode 0x0 at address 0x00000001
[12:54:31] [debug] AMX backtrace:
[12:54:31] [debug] #0 00000001 in public Itter_OnGameModeInit () from ArmyLife.amx
[12:54:31] [debug] #1 native CallLocalFunction () [00472ad0] from samp-server.exe
[12:54:31] [debug] #2 00001868 in public Streamer_OnGameModeInit () from ArmyLife.amx
[12:54:31] [debug] #3 native CallLocalFunction () [00472ad0] from samp-server.exe
[12:54:31] [debug] #4 00000a8c in public zcmd_OnGameModeInit () from ArmyLife.amx
[12:54:31] [debug] #5 native CallLocalFunction () [00472ad0] from samp-server.exe
[12:54:31] [debug] #6 000001e4 in public OnGameModeInit () from ArmyLife.amx

This is what I got. The server runs fine locally, but when you start it on the host, it crashes automatically.
How would I fix this?
Reply
#2

Quote:
Originally Posted by gtasarules14
Посмотреть сообщение
I downloaded Crashdetect, and when I started my server to see why it kept crashing on the host
[debug] Run time error 6: "Invalid instruction"
[12:54:31] [debug] Unknown opcode 0x0 at address 0x00000001
[12:54:31] [debug] AMX backtrace:
[12:54:31] [debug] #0 00000001 in public Itter_OnGameModeInit () from ArmyLife.amx
[12:54:31] [debug] #1 native CallLocalFunction () [00472ad0] from samp-server.exe
[12:54:31] [debug] #2 00001868 in public Streamer_OnGameModeInit () from ArmyLife.amx
[12:54:31] [debug] #3 native CallLocalFunction () [00472ad0] from samp-server.exe
[12:54:31] [debug] #4 00000a8c in public zcmd_OnGameModeInit () from ArmyLife.amx
[12:54:31] [debug] #5 native CallLocalFunction () [00472ad0] from samp-server.exe
[12:54:31] [debug] #6 000001e4 in public OnGameModeInit () from ArmyLife.amx

This is what I got. The server runs fine locally, but when you start it on the host, it crashes automatically.
How would I fix this?
Do you use any plugins?
What OS are you running in local server? Windows?
Your host is probably using Linux as a host, as it's more common to use Linux for a host server.

If so, make sure you have .so files for your plugin, e.g for
pawn Код:
streamer.dll // dll for Windows?
You have
pawn Код:
streamer.so // for Linux
And change in server.cfg
pawn Код:
plugins streamer myplugin blablabla
to
pawn Код:
plugins streamer.so myplugin.so blablabla.so
Reply
#3

I correctly have the plugins named like that, the server still crashes on the host, the plugins and gamemode load perfectly, but it crashes right after starting. Ive tried this on a different host too, same result. I am running in a windows OS locally, the host uses linux.
Reply
#4

Quote:
Originally Posted by gtasarules14
Посмотреть сообщение
I correctly have the plugins named like that, the server still crashes on the host, the plugins and gamemode load perfectly, but it crashes right after starting. Ive tried this on a different host too, same result. I am running in a windows OS locally, the host uses linux.
Hmmm.. I don't really know but I'll try to help.
Did you copy+paste these files to your host (important ones, in my opinion):

> .amx of your Filterscripts
> Includes [yes, all of them]
> Plugins [yes, all of them]
> .amx of your Gamemode
> server.cfg (and make sure you've set your own RCON password)


Sorry if I didn't help that much...
Reply
#5

Oh wait, I did not include the Includes file, Quick question, am I supposed to add Streamer and Sscanf to that too?
Or is that only for Pawno?
And I appreciate you answering
Reply
#6

Quote:
Originally Posted by gtasarules14
Посмотреть сообщение
Oh wait, I did not include the Includes file, Quick question, am I supposed to add Streamer and Sscanf to that too?
Or is that only for Pawno?
And I appreciate you answering
Paste your includes too.
Yes, all your includes.

Plugins usually have 2 files that is put on a different folder
First are the .dll files and .so files - which should be put in Plugins folder.
Second are the .inc files - which belongs in pawno/includes folder.

I think they should be put there, because the last time I hosted a server and it runs properly (a linux host, apparently) it runs when I did all those things.
Reply
#7

Thanks for your help, but the server still crashes on the host, Still repped for helping, if you got any other suggestions, please post them. Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)