SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 23/04/2019, 03:06 PM   #1
seanny
High-roller
 
seanny's Avatar
 
Join Date: Oct 2010
Location: Derry City, Northern Ireland
Posts: 1,425
Reputation: 41
Default Desert County RP UCP

Here is the DC-RP UCP open-sourced under permissive MIT license.

Features:
  • Admin Record (Kicks, Bans, Jails)
  • News
  • Donate via UCP
  • Ban users via ACP (Admin only)
  • Send in-game announcements (Lead Admin only)
  • See users admin records (Server Manager only)
  • Change user password & secret word (Server Manager only)

I do not have any screenshots, but for the most part it should work with some adjustments to the code.

Note: Database cannot be provided due to it being lost and all backups were deleted. You'll want to modify it to work with your gamemode anyhow.

All I ask is that you do not use the DC-RP name, logo or anything of the sort.

Copyright © 2018-2019 Sean McElholm
Repo: https://github.com/seanny/DC-RP-UCP
Code:
git clone https://github.com/seanny/DC-RP-UCP.git
__________________
Developer @ Outlaw Games Studio
https://discord.gg/BR2FCTm

I am no longer part of the SA-MP scene.

Last edited by seanny; 24/04/2019 at 01:00 PM.
seanny is offline   Reply With Quote
Old 24/04/2019, 09:30 AM   #2
Klayton
Big Clucker
 
Klayton's Avatar
 
Join Date: Mar 2012
Posts: 115
Reputation: 10
Default Re: Desert County RP UCP

Thanks you but, the DATABSE ?
Klayton is offline   Reply With Quote
Old 24/04/2019, 10:07 AM   #3
d3Pedro
Huge Clucker
 
Join Date: Apr 2012
Location: Los Santos
Posts: 250
Reputation: 80
Default Re: Desert County RP UCP

Clean, good work!
d3Pedro is offline   Reply With Quote
Old 24/04/2019, 01:01 PM   #4
seanny
High-roller
 
seanny's Avatar
 
Join Date: Oct 2010
Location: Derry City, Northern Ireland
Posts: 1,425
Reputation: 41
Default Re: Desert County RP UCP

Quote:
Originally Posted by Klayton View Post
Thanks you but, the DATABSE ?
Can't provide database (or .sql file), it's long gone.
__________________
Developer @ Outlaw Games Studio
https://discord.gg/BR2FCTm

I am no longer part of the SA-MP scene.
seanny is offline   Reply With Quote
Old 24/04/2019, 02:16 PM   #5
cSharp
Big Clucker
 
Join Date: Oct 2018
Posts: 65
Reputation: 13
Default Re: Desert County RP UCP

Why do you keep on making new connections to the database? You open over 25 handles AT ONCE but you don't close a single one.

Why aren't you escaping the cookies' values? You do realize I can set the value of any of my cookies to 0; DROP DATABASE " . DB_NAME . "; and (as far as I know) this is what's gonna be executed: SELECT * FROM `players` WHERE id = 0; DROP DATABASE sa-mp; LIMIT 1

You shouldn't be displaying the MySQL connection error message to the public if you haven't set the logging level manually through your code.



I don't know why I did this, but here's the database structured after the code provided: https://pastebin.com/YeESawMR.

WARNING: this is (out of respect for everyone browsing this topic) shitty and should never be used on a public alpha release WITHOUT amendments.
cSharp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Greenlands [Bone county is not a desert anymore!] Tamer Filterscripts 11 25/12/2013 03:19 PM
[GameMode] Virtual County Roleplay [ENG] - MySQL - ZCMD - SSCANF [Red County] iGetty Gamemode Scripts 427 28/04/2013 01:00 PM
[OFF] Red County ou Bone County Matheus_Ecko PortuguÍs/Portuguese 10 12/05/2012 01:59 PM


All times are GMT. The time now is 04:43 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.