SA-MP Forums Archive
[Plugin] YSF - kurta999's version - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] YSF - kurta999's version (/showthread.php?tid=513499)



Re: YSF - kurta999's version - Abagail - 21.01.2015

Quote:
Originally Posted by Anuris
View Post
Code:
***\pawno\include\YSF.inc(69) : error 010: invalid function or declaration
69 line:
pawn Code:
native native ApplyAnimationForPlayer(playerid, animplayerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time); // DOESN'T WORK
=)
It's ironic how I explicitly mentioned this a few posts above,
Quote:
Originally Posted by Abagail
View Post
You seem to have a slight typo, creating an invalid function or declaration error on the 69th line on the include. Native is there twice, when it should only be there once.



Re: YSF - kurta999's version - Imperealist - 22.01.2015

hm...
1) [19:08:22] [sampgdk:warning] Native function not found: CreatePickup
[19:08:22] [sampgdk:warning] Native function not found: GetVehiclePos
[19:08:22] [sampgdk:warning] Native function not found: GetPlayerState
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native function not found: GetPlayerInterior
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native function not found: GetPlayerVirtualWorld
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native function not found: GetPlayerPos
2) flood:
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native stub
...


Re: YSF - kurta999's version - Salim_Karaja - 22.01.2015

Are you editing the gta_sa memory through a plugin ? how ?


Re: YSF - kurta999's version - kurta999 - 22.01.2015

Quote:
Originally Posted by Imperealist
View Post
hm...
1) [19:08:22] [sampgdk:warning] Native function not found: CreatePickup
[19:08:22] [sampgdk:warning] Native function not found: GetVehiclePos
[19:08:22] [sampgdk:warning] Native function not found: GetPlayerState
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native function not found: GetPlayerInterior
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native function not found: GetPlayerVirtualWorld
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native function not found: GetPlayerPos
2) flood:
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native stub
[19:08:22] [sampgdk:warning] Native stub
...
Are you loaded YSF as LATEST plugin?

Plus, if you use streamer plugin 2.7.4 or lower, use YSF R10.
Streamer plugin 2.7.5 or higher, YSF R11+.

Quote:
Originally Posted by Salim_Karaja
View Post
Are you editing the gta_sa memory through a plugin ? how ?
No, i'm not editing the gta_sa memory. It's just a server memory hacking plugin.


Re: YSF - kurta999's version - IstuntmanI - 24.01.2015

Aaaaand now I remember why I didn't want to use this plugin. (I don't know sure if it's due to the server version)

I want to work on 0.3.7 RC1 but YSF isn't compatible with it and it's crashing the server. xD There isn't any way to get all the addresses automatically ? PAWN Invoke, or something like that, I never made any plugin. D:

I just updated the server to 0.3.7 and latest Streamer Plugin, I hope that it isn't crashing due to the YSF and Streamer plugins sampGDK incompatibilies I read about these days:
Quote:

[25/01/2015 01:42:47] [debug] Server crashed due to an unknown error
[25/01/2015 01:42:47] [debug] Native backtrace:
[25/01/2015 01:42:47] [debug] #0 023e5bff in ?? () from plugins\YSF.DLL
[25/01/2015 01:42:47] [debug] #1 00469336 in ?? () from samp-server.exe
[25/01/2015 01:42:47] [debug] #2 0048869b in ?? () from samp-server.exe
[25/01/2015 01:42:47] [debug] #3 00497251 in ?? () from samp-server.exe
[25/01/2015 01:42:47] [debug] #4 00497261 in ?? () from samp-server.exe

EDIT: I saw in your profile comments that it crashes with 0.3.7, so it isn't due to incompatibility with streamer plugin. Damn. 0.3.7 will surely stay in RCs at least a month.


Re: YSF - kurta999's version - kurta999 - 24.01.2015

No way, I'll update when 0.3.7 will be out. Maybe I'll try to fix the crash, just plugin functions won't work.


Re: YSF - kurta999's version - Kyle - 25.01.2015

Quote:
Originally Posted by kurta999
Посмотреть сообщение
No way, I'll update when 0.3.7 will be out. Maybe I'll try to fix the crash, just plugin functions won't work.
Can't you fix it for RC1 and then fix again once it's officially released as the RC's won't bring much changes since rc1.


Re: YSF - kurta999's version - iZN - 25.01.2015

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
Can't you fix it for RC1 and then fix again once it's officially released as the RC's won't bring much changes since rc1.
He may need to get the memory addresses again, and they might change on every RC release or probably when 0.3.7 will finally release.


Re: YSF - kurta999's version - matthew155 - 26.01.2015

Nice plugin, I use this. Please add the 0.3.7 support.


Re: YSF - kurta999's version - Anuris - 27.01.2015

Kurta, can you help me please:

pawn Код:
[21:15:39]  Loading plugin: YSF.so
[21:15:39]   Failed (/usr/lib32/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/YSF.so))
It's Debian x64.
R10 works fine, error appears in R11.


Re: YSF - kurta999's version - D1xe - 28.01.2015

You added support 0.3z-R4-1000p?


Re: YSF - kurta999's version - D1xe - 28.01.2015

[06:09:19] [debug] Native backtrace:
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #0 0073c50b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #1 0073520f in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #2 007363fc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #3 00736866 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #4 0073c15c in ?? () from plugins/crashdetect.so
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #5 009fa410 in ?? ()
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #6 00d19083 in _ZN11CPlayerData7ProcessEv () from plugins/YSF.so
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #7 00d19996 in _ZN7CServer7ProcessEv () from plugins/YSF.so
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #8 00d2c66c in ProcessTick () from plugins/YSF.so
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #9 080cf9f2 in ?? () from ./samp03svr
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #10 080ad5cc in ?? () from ./samp03svr
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #11 080a88ce in ?? () from ./samp03svr
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #12 007ebd36 in __libc_start_main () from /lib/libc.so.6
[06:09:19] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[06:09:19] [debug] #13 0804b4d1 in ?? () from ./samp03svr


Re: YSF - kurta999's version - kurta999 - 28.01.2015

Try this for 1000p, I can't guarantue that this will work, I just hope. Many addresses looks like different than 500p, many not.

GangZoneShowForPlayer crash has been fixed anyway. (crashed when gang zone doesn't exist)

http://www.solidfiles.com/d/fd789c5014/YSF_1000p.so


Re: YSF - kurta999's version - Anuris - 29.01.2015

Quote:
Originally Posted by kurta999
Посмотреть сообщение
Try this for 1000p, I can't guarantue that this will work, I just hope. Many addresses looks like different than 500p, many not.

GangZoneShowForPlayer crash has been fixed anyway. (crashed when gang zone doesn't exist)

http://www.solidfiles.com/d/fd789c5014/YSF_1000p.so
Well, I was able to connect and spawn...)
Everything looks OK.


Re: YSF - kurta999's version - ZombieNest - 09.02.2015

well YSF is 98% mostly bugged.


Re: YSF - kurta999's version - Mr.R - 09.02.2015

Quote:
Originally Posted by ZombieNest
Посмотреть сообщение
well YSF is 98% mostly bugged.
That's bad news I need a few YSF natives.


Re: YSF - kurta999's version - kristo - 09.02.2015

Quote:
Originally Posted by Mr.R
Посмотреть сообщение
That's bad news I need a few YSF natives.
R9 is probably the most stable release, just mentioning.


Re: YSF - kurta999's version - Mr.R - 09.02.2015

Quote:
Originally Posted by kvann
Посмотреть сообщение
R9 is probably the most stable release, just mentioning.
Okay, thanks i'll try this version


Re: YSF - kurta999's version - MicroD - 09.02.2015

Quote:
Originally Posted by ZombieNest
Посмотреть сообщение
well YSF is 98% mostly bugged.
What did you expect, when something is based of memory hacking. He's researching server memory and creating patterns to access some functions which is not easy since every samp update may change few addresses.
https://sampforum.blast.hk/showthread.php?tid=560791 #hope


AW: YSF - kurta999's version - Oskaar1994 - 11.02.2015

Well it's working fine for me. I'm very thankful for such a great plugin