Meh, I already went through the entire map and got each ent num to delete it...same for locking/unlocking doors, and spawning ents I wanted.
[editline]7th November 2010[/editline]
If DarkRP didn't update every week or so, I would totally do this.
Upload it to [url=http://code.google.com/p/opendarkrp]OpenDarkRP[/url], if Falco likes it he'll put it in the official version.
Hey. I think this is the place to post this.
I have the latest version of DarkRP SVN installed on my server. I've only added a few new jobs and then edited the door groups.
I get this error when trying to open a "cops and mayor only" door:
[@lua\includes\extensions\table.lua:103] bad argument #1 to 'pairs' (table expected, got nil)
Weird thing is that I've also modified the door group name to "Government only" but I still see the "cops and mayor only" when I look at the door.
I've also modified the "Gundealer only" door group. It works fine with that.
Here's my 2 lines with door groups:
AddDoorGroup("Government only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_SWAT, TEAM_ADMIN)
AddDoorGroup("Gundealer only", TEAM_GUN, TEAM_ADMIN)
I would really like a fix for this..
Post your entire shared.lua file.
[code]/*--------------------------------------------------------
Default teams. If you make a team above the citizen team, people will spawn with that team!
--------------------------------------------------------*/
TEAM_CITIZEN = AddExtraTeam("Citizen", Color(20, 150, 20, 255), {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/Group01/Female_07.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"},
[[The Citizen is the most basic level of society you can hold
besides being a hobo.
You have no specific role in city life.]], {}, "citizen", 0, 45, 0, false, false)
TEAM_ADMIN = AddExtraTeam("Admin on Duty", Color(0, 255, 255, 255), "models/player/combine_super_soldier.mdl",
[[Only for admins. Not a roleplay class, administration class.]], {}, "admin", 0, 250, 2, true, false)
TEAM_BAR = AddExtraTeam("Bartender", Color(100, 80, 0, 255), {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/Group01/Female_07.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"},
[[Open a bar and sell some beer!]], {}, "bartender", 2, 50, 0, false, false)
TEAM_POLICE = AddExtraTeam("Civil Protection", Color(25, 25, 170, 255), "models/player/police.mdl", [[The protector of every citizen that lives in the city .
You have the power to arrest criminals and protect innocents.
Hit them with your arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to disobey
the law.
The Battering Ram can break down the door of a criminal with a warrant
for his/her arrest.
The Battering Ram can also unfreeze frozen props(if enabled).
Type /wanted <name> to alert the public to this criminal
OR go to tab and warrant someone by clicking the warrant button]], {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, "cp", 4, 65, 0, true, true)
TEAM_GANG = AddExtraTeam("Gangster", Color(75, 75, 75, 255), {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/Group03/Female_07.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.mdl"}, [[The lowest person of crime.
A gangster generally works for the Mobboss who runs the crime family.
The Mobboss sets your agenda and you follow it or you might be punished.]], {}, "gangster", 3, 45, 0, false, false)
TEAM_MOB = AddExtraTeam("Mob boss", Color(25, 25, 25, 255), "models/player/gman_high.mdl", [[The Mobboss is the boss of the criminals in the city.
With his power he coordinates the gangsters and forms an efficent crime
organization.
He has the ability to break into houses by using a lockpick and a keypad cracker.
The Mobboss also can unarrest you.]], {"lockpick", "keypad_cracker", "unarrest_stick"}, "mobboss", 1, 60, 0, false, false)
TEAM_THIEF = AddExtraTeam("Thief", Color(0, 0, 40, 255), "models/player/arctic.mdl", [[A theif's job is to steal other peoples
propperty. This includes shipments, money printers,
microwaves, gunlabs, drugslabs and so.
He has the ability to break into houses by using a lockpick and a keypad cracker. ]], {"lockpick", "keypad_cracker", "unarrest_stick"}, "thief", 2, 60, 0, false, false)
TEAM_DRUG = AddExtraTeam("Drug Dealer", Color(255, 140, 0, 255), "models/player/leet.mdl", [[A drug dealer is trying to sell drugs
to the public, without getting caught.
Be careful, the police will be looking for you.]], {}, "drugdealer", 2, 45, 0, false, false)
TEAM_GUN = AddExtraTeam("Gun Dealer", Color(255, 140, 0, 255), "models/player/monk.mdl", [[As a gundealer you sell guns to the public.
Make sure you don't get caught selling illegal guns.
When you are a Gun Dealer, you can get the job Heavy Gun Dealer.
/Buygunlab to Buy a gunlab that spawns P228 pistols]], {}, "gundealer", 2, 45, 0, false, false)
TEAM_HGUN = AddExtraTeam("Heavy Gun Dealer", Color(120, 40, 0, 255), "models/player/guerilla.mdl", [[A Heavy Gun Dealer sells expensive, extremely
deadly guns to the public.
Make sure you don't get caught selling any of your guns.
All your guns are most likely illegal.
/Buygunlab to Buy a gunlab that spawns P228 pistols]], {}, "heavygundealer", 2, 55, 0, false, false, TEAM_GUN)
TEAM_MEDIC = AddExtraTeam("Medic", Color(47, 79, 79, 255), "models/player/kleiner.mdl", [[With your medical knowledge, you heal players to proper
health.
Without a medic, people can not be healed.
Left click with the Medical Kit to heal other players.
Right click with the Medical Kit to heal yourself.]], {"med_kit"}, "medic", 2, 50, 0, false, false)
TEAM_COOK = AddExtraTeam("Cook", Color(238, 99, 99, 255), "models/player/mossman.mdl", [[As a cook, it is your responsibility to feed the other members
of your city.
You can spawn a microwave and sell the food you make:
/Buymicrowave]], {}, "cook", 2, 50, 0, 0, false)
TEAM_CHIEF = AddExtraTeam("Civil Protection Chief", Color(20, 20, 255, 255), "models/player/combine_soldier_prisonguard.mdl", [[The Chief is the leader of the Civil Protection unit.
Coordinate the police forces to bring law to the city
Hit them with arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to
disobey the law.
The Battering Ram can break down the door of a criminal with a
warrant for his/her arrest.
Type /wanted <name> to alert the public to this criminal
Type /jailpos to set the Jail Position]], {"arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"}, "chief", 1, 75, 0, false, true, TEAM_POLICE)
TEAM_SWAT = AddExtraTeam("SWAT", Color(0, 0, 255, 255), "models/player/combine_soldier.mdl", [[As a SWAT unit your job is to stop most dangerous criminals.
Protect the mayor.
Raid drug/illegal weapon suspects houses.]], {"arrest_stick", "unarrest_stick", "weapon_real_cs_mp5a5", "door_ram", "keypad_cracker", "weaponchecker","weapon_real_cs_pumpshotgun"}, "swat", 2, 80, 0, true, true, TEAM_POLICE)
TEAM_MAYOR = AddExtraTeam("Mayor", Color(150, 20, 20, 255), "models/player/breen.mdl", [[The Mayor of the city creates laws to serve the greater good
of the people.
If you are the mayor you may create and accept warrants.
Type /wanted <name> to warrant a player
Type /jailpos to set the Jail Position
Type /lockdown initiate a lockdown of the city.
Everyone must be inside during a lockdown.
The cops patrol the area
/unlockdown to end a lockdown]], {}, "mayor", 1, 85, 0, true, false/*, {TEAM_CHIEF, TEAM_POLICE}*/)
/*
--------------------------------------------------------
HOW TO MAKE AN EXTRA CLASS!!!!
--------------------------------------------------------
You can make extra classes here. Set everything up here and the rest will be done for you! no more editing 100 files without knowing what you're doing!!!
Ok here's how:
To make an extra class do this:
AddExtraTeam( "<NAME OF THE CLASS>", Color(<red>, <Green>, <blue>, 255), "<Player model>" , [[<the description(it can have enters)>]], { "<first extra weapon>","<second ex
Oh! I know the problem now, the doors are still saved to the old door group, the error comes from DarkRP looking for the old door group still, which no longer exists.
If you press reload with your keys or F2 on each door, then click "(Re)set door group", the door should work fine.
Kk, thanks. Will try soon and report back..
[editline]7th November 2010[/editline]
The door group works now. Thanks..
I found another problem..
When you try to speak, and the alltalk is on, you get this error when you are close to someone who is supposed to hear you:
ERROR: Hook 'RPGetRecipients' Failed: [DarkRP\gamemode\cl_init.lua:812] attempt to index local 'talker' (a nil value)
Removing Hook 'RPGetRecipients'
They do hear you though, you just can't see it..
I fixed that error a couple of hours ago, SVN update your DarkRP.
Ok, thanks.
Someone should add a rp_name command. It's like rp_setsalary and rp_setmoney, it's also for superadmins+ Superadmins can change the rp name of their target. I tried but I noticed you'll have to edit like 3 files (too much for me haha) Anyone up to the task?
[QUOTE=uberpwns;25926982]Someone should add a rp_name command. It's like rp_setsalary and rp_setmoney, it's also for superadmins+ Superadmins can change the rp name of their target. I tried but I noticed you'll have to edit like 3 files (too much for me haha) Anyone up to the task?[/QUOTE]
[url=http://code.google.com/p/opendarkrp/source/detail?r=34]Here you are. :)[/url]
Removing Fadmin is easy.
PM me if you need help.
i will reinstall the old awesome scoreboard back.
and fptje you should really remove fadmin.....
This thread is a year old, seriously. Read post dates.
[QUOTE=Loriborn;31258264]This thread is a year old, seriously. Read post dates.[/QUOTE]
and?
There's no reason to create new ones if there is one already.
Does anyone know how to remove the Lawbox?
[QUOTE=philxyz;19759404]Can I recommend that you don't skip version numbers?
For example.. so far we've had 2.3.5 2.3.7 2.4.1
It would probably better to go:
2.4.2
2.4.3
2.4.4 ...
in the future. Other than that, looking good.[/QUOTE]
The reason why they skip is because every major modification he makes, he adds 0.0.1 to the version.
When he feels the gamemode is ready to be released to the public after a few changes he's made, the version has went up a few numbers.
If your going to bitch about little crap like this then its best you just sell all your accounts on ebay, then break your computer.
[QUOTE=karmaeuphoria;34326671]The reason why they skip is because every major modification he makes, he adds 0.0.1 to the version.
When he feels the gamemode is ready to be released to the public after a few changes he's made, the version has went up a few numbers.
If your going to bitch about little crap like this then its best you just sell all your accounts on ebay, then break your computer.[/QUOTE]
Do you see the date when you post?
Sorry for the slight bump. I'm running the latest DarkRP on a server mostly to toy around the code. The only cvar I can't seem to change is rp_hungerspeed. It's stuck on 0. Dragging the slider around doesn't change anything.
Looking in the code it seems to be set to 2 though.
[editline]31st July 2012[/editline]
I changed the value in the MySQL database now, I think that should solve it. I wonder why the slider in the F4 Admin tab doesn't work though.
Any news on the porting?
I'm having weird issues with the chat and scoreboard, seems that if you change your rp name, the names won't be the same in ooc, local or on the scoreboard
Hows the Beta revision fixing going? Just checked and it's still broken. Unfortunate.
[QUOTE=Hashspy;37284633]Hows the Beta revision fixing going? Just checked and it's still broken. Unfortunate.[/QUOTE]
Latest SVN is fixed and 99.9% working.
Does this install process still apply for this version of DarkRP 2.4.3?
[url]http://www.facepunch.com/showthread.php?t=669841[/url]
Simple Prop Protection isn't needed and the updated GM13 Beta link is
[URL="http://darkrp.googlecode.com/svn/branches/beta/"]http://darkrp.googlecode.com/svn/branches/beta/[/URL]
[QUOTE=Katazuro;37304474]Simple Prop Protection isn't needed and the updated GM13 Beta link is
[URL="http://darkrp.googlecode.com/svn/branches/beta/"]http://darkrp.googlecode.com/svn/branches/beta/[/URL][/QUOTE]
I read all the pages in that thread and saw it is included now, I am using that link to the SVN, thanks. Just cannot seem to get it right on a stand alone server install, I can run all the vanilla game modes with no problems. My guess is at this point that somethinhg is not quite right in the *.cfg files, I can get the "HUD" but that is about it. No F4 or FAdmin functions. rcon FAdmin Setroot (username) returns an unknown command error.
Show what's happening, it works fine for me.
[QUOTE=Katazuro;37306207]Show what's happening, it works fine for me.[/QUOTE]
This is where I think I have a problem when the server loads up.
[code]
Lua initialized (Lua 5.1)
Registering gamemode 'sandbox' derived from 'base'
[gamemodes\darkrp\gamemode\init.lua:37] attempt to call field 'AddNetworkString'
(a nil value)
[cpp]
There was a problem opening the gamemode file 'DarkRP/gamemode/init.lua'
Registering gamemode 'DarkRP' derived from 'sandbox'
ScriptEnforce is disabled
[gamemodes\darkrp\entities\entities\darkrp_laws\init.lua:62] attempt to call glo
bal 'AddChatCommand' (a nil value)
[/code]
Are you hosting this on GMod 12? if so then 2.4.3 is for gmod 13.
Use this if you are [URL="http://darkrp.googlecode.com/svn/trunk/"]http://darkrp.googlecode.com/svn/trunk/[/URL]
[QUOTE=Katazuro;37316086]Are you hosting this on GMod 12? if so then 2.4.3 is for gmod 13.
Use this if you are [URL="http://darkrp.googlecode.com/svn/trunk/"]http://darkrp.googlecode.com/svn/trunk/[/URL][/QUOTE]
Yep I finally had that pointed out to me when Falco logged on to see what was wrong. Thanks again Katazuro, you are the man in the know for sure, nice job.
Hello,
I'm having a problem with my DarkRP. I use DarkRP 2.4.2 and i've never had this problem before. Last night my DarkRP settings randomly reset to default, i then demoted all my admins to make sure it wouldn't happen again. I fixed all of the settings and then today they were reset again. It would be nice if someone could help me out on this.
Thanks,
Tyler
My problem is that I cannot install this.
I have installed to Gamemodes, but when I start SRCDS, It opens Sandbox. Help?
Sorry, you need to Log In to post a reply to this thread.