субота, 21. јануар 2012.

Mega RolePlay



Introduction
About the script
Hello everyone. Today me and my friends decided it's the time to release this script as we don't use it anymore.

We are the owners of the past server Mega-Rp.Com. Server was running for few weeks and after that it got closed because I quit samp, and admantis (co-owner) didn't want to run it on his own. We moved the whole script to San Fierro (I'm sure that there are things we forgot, but most of the stuff is moved).

This script is unfortunately not made from scratch. Don't go crazy when i say its GF edit, cus if we go into the past you will see that it is totally rewritten: This script was an edit of the brakedown(by Souvlaki) for old script for Los Santos Life, than it was edited for Mega-RolePlay (it was about 1 and a half year with big pauses editing).

The script has 51.000 of lines now, and its an improve of GF and Brakedown RolePlay.

PS. Yes, it has 0.3c features.

About the User Control Panel (PHP)

UCP is an edit of Grex GF UCP. Its not edited really much, but it was edited enough.
UCP doesn't really have any "awesome features". You can only register an IG accout there and check your stats.
After registring an account on UCP, you will need to conform it using your E-mail.
Right now registrations are enabled on UCP and in the script, you can simply turn off the registrations in the script by commenting:

else if(!fexist(string) && !fexist(TempLogin))//Remove this if you want only UCP registrations
{
format(msg,128,"Welcome to Mega Roleplay\nPlease enter your password to create new account\n\nEnter the new password:");
            ShowPlayerDialog(playerid,REGISTERDIALOG,DIALOG_STYLE_INPUT,"Please Register!",msg,"Register","Quit");
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~Please Register!",5000,3);
}




How do the UCP registrations work:
-Players push the register button.
-They fill their character age, name & sex.
-They enter their e-mail.
-They answer on 7 randomly asked RP questions.
-An e-mail is sent to their e-mail account.
-Inside of the email there is a random number with 6-7 characters. They need to copy that number.
-When they enter IG, they will need to type inside that number and their account will be moved from /users/temp/ to /users/.
(I wrote this as it takes 20 minutes to do, but its really simple, it takes 3-5 minutes to finish.)


Changelog
NOTE: Changelog is only for edits after the brakedown script and it's missing about 20% of them.
[code]23.8.2010 : Players won't be able to absuse /engine to rent a car anymore [Ivan Pantovic]
24.8.2010 : Players have 4/6 chances to startup the vehicle engine and 2/5 not to (/engine) [Ivan Pantovic]
24.8.2010 : Players will now be able to exit vehicle normaly , not to spawn on the car [Ivan Pantovic]
24.8.2010 : Added random timers (0-10seconds) for vehicle engine starting [Ivan Pantovic]
24.8.2010 : Players can now start vehicle engines using thair jump key ! [Ivan Pantovic]
24.8.2010 : All rent vehicles moved to LS airport [darija]
24.8.2010 : Moved player spawn to LS airport [Ivan Pantovic]
24.8.2010 : Modyfied languages in language shops ! [Ivan Pantovic]
24.8.2010 : Players can now drive ONLY the rentcar thy rented (before they could rent one car and drive all of rentcars) [Ivan Pantovic]
24.8.2010 : Different prices for renting cars and bikes [Ivan Pantovic]
24.8.2010 : Car and bike prices can be modyfyed by sbiz owner 1 and sbiz owner 0 (car renting sbiz and bike renting sbiz) [Ivan Pantovic]
24.8.2010 : Fixed payday system [Ivan Pantovic]
24.8.2010 : Fixed bug that players see taxi entrance game text on airport [Ivan Pantovic]
25.8.2010 : Removed weapon returning system after player logs in back , it was really buggy [Ivan Pantovic]
25.8.2010 : Added admin rank names [Ivan Pantovic]
25.8.2010 : Server converted to work on linux [Ivan Pantovic]
25.8.2010 : Server updated to 0.3b R2 [Ivan Pantovic]
25.8.2010 : Server anti-hack system is now on maximum ! [Ivan Pantovic]
26.8.2010 : Fixed bug with not showing help commands for factions [Ivan Pantovic]
26.8.2010 : Added helper system [Ivan Pantovic]
26.8.2010 : From now on , helpers will get /askq messages [Ivan Pantovic]
26.8.2010 : Admin money commands are logged now ! [Ivan Pantovic]
26.8.2010 : Added dropgun system ! [Ivan Pantovic]
26.8.2010 : New position of your camera while logging in /registring and better music [Ivan Pantovic]
27.8.2010 : Added IG rules (/rules) [Ivan Pantovic]
28.8.2010 : Removed old mafia system ! [Ivan Pantovic]
28.8.2010 : Added dynamic mafia system ! [Ivan Pantovic]
28.8.2010 : Mafia system converted with files of old one , so the players will be able to join 2 factions at once now(mafia and legal) [Ivan Pantovic]
29.8.2010 : New /stats system ! [Ivan Pantovic]
29.8.2010 : Fixed bugs with police department exit ! [Ivan Pantovic]
29.8.2010 : Fixed bug with F.B.I. department exit [Ivan Pantovic]
30.8.2010 : Everyone will have the same color (player name color) on the server [Ivan Pantovic]
30.8.2010 : No more absusing /stuck to avoind /accept death [Ivan Pantovic]
30.8.2010 : No more absusing /stuck to get out of ajail [Ivan Pantovic]
30.8.2010 : New money display system (converted the old money system with gta sa's display) [Ivan Pantovic]
1.9.2010  : New /re(port) system [Ivan Pantovic]
1.9.2010  : Added /acceptre(port) and /trashre(port) cmds for admins [Ivan Pantovic]
5.9.2010  : Fake licenses will now save after relog[Ivan Pantovic]
5.9.2010  : Finaly fixed mafia name showing in /stats ![Ivan Pantovic]
10.9.2010 : Added family HQ's [Ivan Pantovic]
22.1.2011 : Fixed bug with virtual worlds - removed auto VW 0 onplayerupdate[Ivan Pantovic]
5.3.2011  : Removed level systems[Ivan Pantovic]
6.3.2011  : Made /withdraw and /deposit in dialogs[Ivan Pantovic]
6.3.2011  : Added animations from PenLS1[Ivan Pantovic]
6.3.2011  : Improved IRC channels[Ivan Pantovic]
6.3.2011  : Added vehicle radio system[Ivan Pantovic]
7.3.2011  : Added zone textdraw[Ivan Pantovic]
8.3.2011  : Converted to 0.3c engine system[Ivan Pantovic]
12.3.2011 : Fixed some bugs[Ivan Pantovic]
12.3.2011 : Improved saving systems[Ivan Pantovic]
13.3.2011 : Added Country, IP and time of last login save[Ivan Pantovic]
15.3.2011 : Fixed vehicle engine problems for new vehicles[Admantis]
15.3.2011 : Added /stats in string[Admantis]
15.3.2011 : Added vehicle crashing system[Admantis]
17.3.2011 : Removed last IP and country saving due to bugs[Ivan Pantovic]
17.3.2011 : Fixed vehicle crashing system[Admantis]
17.3.2011 : Added spawn on last position you logged out[Admantis]
17.3.2011 : Moved spawn to SF[Ivan Pantovic & Admantis]
17.3.2011 : Moved dealership to SF[Ivan Pantovic & Admantis]
18.3.2011 : Moved car jacker job & drop off to SF[Ivan Pantovic & Admantis]
22.3.2011 : Moved mechanic job to SF[Ivan Pantovic & Admantis]
22.3.2011 : Moved church coordinates for marrige to SF[Ivan Pantovic & Admantis]
22.3.2011 : Moved Trucker job to SF[Ivan Pantovic & Admantis]
22.3.2011 : Moved Garage Man job to SF[Ivan Pantovic & Admantis]
22.3.2011 : Moved street sweeper job to SF[Ivan Pantovic & Admantis]
22.3.2011 : Moved Bus Driver job to SF[Ivan Pantovic & Admantis]
22.3.2011 : Added Trucker, Mechanic and San News vehicles to SF[Ivan Pantovic & Admantis]
22.3.2011 : Converted script with UCP registrations and removed old ones[Ivan Pantovic & Admantis]
23.3.2011 : Fixed bug with vehicle engines[Ivan Pantovic]
24.3.2011 : Moved Drugs Dealer job to SF[Ivan Pantovic & Admantis]
25.3.2011 - 31.3.2011 : Many bug fixes, moved most of other coordiantes to SF and many new features![Ivan Pantovic & Admantis]
1.4.2011 : Colored dialogs[Admantis]
2.4.2011 : Fixed some colors & colored more stuff[Ivan Pantovic]
2.4.2011 : Fixed /togblinkers, rental car bugs, spawn when you are released from jail [Admantis]
2.4.2011 : More efficent and faster code [Admantis]
4.4.2011 : New mask system [Admantis]
5.4.2011 : Mask system minor edits [Ivan Pantovic]
5.4.2011 : Fixed gun maker job [Ivan Pantovic]
5.4.2011 : Moved detective job[Ivan Pantovic]
5.4.2011 : Fixed garbage man job[Ivan Pantovic]
5.4.2011 : Enabled IG registrations[Ivan Pantovic]
5.4.2011 : Fixed all locations on /gps[Ivan Pantovic]
5.4-10.4  : Fixed some mini bugs[Ivan Pantovic]
10.4.2011:Fixed mask system objects[Ivan Pantovic]
10.4.2011:Added armor object[Nexotronix][/code]

Credits
UCP:
-Engine: Grex
-Editing: Ivan Pantovic (added registrations, made it work with this script, edited style)
-Style:

Script:

Concept & Design: Peter " Habib™ " Papastamatis
Special Credits:
-> The Godfather (FeaR)
-> SA-MP (Kyeman & the rest of the development team)
-> Habib™
-> Ivan Pantovic (ivanorezac)
                -> Diego Villalobos (admantis)
Maintenance & Development:
Ivan Pantovic
Diego Villalobos (admantis)
Scripts Used as Reference:
-> SeifAnti-Cheat (Seif)
-> Seifanimations (Seif)(unused, we are using one from PenLS1 now)
-> Seifehicle (Seif)
-> Seiffight (Seif)
-> PEN1 (Astro)
-> dcmd (DracoBlue)
-> Los Angeles Roleplay (Scorcher & Ellis)
-> Carlito's Roleplay (Norn)
-> eRP Pickup Streamer (13th)
-> Position textdraw (~Cueball~, Betamaster (locations), Mabako (locations), Simon (finetuning) and RoamPT)
-> Armor attach(Nexotronix)






Plugins:

Required Plugins:
-> Streamer Plugin (Incognito)
-> Audio Plugin (Incognito)
-> File Manager (JaTochNietDan)





Features

Brakedown features:
(note: again, server is in SF, so its not Los Santos Police Department, its San Fierro Police Department, but i didn't want to edit brakedown original feature list)
Features

* About 850 Houses around San Andreas
* 50+Business around San Andreas
* Custom Mappings
* Health System:Once you reach 20hp you will auto "crack".The only way out is waiting for a medic or /accept death
* Dynamic Vehicle Dealership
* You can join two factions at once: one crime faction and one legal faction!
* Language System.You can learn up to 3 different languages.There are 10 Lanuages you learn
* Crime Factions can do /spraycar and paint a car with their own color!!
* Unique Mask System that admin can see the online maked players
* Admin Record
* Unique Drug System
* Guns Save on disconnect
* Player can choose his accent
* Walkie Talkie
* Keichef which you can tie the eyes of another player
* and alot more to find by reading the script
Jobs
* Pizza Boy in LS
* Car Mechanic
*Car Jacker in LS
* Detective in LS
* Garbage Driver
* Farmer in LV
* Drug Farmer in some county area
* Gun Maker in LS
* Dozer Driver somewhere near LV
...and the other basic jobs
Factions
* San Andreas Police Department
* Federal Bureau of Investigation
*San Andreas Sheriffs Department
* Los Santos Emergeny Department
* Los Santos Black Cab Company
* San News Network
* Mechanics Organization(only they can "pimp" your car)

Other (added by us features):
Sorry, but i don't really remember, i haven't touched the script for a loooong time, but that's why i released the changelog.





Bugs:
UCP bugs:
-Houses, businesses and cars showing menus aren't created. However, by just looking at the code you can learn how php works and make those menus in few hours.

Script Bugs:
-Pizza boy and bus driver jobs aren't moved to SF.
-Tutorial (doesn't show after UCP registration) shows LS locations.
-There is no interior for license falsification center.(players won't fall down from the sky, but there is no visible interior around them, however they can do /buyfake and /exit and they will be fine.)
-There is no interior for hospital (you will need to make one if you don't want your players to fall down from the sky when they die.
-Tell me if you find any more, and if you fix some and ill re-upload the script.





Terms of usage:
-You may use this on your server.
-You may release edits of this script.
-You may NOT remove credits for any reason!




Note:
-Script is file based and does not use mysql.
-To make UCP work, it must be hosted on the same computer as the server. (server doesn't need to be in www directory).
-Please do not post any mirrors, I will add them soon.
-For those who want to see original UCP by grex: http://forum.sa-mp.com/showthread.php?t=146292
-Unfortunately I can't give you the link to brakedown script because creator didn't post it here for some reason, but you can google it and you will find it on some of the unofficial samp forums :).
-Please do not remove credits from the script, we kept them.(you can change IG visible credits, but don't remove commented credits above the script. [b]This doesn't include credits on UCP, Grex (creator of UCP didn't say that you people can remove his credits, so please don't!).[/b]
-Please do not post any mirrors
-Please do not post unwanted comments, I don't need them. I released this only because its beeing unused on my computer and its much better than most of other edits on these forums.

-I forgot to create "Temp" folder in users directory, please create it yourself otherwise registrations using UCP won't work.


Download:

[b][u]MediaFire:[/u][/b]
UCP: http://adf.ly/587105/m-rp-ucp
Windows: http://adf.ly/587105/m-rp-windows
Linux: http://adf.ly/587105/m-rp-linux

Thank you.

Нема коментара: