CityScript

Since a lot of people thought DarkerRP was just DarkRP and skipped it, I have renamed it and fixed a few bugs in the process. Here is a list of some of the features:

  • Cakescript G2 based
  • Built-in Warn/Kick/Ban system
  • Banking system with interest
  • Buyable storage boxes with space for 16 items
  • More than one faction to join
  • Guns, but you can just remove the Gun Dealer role if you don’t want those
  • Car sales
  • Zombies
  • Meteors
  • Black Market dealer (moneyprinter, toxic substance labs)
  • Nuclear scientists
  • Percentage of total players team limits rather than fixed limits.
  • Fires
  • Earthquakes (these are very very rare and not meant to be deactivated)
  • Random meteor strike (also very rare and not meant to be deactivated)
  • Arrest system
  • Custom player spawns
  • Wide variety of items available from Grocery Store
  • Medics, Police, City Mayor, etc
  • Flag system from CakeScript to allow people to become Mayor

INSTALLATION REQUIREMENTS:

EXTRACT THE ENTIRE ZIP TO GARRYSMOD FOLDER! This will install the gamemode and the Addon

Required Addon: Simple RP Prop Protection by Spacetech + philxyz (included)

Required Addon: Counter-Strike: Source Content (in your orangebox/cstrike folder on dedicated server)

Required Addon: CSS Realistic Weapons 4.0 addon by Worshipper - http://www.garrysmod.org/downloads/?a=view&id=62657
Required Addon: Roleplaying Vehicles 1.0 by NastDye required - http://www.garrysmod.org/downloads/?a=view&id=74216
Required Addon: Nuke 4 by T.Bonita - http://www.garrysmod.org/downloads/?a=view&id=42571
BE AWARE: The Police Vehicles inside the zip are NOT addons and need to go directly into the garrysmod folder structure

Optional Addon: Vehicle Upgrade addon by DarkNovaClan - http://www.garrysmod.org/downloads/?a=view&id=37419

Optional Addon: Skinswitcher by Mihara - http://www.garrysmod.org/downloads/?a=view&id=32752
Optional Addon: Sickness Vehicles for CityScript - http://www.garrysmod.org/downloads/?a=view&id=91119

CREDITS:

Nori for Cakescript G2
SB Spy for Combo Fists
Feihc for Fire Extinguisher
Rick Dark, Botman, thenoman for NPC model animations

Download Link for 1.0.0:
http://www.megaupload.com/?d=DIQP3FK5

More Mirrors Much appreciated! :smiley:

Downloading. Why do we need Nuke though? =/

It’s for the nuclear scientist job. You can remove that job if you don’t want nukes :slight_smile:

They cost so much anyway that it would be hard for a noob to set one off.

I’m still getting the

CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)
CityScript\gamemode\cl_playermenu.lua:426: attempt to index global ‘TEXT’ (a nil value)

errors. I know you said they were because of that fast download thing, but I still can’t find anything relating to that in any of my cfg files.

DrStealth, several people who have had this problem seem to have got rid of it by removing addons one by one until the problem goes away.

Except… nobody has ever told me which addon it was.

I’ll try joining your server if it is up now…

I’ll be putting this on my server, I’ll get back to you if I have any errors, and I’ll post the IP once it’s completely setup.

I’ll wipe my addons folder then, add them one by one. And I’ll remember to tell you which it was =P

Edit:
I wiped my addons folder and it still isn’t working, the only things in the folder it are:
counter-strike
Day-of-defeat
Default_sent_pack
derma
fueled mod vehicle pack
hl2_ep2
LeeModel
MW Vehicles
NFSMW Cars
Nuke4_fix
Police Cars
portal
sickness
Simple RP Prop Protection
tf2
zeno_clash

I added a info.txt for the Police and NFSMW cars, so they are set to addons now, that isn’t the problem. Everything here is either files from the source games, or stuff required by the gamemode. Should I get rid of the TF2, dod, portal, etc?

Double edit:
I’m also getting this error when I hit tab:

ERROR: GAMEMODE:‘ScoreboardShow’ Failed: CityScript\gamemode\cl_binds.lua:38: attempt to index global ‘HiddenButton’ (a nil value)
ERROR: GAMEMODE:‘ScoreboardHide’ Failed: CityScript\gamemode\cl_binds.lua:46: attempt to index global ‘HiddenButton’ (a nil value)

Triple edit:
I removed the source game addons, so I’m left with:
counter-strike
default_sent_pack
derma
Fueled Mod Vehicle Pack
LeeModel
MW Vehicles
NFSMW Cars
Nuke4_fix
Police Cars
sickness
Simple RP Prop Protection

It still doesn’t work, so…

Whenever I have my server start (via Commandline) on Cityscript, the server never shows up on the server browser. I have to start the Gamemode on Sandbox and then switch it over w/ ULX to Cityscript.

Then I get bombarded with errors :c



CityScript\gamemode\cl_playermenu.lua:426: attempt to index global 'TEXT' (a nil value)
ERROR: GAMEMODE:'HUDPaint' Failed: CityScript\gamemode\cl_hud.lua:81: attempt to index global 'TEXT' (a nil value)


I also get the same as the above user when trying to open the scoreboard



ERROR: GAMEMODE:'ScoreboardShow' Failed: CityScript\gamemode\cl_binds.lua:38: attempt to index global 'HiddenButton' (a nil value)
ERROR: GAMEMODE:'ScoreboardHide' Failed: CityScript\gamemode\cl_binds.lua:46: attempt to index global 'HiddenButton' (a nil value)


And then there is this huge box in the middle of my screen. I can’t close it either.

http://img718.imageshack.us/img718/4561/gmflatgrass0001x.jpg

No GUI, no weapons, ect ect

My Addons: (i’m going to include every detail of every useless thing)
counter-strike
CSS Realistic Weapons 4.0
daf (DOS Attack fix)
day-of-defeat
default_sent_pack
derma
Fueled Mod Vehicle Pack
hl2_ep2
LeeModel
MW Vehicles
NFSMW Cars
Nuke4_fix
Police Cars
Portal
Simple RP Prop Protection
skinswitcher
tf2
ulib
ulx
VehicleUpgrade
zeno_clash

Looks like a decent script, I may have to give it a try.

Aha! Try it without ULX! :stuck_out_tongue:

Basic admin is built-in.

I’ll upload it somewhere else since garrysmod.org seems to hate me.

ULX doesn’t seem to like cakescript…

If I can figure out why, I might be able to fix it. That said, ULX is not really necessary with this mod unless you want to use !goto

http://www.mediafire.com/?qnymmuljfyy
http://rapidshare.com/files/350616018/CityScript-RC1.zip.html
http://www.filefront.com/15585083/CityScript-RC1.zip
Uploaded a few mirrors, just in-case…

Testing the gamemode out now. :smiley:

I removed ULX (n’ Ulib) and I still cannot start Cityscript via Commandline. Just never shows up on the server browser.

Just add sv_defaultgamemode CityScript to the autoexec.cfg and it’ll start the gamemode

Mine still isn’t working, even with the addons I have in the post above. Would the clientside addons matter?

Thank you, now it will start w/ Cityscript. Although I’m still getting the exact same error messages as last time. (ULX and Ulib uninstalled still)

(btw I forgot to mention earlier, I’m stuck in my place, and cannot move, but I can swivel around)

Did you try uninstalling the other addons?

All the other addons?

All the other addons I have are base or come with/are needed for the gamemode.

Try uninstalling (moving them away) one by one, until you find the one that’s bad, then add the good ones