Author Topic: Gunner's CityRPG [Beta]  (Read 4596 times)

The gamemode will start to lag when around 1000 clients have data objects created; to prevent this append the bold lines to the OnClientEnterGame function in the package.cs and the getData function in saving.cs. Position is important.
Quote
   function gameConnection::onClientEnterGame(%client)
   {
      if(!isObject(CityRPGData.getData(%client.bl_id)))
         CityRPGData.addData(%client.bl_id);

      if(!isObject(CityRPGData.user[%client.bl_id]))
         CityRPGData.user[%client.bl_id] = CityRPGData.getData(%client.bl_id);

      
      parent::onClientEnterGame(%client);
      
      if(isObject(CityRPGMini))
         CityRPGMini.addMember(%client);
      else
         CityRPG_BuildMinigame();

      if(CityRPGData.getData(%client.bl_id).valueGender $= "ambig")
      {
         messageClient(%client, '', "\c6You have been set as a male by default. Type \c3/loveChange\c6 to be known as female.");
         CityRPGData.getData(%client.bl_id).valueGender = "Male";
      }

      %client.gender = CityRPGData.getData(%client.bl_id).valueGender;
      
      %client.doIPKTest();

      %client.schedule(1000,applyForcedBodyParts);
      %client.schedule(1000,applyForcedBodyColors);
   }

function Sassy::getData(%this, %ID)
{
   if(isObject(CityRPGData.user[%id]))
      return CityRPGData.user[%id];


   for(%a = 0; %a <= %this.dataCount; %a++)
   {
      if(%this.data[%a].ID == %ID)
      {
         return %this.data[%a];
      }
   }
   
   return false;
}
Thank you, this will be super helpful. The server still needs an autosave

If we don't have any criminal jobs, then everyone will just be a CEO for their high paycheck. And in most CRPGs, cops DO spawn with weapons, and it's pretty easy to arrest a criminal, you just need good co-ordination with the other police units.

Unless this server enforces roleplaying, then there's no reason to remove the criminal job tree. Crime sprees are the basis of the economy in the majority of servers, and removing that will lead to everyone waiting for ages just to gain their education from pay-checks instead of looting corpses and arresting criminals. The cops vs robbers aspect is what most people join for, anyway. If done right, then things can get really interesting for the server and the city if you look at it from an RP perspective even though no one really role-plays.

Does anyone remember bbs' city rpg? It got a little crazy with the glitches and overwhelmingly valuable drugs and the ability to abuse the economy. But with that money, came multiple player-made factions, the two largest being "Altosk" (My gang of friends and lackeys) and G.U.A.R.D. (Guardians United Against Radical Destruction, a bunch of "mercenaries" that arrested any and every criminal) Those two factions attacked each-other constantly, both of which had traitors, spies, and cops within them.

(Will add more to this post)


Does anyone remember bbs' city rpg? It got a little crazy with the glitches and overwhelmingly valuable drugs and the ability to abuse the economy. But with that money, came multiple player-made factions, the two largest being "Altosk" (My gang of friends and lackeys) and G.U.A.R.D. (Guardians United Against Radical Destruction, a bunch of "mercenaries" that arrested any and every criminal) Those two factions attacked each-other constantly, both of which had traitors, spies, and cops within them.
 

Need this!!!

I remember there was this City RPG where you could create a gang for $100 or $50, and it had a mayor voting system, somehow Jesse1012 became mayor once.

-snip-
I didn't know that bbs' had factions?

I also remember a time on bbs' where everything reset and no one had a license to sell food, only one person could, and all he sold was Small portions of Pee.

If we don't have any criminal jobs, then everyone will just be a CEO for their high paycheck. And in most CRPGs, cops DO spawn with weapons, and it's pretty easy to arrest a criminal, you just need good co-ordination with the other police units.

Unless this server enforces roleplaying, then there's no reason to remove the criminal job tree. Crime sprees are the basis of the economy in the majority of servers, and removing that will lead to everyone waiting for ages just to gain their education from pay-checks instead of looting corpses and arresting criminals. The cops vs robbers aspect is what most people join for, anyway. If done right, then things can get really interesting for the server and the city if you look at it from an RP perspective even though no one really role-plays.

Does anyone remember bbs' city rpg? It got a little crazy with the glitches and overwhelmingly valuable drugs and the ability to abuse the economy. But with that money, came multiple player-made factions, the two largest being "Altosk" (My gang of friends and lackeys) and G.U.A.R.D. (Guardians United Against Radical Destruction, a bunch of "mercenaries" that arrested any and every criminal) Those two factions attacked each-other constantly, both of which had traitors, spies, and cops within them.

(Will add more to this post)
I don't intend on completely removing the criminal tree - maybe just a better, more realistic way of executing it.
Maybe have some jobs that, after committing a crime, would cause the player to become a 'rogue' of some sort; a CEO that sells drugs, pardons criminals, etc

I don't intend on completely removing the criminal tree - maybe just a better, more realistic way of executing it.
Maybe have some jobs that, after committing a crime, would cause the player to become a 'rogue' of some sort; a CEO that sells drugs, pardons criminals, etc
You should make it so that people can pay to get others out, but make it fair.

Also like I said before, is the server dead?

Can you make banks/stores that you can rob? If you do I'll probably get addicted.

Can you make banks/stores that you can rob? If you do I'll probably get addicted.
You would get a ton of money really quick via bank robbery then paying demerits; once people get a lot of money on CityRPG, normally the only thing left to do is either build or kill people. An unlimited source of money like this would break the gamemode into freebuilding and DMing, which is fine I guess, but I doubt that's what Gunner wants his server to be.

You would get a ton of money really quick via bank robbery then paying demerits; once people get a lot of money on CityRPG, normally the only thing left to do is either build or kill people. An unlimited source of money like this would break the gamemode into freebuilding and DMing, which is fine I guess, but I doubt that's what Gunner wants his server to be.
Just make it like payday 2,a 5 minute drill with some 1.5 min drills in between.Also make it so you need certain people to do it.
Escape Driver,Driller,Muscle,Boss,Hacker etc
Also police will have 10-30 secs response time depending on education of the hacker,if there is no hacker they will have immediate response time.

EDIT:Also make paying demerits impossible after robbery for 5-10 minutes.To give a sense of laying low.

An unlimited source of money like this would break the gamemode into freebuilding and DMing


Just add very long cooldowns and long demerits,make it required for a 3+ man team (depending on the job),make high education required,make them have a living space to lay low + plan and requirements to buy masks,getaway etc.Make some jobs that can trace the money if they've went through transactions.

Balanced.Well apart from the cops,I feel the baton should only work if the people are on low hp to prevent baton rushing.

Just add very long cooldowns and long demerits,make it required for a 3+ man team (depending on the job),make high education required,make them have a living space to lay low + plan and requirements to buy masks,getaway etc.Make some jobs that can trace the money if they've went through transactions.

Balanced.Well apart from the cops,I feel the baton should only work if the people are on low hp to prevent baton rushing.
To be frank with you, I just don't feel like it would add that much of a creative spin on the CityRPG mod. A Payday 2 gamemode would be much different, however, and would be totally rad

You would get a ton of money really quick via bank robbery then paying demerits; once people get a lot of money on CityRPG, normally the only thing left to do is either build or kill people. An unlimited source of money like this would break the gamemode into freebuilding and DMing, which is fine I guess, but I doubt that's what Gunner wants his server to be.
I think it should be you need to have a shotgun to rob the bank and it has a certain chance to win and lose.

I didn't know that bbs' had factions?

I also remember a time on bbs' where everything reset and no one had a license to sell food, only one person could, and all he sold was Small portions of Pee.
Two gangs got really popular and had conflicting interests, and as such the city delved into chaos whenever they went to war.

It was glorious.
To be frank with you, I just don't feel like it would add that much of a creative spin on the CityRPG mod. A Payday 2 gamemode would be much different, however, and would be totally rad
This would also be glorious.
« Last Edit: December 13, 2014, 11:10:54 AM by Rigel »