SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 16/07/2017, 03:08 PM   #1671
Y_Less
Spam Machine
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 14,524
Reputation: 2876
Default Re: YSF - kurta999's version

What is the license on this code?
Y_Less is offline   Reply With Quote
Old 16/07/2017, 03:30 PM   #1672
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,384
Reputation: 574
Default Re: YSF - kurta999's version

Quote:
Originally Posted by kernel32 View Post
Then why not remove it?
In the code there is a lot of garbage, unnecessary comments, do you like working with such code?
TIME, TIME, TIME.... I've learn programming C++ with this plugins, so it's ovbious that some parts are messy, but works. I'm not going to rewrite the complete plugin, beucase I have a life outside of computer. Sometime my computer is switched off for 4-5 days

Quote:
Originally Posted by Y_Less View Post
What is the license on this code?
MPL

https://github.com/kurta999/YSF/tree/YSF_/src
https://github.com/kurta999/YSF/blob/YSF_/src/Hooks.h

AFAIK same what you started to use.
kurta999 is offline   Reply With Quote
Old 16/07/2017, 03:37 PM   #1673
Y_Less
Spam Machine
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 14,524
Reputation: 2876
Default Re: YSF - kurta999's version

Great, thanks. I just looked in the root for a LICENSE file - my bad for not looking any deeper (or even noticing when browsing through the code). Also, this might interest you:

https://github.com/Open-GTO/sa-mp-fixes/issues/47
Y_Less is offline   Reply With Quote
Old 18/07/2017, 01:38 AM   #1674
Adoniiz
Gangsta
 
Join Date: Mar 2010
Location: Wormhole
Posts: 826
Reputation: 57
Default Respuesta: Re: YSF - kurta999's version

Quote:
Originally Posted by iLearner View Post
https://usercontent.irccloud-cdn.com...CrLL/image.png

My server crashed after round about 1 hour, after i started using YSF.

Any idea?
I've same error.

Also:

Code:
[sampgdk:warning] Index mismatch for OnOutcomeScmEvent (-10011 != -10009)
 [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:33] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:34] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:35] [sampgdk:warning] Index mismatch for OnPlayerPauseStateChange (-10037 != -10035)
[14:20:35] [sampgdk:warning] Index mismatch for OnPlayerPauseStateChange (-10037 != -10035)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37] [sampgdk:warning] Index mismatch for OnVehicleDamageStatusUpdate (-10057 != -10055)
[14:20:37]

Any idea Kurta?

Thanks.
__________________
Adoniiz is offline   Reply With Quote
Old 18/07/2017, 04:43 AM   #1675
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,384
Reputation: 574
Default Re: YSF - kurta999's version

Use the latest version, ysf doesnt use samgsk anymore
kurta999 is offline   Reply With Quote
Old 18/07/2017, 04:51 AM   #1676
Adoniiz
Gangsta
 
Join Date: Mar 2010
Location: Wormhole
Posts: 826
Reputation: 57
Default Respuesta: YSF - kurta999's version

When i use lastest version. Crash.

Code:
[04:02:45] [debug] Server crashed due to an unknown error
[04:02:45] [debug] Native backtrace:
[04:02:45] [debug] #0 f66839f0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[04:02:45] [debug] #1 f667ca62 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[04:02:45] [debug] #2 f667d764 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[04:02:45] [debug] #3 f667f6b4 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[04:02:45] [debug] #4 f668331d in ?? () from plugins/crashdetect.so
[04:02:45] [debug] #5 f77bd420 in ?? ()
[04:02:45] [debug] #6 f77bd440 in ?? ()
[04:02:45] [debug] #7 f74a9457 in gsignal () from /lib32/libc.so.6
[04:02:45] [debug] #8 f74ac7c3 in abort () from /lib32/libc.so.6
[04:02:45] [debug] #9 f76dfd6f in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib32/libstdc++.so.6
[04:02:45] [debug] #10 f76dd924 in ?? () from /usr/lib32/libstdc++.so.6
[04:02:45] [debug] #11 f76dd99d in ?? () from /usr/lib32/libstdc++.so.6
[04:02:45] [debug] #12 f76ddcb6 in __cxa_rethrow () from /usr/lib32/libstdc++.so.6
[04:02:45] [debug] #13 f608e0cd in _ZNSt10_HashtableItSt4pairIKtNSt6chrono10time_pointINS2_3_V212steady_clockENS2_8durationIxSt5ratioILx1ELx1000000000EEEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toItESt4hashItENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEjjPNSD_10_Hash_nodeISB_Lb0EEE () from plugins/YSF.so
[04:02:45] [debug] #14 f608bfd9 in _ZN7CServer16OnPlayerStreamInEtt () from plugins/YSF.so
[04:02:45] [debug] #15 f6091c7a in _Z32HOOK_CGameMode__OnPlayerStreamInP9CGameModeii () from plugins/YSF.so
[04:02:45] [debug] #16 080cafb4 in ?? () from ./samp03svr
[04:02:45] [debug] #17 080cbb19 in ?? () from ./samp03svr
[04:02:45] [debug] #18 080cbe2f in ?? () from ./samp03svr
[04:02:45] [debug] #19 080cd5e4 in ?? () from ./samp03svr
[04:02:45] [debug] #20 080ac97c in ?? () from ./samp03svr
[04:02:45] [debug] #21 080aed90 in ?? () from ./samp03svr
[04:02:45] [debug] #22 080aef02 in ?? () from ./samp03svr
[04:02:45] [debug] #23 080aa13a in ?? () from ./samp03svr
[04:02:45] [debug] #24 f7494ad3 in __libc_start_main () from /lib32/libc.so.6
[04:02:45] [debug] #25 0804b4e1 in ?? () from ./samp03svr

----------
Loaded log file: "server_log.txt".

I have to use an old version of the YSF so it will not crash.


-...


In this moment i use this version:

Quote:
Originally Posted by kurta999 View Post
@iLearner:


Try this version. Or this:

For me everything is fine.
__________________
Adoniiz is offline   Reply With Quote
Old 18/07/2017, 06:10 AM   #1677
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,384
Reputation: 574
Default Re: YSF - kurta999's version

Don't use that That's an unstable shit, use the one from the main page. That's totally stable. (r19)

I still don't have PC & internet at home where I live now, so it's a bit hard to test & release r19-2.
kurta999 is offline   Reply With Quote
Old 18/07/2017, 08:34 AM   #1678
iLearner
Huge Clucker
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 314
Reputation: 72
Default Re: YSF - kurta999's version

i suggest removing setplayerfakeping function, its being abused.
__________________
iLearner is online now   Reply With Quote
Old 18/07/2017, 09:00 AM   #1679
AbyssMorgan
High-roller
 
AbyssMorgan's Avatar
 
Join Date: Apr 2015
Location: Poland
Posts: 1,136
Reputation: 245
Default Re: YSF - kurta999's version

Quote:
Originally Posted by iLearner View Post
i suggest removing setplayerfakeping function, its being abused.
No...
AbyssMorgan is online now   Reply With Quote
Old 18/07/2017, 07:10 PM   #1680
SecDet
Big Clucker
 
Join Date: Feb 2016
Posts: 54
Reputation: 2
Default Re: YSF - kurta999's version

Quote:
Originally Posted by iLearner View Post
i suggest removing setplayerfakeping function, its being abused.
How is abused? Nothing bad in this.
SecDet 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
[GameMode] [GM] - [RnD] Street Racers `N Drifters (New Version - latest version) Johny_Rocker Gamemode Scripts 23 10/12/2015 09:53 AM
How to convert server files from 0.3e version into 0.3c version Sajed Scripting Help 2 29/10/2013 07:48 PM
[FilterScript] [FS]New LSPD - Version 0.3 - Bugfix Version Dalenor Filterscripts 46 08/12/2010 01:36 PM
about changing version of sa-mp but with old script version Sfinx_17 Help Archive 3 22/10/2009 12:05 PM


All times are GMT. The time now is 10:52 PM.


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