Re: YSF - kurta999's version -
Crayder - 24.08.2015
Quote:
Originally Posted by kurta999
I've upgraded it to your new include, anyway can I be a dick? :P
I think you still have the generator for this new model sizes. You could create MODELS_gColRadius, MODELS_gColOffset with 'f' after every float? Like: 5.104225f, 5.732428f, 5.732428f. (I would like to store these two arrays as float, not as double. Double is 8bytes, float is 4 and fucking C compliler warn me if I try to store something as fload and I don't use the 'f' after number.)
|
That'd be easy, in fact if you look at the GitHub readme the generator is there. It's nothing complicated so I'll just go ahead and do it... BRB
Re: YSF - kurta999's version -
kurta999 - 24.08.2015
Oh, I didn't saw it.. Now I got it.
Anyway there was a problem with external rcon at windows, this problem already fixed. I will release R15 soon. (This problem present since 0.3.7 version because something changed in RakServer and I din't noticed it)
Re: YSF - kurta999's version -
Crayder - 24.08.2015
Quote:
Originally Posted by kurta999
Oh, I didn't saw it.. Now I got it.
|
You could've also just used a regular expression.
Replace: "[0-9]{6}\K"
With: "f"
Result: Appends an 'f' to every 6 digit number.
https://www.dropbox.com/s/sjzdwf1e53...zes-f.inc?dl=0
Re: YSF - kurta999's version -
kurta999 - 24.08.2015
Thanks!
R15 beta, who had problems with YSF before, please test this version.
- Added natives to toggle nightvision fix (YSF_EnableNightVisionFix, YSF_IsNightVisionFixEnabled)
- GetVehicleColor should return correct colors before ChangeVehicleColor has been used
- Internal changes to source code, especially for casts
- Project has been updated to Visual Studio 2015
- Model sizes has been updated to more precise version, thanks to Crayder
- Fixed remote rcon crash at windows
https://github.com/kurta999/YSF/releases/tag/R15
In windows, you need to install
Visual C++ Redistributable 2015 x86 - also XP should be supported.
Re: YSF - kurta999's version -
Crystallize - 24.08.2015
I must say , this is one of the best plugins out here
AW: YSF - kurta999's version -
FSAOskar - 24.08.2015
Thanks, really needed the function to toggle the goggle fix !
*edit*
Found a little spelling mistake in the include. Replace:
Код:
native SetPlayerPosForPlayer(playerid, posplayerid, Float:fX, Float:fY, Floaf:fZ, bool:forcesync = true);
with:
Код:
native SetPlayerPosForPlayer(playerid, posplayerid, Float:fX, Float:fY, Float:fZ, bool:forcesync = true);
*edit* #2
I've also noticed that SetPlayerPosForPlayer only works in a cetrain radius from the spawnpoint of the player whose position will be changed. If he exceeds that radius then his position bugs out till resetting it.
Re: AW: YSF - kurta999's version -
kurta999 - 25.08.2015
Quote:
Originally Posted by FSAOskar
Thanks, really needed the function to toggle the goggle fix !
*edit*
Found a little spelling mistake in the include. Replace:
Код:
native SetPlayerPosForPlayer(playerid, posplayerid, Float:fX, Float:fY, Floaf:fZ, bool:forcesync = true);
with:
Код:
native SetPlayerPosForPlayer(playerid, posplayerid, Float:fX, Float:fY, Float:fZ, bool:forcesync = true);
|
WTF
Re: AW: YSF - kurta999's version -
Max_Andolini - 25.08.2015
Quote:
Originally Posted by kurta999
WTF 
|
"Floaf:fZ"
with
"Float:fZ"
Respuesta: YSF - kurta999's version -
Whyd - 25.08.2015
thanks for R15
Re: YSF - kurta999's version -
kurta999 - 26.08.2015
Maybe there are also some interesting problem with move animation, but that doesn't affect anything just looks a bit shit Eg. if player moving while crouching (+aiming?), then player not walking, just sliding on ground. Anybody noticed it?
Re: YSF - kurta999's version -
IllidanS4 - 29.08.2015
Код:
[debug] Run time error 19: "File or function is not found"
[debug] SendInvalidPlayerSync
Tested on Windows.
Also it still says "R14-3" (having R15).
Re: YSF - kurta999's version -
Lordzy - 29.08.2015
Since the project got updated to Visual Studio 2015, download vcredist 2015 to get this working -
https://www.microsoft.com/en-us/down....aspx?id=48145
@kurta999 - You might want to update the 2013 vcredist link to latest one.
Re: YSF - kurta999's version -
kurta999 - 01.09.2015
Quote:
Originally Posted by sprtik
Код:
[debug] Run time error 19: "File or function is not found"
[debug] SendInvalidPlayerSync
Tested on Windows.
Also it still says "R14-3" (having R15).
|
Fixed, thanks.
Quote:
Originally Posted by Lordzy
|
Thanks.
Re: YSF - kurta999's version -
Lordzy - 02.09.2015
This plugin causes a server crash when "varlist" command is executed in console. I'm using the latest version of YSF and the OS used is Windows 8.
EDIT : I ran this on SA-MP's 0.3.7-R2 server package. The only thing I added was YSF plugin, no additional scripts were there. I've also tried using CrashDetect Plugin but it didn't provide any logs regarding the crash issue.
Re: YSF - kurta999's version -
kurta999 - 02.09.2015
Going to check it.
Re: YSF - kurta999's version -
Evocator - 02.09.2015
OnPlayerDeath doesn't get called for some reason when the player is killed by a hunter's minigun.
Edit: Seasparrow too.
Edit 2: death reasons: 19, 20.
Edit 3: Another bug. Shoot at someone > they get in a vehicle > blow it with RPG > OnPlayerDeath doesn't get called
Edit 4:
Код:
[18:32:07] Kicking 95.x.x.82 because they didn't logon to the game.
[18:32:07] [debug] Server crashed due to an unknown error
[18:32:07] [debug] Native backtrace:
[18:32:07] [debug] #0 f73dee8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[18:32:07] [debug] #1 f73d7bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[18:32:07] [debug] #2 f73d8dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[18:32:07] [debug] #3 f73d9226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[18:32:07] [debug] #4 f73deadc in ?? () from plugins/crashdetect.so
[18:32:07] [debug] #5 f770d410 in ?? ()
[18:32:07] [debug] #6 f753eff4 in ?? () from /lib/i386-linux-gnu/libc.so.6
[18:32:07] [debug] #7 f73cdc30 in _ZN12AMXCallStack3PopEv () from plugins/crashdetect.so
[18:32:07] [debug] #8 f73d9c51 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[18:32:07] [debug] #9 f73dd659 in ?? () from plugins/crashdetect.so
[18:32:07] [debug] #10 f732b25c in ?? () from plugins/streamer.so
[18:32:07] [debug] #11 f617c620 in ?? () from plugins/YSF.so
Using R15 Beta.
Re: YSF - kurta999's version -
IllidanS4 - 05.09.2015
GetObjectAttachedOffset returns zeros if the object is attached to a player. Could you please also allow for returning playerid from GetObjectAttachedData? Also server apparently crashes when DestroyPlayerObject is called on invalid id.
Re: YSF - kurta999's version -
kurta999 - 05.09.2015
Quote:
Originally Posted by sprtik
GetObjectAttachedOffset returns zeros if the object is attached to a player. Could you please also allow for returning playerid from GetObjectAttachedData? Also server apparently crashes when DestroyPlayerObject is called on invalid id.
|
DestroyPlayerObject shouldn't crash at all, but I added more sanity check to it.
Re: YSF - kurta999's version -
Kyle - 05.09.2015
Quote:
Originally Posted by Ralfie
OnPlayerDeath doesn't get called for some reason when the player is killed by a hunter's minigun.
Edit: Seasparrow too.
Edit 2: death reasons: 19, 20.
Edit 3: Another bug. Shoot at someone > they get in a vehicle > blow it with RPG > OnPlayerDeath doesn't get called
Edit 4:
Код:
[18:32:07] Kicking 95.x.x.82 because they didn't logon to the game.
[18:32:07] [debug] Server crashed due to an unknown error
[18:32:07] [debug] Native backtrace:
[18:32:07] [debug] #0 f73dee8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[18:32:07] [debug] #1 f73d7bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[18:32:07] [debug] #2 f73d8dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[18:32:07] [debug] #3 f73d9226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[18:32:07] [debug] #4 f73deadc in ?? () from plugins/crashdetect.so
[18:32:07] [debug] #5 f770d410 in ?? ()
[18:32:07] [debug] #6 f753eff4 in ?? () from /lib/i386-linux-gnu/libc.so.6
[18:32:07] [debug] #7 f73cdc30 in _ZN12AMXCallStack3PopEv () from plugins/crashdetect.so
[18:32:07] [debug] #8 f73d9c51 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[18:32:07] [debug] #9 f73dd659 in ?? () from plugins/crashdetect.so
[18:32:07] [debug] #10 f732b25c in ?? () from plugins/streamer.so
[18:32:07] [debug] #11 f617c620 in ?? () from plugins/YSF.so
Using R15 Beta.
|
I've the same:
[14:10:02] [debug] Server crashed due to an unknown error
[14:10:02] [debug] Native backtrace:
[14:10:02] [debug] #0 f7477e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[14:10:02] [debug] #1 f7470bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[14:10:02] [debug] #2 f7471dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[14:10:02] [debug] #3 f7472226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[14:10:02] [debug] #4 f7477adc in ?? () from plugins/crashdetect.so
[14:10:02] [debug] #5 f77cc410 in ?? ()
[14:10:02] [debug] #6 0809568c in ?? () from ./samp03svr
[14:10:02] [debug] #7 080957cd in ?? () from ./samp03svr
[14:10:02] [debug] #8 f73d55b4 in ?? () from plugins/streamer.so
[14:10:02] [debug] #9 f4391733 in ?? () from plugins/YSF.so
CrashDetect v4.15.1
Streamer Plugin v2.7.8
YSF - kurta999 version R14-3
Re: YSF - kurta999's version -
kurta999 - 05.09.2015
When you get this crash? I have absolutely no idea.
Quote:
Originally Posted by sprtik
GetObjectAttachedOffset returns zeros if the object is attached to a player. Could you please also allow for returning playerid from GetObjectAttachedData? Also server apparently crashes when DestroyPlayerObject is called on invalid id.
|
Added attached_playerid parameter to GetObjectAttachedData, and fixed GetObjectAttachedOffsets. It will be in final R15. (I wasn't a bug, it was just an issue)
E:
OnPlayerDeath doesn't get called for some reason when the player is killed by a hunter's minigun.
Edit: Seasparrow too.
Edit 2: death reasons: 19, 20.
Edit 3: Another bug. Shoot at someone > they get in a vehicle > blow it with RPG > OnPlayerDeath doesn't get called
These should be fixed, at least the first two.