SA-MP Forums Archive
[GameMode] Advanced Roleplay Script [MySQL R39-5] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Advanced Roleplay Script [MySQL R39-5] (/showthread.php?tid=643275)

Pages: 1 2 3


Advanced Roleplay Script [MySQL R39-5] - raydx - 16.10.2017

Very advanced roleplay gamemode made from scratch.

Not recommended for beginner scripters, it may be hard to launch because of connection with IP Board.
Gamemode may be different than others released here, because it was used on polish heavy rp server (some rules and standards are different).

Language: English



General info:


Connection with Invision Power Board 3.4.9

Script is connected with IPB. If you don't want to use IPB 3.4.9, you have to edit login system located in rp.pwn and player.inc.

MySQL based dynamic systems

All game systems are dynamic and based on MySQL plugin by BlueG (v R39-5).
That means you can manage them by phpmyadmin, game commands or web app.

Stability

Gamemode is very stable, tested with 150 players online in one moment without any delays.
All bugs reported by players during game are fixed.

Modular build

Software is modular, that means code is not contained in one file.

Plugins

Gamemode is also using Streamer plugin by Incognito (v 2.8.2) and sscanf plugin (v 2.8.2).



Main Features:


Groups

Player can be member of maximum 5 groups.
There are 13 group types, individual commands for every type.
Groups have also extra flags.
Workers have privileges.
There is no amount of leaders limit.

Vehicles

Vehicles can be owned by players or groups.
They are unlimited.
Player can tune, fix, repaint, manage, lock, sell or share his vehicle.

Areas

Areas can be assigned to player or group.
Owner can set audio stream, build objects and use special area functions based on extra flags (like car fixing).

Doors

Doors can be owned by player or group.
Owner has ability to set audio stream, lock, set spawn, build own interior, set entrance fee, turn on/off garage mode, set exit position, set time inside, delete interior and few other options.

Objects

In game object creation based on SA:MP graphic interface.
Every owner of house or area can place his own objects inside.
Object retexturing - it is possible too (15 indexes for one object).
Administrators can place object in every area of map.
Objects can be converted to gates, so you can make them movable.

Labels

3d text label creator is based on object system (SA:MP graphic interface).

Items

Player can handle 100 items in his inventory.
Items can be also droped to the ground, vehicle, door, bag or group storage. Items can be traded by offer system. Capacity system is limiting amount of holding items.
Every item has own weight. Over 30 item types with different values.

Products

Products are items to order by groups or player.
They are based on items, so types are similar. Ordering them is based on phone call system.
For crime organizations, they can be assigned to dealer NPC.

Jobs

2 extra jobs are available for all players.
Fisher and lumberjack. You can get only one extra job, and earn maximum $350 per day.

Offers

25 different offer types.
You can offer services, items and extra stuff like kiss, handshake.
Easy access by one command.



Features description is short and not detailed, there is much more inside gamemode.
Sorry for my bad english.

Download

http://www.mediafire.com/file/5a4iqv...AMP-master.rar


Re: Advanced Roleplay Script [MySQL R39-5] - TopShooter2 - 16.10.2017

Nice.


Re: Advanced Roleplay Script [MySQL R39-5] - Alex Magaсa - 16.10.2017

Looks good so far from eye2eye i will try to look at the script and tell you suggestions


Re: Advanced Roleplay Script [MySQL R39-5] - StrikerZ - 16.10.2017

Looks cool, I'm gonna try it out for sure


Re: Advanced Roleplay Script [MySQL R39-5] - darkhunter332 - 16.10.2017

Wondering where is the sql file import into the mysql database or it installs automatically?


Re: Advanced Roleplay Script [MySQL R39-5] - raydx - 16.10.2017

Quote:
Originally Posted by darkhunter332
Посмотреть сообщение
Wondering where is the sql file import into the mysql database or it installs automatically?
SQL file has been added, check github (database.zip).


Re: Advanced Roleplay Script [MySQL R39-5] - darkhunter332 - 16.10.2017

Quote:
Originally Posted by raydx
Посмотреть сообщение
SQL file has been added, check github (database.zip).
Great, thanks.

Wondering if there are any filterscripts or scriptfiles folder needed?


Re: Advanced Roleplay Script [MySQL R39-5] - raydx - 16.10.2017

Quote:
Originally Posted by darkhunter332
Посмотреть сообщение
Great, thanks.

Wondering if there are any filterscripts or scriptfiles folder needed?
Only scriptfiles - added on github.


Re: Advanced Roleplay Script [MySQL R39-5] - DrillSergeant - 16.10.2017

nice work, ill give a try later today


Re: Advanced Roleplay Script [MySQL R39-5] - DeLTi - 17.10.2017

nice


Re: Advanced Roleplay Script [MySQL R39-5] - Z0MBERTH - 18.10.2017

Nice


Re: Advanced Roleplay Script [MySQL R39-5] - CodeStyle175 - 18.10.2017

Very nicely written gamemode.


Re: Advanced Roleplay Script [MySQL R39-5] - Z0MBERTH - 19.10.2017

Nice


Re: Advanced Roleplay Script [MySQL R39-5] - WhoIsYourDaddy - 21.10.2017

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?


Re: Advanced Roleplay Script [MySQL R39-5] - CoachCarter - 23.10.2017

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.


Re: Advanced Roleplay Script [MySQL R39-5] - darkhunter332 - 23.10.2017

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.


Re: Advanced Roleplay Script [MySQL R39-5] - raydx - 23.10.2017

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.


Re: Advanced Roleplay Script [MySQL R39-5] - langit - 27.10.2017

iclude file please


Re: Advanced Roleplay Script [MySQL R39-5] - WhoIsYourDaddy - 29.10.2017

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.


Re: Advanced Roleplay Script [MySQL R39-5] - TommyX - 05.11.2017

YSI include files needed, man.