[SOLVED] I made a new gamemode, but I can't connect when I run it
#1

Hi,
I started to create a brand new gamemode. I only have a few things done yet, but for some reason, I can't connect to my server when I run it. The client writes 'Joining the game...', then it writes 'Restarting', and after all, the server crashes. The Pawno doesn't find any error, neither do I.

http://pastebin.com/f5yya4wN
Reply
#2

Any information in server_log or crashlog?
Reply
#3

The server_log has no information. This is the crashinfo:
Code:
--------------------------

SA-MP Server: 0.3a R7



Exception At Address: 0x0048174B



Registers:

EAX: 0x0012F2D4	EBX: 0x00D6179C	ECX: 0x00000000	EDX: 0x00405910

ESI: 0x00000000	EDI: 0x00D5A1B8	EBP: 0x0012F2E4	ESP: 0x0012F2BC

EFLAGS: 0x00010286



Stack:

+0000: 0x00D5A1B8  0x00D5A1B8  0x00D6179C  0xFFFFFFFF

+0010: 0x0012F2BC  0x0012EEE0  0x0012F4B4  0x004854EC

+0020: 0x0049F0B0  0xFFFFFFFF  0x00D61D2C  0x0040591D

+0030: 0x00000000  0x00401096  0x00D5A1B8  0x00D67374

+0040: 0x00D6231C  0x00402BB3  0x00D5A1B8  0x00000006

+0050: 0x0012F324  0x00D67374  0x00000000  0x00D5A1B8

+0060: 0x00D301C0  0x0012F738  0x00000001  0x00005040

+0070: 0x00005058  0x00005074  0x00001078  0x00005064

+0080: 0x00001078  0x00D6179C  0x00D6231C  0x00000000

+0090: 0x00D61198  0x00000B80  0x00460270  0x00D5A1B8

+00A0: 0x0012F370  0x00000006  0x00D5A1B8  0x00000000

+00B0: 0x00000000  0x00000000  0x00000006  0x00473DBE

+00C0: 0x00000000  0xFBDB4255  0xFBDB05D1  0x00D301C0

+00D0: 0x0012F848  0x0012F510  0x00000000  0xFBDB4255

+00E0: 0x001205D1  0x000000C0  0x00000800  0x00000000

+00F0: 0x0012F3B1  0x00000001  0x00000000  0x63694D10

+0100: 0x6C656168  0x6361505F  0x6F6F776B  0x00000064

+0110: 0x00000004  0x0012F5D8  0xFFFFFFFC  0x00000000

+0120: 0x00000000  0x00492702  0x00000024  0x00A657C0

+0130: 0x00D6179C  0x00000000  0x0012F43C  0x00A657C0
Reply
#4

Don't post huge scripts, use www.pastebin.com instead.
Reply
#5

Quote:
Originally Posted by ikarus❶❸❸❼
Don't post huge scripts, use www.pastebin.com instead.
Edited the first post.

Any ideas?
Reply
#6

http://pastebin.com/Fxx651SK
Try with this
Reply
#7

It is still bad.

EDIT: I solved the problem, I had to replace this:

pawn Code:
...
format(string, sizeof(string), "jatekosok/%s.ini", sendername);
new File: UserFile = fopen(string, io_read);
if (UserFile)
{
...
With this:

pawn Code:
...
format(string, sizeof(string), "jatekosok/%s.ini", sendername);
if (fexist(string))
{
...
Reply
#8

not working for me
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)