Closed kenjutsu-sx closed 7 years ago
YSF R17?
Yes. R17 and R16. R15 and below not tested.
I tested this YSF: https://github.com/IllidanS4/YSF/releases. Same problem.
How to fix this? Or should we expect a new version of YSF?
It's not SetVehicleToRespawn function, that spawn cars. I created a new server and added one car (respawn - 25 seconds after the destruction): CreateVehicle(411, 1089.6847, -1414.0166, 13.4500, 0.0000, -1, -1, 25, 1);
Server crashed after 25 seconds. If disable YSF plugin, not crashed.
P.S. Google Translate + my English XD
What is your sever version?
0.3.7-R2. Crash only on Linux.
Going to check this.
This is the latest linux build from Git, please test this bug with this build: http://mfrserver.net/YSF/YSF.so
If crash still happens, then I'm going to check it myself.
Again crash with spawn cars. Another added crash dialog (see log).
Log:
Sat Dec 10 20:50:02 GMT-2 2016
v0.3.7-R2, (C)2005-2015 SA-MP Team
[20:50:02] [20:50:02] Server Plugins [20:50:02] -------------- [20:50:02] Loading plugin: crashdetect.so [20:50:02] CrashDetect v4.16 is OK. [20:50:02] Loaded. [20:50:02] Loading plugin: YSF.so [20:50:02] logprintf = 0x080A91D0
[20:50:02] addr: 80c7430 [20:50:08]
[20:50:08] ===============================
[20:50:08] YSF - kurta999's version R18 loaded
[20:50:08] (c) 2008 Alex "Y_Less" Cole - (c) 2010 - 2016 kurta999
[20:50:08] Server version: 0.3.7 R2-1
[20:50:08] Operating System: Linux
[20:50:08] Built on: Dec 10 2016 at 15:49:54
[20:50:08] ===============================
[20:50:08] Loaded. [20:50:08] Loading plugin: mysql.so [20:50:08] >> plugin.mysql: R41 successfully loaded. [20:50:08] Loaded. [20:50:08] Loading plugin: audio.so [20:50:08]
Audio Plugin v0.5 R2 by Incognito loaded
[20:50:08] Loaded. [20:50:08] Loading plugin: streamer.so [20:50:08]
Streamer Plugin v2.7.8 by Incognito loaded
[20:50:08] Loaded. [20:50:08] Loading plugin: pawncmd.so [20:50:08] Pawn.CMD plugin v3.1.2 by urShadow loaded [20:50:08] Loaded. [20:50:08] Loading plugin: sscanf.so [20:50:08]
[20:50:08] ===============================
[20:50:08] sscanf plugin loaded.
[20:50:08] Version: 2.8.1
[20:50:08] (c) 2012 Alex "Y_Less" Cole
[20:50:08] ===============================
[20:50:08] Loaded. [20:50:08] Loaded 7 plugins.
[20:50:08] [20:50:08] Ban list [20:50:08] -------- [20:50:08] Loaded: samp.ban [20:50:08] [20:50:08] [20:50:08] Filterscripts [20:50:08] --------------- [20:50:08] Loading filterscript 'fs.amx'... [20:50:08] Loaded 1 filterscripts.
[20:50:08] Audio Plugin: Started TCP server on port 7876 [20:50:08] Audio_SetPack: Audio pack set to "default_pack" (transferable and automated)
[20:50:46] YSF: Might dialog hack has been detected for player ›Дивергент‹(0) - which should be: 0, dialogid: 37 [20:51:01] YSF: Might dialog hack has been detected for player ›Дивергент‹(0) - which should be: 12, dialogid: 500
Started server on 46.174.50.46:7876, with maxplayers: 20 lanmode is OFF.
[20:51:06] [debug] Server crashed while executing gm.amx [20:51:06] [debug] AMX backtrace: [20:51:06] [debug] #0 native SetVehicleToRespawn () from samp03svr [20:51:06] [debug] #1 0000bc04 in SetVehicleToRespawnEx (vehid=96, number_plate[]=@00e02514 "VECTOR", Float:health=1000.00000) at d:\gta_servers\samp\vector_dm\0.3.7-R2\project_windows\pawno\include\svr_funcs.inc:485 [20:51:06] [debug] #2 0004354c in public OnPlayerKeyStateChange (playerid=0, newkeys=131072, oldkeys=0) at d:\gta_servers\samp\vector_dm\0.3.7-R2\project_windows\gamemodes\gm.pwn:3072 [20:51:06] [debug] Native backtrace: [20:51:06] [debug] #0 f74809f0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so [20:51:06] [debug] #1 f7479a62 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [20:51:06] [debug] #2 f747a764 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [20:51:06] [debug] #3 f747c6b4 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [20:51:06] [debug] #4 f748031d in ?? () from plugins/crashdetect.so [20:51:06] [debug] #5 ffffe410 in ?? () [20:51:06] [debug] #6 0814b4c4 in ?? () from ./samp03svr [20:51:06] [debug] #7 080d6a6e in ?? () from ./samp03svr [20:51:06] [debug] #8 080950e4 in ?? () from ./samp03svr [20:51:06] [debug] #9 f747b4d3 in ZN11CrashDetect13DoAmxCallbackEiPiS0 () from plugins/crashdetect.so [20:51:06] [debug] #10 0000003e in ?? () from HwчHFwчl1l1m3l14l5”Сwч
And crash ShowPlayerDialog (hook i think):
[21:05:10] [debug] Server crashed while executing gm.amx [21:05:10] [debug] AMX backtrace: [21:05:10] [debug] #0 native ShowPlayerDialog () from YSF.so [21:05:10] [debug] #1 0004a444 in public OnDialogResponse (playerid=0, dialogid=0, response=1, listitem=3, inputtext[]=@00e81130 "") at d:\gta_servers\samp\vector_dm\0.3.7-R2\project_windows\gamemodes\gm.pwn:3779 [21:05:10] [debug] Native backtrace: [21:05:10] [debug] #0 f74679f0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so [21:05:10] [debug] #1 f7460a62 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [21:05:10] [debug] #2 f7461764 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [21:05:10] [debug] #3 f74636b4 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [21:05:10] [debug] #4 f746731d in ?? () from plugins/crashdetect.so [21:05:10] [debug] #5 ffffe410 in ?? () [21:05:10] [debug] #6 f73cee86 in ?? () from plugins/YSF.so [21:05:10] [debug] #7 080950e4 in ?? () from ./samp03svr [21:05:10] [debug] #8 f74624d3 in ZN11CrashDetect13DoAmxCallbackEiPiS0 () from plugins/crashdetect.so [21:05:10] [debug] #9 00e81130 in ?? () from uHueegehiAv
Thank you. Could you show me what is your dialog code in pawn? I would like to see it. And about vehicle respawn crahs, im going to check it myself soon.
And try to load ysf as latest plugin. Let mensee the result!
I put the plugins in the following order:
plugins crashdetect.so mysql.so audio.so streamer.so pawncmd.so sscanf.so YSF.so.
The same bugs
http://mfrserver.net/YSF/YSF.so
This version is the latest, for me it now works without any problem both on windows & linux. Please test it, thanks.
Сrash dialogs fixed! I removed SAMP 0.3.7 R2 and installed SAMP 0.3.7 R2-1 and corrected crash with cars (LOL)!
And yet, it would be very cool if you updated the plugin: http://forum.sa-mp.com/showthread.php?t=580937.
Thanks for all.)
Oh no. With YSF R18 on my hosting memory is loaded to 85%. YSF R17 - to 12%. Please fix this before the release of YSF R18. I'm still going to use YSF R17.
It will be fixed. Thanks for testing.
Fixed.
Help me My plugins : crashdetect.so discord-connector.so whirlpool.so sampvoice.so pawncmd.so SKY.so sscanf.so streamer.so core.so mysql_static.so nativechecker.so
How to fix this
My server crash after calling the function SetVehicleToRespawn. I created a new server and connected only YSF.so, still crash. Crash ONLY on Linux.
Sorry for my bad English (I am from Russia).
Hosting: myarena.ru Plugins: crashdetect.so YSF.so mysql.so audio.so streamer.so pawncmd.so sscanf.so Log (with crashdetect):