Current Version: 2.1
Introduction
So let's break it down, 'eh? This is a "clean script" which has just enough to get you going on creating your own game-mode. It is "MySQL" based, so it allows for faster (in my opinion) saving and loading, not to mention easier to control. (just harder to script) This author of the script "RealCop228" is me, with some credits located at the end of this thread to the people who helped me - thanks guys!
Some Insight
I see a couple of these scripts around this forum, but maybe 2/10 utilize the significance of MySQL! People are too used to using file-based systems, such as Dini or Dudb, yet they fail to see the benefits of MySQL - which is what I'm trying to change. When using MySQL, you don't have to have a whole lot of disk-space for your files and it's a whole lot easier to manage them. Instead of needing to download files one-by-one, or searching through your directory's with FTP, you can log in to your MySQL database through a website. (e.g. www.example.com/phpmyadmin) You can simply add, remove and even modify the "fields" with the click of a couple buttons and keys on your keyboard! No need to search for specific fields like you would in a file-based system, simply scroll left and right until you see what you need - or organize the structure to your benefit. Of course, there are a lot more features available to you when using MySQL, but I won't waste your time you can search yourself.
Current Features
Considering what we discussed up above, using this script opens a lot of doors with the extent of using MySQL instead of file-based systems. Many features are included, but some, you need to do yourself - that's the whole point in "creating your own game-mode". This is what I've included already:
* MySQL Account Saving/Loading
* MySQL Enhanced Vehicle System (create and save cars in-game)
* Position, Health, Armour, Score and Skin Saving
* Whirlpool Hashed Password (impossible to crack a user password)
* Server-Side Money (impossible to hack money)
* Automatic High-Ping Kicker (definable)
* Website Text-Draw Under Player's Money
* Simple RP Commands (/b, /ooc, /me, /do)
* 20+ Admin Commands
* 5+ Player Commands
I am always updating this script, adding more features along the way so expect more soon... While those features are nice, more still needs to be added. These features do work correctly and after 5+ hours of bug-fixing and testing if you do have any problems please let me know. I have utilized dialogs in these systems as well and plan to continue doing so for all future systems - keep that in mind.
Installation Process
The installation process varies from system to system, but I have tested this on my personal VPS which runs (Linux) Debian 5 32-bit and of course my home computer, running Windows 7 Ultimate 32-bit. I found running it on a Linux operating system easier then I imagined, you just need the correct plugins and skills to do so. I have included all of the necessary files and folders for both operating systems, just keep in mind that you may need separate plugins for a 64-bit version of Linux. I'll assume that you know the basics of setting up the server itself on both platforms. When you begin editing the 'server.cfg' line, you must leave the "plugins" line alone, as tampering with it could cause the script not to run. If you don't know already, you must have a MySQL database available to you with the ability to run an SQL query and create tables. Included in the download files, you will find a text file called "MySQL Database Dump", open it, select all of the text and copy it to your clipboard. (CTRL+C) Open your phpMyAdmin database (or whatever you use) and go to the "SQL" section. Paste (CTRL+V) all of the text you just copied into the blank white box and hit "go" or "save". You should have created the tables for the server in your database. Open the script and edit the settings as stated and also configure your MySQL information so the server can connect to the database. If you are confused, ask here and somebody (or I) will help you. If requested enough, I will add a video tutorial with me speaking - not text.
Special Thanks
Just a quick thank you to a couple people who helped get this production going.
* Calgon
* G-Stylez
* The Toni
* Agent Smith
* Y_Less
* Cameltoe
* iLinux
* playbox12
* Mimic
* Kye
* SA-MP Community
* FlyingSander
Download
*********.com - Get your share!
*********.com - Get your share!






Reply With Quote


