SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Plugin Development (https://forum.sa-mp.com/forumdisplay.php?f=18)
-   -   [Plugin] SKY - Slice's fork of kurta999's fork of YSF (https://forum.sa-mp.com/showthread.php?t=563442)

K0P 07/01/2017 01:25 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Code:

native SetDisableSyncBugs(toggle);
Will this work for disabling the no-reload bug (Which is used to do '2 Shot')?

MikeBN 17/01/2017 12:31 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
It's very good and it's working but I have 2 problems! When cheater has HH on and jump from building his HP won't change. When players shoot beatween them sometimes crash occures. Something like bullet crasher as thay described but we have protection for it. And we see some errors in server_log.txt So if someone could help we would be greatefull! :)

Altrought script saved our asses! Fuck cheaters there is 2 more thing that samp needs car troll and aim anticheat :) If you could think something to make protection like this it would be amazing! f... cheaters! :D

iLearner 22/02/2017 02:19 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Dont you have linux version... ?

RazorGuigo 28/03/2017 12:45 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by iLearner (Post 3847369)
Dont you have linux version... ?

You have to compile, to use in linux! (But it's not difficult)

maraz1987 26/11/2017 08:35 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
[10:26:58] Loading plugin: SKY.so
[10:26:58] Error: Unknown Linux server version (080b1b60)

What's the solution?

ZiGGi 26/11/2017 08:46 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by maraz1987 (Post 3960041)
[10:26:58] Loading plugin: SKY.so
[10:26:58] Error: Unknown Linux server version (080b1b60)

What's the solution?

Use 0.3.7

maraz1987 26/11/2017 03:10 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
SKY.so plugin is not working on linux server in SA-MP version 0.3.8.

Would you make it work in the latest version?

IllidanS4 26/11/2017 03:29 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
No reason updating memory-editing plugins for beta rapidly-updating versions.

SimonItaly 26/11/2017 03:31 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by maraz1987 (Post 3960183)
SKY.so plugin is not working on linux server in SA-MP version 0.3.8.

Would you make it work in the latest version?

Memhacking plugins usually get updated after the RC phase. Nobody likes to reverse engineer memory addresses out of an executable that changes every week or so.

(didn't refresh and posted at the same time of sprtik)

Astralis 29/12/2017 09:47 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by SimonItaly (Post 3960197)
Memhacking plugins usually get updated after the RC phase. Nobody likes to reverse engineer memory addresses out of an executable that changes every week or so.

(didn't refresh and posted at the same time of sprtik)

We don't really know how long it will take for them to update this plugin after the official release. Other plugins are working completely fine from 0.3.7, so I doubt they would need to update this one every RC-phase.

gensek4 26/01/2018 01:30 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
There will be an adaptation to 0.3DL?

Kaperstone 14/02/2018 03:25 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Seems like this plugin defines TextDrawSetStringForPlayer while Kurta's YSF also defines this native.

Is it safe to ignore one of the defined natives and load both of the plugins? (I don't use this function and the syntax differ)

kurta999 14/02/2018 04:21 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Yes.

raydx 08/03/2018 10:34 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by gensek4 (Post 3984341)
There will be an adaptation to 0.3DL?

Bump. Anyone can do this?

Astralis 08/03/2018 05:09 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by raydx (Post 4000938)
Bump. Anyone can do this?

I doubt.

Kaperstone 08/03/2018 06:16 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by raydx (Post 4000938)
Bump. Anyone can do this?

Anyone can do it (http://forum.sa-mp.com/showthread.php?t=599574)
But I as well doubt someone will do it.

Whitetiger 09/03/2018 04:12 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
I had some free time so I did some work on it today.

I've fixed all problems I noticed with it. Every function is untested, but the hooks are working (which is the majority of the problem when converting to a new version). I have only tested Linux. Give it a test, report problems in the next few days as that may be the only time I have to do anything.

Windows: https://www.dropbox.com/s/ej3bzahfkzinnhy/SKY.dll?dl=0
Linux: https://www.dropbox.com/s/opfqgoaztyjrv03/SKY.so?dl=0 (compiled with g++/gcc 7.3 on Arch, non-static. May have problems on your host(s). Better if you recompile).

or build from the 0.3.DL branch.

raydx 10/03/2018 01:42 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Nevermind, working after few fixes.

Whitetiger 10/03/2018 11:08 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by raydx (Post 4001666)
Nevermind, working after few fixes.

fixes to your code or SKY? If it's SKY, you should commit it. I haven't written any C++ in a couple years so I'm sure I made a few mistakes.

Max_Andolini 17/03/2018 10:18 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by Whitetiger (Post 4001276)
I had some free time so I did some work on it today.

I've fixed all problems I noticed with it. Every function is untested, but the hooks are working (which is the majority of the problem when converting to a new version). I have only tested Linux. Give it a test, report problems in the next few days as that may be the only time I have to do anything.

Windows: https://www.dropbox.com/s/ej3bzahfkzinnhy/SKY.dll?dl=0
Linux: https://www.dropbox.com/s/opfqgoaztyjrv03/SKY.so?dl=0 (compiled with g++/gcc 7.3 on Arch, non-static. May have problems on your host(s). Better if you recompile).

or build from the 0.3.DL branch.

Can you share source files.

Kaperstone 17/03/2018 11:43 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by Max_Andolini (Post 4003757)
Can you share source files.

https://github.com/oscar-broman/SKY/tree/0.3DL

Hitropl 17/04/2018 06:10 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
I can disable custom health/armour bar? Because over the player 0 health is drawn on top and when the damage is taken, the health/armour value does not change

jlalt 20/05/2018 12:44 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
I've been just wondering does this plugin match with 3z version of samp or its only compatible with samp 3.7?

Verc 20/05/2018 01:29 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
I'm sure that it's only compatible with 0.3.7 as 0.3z addresses is different.

jlalt 20/05/2018 04:49 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by Verc (Post 4021568)
I'm sure that it's only compatible with 0.3.7 as 0.3z addresses is different.

Correct after testing I've realized everything works fine but not YSF features which added in SKY. [ according to weapon-config include... ]
PHP Code:

// Same as YSF (renamed to avoid problems)
native TextDrawSetPosition(Text:textFloat:xFloat:y);
// Same as YSF (renamed to avoid problems)
native PlayerTextDrawSetPosition(playeridPlayerText:textFloat:xFloat:y); 


DeadBrain 31/05/2018 09:35 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Can i get .so version please i didn't found it

cuber 31/05/2018 10:27 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by DeadBrain (Post 4024823)
Can i get .so version please i didn't found it

Server version?

Assish 01/06/2018 04:09 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
This plugin is a fucking joke any invalid aim data sent to the server will basically crash it
At least release it properly and "know what you're doing" if you want to release such sensitive stuff that deals with sync data.

DeadBrain 02/06/2018 04:49 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Need 0.3.7 .so version

NoorMustafa123 02/07/2018 06:55 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
About .so file just change name of the file from SKY.dll to SKY.so then extract .dll file again then enjoy, ''here you can go now son thank you''.

Mike861 05/07/2018 08:59 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Code:

[10:47:02]  Loading plugin: SKY.so
[10:47:02]  Failed (plugins/SKY.so: invalid ELF header)

How do i fix this?
EDIT: Fixed it.

Moldova 14/07/2018 08:23 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
native TextDrawSetStringForPlayer(Text:text, playerid, const string[]); bug

Kaperstone 15/07/2018 06:25 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by Moldova (Post 4036729)
native TextDrawSetStringForPlayer(Text:text, playerid, const string[]); bug

Just remove it out.

Chyakka 20/07/2018 01:49 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Does anybody know any fix regarding compiling issues on a CentOS 7 with the 0.3.dl branch (https://github.com/oscar-broman/SKY/tree/0.3DL)

Code:

lib/raknet/NetworkTypes.h:62:7: error: expected nested-name-specifier before ‘RPCFunction’
 using RPCFunction = void(*)(RPCParameters *p);
      ^
lib/raknet/NetworkTypes.h:62:7: error: ‘RPCFunction’ has not been declared
lib/raknet/NetworkTypes.h:62:19: error: expected ‘;’ before ‘=’ token
 using RPCFunction = void(*)(RPCParameters *p);
                  ^
lib/raknet/NetworkTypes.h:62:19: error: expected unqualified-id before ‘=’ token
In file included from ./src/Hooks.h:6:0,
                from ./src/Addresses.cpp:3:
./src/Structs.h:260:14: error: expected constructor, destructor, or type conversion before ‘(’ token
 static_assert(sizeof(RemoteSystemStruct) == 3255, "Invalid RemoteSystemStruct size");
              ^
./src/Structs.h:274:14: error: expected constructor, destructor, or type conversion before ‘(’ token
 static_assert(sizeof(_MATRIX4X4) == 64, "Invalid _MATRIX4X4 size");
              ^
./src/Structs.h:283:14: error: expected constructor, destructor, or type conversion before ‘(’ token
 static_assert(sizeof(ConsoleVariable_s) == 16, "Invalid ConsoleVariable_s size");
              ^
./src/Structs.h:291:14: error: expected constructor, destructor, or type conversion before ‘(’ token
 static_assert(sizeof(ConsoleCommand_s) == 263, "Invalid ConsoleCommand_s size");

It was able to compile on another machine but produced errors (don't have access to the machine so can't show errors) which prevented the plugin from actually working.

sonn51280 05/09/2018 04:51 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
and #include <SKY> ?

Admireal 26/07/2019 08:06 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
When I Used this plugin for my server were bugging.

Whitetiger 31/07/2019 01:02 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by Chyakka (Post 4038218)
Does anybody know any fix regarding compiling issues on a CentOS 7 with the 0.3.dl branch (https://github.com/oscar-broman/SKY/tree/0.3DL)

Code:

lib/raknet/NetworkTypes.h:62:7: error: expected nested-name-specifier before ‘RPCFunction’
 using RPCFunction = void(*)(RPCParameters *p);
      ^
lib/raknet/NetworkTypes.h:62:7: error: ‘RPCFunction’ has not been declared
lib/raknet/NetworkTypes.h:62:19: error: expected ‘;’ before ‘=’ token
 using RPCFunction = void(*)(RPCParameters *p);
                  ^
lib/raknet/NetworkTypes.h:62:19: error: expected unqualified-id before ‘=’ token
In file included from ./src/Hooks.h:6:0,
                from ./src/Addresses.cpp:3:
./src/Structs.h:260:14: error: expected constructor, destructor, or type conversion before ‘(’ token
 static_assert(sizeof(RemoteSystemStruct) == 3255, "Invalid RemoteSystemStruct size");
              ^
./src/Structs.h:274:14: error: expected constructor, destructor, or type conversion before ‘(’ token
 static_assert(sizeof(_MATRIX4X4) == 64, "Invalid _MATRIX4X4 size");
              ^
./src/Structs.h:283:14: error: expected constructor, destructor, or type conversion before ‘(’ token
 static_assert(sizeof(ConsoleVariable_s) == 16, "Invalid ConsoleVariable_s size");
              ^
./src/Structs.h:291:14: error: expected constructor, destructor, or type conversion before ‘(’ token
 static_assert(sizeof(ConsoleCommand_s) == 263, "Invalid ConsoleCommand_s size");

It was able to compile on another machine but produced errors (don't have access to the machine so can't show errors) which prevented the plugin from actually working.

I think you're using an old version of GCC/G++. CentOS uses really old packages, I would try it on another distro. I think there's a docker file in the 0.3DL repo that shows compilation on fedora. It should be easy to convert to another distro that has any recent C++ standards though.

Uberanwar 03/11/2019 06:50 PM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
[03:46:34] Loading plugin: SKY.so
[03:46:34] Failed (/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by plugins/SKY.so))

Does anyone have SKY plugin (for 0.3DL) compiled for CentOS 7? I can't use other distros due to timeout issues.

azzerking 05/11/2019 05:52 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Could you guys please post any issues on the GitHub page, I am the current maintainer of SKY, and I don't really browse this forum anymore.

So if you are looking for help, I am very active on GitHub.
https://github.com/oscar-broman/SKY

Uberanwar 05/11/2019 05:55 AM

Re: SKY - Slice's fork of kurta999's fork of YSF
 
Quote:

Originally Posted by azzerking (Post 4120561)
Could you guys please post any issues on the GitHub page, I am the current maintainer of SKY, and I don't really browse this forum anymore.

So if you are looking for help, I am very active on GitHub.
https://github.com/oscar-broman/SKY

Hey, yes I posted the issue on GitHub page.


All times are GMT. The time now is 06:11 PM.

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