SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 11/08/2018, 01:50 PM   #11
TroS
Little Clucker
 
Join Date: May 2018
Posts: 33
Reputation: 1
Default Re: MySQL Clan System

C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(407) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(40 : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1175) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1481) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1519) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1579) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1924) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1953) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1954) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1996) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2162) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2164) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2204) : error 004: function "SetDialogPreviewRotation" is not implemented
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2225) : error 004: function "SetDialogPreviewRotation" is not implemented
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2254) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(231 : error 017: undefined symbol "DIALOG_STYLE_TABLIST"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2540) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2541) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2707) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2714) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2715) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(3131) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(3132) : error 017: undefined symbol "INVALID_STREAMER_ID"
TroS is offline   Reply With Quote
Old 12/08/2018, 04:38 AM   #12
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 569
Reputation: 69
Default Re: MySQL Clan System

With some major re-working, this would make an excellent faction system module for roleplay servers
__________________
Chaprnks is offline   Reply With Quote
Old 14/08/2018, 03:51 AM   #13
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,761
Reputation: 840
Default Re: MySQL Clan System

Quote:
Originally Posted by TroS View Post
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(407) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(40 : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1175) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1481) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1519) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1579) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1924) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1953) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1954) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(1996) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2162) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2164) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2204) : error 004: function "SetDialogPreviewRotation" is not implemented
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2225) : error 004: function "SetDialogPreviewRotation" is not implemented
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2254) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(231 : error 017: undefined symbol "DIALOG_STYLE_TABLIST"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2540) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2541) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2707) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2714) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(2715) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(3131) : error 017: undefined symbol "INVALID_STREAMER_ID"
C:\Users\pc hp\Desktop\Server\filterscripts\clan.pwn(3132) : error 017: undefined symbol "INVALID_STREAMER_ID"
Update your SAMP version and Streamer version.
__________________

Follow me on Github: Follow me on Spotify: Donate on Paypal:

Gammix is online now   Reply With Quote
Old 22/09/2018, 11:45 PM   #14
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,761
Reputation: 840
Default Re: MySQL Clan System

Quote:
Originally Posted by Venom546 View Post
btw can you please help me? i need to know from where should i got .sql file? to run it using mysql database :P
You don't need any SQL file, the script creates the table for you when it's launched. Just make sure your MySQL server is up and you have correct MySQL settings in script (found on top of code).
__________________

Follow me on Github: Follow me on Spotify: Donate on Paypal:

Gammix is online now   Reply With Quote
Old 24/09/2018, 11:33 AM   #15
v1k1nG
Huge Clucker
 
v1k1nG's Avatar
 
Join Date: Feb 2018
Posts: 437
Reputation: 31
Default Re: MySQL Clan System

Better sharing than keeping that for those guys at C5. They managed to make huge amount of players flee their servers.

Great job! I will be using this!
__________________
v1k1nG is offline   Reply With Quote
Old 14/10/2018, 02:29 PM   #16
KinderClans
Banned
 
Join Date: May 2018
Location: Italy
Posts: 720
Reputation: 43
Default Re: MySQL Clan System

Great share. I'm sure with some tweaks this can be turned in a perfect faction system.
KinderClans is offline   Reply With Quote
Old 16/10/2018, 12:55 PM   #17
KinderClans
Banned
 
Join Date: May 2018
Location: Italy
Posts: 720
Reputation: 43
Default Re: MySQL Clan System

Hello Gammix, i started to use your clan system but i'm facing 2 errors while compiling:

error 017: undefined symbol "SetDialogPreviewRotation"
error 017: undefined symbol "SetDialogPreviewRotation"

I have the PreviewModelDialog.inc file, what's wrong?
KinderClans is offline   Reply With Quote
Old 16/10/2018, 06:50 PM   #18
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,761
Reputation: 840
Default Re: MySQL Clan System

Quote:
Originally Posted by KinderClans View Post
Hello Gammix, i started to use your clan system but i'm facing 2 errors while compiling:

error 017: undefined symbol "SetDialogPreviewRotation"
error 017: undefined symbol "SetDialogPreviewRotation"

I have the PreviewModelDialog.inc file, what's wrong?
You might have the latest version i.e. v4.7.*, in 4.7 those functions are removed and are integrated within ShowPlayerDialog. There is a detail about how to use it in include's thread.

If you want to modify it to the new version, i would update the thread with your pull request if you are willing to do that.

Otherwise, you can downgrade to v4.6 which has same functionality to the new version and is stable as well.
__________________

Follow me on Github: Follow me on Spotify: Donate on Paypal:

Gammix is online now   Reply With Quote
Old 16/10/2018, 07:21 PM   #19
KinderClans
Banned
 
Join Date: May 2018
Location: Italy
Posts: 720
Reputation: 43
Default Re: MySQL Clan System

Quote:
Originally Posted by Gammix View Post
You might have the latest version i.e. v4.7.*, in 4.7 those functions are removed and are integrated within ShowPlayerDialog. There is a detail about how to use it in include's thread.

If you want to modify it to the new version, i would update the thread with your pull request if you are willing to do that.

Otherwise, you can downgrade to v4.6 which has same functionality to the new version and is stable as well.
Man, this is even more intense than that time I forgot how to sit down.

I'll stick with v4.6, thank you.
KinderClans is offline   Reply With Quote
Old 18/10/2018, 01:37 PM   #20
KinderClans
Banned
 
Join Date: May 2018
Location: Italy
Posts: 720
Reputation: 43
Default Re: MySQL Clan System

Another question. How i can restrict a command for just one clan? I mean, i wanna do /clanmute, and player must be in clan "Test" to use it, how to? Do i need to check clan database ID or name? How i can do it?

I see there is playerClanID, but i don't know how to use it, i mean really don't know how it works.

And, playerClanID is saved somewhere in database or is just a temporary variable?

Also i want to remove TEAMS datas, everything related to it. Will it work too without teams?
KinderClans 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
Help with clan system. Exhibit Scripting Help 1 22/05/2018 05:57 AM
[Include] clan.inc -> Easy-to-use, plug-n-play clan system fiki574 Includes 123 25/12/2015 08:11 PM
Clan system [ MySql ] Cameltoe Help Archive 6 24/08/2010 03:23 PM


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


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