SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 05/07/2018, 08:59 AM   #151
Mike861
Huge Clucker
 
Join Date: Feb 2018
Posts: 204
Reputation: 14
Default 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.

Last edited by Mike861; 05/07/2018 at 12:49 PM.
Mike861 is offline   Reply With Quote
Old 14/07/2018, 08:23 PM   #152
Moldova
Banned
 
Join Date: Jul 2018
Location: Republic of Moldova
Posts: 8
Reputation: 0
Default Re: SKY - Slice's fork of kurta999's fork of YSF

native TextDrawSetStringForPlayer(Text:text, playerid, const string[]); bug
Moldova is offline   Reply With Quote
Old 15/07/2018, 06:25 AM   #153
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,023
Reputation: 824
Default Re: SKY - Slice's fork of kurta999's fork of YSF

Quote:
Originally Posted by Moldova View Post
native TextDrawSetStringForPlayer(Text:text, playerid, const string[]); bug
Just remove it out.
Kaperstone is offline   Reply With Quote
Old 20/07/2018, 01:49 AM   #154
Chyakka
Big Clucker
 
Join Date: Jul 2015
Location: England
Posts: 60
Reputation: 10
Default 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.
Chyakka is offline   Reply With Quote
Old 05/09/2018, 04:51 AM   #155
sonn51280
Big Clucker
 
sonn51280's Avatar
 
Join Date: Jun 2017
Location: Vietnamese
Posts: 72
Reputation: 0
Default Re: SKY - Slice's fork of kurta999's fork of YSF

and #include <SKY> ?
sonn51280 is offline   Reply With Quote
Old 26/07/2019, 08:06 AM   #156
Admireal
Big Clucker
 
Join Date: Sep 2016
Posts: 97
Reputation: 5
Default Re: SKY - Slice's fork of kurta999's fork of YSF

When I Used this plugin for my server were bugging.
Admireal is offline   Reply With Quote
Old 31/07/2019, 01:02 AM   #157
Whitetiger
Huge Clucker
 
Whitetiger's Avatar
 
Join Date: Nov 2007
Posts: 424
Reputation: 156
Default Re: SKY - Slice's fork of kurta999's fork of YSF

Quote:
Originally Posted by Chyakka View Post
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.
__________________
GitHub

Author of SA-MP AC

Whitetiger 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
[Plugin] YSF - kurta999's version kurta999 Plugin Development 1780 01/09/2019 12:58 AM
Forklift fork Eloctro Scripting Help 3 06/07/2014 08:38 PM
Mailer from Slice Moras Server Support 0 09/01/2012 07:39 PM


All times are GMT. The time now is 07:18 PM.


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