SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 23/10/2013, 10:04 AM   #11
Joe_Goro
Big Clucker
 
Joe_Goro's Avatar
 
Join Date: Aug 2012
Location: In No Where City
Posts: 193
Reputation: 4
Default Re: server crashes help!!

when i compile with pawn.cfg the pawno show not responding ..... why?
__________________
If I Helped You REP+ PLease . Thanks


Server Team Speak : 5.231.62.98




Joe_Goro is offline   Reply With Quote
Old 23/10/2013, 10:09 AM   #12
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,831
Reputation: 1401
Default Re: server crashes help!!

It's the first time someone got that problem. The file pawn.cfg just changes the flag, it shouldn't be a problem.

You'll only need to recompile your script like you used to do, nothing else (not including that file in the mode or so).
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 23/10/2013, 10:20 AM   #13
Joe_Goro
Big Clucker
 
Joe_Goro's Avatar
 
Join Date: Aug 2012
Location: In No Where City
Posts: 193
Reputation: 4
Default Re: server crashes help!!

i do .. but the pawno not responding
and i cant compile
__________________
If I Helped You REP+ PLease . Thanks


Server Team Speak : 5.231.62.98




Joe_Goro is offline   Reply With Quote
Old 23/10/2013, 10:34 AM   #14
Joe_Goro
Big Clucker
 
Joe_Goro's Avatar
 
Join Date: Aug 2012
Location: In No Where City
Posts: 193
Reputation: 4
Default Re: server crashes help!!

Finaly its Compiled :
Pawno :

Code:
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Header size:          33972 bytes
Code size:          6247520 bytes
Data size:         19814208 bytes
Stack/heap size:   16000000 bytes; estimated max. usage: unknown, due to recursion
Total requirements:42095700 bytes

thats mean working ?
i will upload the script now and give you server_log.txt
__________________
If I Helped You REP+ PLease . Thanks


Server Team Speak : 5.231.62.98




Joe_Goro is offline   Reply With Quote
Old 23/10/2013, 10:52 AM   #15
Joe_Goro
Big Clucker
 
Joe_Goro's Avatar
 
Join Date: Aug 2012
Location: In No Where City
Posts: 193
Reputation: 4
Default Re: server crashes help!!

Server Log :
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team

[07:00:33] password = ""  (string)
[07:00:33] 
[07:00:33] Server Plugins
[07:00:33] --------------
[07:00:33]  Loading plugin: mysql_static.so
[07:00:33] plugin.mysql: R20 successfully loaded.
[07:00:33]   Loaded.
[07:00:33]  Loading plugin: streamer.so
[07:00:33] 

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

[07:00:33]   Loaded.
[07:00:33]  Loading plugin: sscanf.so
[07:00:33] 

[07:00:33]  ===============================

[07:00:33]       sscanf plugin loaded.     

[07:00:33]    (c) 2009 Alex "******" Cole

[07:00:33]    0.3d-R2 500 Players "dnee"

[07:00:33]  ===============================

[07:00:33]   Loaded.
[07:00:33]  Loading plugin: Whirlpool.so
[07:00:33]  
[07:00:33]  ==================
[07:00:33]  
[07:00:33]   Whirlpool loaded
[07:00:33]  
[07:00:33]  ==================
[07:00:33]  
[07:00:33]   Loaded.
[07:00:33]  Loading plugin: nativechecker.so
[07:00:33]   Loaded.
[07:00:33]  Loading plugin: crashdetect.so
[07:00:33]   CrashDetect v4.12 is OK.
[07:00:33]   Loaded.
[07:00:33]  Loaded 6 plugins.

[07:00:33] 
[07:00:33] Filterscripts
[07:00:33] ---------------
[07:00:33]   Loading filterscript 'buttons.amx'...
[07:00:35]   Loading filterscript 'gcustom03e.amx'...
[07:00:36]   Loading filterscript 'vactions.amx'...
[07:00:36]   Loaded 3 filterscripts.

[07:00:37]  
[07:00:37]  ======================================= 
[07:00:37]  |                                     | 
[07:00:37]  |        YSI version 3.01.0002        | 
[07:00:37]  |        By Alex "******" Cole        | 
[07:00:37]  |                                     | 
[07:00:37]  ======================================= 
[07:00:37]  
[07:00:37] function 'mysql_debug' is deprecated, use 'mysql_log' instead.
[07:00:37] [MySQL] (Main Pipelines) Connecting to 127.0.0.1...
[07:00:37] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[07:00:37] [LoadHouses] Loading data from database...
[07:00:37] [LoadDynamicDoors] Loading data from database...
[07:00:37] [LoadDynamicMapIcons] Loading data from database...
[07:00:37] [LoadDynamicTexts] Loading data from database...
[07:01:20] [LoadTurfWars] 40 turfs loaded.
[07:01:20] [LoadPaintballArenas] 10 paintball arenas loaded.
[07:01:20] [LoadEventPoints] 0 event points loaded.
[07:01:20] [LoadGates] 4000 gates loaded.
[07:01:20] [LoadElevatorStuff] 20 floors loaded.
[07:01:20] [LoadFamilies] 16 families loaded.
[07:01:20] [LoadPoints] 9 points loaded.
[07:01:30] [LoadCDealerships] 15 dealerships loaded.
[07:01:30] [MiscLoad] Misc Loaded
[07:01:30] [Tax] Government Tax/Vault Loaded.
[07:01:58] [debug] Server crashed while executing VWRP.amx
[07:01:58] [debug] AMX backtrace:
[07:01:58] [debug] #0 native fclose () [0809a980] from samp03svr
[07:01:58] [debug] #1 0009b708 in Log (sz_fileName[]=@0x012e56f8 "logs/cardebug.log", sz_input[]=@0x022277c0 "-> [471]") at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\gamemodes\VWRP.pwn:14423
[07:01:58] [debug] #2 005f5448 in CreateVehicleEx (modelid=567, Float:x=2507.30005, Float:y=-1677.40002, Float:z=13.30000, Float:angle=147.30000, color1=3, color2=3, respawn_delay=-1, playerid=65535) at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\gamemodes\VWRP.pwn:102209
[07:01:58] [debug] #3 005c8f58 in LoadGangVehicles (f=1) at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\gamemodes\VWRP.pwn:98848
[07:01:58] [debug] #4 00123870 in public zcmd_OnGameModeInit () at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\gamemodes\VWRP.pwn:23034
[07:01:58] [debug] #5 native CallLocalFunction () [080d2960] from samp03svr
[07:01:58] [debug] #6 0002458c in public S@@_OnGameModeInit () at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\pawno\include\ZCMD.inc:70
[07:01:58] [debug] #7 native CallLocalFunction () [080d2960] from samp03svr
[07:01:58] [debug] #8 00017244 in public S@@_OnGameModeInit () at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\pawno\include\YSI\internal\y_dohooks.inc:422
[07:01:58] [debug] #9 native CallLocalFunction () [080d2960] from samp03svr
[07:01:58] [debug] #10 000109a4 in public Itter_OnGameModeInit () at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\pawno\include\YSI\y_scriptinit.inc:164
[07:01:58] [debug] #11 native CallLocalFunction () [080d2960] from samp03svr
[07:01:58] [debug] #12 000084d0 in public SSCANF_OnGameModeInit () at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\pawno\include\foreach.inc:633
[07:01:58] [debug] #13 00000cbc in public OnGameModeInit () at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\pawno\include\sscanf2.inc:174
[07:01:58] [debug] Native backtrace:
[07:01:58] [debug] #0 b66d3a5b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[07:01:58] [debug] #1 b66cc852 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[07:01:58] [debug] #2 b66cd35c in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[07:01:58] [debug] #3 b66cd86e in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[07:01:58] [debug] #4 b66d376d in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #5 b77d3600 in ?? ()
[07:01:58] [debug] #6 b75d6eb6 in _IO_file_close_it () from /lib/i386-linux-gnu/libc.so.6
[07:01:58] [debug] #7 b75d5248 in fclose () from /lib/i386-linux-gnu/libc.so.6
[07:01:58] [debug] #8 b750e490 in fclose () from /lib/i386-linux-gnu/libc.so.6
[07:01:58] [debug] #9 0809a994 in ?? () from ./samp03svr
[07:01:58] [debug] #10 08093d14 in ?? () from ./samp03svr
[07:01:58] [debug] #11 b66ca10c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:01:58] [debug] #12 b66cf348 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #13 b66d5db5 in amx_Exec () from plugins/crashdetect.so
[07:01:58] [debug] #14 b66cc6ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:01:58] [debug] #15 b66cf149 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #16 080d2c02 in ?? () from ./samp03svr
[07:01:58] [debug] #17 08093d14 in ?? () from ./samp03svr
[07:01:58] [debug] #18 b66ca10c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:01:58] [debug] #19 b66cf348 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #20 b66d5db5 in amx_Exec () from plugins/crashdetect.so
[07:01:58] [debug] #21 b66cc6ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:01:58] [debug] #22 b66cf149 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #23 080d2c02 in ?? () from ./samp03svr
[07:01:58] [debug] #24 08093d14 in ?? () from ./samp03svr
[07:01:58] [debug] #25 b66ca10c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:01:58] [debug] #26 b66cf348 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #27 b66d5db5 in amx_Exec () from plugins/crashdetect.so
[07:01:58] [debug] #28 b66cc6ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:01:58] [debug] #29 b66cf149 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #30 080d2c02 in ?? () from ./samp03svr
[07:01:58] [debug] #31 08093d14 in ?? () from ./samp03svr
[07:01:58] [debug] #32 b66ca10c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:01:58] [debug] #33 b66cf348 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #34 b66d5db5 in amx_Exec () from plugins/crashdetect.so
[07:01:58] [debug] #35 b66cc6ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:01:58] [debug] #36 b66cf149 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #37 080d2c02 in ?? () from ./samp03svr
[07:01:58] [debug] #38 08093d14 in ?? () from ./samp03svr
[07:01:58] [debug] #39 b66ca10c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:01:58] [debug] #40 b66cf348 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #41 b66d5db5 in amx_Exec () from plugins/crashdetect.so
[07:01:58] [debug] #42 b66cc6ab in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:01:58] [debug] #43 b66cf149 in ?? () from plugins/crashdetect.so
[07:01:58] [debug] #44 080acccb in ?? () from ./samp03svr
[07:01:58] [debug] #45 080b2bbd in ?? () from ./samp03svr
[07:01:58] [debug] #46 080b1487 in ?? () from ./samp03svr
[07:01:58] [debug] #47 b74c24d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
__________________
If I Helped You REP+ PLease . Thanks


Server Team Speak : 5.231.62.98




Joe_Goro is offline   Reply With Quote
Old 23/10/2013, 11:23 AM   #16
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,831
Reputation: 1401
Default Re: server crashes help!!

pawn Code:
[07:01:58] [debug] #0 native fclose () [0809a980] from samp03svr
[07:01:58] [debug] #1 0009b708 in Log (sz_fileName[]=@0x012e56f8 "logs/cardebug.log", sz_input[]=@0x022277c0 "-> [471]") at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\gamemodes\VWRP.pwn:14423
[07:01:58] [debug] #2 005f5448 in CreateVehicleEx (modelid=567, Float:x=2507.30005, Float:y=-1677.40002, Float:z=13.30000, Float:angle=147.30000, color1=3, color2=3, respawn_delay=-1, playerid=65535) at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\gamemodes\VWRP.pwn:102209
[07:01:58] [debug] #3 005c8f58 in LoadGangVehicles (f=1) at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\gamemodes\VWRP.pwn:98848
[07:01:58] [debug] #4 00123870 in public zcmd_OnGameModeInit () at C:\Documents and Settings\edku dreams\Desktop\VWRP\VWRP\gamemodes\VWRP.pwn:23034

Quote:
Originally Posted by SA-MP Wiki
Important Note: The file handle must be valid, and must point to a file successfully opened by fopen.
I assume that's the mistake you did in Log function. Can you post that function?
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 23/10/2013, 11:26 AM   #17
nguyenquynh
Banned
 
Join Date: Sep 2012
Posts: 94
Reputation: 0
Default Re: server crashes help!!

NG:RP script =]]z
nguyenquynh is offline   Reply With Quote
Old 23/10/2013, 01:50 PM   #18
Joe_Goro
Big Clucker
 
Joe_Goro's Avatar
 
Join Date: Aug 2012
Location: In No Where City
Posts: 193
Reputation: 4
Default Re: server crashes help!!

what you mean?
__________________
If I Helped You REP+ PLease . Thanks


Server Team Speak : 5.231.62.98




Joe_Goro is offline   Reply With Quote
Old 23/10/2013, 04:38 PM   #19
Joe_Goro
Big Clucker
 
Joe_Goro's Avatar
 
Join Date: Aug 2012
Location: In No Where City
Posts: 193
Reputation: 4
Angry Re: server crashes help!!

help please
__________________
If I Helped You REP+ PLease . Thanks


Server Team Speak : 5.231.62.98




Joe_Goro is offline   Reply With Quote
Old 23/10/2013, 04:58 PM   #20
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,831
Reputation: 1401
Default Re: server crashes help!!

You used
pawn Code:
Log("logs/cardebug.log", "blabla..");

Post that Log function and also line 14423.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server crashes with use of gmx DrDoom151 Scripting Help 3 08/02/2013 01:40 PM
Server Crashes AMEENAMEEN Server Support 3 22/11/2012 07:14 PM
Server Crashes OwNaGe Server Support 1 18/05/2012 04:56 AM
Server Crashes @ Hourly Server time change. +Rep+. Quinlynn Server Support 6 24/03/2012 02:54 PM
Server crashes when more than 1 person joins the server???? WillyP Server Support 0 05/07/2010 06:47 PM


All times are GMT. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.