SA-MP Forums Archive
Why when i start server, server get crashed! :S - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Why when i start server, server get crashed! :S (/showthread.php?tid=185667)



Why when i start server, server get crashed! :S - DarkPower - 25.10.2010

This is .log file....

pawn Код:
SA-MP Dedicated Server
----------------------
v0.3b R2, (C)2005-2010 SA-MP Team

[16:21:58] filterscripts = ""  (string)
[16:21:58]
[16:21:58] Server Plugins
[16:21:58] --------------
[16:21:58]  Loading plugin: sscanf
[16:21:58]

[16:21:58]  ===============================

[16:21:58]       sscanf plugin loaded.    

[16:21:58]    (c) 2009 Alex "******" Cole

[16:21:58]  ===============================

[16:21:58]   Loaded.
[16:21:58]  Loading plugin: streamer
[16:21:58]

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

[16:21:58]   Loaded.
[16:21:58]  Loaded 2 plugins.

[16:21:58]
[16:21:58] Filter Scripts
[16:21:58] ---------------
[16:21:58]   Loaded 0 filter scripts.

[16:21:58] foreach called
Is it problem somewhere into foreach?


Re: Why when i start server, server get crashed! :S - Jochemd - 25.10.2010

code please


Re: Why when i start server, server get crashed! :S - DarkPower - 25.10.2010

what code? -.- i have just mode with 6,000 lines


Re: Why when i start server, server get crashed! :S - Scenario - 25.10.2010

It seems like "foreach" is causing it to crash:

Код:
[16:21:58] foreach called
I could be wrong though. Is this a GM you created on your own?


Respuesta: Why when i start server, server get crashed! :S - The_Moddler - 25.10.2010

Do you have any crashinfo.txt?

Also, if you save files, make sure you have the correct folders on your scriptfiles folder.

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
It seems like "foreach" is causing it to crash:

Код:
[16:21:58] foreach called
I could be wrong though. Is this a GM you created on your own?
I don't think that it is foreach, it got loaded a few lines up..


Re: Why when i start server, server get crashed! :S - DarkPower - 25.10.2010

yeah but evrything was work fine, and when i create house system its crash allways :-//


Respuesta: Re: Why when i start server, server get crashed! :S - The_Moddler - 25.10.2010

Quote:
Originally Posted by DarkPower
Посмотреть сообщение
yeah but evrything was work fine, and when i create house system its crash allways :-//
Check your scriptfiles folder and add the necessary files.


Re: Why when i start server, server get crashed! :S - DarkPower - 25.10.2010

hm i create > houses.cfg but i dont see any other problems it still making crash... here it is
crash log

pawn Код:
SA-MP Server: 0.3b R2



Exception At Address: 0x004A233B



Registers:

EAX: 0x0018EF08 EBX: 0x030D1CE8 ECX: 0x00000000 EDX: 0x00405910

ESI: 0x00000000 EDI: 0x00371B00 EBP: 0x0018EF18 ESP: 0x0018EEF0

EFLAGS: 0x00010286



Stack:

+0000: 0x00371B00   0x00371B00   0x030D1CE8   0xFFFFFFFF

+0010: 0x0018EEF0   0x0018EAC4   0x0018FE24   0x004A5FA4

+0020: 0x004C11C8   0xFFFFFFFF   0x0311E810   0x0040591D

+0030: 0x00000000   0x00401096   0x00371B00   0x031855C0

+0040: 0x0311F550   0x00402BB3   0x00371B00   0x00000011

+0050: 0x0018EF58   0x031855C0   0x0018F3EC   0x00000000

+0060: 0x00000000   0x00371B00   0x00000000   0x00066070

+0070: 0x00066070   0x000673C8   0x00063414   0x000673B0

+0080: 0x00063414   0x030D1CE8   0x0311F550   0x00000000

+0090: 0x030D0020   0x0004D868   0x0048B6CE   0x00371B00

+00A0: 0x0018F3DC   0x0000002F   0x65727453   0x72656D61

+00B0: 0x476E4F5F   0x4D656D61   0x4965646F   0x0074696E

+00C0: 0x00371B00   0x00371B00   0x030D1CE8   0x00000000

+00D0: 0x00000000   0x00000000   0x00000000   0x00000000

+00E0: 0x00000000   0x00000000   0x00000000   0x00000000

+00F0: 0x00000000   0x00000000   0x00000000   0x00000000

+0100: 0x00000000   0x00000000   0x00000000   0x00000008

+0110: 0x026F00C4   0x03190048   0x03190043   0x00000000

+0120: 0x00000000   0x026F0000   0x096FF2D8   0x0018EF64

+0130: 0x026FFFE0   0x0018F0F4   0x775E041D   0x0060B958



Re: Why when i start server, server get crashed! :S - Jack Shred - 25.10.2010

Sometimes when you crash it could be due to alot of objects being in the server ( over 400 - limit ).
In that case use a streamer.
There are other reasons, just try to figure out which one.


Re: Why when i start server, server get crashed! :S - DarkPower - 25.10.2010

i use streamers: vehicle, objects...