SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/07/2017, 06:23 PM   #1661
kernel32
Little Clucker
 
kernel32's Avatar
 
Join Date: Sep 2016
Posts: 19
Reputation: 0
Default Re: YSF - kurta999's version

Quote:
Originally Posted by kurta999 View Post
Nothing its just a debug message
Then why not remove it?
In the code there is a lot of garbage, unnecessary comments, do you like working with such code?
kernel32 is offline   Reply With Quote
Old 16/07/2017, 04:08 PM   #1662
Y_Less
Spam Machine
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 14,514
Reputation: 2923
Default Re: YSF - kurta999's version

What is the license on this code?
Y_Less is online now   Reply With Quote
Old 16/07/2017, 04:30 PM   #1663
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,397
Reputation: 583
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, 04:37 PM   #1664
Y_Less
Spam Machine
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 14,514
Reputation: 2923
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 online now   Reply With Quote
Old 18/07/2017, 02:38 AM   #1665
Adoniiz
Gangsta
 
Join Date: Mar 2010
Location: Wormhole
Posts: 824
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, 05:43 AM   #1666
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,397
Reputation: 583
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, 05:51 AM   #1667
Adoniiz
Gangsta
 
Join Date: Mar 2010
Location: Wormhole
Posts: 824
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, 07:10 AM   #1668
kurta999
High-roller
 
kurta999's Avatar
 
Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,397
Reputation: 583
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, 09:34 AM   #1669
iLearner
Banned
 
Join Date: Apr 2017
Posts: 435
Reputation: 89
Default Re: YSF - kurta999's version

i suggest removing setplayerfakeping function, its being abused.
iLearner is offline   Reply With Quote
Old 18/07/2017, 10:00 AM   #1670
AbyssMorgan
High-roller
 
AbyssMorgan's Avatar
 
Join Date: Apr 2015
Location: Poland
Posts: 1,232
Reputation: 310
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
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 10:53 AM
How to convert server files from 0.3e version into 0.3c version Sajed Scripting Help 2 29/10/2013 08:48 PM
[FilterScript] [FS]New LSPD - Version 0.3 - Bugfix Version Dalenor Filterscripts 46 08/12/2010 02:36 PM
about changing version of sa-mp but with old script version Sfinx_17 Help Archive 3 22/10/2009 01:05 PM


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


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