[QUOTE=executed rat;20378069]Darkrp started turning into some random mess of all things since fptje has started to develop it[/QUOTE]
Troll, ignore him.
I think I'm going to fix bugs, if any.
[QUOTE=hacksore;20376324]Line 96 of shared.lua from svn:
/unlockdown to end a lockdown]], {}, "mayor", 1, 85, 0, true, false/*, {TEAM_CHIEF, TEAM_POLICE}*/)
Notice the note(/**/)
Just thought i would point this out.[/QUOTE]
in case, if you want to the mayor need to be a cop before you just delete /* and */
its a documentation simbol.
Will you plz upload a working version of darkrp.
None of them work. Or if they do they have serious problems.
Of course when someone says "it doesn't work" it's obvious that the maker of the thing that doesn't work, knows exactly what the problem is, what the symptoms are and what the console outputs about this issue.
Users only need to provide minimal input to the developer, who has a great nose for smelling the cause of problems.
[QUOTE=FPtje;20382213]Of course when someone says "it doesn't work" it's obvious that the maker of the thing that doesn't work, knows exactly what the problem is, what the symptoms are and what the console outputs about this issue.
Users only need to provide minimal input to the developer, who has a great nose for smelling the cause of problems.[/QUOTE]
Well first of all i got the svn version. So i put in gamemodes folder. edited shared.lua to add a few custom teams. When i join the game i have 0 dollars and my and your job is nothing. You can not see the custom teams i added. As for errors i do not have any. So if you know what the problem is that would be awesome. Thanks.
Shared.lua:
[lua]
/*--------------------------------------------------------
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_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.
The Mobboss also can unarrest you.]], {"lockpick", "unarrest_stick"}, "mobboss", 1, 60, 0, false, false)
TEAM_GUN = AddExtraTeam("Gun Dealer", Color(255, 140, 0, 255), "models/player/monk.mdl", [[A gun dealer is the only person who can sell guns to other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols]], {}, "gundealer", 2, 45, 0, false, false)
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", 3, 45, 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, 45, 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_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 extra weapon>", etc...}, "<chat command to become it(WITHOUT THE /!)>", <maximum amount of this team> <the salary he gets>, 0/1/2 = public /admin only / superadmin only, <1/0/true/false Do you have to vote to become it>, true/false DOES THIS TEAM HAVE A GUN LICENSE?, TEAM: Which team you need to be to become this team)
The real example is here: it's the Hobo:
*/
--VAR without /!!! The name the color(what you see in tab) the player model The description
TEAM_HOBO = AddExtraTeam("Hobo", Color(80, 45, 0, 255), "models/player/corpse1.mdl", [[The lowest member of society. All people see you laugh.
You have no home.
Beg for your food and money
Sing for everyone who passes to get money
Make your own wooden home somewhere in a corner or
outside someone else's door]], {"weapon_bugbait"}, "hobo", 5, 0, 0, false)
//No extra weapons say /hobo to become hobo Maximum hobo's = 5 his salary = 0 because hobo's don't earn money. 0 = everyone can become hobo , false = you don't have to vote to become hobo
// MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:
// TEAM_/DUDE IS WROOOOOONG !!!!!!
// HAVING "/dude" IN THE COMMAND FIELD IS WROOOOOOOONG!!!!
//ADD TEAMS UNDER THIS LINE:
TEAM_THIEF = AddExtraTeam("Thief", Color(102,0,102,255), "models/player/arctic.mdl", [[You jack things from people. Such as money printers. You get a lockpick and keypad cracker to break in to houses.]], {"keypad_cracker", "lockpick"}, "Thief", 3, 55, 0, false, false)
Your money is always 0 when you just spawned. It's loaded after a few seconds. As for the other jobs, they should be loaded in a few seconds or within a minute maximum.
[QUOTE=LordPikachu;20379627]in case, if you want to the mayor need to be a cop before you just delete /* and */
its a documentation simbol.[/QUOTE]
Or you could just use the command in-game that toggles that option?
[editline]10:24PM[/editline]
[QUOTE=hacksore;20382499]Well first of all i got the svn version. So i put in gamemodes folder. edited shared.lua to add a few custom teams. When i join the game i have 0 dollars and my and your job is nothing. You can not see the custom teams i added. As for errors i do not have any. So if you know what the problem is that would be awesome. Thanks. [/QUOTE]
Line 146, is it just me or does that have nothing to close it above it?
Doesn't that mean you've commented out everything above it?
Add /* to line 136 and try it.
When i updated line 137 it did not even download shared.lua from server?
I can not /gundealer, /cook, etc.
And the money did not load after 60 seconds.
Any help is appreciated.
[lua]
new 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_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.
The Mobboss also can unarrest you.]], {"lockpick", "unarrest_stick"}, "mobboss", 1, 60, 0, false, false)
TEAM_GUN = AddExtraTeam("Gun Dealer", Color(255, 140, 0, 255), "models/player/monk.mdl", [[A gun dealer is the only person who can sell guns to other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols]], {}, "gundealer", 2, 45, 0, false, false)
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", 3, 45, 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, 45, 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_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 extra weapon>", etc...}, "<chat command to become it(WITHOUT THE /!)>", <maximum amount of this team> <the salary he gets>, 0/1/2 = public /admin only / superadmin only, <1/0/true/false Do you have to vote to become it>, true/false DOES THIS TEAM HAVE A GUN LICENSE?, TEAM: Which team you need to be to become this team)
The real example is here: it's the Hobo:
*/
--VAR without /!!! The name the color(what you see in tab) the player model The description
TEAM_HOBO = AddExtraTeam("Hobo", Color(80, 45, 0, 255), "models/player/corpse1.mdl", [[The lowest member of society. All people see you laugh.
You have no home.
Beg for your food and money
Sing for everyone who passes to get money
Make your own wooden home somewhere in a corner or
outside someone else's door]], {"weapon_bugbait"}, "hobo", 5, 0, 0, false)
//No extra weapons say /hobo to become hobo Maximum hobo's = 5 his salary = 0 because hobo's don't earn money. 0 = everyone can become hobo , false = you don't have to vote to become hobo
// MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:
// TEAM_/DUDE IS WROOOOOONG !!!!!!
// HAVING "/dude" IN THE COMMAND FIELD IS WROOOOOOOONG!!!!
//ADD TEAMS UNDER THIS LINE:
TEAM_THIEF = AddExtraTeam("Thief", Color(102,0,102,255), "models/player/arctic.mdl", [[You jack things from people. Such as money printers. You get a lockpick and keypad cracker to break in to houses.]], {"keypad_cracker", "lockpick"}, "Thief", 3, 55, 0, false, false)
TEAM_SADMIN = AddExtraTeam("Super Admin", Color(25,25,25,255), "models/player/Combine_Super_Soldier.mdl", [[Administrate the server by bustin down doors! OR noclip lol]], {"arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"}, "superadmin", 3, 150, 2, false, false)
TEAM_BANKER = AddExtraTeam("Banker", Color(0, 153, 255, 255), "models/player/group03/male_02.mdl", [[Keep track of stuff for others. Use the gun for safety ONLY.]], {""weapon_real_cs_glock""}, "banker", 2, 55, 0, true, true)
/*
-------------------------------------
Try replacing line 98 with
[code]
/unlockdown to end a lockdown]], {}, "mayor", 1, 85, 0, true, false, {TEAM_CHIEF, TEAM_POLICE } )
[/code]
Any chance of a new version of the FPP addon?
The current ones 202 days old..
Nevermind for me, figured out how to seperate the SVN one from DarkRP and make it into an addon.
Still might be wise to do a new standalone version for others though.
[QUOTE=Drakehawke;20389040]Any chance of a new version of the FPP addon?
The current ones 202 days old..
Nevermind for me, figured out how to seperate the SVN one from DarkRP and make it into an addon.
Still might be wise to do a new standalone version for others though.[/QUOTE]
As I seem to remember, he already has released a standalone, but I bet he hasn't updated it in awhile, like you sort of said.
Can anyone test out the svn so I can make sure it's not just me.
A new FPP revision has been released 5 days ago.
[url]http://falcospropprotection.googlecode.com/svn/trunk/[/url]
I have few problems with my own dedicated darkrp server.
When i start it up in darkrp and rp_downtown_v2, the server console gets filled with "error:gamemode: blablabla and end points always to file sv_gamemode_functions.lua.
I also get in the console immiadetly after starting it some failed to $include vmt file.
And then when i join into my server it spawns me in the middle(?) of the map where i can only get out with noclip.
Also ingame sometimes i cant see any doors or window glass, or if i see em i can walk trough em.
[QUOTE=Lt.Sam;20398945]I have few problems with my own dedicated darkrp server.
When i start it up in darkrp and rp_downtown_v2, the server console gets filled with "error:gamemode: blablabla and end points always to file sv_gamemode_functions.lua.
[b]The entire error would be helpful.[/b]
I also get in the console immiadetly after starting it some failed to $include vmt file.
[b]Usually the map's problem.[/b]
And then when i join into my server it spawns me in the middle(?) of the map where i can only get out with noclip.
Also ingame sometimes i cant see any doors or window glass, or if i see em i can walk trough em.[/QUOTE]
You seem to be missing a lot of textures. Make sure CSS is installed.
Hey FPtje I really admire DarkRP, but you seriously have to fix the svn. I am currently running 2.3.7 on my server with only one set back. I can not figure out how to add my XL Money Printer to it. I tried to add it in addshipments.lua with no luck. I know how to in the svn but it does not work. So any help would be great.
[QUOTE=hacksore;20410424]Hey FPtje I really admire DarkRP, but you seriously have to fix the svn. I am currently running 2.3.7 on my server with only one set back. I can not figure out how to add my XL Money Printer to it. I tried to add it in addshipments.lua with no luck. I know how to in the svn but it does not work. So any help would be great.[/QUOTE]
the SVN works fine ...
Whenever I go gundealer and try to buy a shipment says I have incorrect job.
Hey you should make a logo type thing for the gamemode because im puttin a logo click link on my site.
Okay so i got the svn working pretty good. Just one minor problem that i know you will have the answer to falco. My money is no-colliding with other money. What would i have to change to get the money to collide with money.
I did that on purpose so people can't lag the server with $2 packs.
look in spawned_money/init.lua for self:SetCollisionGroup(something), remove that line.
Hello,
I have a question - how to add entity like drug lab or money printer to F4 menu for selected jobs?
I can't find something in lua files.
[QUOTE=Infekted;20418219]Whenever I go gundealer and try to buy a shipment says I have incorrect job.[/QUOTE]
This was fixed a few versions ago, SVN update your DarkRP.
[editline]04:20PM[/editline]
[QUOTE=Informat6;20432274]Hello,
I have a question - how to add entity like drug lab or money printer to F4 menu for selected jobs?
I can't find something in lua files.[/QUOTE]
addentities.lua
You would find it out to make, pocket save the stuffs? :yoshi:
[QUOTE=FPtje;20431556]I did that on purpose so people can't lag the server with $2 packs.
look in spawned_money/init.lua for self:SetCollisionGroup(something), remove that line.[/QUOTE]
That worked perfectly. So i have another question. Do you know why my job and money are frozen but every one Else's in the server is fine. The money works fine, i can drop it and pick it up. When i drop 200, then pick it up it says you have picked up 200 dollars with no effect to my wallet, which is frozen a like 1770. Same when i change job it just stays citizen when i go to gun-dealer. Oh and the money is actually working like i can run out just the hud is not updating or doing anything. No errors either so idk. Any Ideas?
How i can add my own custom jobs to teams like Cops or Gangsters? Like: Custom job like SWAT for CP-team, so you have Police menu and you can talk in /g with cops and the mayor.
[QUOTE=SlayerFin;20439694]How i can add my own custom jobs to teams like Cops or Gangsters? Like: Custom job like SWAT for CP-team, so you have Police menu and you can talk in /g with cops and the mayor.[/QUOTE]
You have awful grammar.
after you finish darkrp what kind of roleplay gamemode you going to make next
[QUOTE=hacksore;20438905]That worked perfectly. So i have another question. Do you know why my job and money are frozen but every one Else's in the server is fine. The money works fine, i can drop it and pick it up. When i drop 200, then pick it up it says you have picked up 200 dollars with no effect to my wallet, which is frozen a like 1770. Same when i change job it just stays citizen when i go to gun-dealer. Oh and the money is actually working like i can run out just the hud is not updating or doing anything. No errors either so idk. Any Ideas?[/QUOTE]
Do you have "framenet" in your addons folder? Remove this addon if you have it, as it causes issues with DarkRP.
[QUOTE=Killerjas;20419312]Hey you should make a logo type thing for the gamemode because im puttin a logo click link on my site.[/QUOTE]
I kinda sorta made one... it's simple and straighforward, with teh sill gui breen in the background. Hope you like :)
[img]http://darkrp.megagamer.net/styles/acidtech/imageset/banner.jpg[/img]
Sorry, you need to Log In to post a reply to this thread.