SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 18/10/2017, 08:33 PM   #11
Z0MBERTH
Huge Clucker
 
Z0MBERTH's Avatar
 
Join Date: Dec 2015
Location: Venezuela.
Posts: 275
Reputation: 10
Cool Re: Advanced Roleplay Script [MySQL R39-5]

Nice
__________________
Lucifer ♥

Last edited by Z0MBERTH; 19/10/2017 at 03:46 PM.
Z0MBERTH is offline   Reply With Quote
Old 18/10/2017, 11:51 PM   #12
CodeStyle175
Banned
 
Join Date: Apr 2014
Posts: 473
Reputation: 35
Default Re: Advanced Roleplay Script [MySQL R39-5]

Very nicely written gamemode.
CodeStyle175 is offline   Reply With Quote
Old 19/10/2017, 03:46 PM   #13
Z0MBERTH
Huge Clucker
 
Z0MBERTH's Avatar
 
Join Date: Dec 2015
Location: Venezuela.
Posts: 275
Reputation: 10
Default Re: Advanced Roleplay Script [MySQL R39-5]

Nice
__________________
Lucifer ♥
Z0MBERTH is offline   Reply With Quote
Old 21/10/2017, 11:57 PM   #14
WhoIsYourDaddy
Big Clucker
 
WhoIsYourDaddy's Avatar
 
Join Date: Jul 2013
Posts: 73
Reputation: 9
Default Re: Advanced Roleplay Script [MySQL R39-5]

I have 2 questions if it is okay.

1- Gamemode has a lot of includes and some of them are missing. I can easily find and add them but I don't know the versions of includes. Can you please share them with me (all of them) or tell me the versions of includes.

Such as:
a_mysql
dini
md5
streamer
sscanf
zcmd
YSI


2- Which prefix should I use on database when I install IPB?
WhoIsYourDaddy is offline   Reply With Quote
Old 23/10/2017, 10:07 AM   #15
CoachCarter
Big Clucker
 
CoachCarter's Avatar
 
Join Date: Feb 2015
Posts: 176
Reputation: 142
Default Re: Advanced Roleplay Script [MySQL R39-5]

Hey guys, gamemode looks awesome, I want to try it out soon as possible.

Mind telling me where can I find MYSQL_DATABASE information so I can fix it and it could connect to localhost couldn't find that information anywhere.
CoachCarter is offline   Reply With Quote
Old 23/10/2017, 11:40 AM   #16
darkhunter332
Huge Clucker
 
darkhunter332's Avatar
 
Join Date: Aug 2013
Posts: 307
Reputation: 29
Default Re: Advanced Roleplay Script [MySQL R39-5]

Quote:
Originally Posted by CoachCarter View Post
Hey guys, gamemode looks awesome, I want to try it out soon as possible.

Mind telling me where can I find MYSQL_DATABASE information so I can fix it and it could connect to localhost couldn't find that information anywhere.
It's inside the Github file, ends with .sql, just import it and use it.
darkhunter332 is offline   Reply With Quote
Old 23/10/2017, 02:59 PM   #17
raydx
Big Clucker
 
Join Date: Feb 2017
Posts: 150
Reputation: 50
Default Re: Advanced Roleplay Script [MySQL R39-5]

Quote:
Originally Posted by CoachCarter View Post
Hey guys, gamemode looks awesome, I want to try it out soon as possible.

Mind telling me where can I find MYSQL_DATABASE information so I can fix it and it could connect to localhost couldn't find that information anywhere.
MySQL connection data is inside scriptfiles>srp>config.ini.
raydx is offline   Reply With Quote
Old 27/10/2017, 01:00 PM   #18
langit
Big Clucker
 
Join Date: Dec 2015
Posts: 50
Reputation: 0
Default Re: Advanced Roleplay Script [MySQL R39-5]

iclude file please
langit is offline   Reply With Quote
Old 29/10/2017, 08:21 PM   #19
WhoIsYourDaddy
Big Clucker
 
WhoIsYourDaddy's Avatar
 
Join Date: Jul 2013
Posts: 73
Reputation: 9
Default Re: Advanced Roleplay Script [MySQL R39-5]

If anyone has some issues with database connection, follow these steps...

First update your functions.inc from github.

Then open functions.inc in "gamemodes/rp" and find;

mysql_connect

Then you change the complete line with this:

mySQLconnection = mysql_connect(Setting[setting_mysql_hostname], Setting[setting_mysql_username], Setting[setting_mysql_database], Setting[setting_mysql_password]);

There was a small error at mysql_connect function.
WhoIsYourDaddy is offline   Reply With Quote
Old 05/11/2017, 05:22 AM   #20
TommyX
Little Clucker
 
Join Date: Jul 2012
Posts: 44
Reputation: 2
Default Re: Advanced Roleplay Script [MySQL R39-5]

YSI include files needed, man.
TommyX 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
[Ajuda] Advanced Roleplay [MySQL] 2012 iOakley PortuguÍs/Portuguese 33 16/02/2013 02:22 AM


All times are GMT. The time now is 10:00 PM.


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