[GameMode] Advanced Roleplay Script [MySQL R39-5]
#1

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
Reply
#2

Nice.
Reply
#3

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

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

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

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).
Reply
#7

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?
Reply
#8

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

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

nice work, ill give a try later today
Reply
#10

nice
Reply
#11

Nice
Reply
#12

Very nicely written gamemode.
Reply
#13

Nice
Reply
#14

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?
Reply
#15

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.
Reply
#16

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.
Reply
#17

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.
Reply
#18

iclude file please
Reply
#19

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.
Reply
#20

YSI include files needed, man.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)