sábado, 6 de julho de 2013

0 LSL RolePlay + UCP + WebSite

E o GameMode mais completo de todos os GameModes ja divulgado!
Porem ele e ingles!
Pensando bem com todas estas vantagens vale apena traduzir-lo.

Topico ingles / Creditos \/

===========================================================================


This is not an edit of a script released as Los Santos Life RolePlay a year ago. This is a script that was used on a server called Los Santos Life RP, that was opened about two and a half years ago and that was closed about a year ago, however the script was being developed until recently... More info about that in the introduction...
You might know this server from these URL's: LSL-RP.COM or LSL-RP.ORG
PS, personally I wouldn't suggest this script for beginners that are completely new to scripting since it can really confuse you, but you can try...







This is a script that was developed by many scripters over the time and was really worked hard on. It contains nearly 60.000 lines of code and was never really meant for releasing. The reason that I'm releasing it today is because I asked and gained the permission from the other side-scripters to release it because none of them needed it anymore, and neither did I, since I'm not really developing SAMP servers anymore.

By my personal opinion, this is by far the best script ever released for free, and might be one of the best between SAMP servers. It is pretty much unique, as much as it was possible while keeping the ordinary RP features and not making players look at something completely estranged to them.

This script is great for servers that reach 40+ players every day, since it was last used on a server that had over 50 players online at night, every night. Some of the features are made for the multi-player gaming - such as robbery system, more about that in the feature list.




This pack contains: one game mode script without any filterscripts, few plugins that you will need to run it (they might be outdated, I've tested this on 0.3x on my pc and added some new features, but I think I didn't update the plugins, please do it yourself if you need to), includes needed to run it, MYSQL file where all the data is stored (everything is saved in mysql tables and you don't even need the scriptfiles folder), Website that reads the news from the MYSQL database, and a UCP with all the possible administration and user features (from stats viewing over the auto stats generated pictures and posting applications about getting your account approved (more about this in the feature list), to editing the news on the website and setting up the in-game events).




Script features
Well, as I've said before, the script is completely MYSQL based and saves everything to mysql. It also logs everything everybody does and that can come in handy alot!
I won't spend a lot of the time talking about the common features this script has (note that these are not all and not nearly all of the features available, these are only the ones I could remember in the moment of creating this thread):
*A loooooooooooooot of custom mappings all around the los santos (don't worry, it looks better like this )
*Many jobs (the ones that I remember as not ordinary are mailman (delivers mail to a random house address) and car jacker system (to get a car jacker job you need to be at least level 8, which also requires from you to be an approved member, more about this in the approved member feature) - Car jacker job explanation: car jacker steals a car, and drops it off in SF. He gets some percentage (2% i think) of the vehicle price. The owner can't spawn his vehicle now until he doesn't go to the SF to pay for his vehicle back
*Skills system: every vehicle has an alarm (1-3). To hotwire a vehicle without an alarm, you don't need any hotwiring skill, for higher vehicle alarm, you will need higher hotwiring skill. Hotwiring skill is learned in SF.
*Administrator and helper system with many commands that are able to do nearly everything and to edit every stat except for playing hours (done so there would be no abuse on the real playing hours, you can edit level and respect points)
*Level system (completely ordinary)
*Rent-a-car system (rent cars can be found on the most visited spots -> spawn, bank, city hall...)
*House system (ordinary)
*Business system (improved a bit comparing to ordinary ones)
*3 vehicle ownership (unlimited number of cars player can own - actually 10 or 100k, won't ever get reached ) (4 dealerships: Cheap vehicles, Boats, Expensive vehicles and Air dealership (only RP air vehicles))
*In-bank vault system (you can deposit drugs to safety in the bank vault - type /enter at the back door of the bank)
*Donation coin system - more about this in the UCP feature list
*Approved and non-approved member system as LSL was a server with an ordinary playerbase, we couldn't afford to gamble with losing players on making them register on the UCP to get their accounts approved and we also didn't want to let the players that had someone else finish their test be able to use guns and deathmatch around. Instead, we made a system where everybody passes a small test in-game on registration that checks if the player is capable of playing on the server for the first few hours without harming anybody else. In this few hours, the player can look around and see if he likes it. These members are non-approved ones. To get approved, they need to pass the test in the user control panel that is made of questions that are checked by administrators and helpers. Once a person passes this test, they become approved. Non-approved members aren't able to use many features such as: buying a vehicle, or a property or joining a faction or even holding a weapon.
*Business robbery system well, this is one of the most unique system I have ever seen. **NOTE THAT THIS IS A RP ONE, JUST KEEP ON READING ^_^** First of all, for this system to be available for anybody to use, there need to be at least a few (easily editable in the script) cops online (i think it's set to 5 right now). Well, robber plans the robbing he's going to do and gets his buddies together. They go into a business with weapons and type /robbiz. Government factions get an alert with the address of the robbery. Now robbers need to wait for 60 seconds until the shopkeaper gets the money in the bag. Once the timer is over, the robbers need to pick a cash cleaning place (LV/SF) and they need to get there to get their money cashed. If they get killed, of course, they won't get any money. Only one robbery can be done every 20 minutes.
*Event system - you are able to add an event to a specific date. There are 10 possible events. To add an event, go to the UCP.
List of events:
1) double respect
2) double paycheck
3) double job money
4) 80% vehicle prices
5) 80% properties
6) money bags (not scripted yet)
7) donation coins
8 ) weapons sale
9) dealers offloading (not scripted yet)
10) namechange per hour

Well, I could go on like this for pages and pages, but that's not the point. There are many unique features and the only way you could actually feel them is if you tested the script. Hope you will do it and enjoy it .

User control panel features
Well, this UCP nearly contains everything a good UCP could need. It has a simple design that can be edited, since it is made in a separate file than the features of the UCP. This was done because the UCP.php file has 2 thousands of lines, while the design (index.php) contains only 70, so you can easily change the design.
Features:
-protected login system
-account approving system (more about this in the server features)
-full stats preview system
-forum signature with your server stats generator
example:

-skin change
-store system (set your paypal address in it!) Players do not buy rewards directly. They buy coins that they exchange for rewards, also in the user control panel. This makes donations a lot more interesting to players.
-referal system every players sets the name of the player that invited him to the server. They get $500 for every playing hour their invited player made. This money is, for the RP, counted as "money from actions" (that's a kind of bank investing). This is a really good feature to get players to your server.
-Listing events and lets you add them
-Shows the advanced server statistics such as the amount of accounts created, houses sold, kicks, registration applications created, and so on...

Website features
Well, simply uses the same design as UCP, displays the news, the date that they were posted and the name of an admin that posted them. (News should be written in HTML)





click for a bigger image
*just a picture of the UCP*



Full credits are inside the PWN file, all the credits for the website and UCP go to me.
*Please report if you find bugs, I'll try to fix them. However, I'm not going to script for you.
**Also, please, don't post public edits of this script or copies. I'd like if I stayed the only person that is sharing this gamemode. Thank you for understanding
***Also, feel free to edit the developers text in the game mode (the displayed one). It would also be nice if you didn't remove the commented credits around the script.
PS, I'm not forbidding you to use any part of this script inside your others or sell edits of this script either.

DOWNLOAD: click here

INCLUDES: http://www.mediafire.com/?oenv4064xj2bi0m

Special thanks to Admantis

15/6/2013 LeeroyO fixed the mysql database problems for linux users. The link for the download is still the same. The GameMode package now contains all of the includes I've used to use.

----------------------------------------------------------------------------------------------------------

GUIDE ON HOW TO INSTALL:
by serbansubs
by Tass007

0 comentários: