AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [CSGO - Beta] Roleplay (https://forums.alliedmods.net/showthread.php?t=327607)

Benito 09-29-2020 09:36

[CSGO - Beta] Roleplay
 
Crédits:
TotenFluch (BDD Syntax Inspiration from the T-RP V2)
Deathknife(Discord A.P.I)
Natalya(Car models)
Franug(Hint color fix plugin AND Emotes)
Heyter(Car fix)

Dependencies (* = not integrated by default on the github repository):
Features:
  • All plugins compiled on SM 1.10 Latest version
  • Vehicles
  • 20 Jobs
  • Zones
  • Hud with player informations
  • Perma props(Spawn a permanent prop on the map; NPC, ATM, ETC...)
  • Drugs system
  • Sell system (NPC When player job is offline and vice versa :D)
  • Phone system
  • Exclude player from own zone
  • Respawn system
  • Appartment system
  • Selling owns item at ATM
  • Banking system
  • Drop money when death
  • Events system
  • Minimap creating when a event as been fully launched
  • Steal money from others player
  • Diseases (Covid, Diarrhea, Angina, Plague Rats)[Pending]
  • Gang system [Pending]

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

Jobs Features:
  • [POLICE]
    Quote:

    Commands
    • !taser - Taze the targeted player.
    • !tazer - Taze the targeted player.
    • !cop - Switch team from the T -> CT for advantages.
    • !cops - Switch team from the T -> CT for advantages.
    • !jail - Put the targeted player on jail with request.
    • !prison - Put the targeted player on jail with request.
    • !enjail - Display all player who's in jail only if you are in police zone.
    • !injail - Display all player who's in jail only if you are in police zone.
    • !jaillist - Display all player who's in jail only if you are in police zone.

  • [MAFIA]
    Quote:

    Commands
    • !vol - Steal money from targeted player
    • !volarme - Steal weapon from targeted player
    • !hack - Hack the system from an job (soon)
    • !braquage - Make an holdup for the steal the bank safe (soon)
    • !crocheter - Lockpick a door

  • [18TH]
    Quote:

    Commands
    • !vol - Steal item or money from targeted player
    • !volarme - Steal weapon from targeted player
    • !hack - Hack the system from an job (soon)
    • !braquage - Make an holdup for the steal the bank safe (soon)
    • !piedbiche - Lockpick a car

  • [Hospital]
    Quote:

    Functions
    • Sell items to the targeted player on pressing 'E'
    • Buy items from the NPC of the job if no any hospital player on the server.

  • [Town hall]
    Quote:

    Functions
    • Nothing [pending]


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

Need:
  • Contents: Models, materials, scripts, cfg (For this, join the Discord server that I put at the end)
  • Map
  • Creating zones
  • Configure permanent props (NPC, ATM, ETC...)
  • Translations on many plugins on EN etc..
  • Set discord webhook link for discord notifications (roleplay.inc at DISCORD_WEBHOOK "") will be updated soon.
  • Claim a licence for the plugin works on my website (https://vr-hosting.fr/), after succesful activation you need to put the received token on the rp_licence.cfg at rp_token "XXXXXXXXXXXXXXXXXX"
  • Database powered on MySQL (Set your user credentials)
    Quote:

    "roleplay"
    {
    "driver" "mysql"
    "host" "127.0.0.1"
    "database" "DB"
    "user" "USER"
    "pass" "PASSWORD"
    //"timeout" "0"
    "port" "3306"
    }

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

Info's:

This projects lasted about 6 months, so it is extremely long, I will not quote all of its functioning here, for any necessary information do not hesitate to contribute on github in the case of improving the plugin or contact me on discord. Some plugins are not operational, they will be updated little by little in order to make the whole project complete and full access.
If you could cover parts of one of the scripts, don't forget to quote me in the authors.
This post is not fully completed, i will finish im little by little.

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

Configs:
Quote:

  • vehicles.cfg - All vehicles informations and models
  • questions.cfg - All the questions informations sented to server tchat
  • permis.cfg - Driver licence questionary
  • jobs.cfg - All jobs informations such jobname, clantags, salary, etc...
  • items.cfg - All the items informations such price, name, fees, etc...
  • amendes.cfg - Fines informations such price, timejail to stay.
  • Maps name folder ! : Contains all spawns informations and zones from the map

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

Screenshots:
https://i.imgur.com/xE1ZPG6.pnghttps://i.imgur.com/8V6mBaU.pnghttps://cdn.discordapp.com/attachmen...43/unknown.png

Links:
https://i.imgur.com/G0bb4dt.png
https://i.imgur.com/Fjvcfzx.png
https://i.imgur.com/foI6n33.png


Sorry for my mistakes (if there are any: D) I speak French but I understand English perfectly.

Sajmooooon 09-29-2020 11:58

Re: [CSGO - Beta] Roleplay
 
Looks great

ByDexter 09-29-2020 13:26

Re: [CSGO - Beta] Roleplay
 
1 Attachment(s)
The plugin looks pretty good, I think it will get better as it evolves, and I added Turkish language support.

Benito 09-29-2020 13:45

Re: [CSGO - Beta] Roleplay
 
Quote:

Originally Posted by ByDexter (Post 2719569)
The plugin looks pretty good, I think it will get better as it evolves, and I added Turkish language support.

Hi and thanks ByDexter, you should open an pullrequest on github

NanoC 09-29-2020 15:43

Re: [CSGO - Beta] Roleplay
 
Amazing dude :wink:

Lubricant Jam 09-30-2020 06:11

Re: [CSGO - Beta] Roleplay
 
Why are you adding licenses to a product which is free and open source? Aren't you just encouraging people to remove said functionality?

Benito 09-30-2020 07:51

Re: [CSGO - Beta] Roleplay
 
Quote:

Originally Posted by Lubricant Jam (Post 2719642)
Why are you adding licenses to a product which is free and open source? Aren't you just encouraging people to remove said functionality?

Simply, its a big projet who was private and im not gonna delete the licence who i spent 3 days to make it

Totenfluch 09-30-2020 08:28

Re: [CSGO - Beta] Roleplay
 
Firstly, thanks for the credits. It is always nice to see that releasing the code actually got someone a benefit.

Interesting take on some coding problems. One suggestion for the coding style: Always use english names for everything in the code even comments. I saw a few french method names. Otherwise solid coding style

On a related note... reading this roleplay code makes me remember that sourcemod definitly needs a persistance plugin/extension/include that allows easy database sync because that is the core essence of gamemodes like this: Keeping the local state up to date with the remote state. Java has hibernate and spring for this for example.

Coding wise roleplay was always fun for me. Gameplay wise I think T-RP-v2 was more like a grinder than a real roleplay that ultimately failed because of the players not of the technology. I hope your gamemode does not end the way mine did.


PS: There is no capital F in my name^^

kossolax 09-30-2020 08:35

Re: [CSGO - Beta] Roleplay
 
Thanks for the credit in the post, but that's a little more than just "enum inspiration". it's very sad to see the copyright change, while forking:

https://github.com/kossolax/TSX-RP/b..._justice.sp#L9
https://github.com/Benito1020/Rolepl...justice.sp#L10


Please fix.


Links are broken btw: https://github.com/Benito1020/Rolepl...ustice.sp#L362

Benito 09-30-2020 09:34

Re: [CSGO - Beta] Roleplay
 
Quote:

Originally Posted by kossolax (Post 2719663)
Thanks for the credit in the post, but that's a little more than just "enum inspiration". it's very sad to see the copyright change, while forking:

https://github.com/kossolax/TSX-RP/b..._justice.sp#L9
https://github.com/Benito1020/Rolepl...justice.sp#L10


Please fix.


Links are broken btw: https://github.com/Benito1020/Rolepl...ustice.sp#L362

Effectivement, mais y'a beaucoup de mélange, j'ai que prit la structure de certains métier et leur fonction.

D'ailleurs merci.


All times are GMT -4. The time now is 10:50.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.