SA-MP Forums Archive
somebody knows this: exception at address.... - Printable Version

+- SA-MP Forums Archive (
+-- Forum: SA-MP Scripting and Plugins (
+--- Forum: Scripting Help (
+---- Forum: Help Archive (
+---- Thread: somebody knows this: exception at address.... (/showthread.php?tid=141460)

somebody knows this: exception at address.... - legodude - 13.04.2010

Exception At Address: 0x7C90100B


EAX: 0x00000020 EBX: 0x00000010 ECX: 0x7FFDF000 EDX: 0x00000020
ESI: 0x00B320AC EDI: 0x00B320C4 EBP: 0x0012F614 ESP: 0x0012F5D8
EFLAGS: 0x00010202

+0000: 0x00481744 0x00000020 0x00487FF0 0x00000000
+0010: 0x00B320C4 0x00B320AC 0x00000010 0x00000000
+0020: 0x00487C53 0x0012F5E8 0x0012F1FC 0x0012F858
+0030: 0x00485D28 0x0049F530 0xFFFFFFFF 0x00000010
+0040: 0x00481DB0 0x00000000 0x00405114 0x00000000
+0050: 0x0012F640 0x00B320AC 0x00000010 0x0012F678
+0060: 0x0012F858 0x00485D28 0x0049EEC0 0xFFFFFFFF
+0070: 0x00405A02 0x00000000 0x00000010 0x00000001
+0080: 0x004059A0 0x00B2C528 0x000042D0 0x004059B0
+0090: 0x00B2C528 0x00B2C528 0x00B2D7D0 0x00000087
+00A0: 0x00B2DADC 0x00401096 0x00B2C528 0x00B320C4
+00B0: 0x00B2DDF4 0x00402BB3 0x00B2C528 0x00000006
+00C0: 0x0012F6B0 0x00B320AC 0x00000000 0x00000000
+00D0: 0x00B01370 0x00000000 0x00000000 0x000042C0
+00E0: 0x000042B8 0x00004488 0x0000048C 0x00004470
+00F0: 0x0000048C 0x00B2D7D0 0x00B2DDF4 0x00000000
+0100: 0x00B2D580 0x00000624 0x0045FDF8 0x00B2C528
+0110: 0x0012F718 0x00000002 0x00B2C528 0x00000000
+0120: 0x00B2C528 0x00000000 0x00B2C528 0x00000000
+0130: 0x00000000 0x00B2C3A8 0x0100007F 0x00000000

and the server shuts down and i found this in my crashlog.

the piece of code that does it i think:

		new name[MAX_PLAYER_NAME], string[48];
		GetPlayerName(clickedplayerid, name, sizeof(name));
		new plrIP[16];
		GetPlayerIp(clickedplayerid, plrIP, sizeof(plrIP));
		new IPtocompare[16];
		new File:vipinfo=fopen(name, io_write);
			vipinfo = fopen("vipinfo", io_read);
			fread(vipinfo, IPtocompare, sizeof(IPtocompare), false);