уторак, 11. јун 2013.

Los Santos Life RolePlay + Dynamic Website + Perfect UCP [100%MYSQL] [ LSL-RP.COM-ORG one]


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 optimized 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)





*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.

User Control Panel: click here
Website: click here
Game Mode: click here
SQL files: click here

*I will be posting a detailed tutorial on how to setup a server with this game mode in a week or something*

недеља, 9. јун 2013.

Website for SAMP servers. Dynamic with admin panel.

Hello everybody!
About a year ago, I’ve started creating a completely dynamic website just to test my skills and few weeks later I’ve stopped working on it. About a week ago, my high school asked me to do the new website for them and I did. Instead of creating a completely new one, I’ve only edited some simple things on the dynamic one, so the professors could edit it as they needed. This morning, I’ve decided to edit this website and make an SAMP server website that will be completely dynamic and that everyone will be able to use for their services nearly without any knowledge.
What you actually need is: php hosting (you can get a free one at zymic.com) and an mysql host (also supported on zymic).

So, let me preview you the website itself:


This is the preview of the website as it is when you install it. 
Administration control panel
This is the preview of the login page of the admin panel (website/admin). The default login username is Admin and password admin. Please change that in your phpmyadmin for your own security. You can also make more than one user if you want to.
Gta site demonstration 
This is the preview of the Manage pages > add page. In the first box you name the page (that is the name shown in the menu also). In the second one you put the url name (index.php?p=UrlYouSet) that menu will use. In the third one you edit the content. HTML code is available and so is the php if you do . Note that when you create a page it's privacy will be on, and you will need to click on the icon for changing privacy in menage pages so the page will show in the navigation bar :).
   Administration control panel (3)
Here's an example of the filled page adding form (the edit one looks the same). You can also edit the pages yourself in website/pages/pagename.php if you prefer to do it that way.
Administration control panel (5)
So, over here I have added a couple of pages. The pen icon stands for editing, X stands for delete (requires confirmation so you wouldn't delete it by an accident) and the "Available" sign tells you that the page is shown in the menu and available for everyone to see. The stranger icon stands for "this page exists and anyone with a direct link will be able to open it, but it isn't displayed in the menu". The red sign tells you that nobody will be able to view this page and it's not shown in the menu. You can switch between these just by clicking.
Los Santos Life RolePlay (1)
And this is the preview of the website after I've added those pages.
Administration control panel (4)
Let's get back to the Admin panel for a second... Now let's change the settings...
Changed the server name
And this is the preview of the website changing itself after the settings changed.
Inside the settings tab in the admin panel you have all the instructions you could need to turn this website into anything that you could want and make it look however you want in less than 10 minutes. 

Installation instructions:

  1. Unzip the package that you can download bellow and upload the gtasite.sql file to the phpmyadmin.
  2. Edit the username and the password in admins table.
  3. Change the config.php file to your mysql settings.
  4. Upload the website on the internet.
I've also created two possible mysql connections for myself: 
a) if the connections isn't coming from localhost, use the config file.
b)if the connection is coming from the localhost, use root with no password. To change this you will need to edit index.php in the root folder, index.php in admin folder and logo.php in images/logogen folder.

Hope you like it and enjoy in it :)

By the way, I have done this completely for free and do not ask for anything in return but for you NOT to upload the copies of this on the internet. No mirrors please and no any kind of uploads (I'm getting paid some small money from the downloads because of the advertisements (about $1 per 1.000 downloads)). Also, about the credits... i can't force you to keep them or anything and I'm not going to even try, but it is professional to leave them as they are (and also very kind of you :)).

To download, please click here.

субота, 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.