[GameMode] Small County Roleplay | DYNAMIC | 0.3.7 | MYSQL R39 | ENG | Unique Script
#1


Small County Roleplay
Intro
Good day! Today I've decided to release my samp gamemode as I have no intention of starting my server (I've lost most of my interest in SAMP). This gamemode has been sitting on my hard-drive for like half a year, in that time I haven't kept up with anything samp related soooo yeah, there may be a few issues.
This is a unique script, but it is by no means finished, so whoever picks this up is going to need to do some work! I've made the repository public and so I guess (dependent on how generous I'm feeling) I will fix issues if you point them out on there! I don't think the script is too hard to understand, but IDK. Anyway, without further ado, Small County RP!

Features
You are going to have to forgive me if I leave things out/am rusty on what things do - I've literally abandoned this project.

Master Account System
Users can register for a 'master account' which is the account used to register their characters. In theory you can have as many characters as you want, but I've limited it to 3 (I think).



Dynamic Faction System
Factions can be fully created and edited in-game. You can dynamically change any aspect of a faction within the faction manager. Factions can have faction vehicles, which can easily be restricted to certain ranks. Faction leaders can change the names of their ranks etc. You can also change how many ranks a faction has, and the point at which certain commands become available.

I have also made an almost fully functional police faction with an array of commands. There is also a law enforcement weapon system, where they have to buy all their weapons above their service pistol via their weapon cache, everything is logged and is able to be view in the police national computer. The PNC can be used to search any vehicle/player and post warrant etc.



Dynamic House System
Houses can be created anywhere in-game by an admin with high enough privileges. There is a list of predefined interiors, however you can easily set house interiors to something custom as I used a dynamic coordinate based system. Unfortunately I haven't implemented a furniture system BUT that shouldn't be too hard to do, seeing as there is a custom mapping system.



Dynamic Business System
Businesses work similar to the housing system, you can have custom interiors, businesses can have an umbrella role of e.g a general store - which give them the generic commands related to that business. Businesses each have their own 'safe' where any earning from the business accumulate (including payday earnings) & can be withdrawn at any time. There is no stock system as of yet. I did start on a new and improved businessmanager but I'm not sure if I finished it...



Dynamic Mapping System
This, from memory is a bit finicky but none the less it allows admins to map objects in game - great for aesthetic features. Any object can be spawned in via the related commands.


Dynamic Icon System
Icons are a big part of this script as they enable dynamic functionality. Icons are used for tasks such as placing a dmv start point, bank desk, car scrap point - anything like that. They are very useful can can be easily moved & name tagged.


Payday System
Inside the bank there is a counter where you can collect your paycheck. Paychecks can be earned through doing sidejobs (there aren't many of these), after which you get paid, not into your hand but via the paycheck system. You can also receive money & XP form your businesses/through welfare by playing more than 30mins, each hour. There is a limit to how much money you can accumulate in the payday system. As mentioned beforehand there is also a leveling system, so you can restrict certain activities to experienced members.


Weapons System
There isn't really a fully functional weapon system, I guess you could implement something into ammunition. But I believe I started on an 'internet' based weapon system - you would have to know the specific URL to a special site in order to order weapons - but this was never finished (pl0x finish someone).


And much more...
There are plenty of things that I've left out here quite simply because I couldn't remember them/cba to write about them - but take a look at the script & find out for yourself!



Administration
There are plenty of administrator commands, which will be listed below. There is also a basic anti cheat for weapons & such (not entirely tested but I'm pretty sure it works).



Commands
I don't think I have the patience to write them all out BUT I will just paste the commands I already have written out! But in terms of commands the most useful admin command is /setp - it can be used to set almost anything related to the player!
Code:
Chat Commands: 
/me /do /b /(s)hout /(l)ow /(w)hisper 

Vehicle Commands: 
/(e)ngine /lights /vmusic /myvehicles

Purchasing Commands:
/buy /buyhouse /buybiz 

Other Commands:
/stats /inventory /changeaccountpassword /(clearanim)ation /changespawn

Help Commands:
/fhelp /bhelp /phelp /rhelp /animlist


ADMIN CMDS
ADMIN LVL 1:[/adminduty][/binfo][/kick][/ban][/(un)freeze][/(down)slap][/(un)mute][/(announce)ment]
ADMIN LVL 1:[/setplayer [id] [option]]
ADMIN LVL 1:      options-> [health][armour][level][skinvw][inteior][age][gender]

ADMIN LVL 2:[/gotoh][/gotoi][/gotob][/gotov][/gotop][/getp][/getv][/giveweapon][/resetweapons]

ADMIN LVL 3:[/deletepv][/vehicle][/delv][/delvall][/fvreload]

ADMIN LVL 4:[/sethouse][/seticon][/setveh][/settime]

ADMIN LVL 5:[/createfv][/deletefv][/factionmanager][/businessmanager][/iconmanager]
ADMIN LVL 5:[/setplayer [id] [option]]
ADMIN LVL 5:      options-> [faction][rank][job][hentered][bentered]
Installation
[strike]My advice for installation is going to be limited, partially because I can't remember how to install half the rubbish - partly because I can't be bother, but none the less here it goes![/strike]

I suggest you take a look at the repository and download the lasted version under the 'Tags' section. This will contain all the files you could possibly need to get started!

If anyone does want to contribute/fix - do go ahead & fork it!


1. What you will need to do in order to get this working (after downloading the latest version) is set up the MYSQL database. You can download the DATABASE here.

2. Import that into your mysql database.

3. Next you will have to locate the server's connection file. It is situated in \gamemodes\modules\server\connection.pwn. Open that up and edit the MYSQL details to your liking.

4. Now, using pawno compile the server (from SCRP-R39.pwn NOT from the connection file!)...

5. If I'm not mistaken - the server should now work now!


Version History -----------------------------------------------------------------------------------------------------

Known Issues
  • The quiz needs some attention, I believe questions can come up more than once!


Closing Remarks
I hope this post wasn't too long - I thought I should be thorough as this script has potential! I would love to see other people contributing to the repository, maybe you can teach me a trick or two! Again I must stress that this project is a work in progress (even though I don't work on it anymore(yet)) so there will be bugs/glitches. I hope you enjoy it!

Foster/donsta3000
Reply
#2

Antivirus says it has a virus in the download link?
Reply
#3

Prolly he has put a .bat to control your computer abd upload something to your network. if u have something bought like vps or website etc. he can hsck in it as admin if this is true
Reply
#4

Quote:
Originally Posted by KevinExec
View Post
Prolly he has put a .bat to control your computer abd upload something to your network. if u have something bought like vps or website etc. he can hsck in it as admin if this is true
You are a moron. It is a god damn repository, you can see everything that is in it. Anyway I have uploaded it to a website & here is a virus scan.
Reply
#5

Is this a SCRP edit or unique one?
It looks good so far.
Reply
#6

Quote:
Originally Posted by Alex Magaсa
View Post
Is this a SCRP edit or unique one?
It looks good so far.
Nope, no edit - unique.
Reply
#7

The file '' Connection '' shows 24 errors.
Reply
#8

Can someone give me the whole link to the full gamemode ready to play straight away because I'm new to all this dunno how to update plugins and stuff please.
Reply
#9

Quote:
Originally Posted by White1804
View Post
The file '' Connection '' shows 24 errors.
You are not supposed to compile that file. You must compile the main gamemode.

I have changed the database file - it now contains some placeholder data to help you get started.
Reply
#10

Good job!
Reply
#11

Nice, good job.
Reply
#12

------------------------------------------------------------------------------
[13:15:22] [MYSQL]: ERROR: Connection to `DATABASE`@'127.0.0.1' failed!
[13:15:22] ------------------------------------------------------------------------------
[13:15:22] 13:15:00
[13:15:22] Filterscript 'Mapping.amx' load failed.
[13:15:22] ------------------------------------------------------------------------------
[13:15:22] | Small County Roleplay - Started! |
[13:15:22] ------------------------------------------------------------------------------
[13:15:22] Number of vehicle models: 0
[13:15:39] --- Server Shutting Down.
[13:15:39] plugin.mysql: Unloading plugin...
[13:15:39] plugin.mysql: Plugin unloaded.
[13:15:39]

What i can do ? sry for my bad enghilis
Reply
#13

Quote:
Originally Posted by N0FeaR
View Post
Good job!
Quote:
Originally Posted by Endry993
View Post
Nice, good job.
Thanks guys!

Quote:
Originally Posted by Robi1999
View Post
------------------------------------------------------------------------------
[13:15:22] [MYSQL]: ERROR: Connection to `DATABASE`@'127.0.0.1' failed!
[13:15:22] ------------------------------------------------------------------------------
[13:15:22] 13:15:00
[13:15:22] Filterscript 'Mapping.amx' load failed.
[13:15:22] ------------------------------------------------------------------------------
[13:15:22] | Small County Roleplay - Started! |
[13:15:22] ------------------------------------------------------------------------------
[13:15:22] Number of vehicle models: 0
[13:15:39] --- Server Shutting Down.
[13:15:39] plugin.mysql: Unloading plugin...
[13:15:39] plugin.mysql: Plugin unloaded.
[13:15:39]

What i can do ? sry for my bad enghilis
Now, do you even have a MYSQL database?
Reply
#14

Wich Mysql Version Needs ?
Reply
#15

Thank you. Now the problem is that when entering sample '' server closed connection ''
Reply
#16

Quote:
Originally Posted by Dainteresebuli
View Post
Wich Mysql Version Needs ?
Well, in terms of the gamemode - R39. As for your MYSQL server, I couldn't tell you.
Reply
#17

Mysql plugin not loaded, help?!
Reply
#18

Quote:
Originally Posted by AtomicSAMP
View Post
Mysql plugin not loaded, help?!
Is there an error message that you can provide me with?
Reply
#19

Quote:
Originally Posted by White1804
View Post
Thank you. Now the problem is that when entering sample '' server closed connection ''
You need to come up with a one word login to successfully join the server, for example "Admin". The server will then bring to the account creation, where you then get a dialog to make an account with a rp name.
Reply
#20

Hi, Instead of removing the intro quiz. How can I change it to "SERVER RULES"? Mapping is failed to load. Another issue, it's about the SQL it doesn't save player account.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)