Server crashing
#1

I've started to make my own gamemode recently and when trying to run it, it takes about 1 minute to crash.

I've been getting this message in my crashinfo.txt file.
Код:
Exception At Address: 0x0047CDC5



Registers:

EAX: 0x68207325	EBX: 0x026A4073	ECX: 0x7FFFFFFE	EDX: 0x0012F280

ESI: 0x0012F280	EDI: 0x0012F4B2	EBP: 0x0012EF34	ESP: 0x0012EEA8

EFLAGS: 0x00010202



Stack:
And when running samp-server.exe it shows this error message..


(Yes i've searched but found nothing on this particular problem. If I missed something, feel free to tell me)
Reply
#2

Put:
pawn Код:
main()
{
}
into your script, before OnGameModeInit callback.
Reply
#3

Can you please show me an example?
Reply
#4

Код:
main()
{
  print("Ohai");
}

public OnGameModeInit()
{
	return 1;
}
Reply
#5

pawn Код:
#include <a_samp>

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

public OnGameModeInit()
{
Theres an example,
As posted by BlackBank3 when i clicked post button :P
Reply
#6

lol :P
Reply
#7

Thanks for the help, all working now.
Reply
#8

Okay, it must not have been that. There must be another problem.
I'm getting the same error message as above (my first post) except the cmd-looking samp-server.exe shows everythings fine. It's only in the crashlog.

Just testing it and it says "Game mode restarting.." Then it says that it's trying to reconnect and failing.

(Shizzle, double post. For that i'm sorry.)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)