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)

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 04:12 PM.

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