SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 05/07/2018, 09:59 AM   #151
Mike861
Huge Clucker
 
Join Date: Feb 2018
Posts: 206
Reputation: 16
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 01:49 PM.
Mike861 is offline   Reply With Quote
Old 14/07/2018, 09: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, 07:25 AM   #153
Kaperstone
Banned
 
Join Date: May 2011
Location: Russia
Posts: 3,014
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, 02:49 AM   #154
Chyakka
Big Clucker
 
Join Date: Jul 2015
Location: England
Posts: 61
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, 05: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, 09:06 AM   #156
Admireal
Big Clucker
 
Join Date: Sep 2016
Posts: 102
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, 02:02 AM   #157
Whitetiger
Huge Clucker
 
Whitetiger's Avatar
 
Join Date: Nov 2007
Posts: 402
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
Old 03/11/2019, 07:50 PM   #158
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 855
Reputation: 62
Default 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.
Uberanwar is offline   Reply With Quote
Old 05/11/2019, 06:52 AM   #159
azzerking
Huge Clucker
 
azzerking's Avatar
 
Join Date: Dec 2009
Location: England, Leicestershire
Posts: 487
Reputation: 72
Default 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
__________________
Web Skill: PHP, HTML, CSS, JS, RUBY, NODE.js.

Programing Skill: Objective C, C#, C++, D#, Python, Java, MySQL, Rust, Go

OS Skill: Windows (95 - 10), Ubuntu/Debian, Raspbian, Kali, Arch, Unix, Mac (E-MACs - Current)

Scripting Skill: LUA, Pawn, C38*
azzerking is offline   Reply With Quote
Old 05/11/2019, 06:55 AM   #160
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 855
Reputation: 62
Default Re: SKY - Slice's fork of kurta999's fork of YSF

Quote:
Originally Posted by azzerking View Post
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.
Uberanwar 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
Forklift fork Eloctro Scripting Help 3 06/07/2014 09:38 PM
Mailer from Slice Moras Server Support 0 09/01/2012 08:39 PM


All times are GMT. The time now is 05:04 AM.


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