Author Topic: Red_Guy's City RP[G]  (Read 2986 times)

Logo By Sgt. Gary.


Server Info

The server will be up 24/7.

New cities are made every once and awhile and there is always space for more players. Allows players to feel refreshed.

You can make requests here for new add-ons or anything else!

We use RP Content add-ons with huge edits.

Hosting provided by Red_Guy!

Any issues please contact us: Gordo12699

Gordo12699 (Sgt. Gary) Contact Information: Gordo12699@gmail.com |Steam

Gallery





Updates

Current Version: 2

Update Log
Code: [Select]
RP_Core (GaryRPG) v1.2
Original Mod by McTwist
Dethorned/Developed by Sgt. Gary
Additional Scripting/Help by Red_Guy

v1:
+ Added /help command
- Removed executing banned_events.cs
+ Added Reset on Spawn
+ Added Changelog
+ Added /Grantdemerits (player) command

v1.1:
- Changed Reset on Death code from onSpawn to onDeath
- Removed /clearplayer command
+ Added Toggle Self Delete to restrict reset data while in Jail

v1.2
+ Fixed Removing clearplayer command
+ Added /endrp Super Admin compatability
+ Added /endrp deactivatepackage building to build outside of RP
+ Added /startrp activatepackage building to build inside of RP

RP_Resources (GaryRPG) v2
Original Mod by McTwist
Dethorned/Developed by Sgt. Gary
Additional Scripting/Help by Ipquarx

v0.1:
+ Added building.cs to make it require ores to build.

v1:
+ Added /grantOres (player) command
- Removed executing building.cs due to major build glitch

v2:
+ Re-Added building.cs after fix

RP_Crime (GaryRPG) v1.0
Original Mod by McTwist
Dethorned/Developed by Sgt. Gary
Additional Scripting/Help by Ipquarx

v1:
+ Added parent code to fix pay.

RP_Jobs (GaryRPG) v0.1
Original Mod by McTwist
Dethorned/Developed by Sgt. Gary
Additional Scripting/Help by Red_Guy

v0.1:
+ Added /giveExperience command
- Removed double pay glitch

v0.1:
+ Edit ifRPTime event to allow for Day/Night events

Moderation
  • Red_Guy - 20646 - Host
  • Sgt. Gary - 20829 - Host
  • SpellFire - Admin
  • Tenshi - Admin
  • Creed - Admin Admin
  • chris! - Super Admin
  • Sylvanor/Alzarith - Admin
  • Ozmar - Super Admin
Apply for Admin
Name:
BLID:
Why should you be Admin?:
Do you have RTB?:
Will you constantly enforce the rules?:


Note: Being Recommended Helps

Devolopment  Team
Sgt. Gary: Script Edits and Improvement
McTwist: Base code and structure
Red_Guy: Bug fixes

Scripting Help Wanted
We are looking for a major development team to help improve the mod and fix everything! Lots of things are broken due to McTwist's codes but it can all be fixed! We need help!

We need a 1-2 Modellers, 3-5 Scripters, 3-5 Builders

Anything is appreciated

Application
In Game Name:
What you want to help with:
BLID:
PM Me proof of your work to be approved.



Credits
Red_Guy: Hosting

Sgt. Gary: Hosting - Scripts

Spellfire: Building City

Dorso: Building City

Aplem: Building Government Buildings

Ozmar: Building Government Buildings

Ipquarx: Scripts

~Sgt. Gary waz here
   cum here and get :cookie: before the :cookieMonster: eats dem




« Last Edit: May 26, 2012, 05:14:05 PM by Gordo12699 »

Very neat and unique.

Good luck!

Wow thanks, that means a lot coming from a popular City RPG host such as yourself. ^_^


>Added /grantdemerits command (buggy)

What's wrong with it?

If they were not wanted before, it will not display their name on the wanted list.

If you need someone to help with scripting, I'm always up for a challenge.

What's the function for getting the wanted list?
Via police brick?
Unzip the entire mod into a directory then search for the police brick.

Find the function that gets the wanted list

Find where said function is defined

Check for variables set (%client.iswanted, for example)

Set said variables when /grantdemerits is called.

What's the function for getting the wanted list?
Via police brick?
Unzip the entire mod into a directory then search for the police brick.

Find the function that gets the wanted list

Find where said function is defined

Check for variables set (%client.iswanted, for example)

Set said variables when /grantdemerits is called.
Or look in the damage function..?

Yeah, you could go at it from that angle too.

Looks okay, though I don't really like RP core.

If you need someone to help with scripting, I'm always up for a challenge.

I would greatly appreciate help. PM me so we can get started.

Yeah, you could go at it from that angle too.
The simplest solution is almost always the best, my friend.

I would greatly appreciate help. PM me so we can get started.
Sounds good. It's 10PM here though, so not today though.

What's the function for getting the wanted list?
Via police brick?
Unzip the entire mod into a directory then search for the police brick.

Find the function that gets the wanted list

Find where said function is defined

Check for variables set (%client.iswanted, for example)

Set said variables when /grantdemerits is called.

I'll post some code and see what it works as.

Code: [Select]
function ServerCmdGrantDemerits(%client, %n0, %n1, %n2, %n3)
{
if (!$RP::activated)
return;
if (!%client.isInRP())
return;
if (!%client.CheckPrefTrust($RP::pref::server::rankAdvanceCommands))
return;

%name = trim(%n0 SPC %n1 SPC %n2 SPC %n3);
%target = (%name $= "") ? %client : findClientByText(%name);

if (!isObject(%target))
{
messageClient(%client, '', "\c6Invalid player.");
return;
}

%target.RPData.value["demerits"] = 0;

messageClient(%client, '', '\c6You gave \c3%1\c6\ 100 demerits.', %target.name);
messageClient(%target, '', '\c6You are now wanted.', %client.name);
CommitCrime(%target, "Angering Badmin", $RP::pref::crime::AngeringBadmin);

if (%dems >= 1)
AddToCriminalList(%target.getSaveKey());
%target.RPData.value["demerits"] += 0;

%target.displayInfo();
}

Above is the command and below will be the function of getting the wanted list.

Lol in my defense I did not notice this code.

Code: [Select]
// Add to criminal list
function AddToCriminalList(%ID)
{
$RP::criminalList = addToList($RP::criminalList, %ID);
}

Also Ipquarx, I will send you a PM tomorrow as you requested

« Last Edit: May 13, 2012, 11:42:51 AM by Gloss »