Monday, May 23, 2011

Moderntopia RolePlay: Los Santos MYSQL Plugin R5

Introduction

Moderntopia is a new multigaming community focusing on providing game servers for a range of games. We have a number of experienced scripters and some nice ideas to implement at a later date in future projects. If you would like to learn more, please visit our website http://www.moderntopia.com/ and get in touch with the community. Note: We are not planning to leave SA-MP just yet, there are still quite a few ideas we're going to try out.

Since our script was leaked and obtained by another community (Valhalla Gaming) unintentionally, we've decided to release it to the SA-MP community. We hope you will all find it useful, even if you're just ripping out the parts you need. The script has come a long way and we have some pretty nice ideas for future releases on our server.

This script is a variation of the Godfather by FeaR/Astro and includes many new features and bugfixes over the original release (over 50% more code).

Credits: Novice, Luk0r, Ehren and Shehab. Previous works were also contributed by Dizzy and Essy.


Features

The script has all the features of the original Godfather script, as well as the following:

MySQL Integration - All player accounts and the stats associated with them are now stored in a MySQL database. This offers improved speed and manageability over the original storage method; and the possibility to add a control panel or external player management system. Anticheat bans and player logins are also logged in the database.
Car Ownership - Most vehicles in the gamemode must be bought by players to drive. Once a vehicle belongs to a player, it is stored and allows them to /park the vehicle so it respawns in that position when the server is restarted.
Realistic Economy - Unlike most roleplay servers, our script offers a realistic economy resembling real-world currency amounts. All currency transactions within the script are realistic and resemble real-world prices.
House & Business Improvements - We've added/changed a lot of house and business locations, and their prices.
Job Improvements - Jobs within the server have been improved to add content to the game. For example, the bus driver system places checkpoints along the route and informs players of the incoming bus if they are near a stop.
Tested Licensing - Driving, flying and sailing licenses now require a test to be completed beforehand. Flying and sailing licenses have an automated physical test with checkpoints, and the driving test is a knowledge test (there's also a physical test too, but it's disabled).
Anti-Cheat - The advanced anti-cheating system in the script ensures money and weapon hacking results in an account ban. The amount of money, the weapon ID spawned and the player's IP address are logged in the database for further investigation.
And much more...



Notes

IMPORTANT: To compile and run the script on your game server, you're going to need to grab the SA-MP MySQL plugin and include files (by G-sTyLeZzZ) from this thread. You also need a working MySQL server, which I expect you to have a basic understanding of already. The database.sql file contains the database structure, just execute the SQL queries in that file on your DB.

If your SA-MP MySQL Plugin R5 isn't loading or the server is crashing shortly after startup:
Quote:
Originally Posted by Carl
in the tutorial it tells you to add: plugins mysql ..... just put: plugins mysql
In addition, you need to copy the CFG files in the scriptfiles directory of the archive to the scriptfiles directory on your server. If you don't already have a scriptfiles directory, create one.

Please give some credit if you use parts of the script, we spent a lot of time working on it.

http://www.2shared.com/file/kK9XWl57/Moderntopia_MYSQL.html

1 comment:

  1. Hello ,I have a problem sir.I downloaded this link
    http://www.2shared.com/file/kK9XWl57/Moderntopia_MYSQL.html.then i went to gamemodes there i just changed scriter name to Jay.then i compiled,then i went CFG file and i change host name and rcon password.then to samp-server.i try to open samp server it opens and get close in 1sec...please help me sir.

    ReplyDelete