Your Ad Here

Subscribe
 Post #41
 26th January 2010
DoomCommando's Avatar
January 2009
108 Posts
Argh.. I have a bug or something that I can't find anywhere, and nobody I know gets it.

In the HUD, Names don't show up over people's heads or in the Player List (TAB).
I can't see how much money I have or what job I have or anything in the lower left corner. All that works there is the health bar. I can see the labels there, but I cant see the amount/job name.

Please help this is very annoying and it happens on every DarkRP Server I go on, Including my own!
 Post #42
 26th January 2010
Vexyl's Avatar
April 2009
19 Posts
Argh.. I have a bug or something that I can't find anywhere, and nobody I know gets it.

In the HUD, Names don't show up over people's heads or in the Player List (TAB).
I can't see how much money I have or what job I have or anything in the lower left corner. All that works there is the health bar. I can see the labels there, but I cant see the amount/job name.

Please help this is very annoying and it happens on every DarkRP Server I go on, Including my own!
I'm not sure what's causing the problem, but deleting the garrysmod folder and restarting GMod would work. This would clear ALL custom content and you would have to redownload everything if you wanted it back. Or just reinstall GMod completely.
 Post #43
 26th January 2010
deadeye536's Avatar
February 2008
890 Posts
Argh.. I have a bug or something that I can't find anywhere, and nobody I know gets it.

In the HUD, Names don't show up over people's heads or in the Player List (TAB).
I can't see how much money I have or what job I have or anything in the lower left corner. All that works there is the health bar. I can see the labels there, but I cant see the amount/job name.

Please help this is very annoying and it happens on every DarkRP Server I go on, Including my own!
I'm not sure what's causing the problem, but deleting the garrysmod folder and restarting GMod would work. This would clear ALL custom content and you would have to redownload everything if you wanted it back. Or just reinstall GMod completely.
Remove "framenet" from your addons folder, then restart the server.
This issue has come up countless times, and removing framenet and restarting your server has always fixed it.
 Post #44
 26th January 2010 Last edited by DoomCommando; 26th January 2010 at 02:15AM..
DoomCommando's Avatar
January 2009
108 Posts
I'm not sure what's causing the problem, but deleting the garrysmod folder and restarting GMod would work. This would clear ALL custom content and you would have to redownload everything if you wanted it back. Or just reinstall GMod completely.
I tried reinstalling GMod, Didn't work!


This issue has come up countless times, and removing framenet and restarting your server has always fixed it.
I'll have to try this... Does removing this break any other addons? framenet sounds important... but I don't know... I'll back it up then try it...


In the meantime, I have another problem!
When I try to host a server with DarkRP enabled, It gets to Sending Client Info or whatever, and right when its about to finish, it just goes back to the start menu as if I clicked cancel, when I didn't!
This happens when I try to run a MP game OR a SP game! Its just as annoying as my last bug!

BTW: Thanks for the speedy reply!
 Post #45
 26th January 2010
deadeye536's Avatar
February 2008
890 Posts
The only other addon that used framenet as far as I know is MadCow's SWEPs. Without framenet, MadCow's SWEPs wont really be enjoyable to use, but framenet is what is currently causing the issues with DarkRP.

Edited:

That other bug, is it only with a DarkRP server, or does this happen with every gamemode? Check your console for potential output.
 Post #46
 26th January 2010
Gold Member
FPtje's Avatar
January 2006
4,339 Posts
What the hell is framenet?
 Post #47
 27th January 2010
DoomCommando's Avatar
January 2009
108 Posts
The only other addon that used framenet as far as I know is MadCow's SWEPs. Without framenet, MadCow's SWEPs wont really be enjoyable to use, but framenet is what is currently causing the issues with DarkRP.

Edited:

That other bug, is it only with a DarkRP server, or does this happen with every gamemode? Check your console for potential output.
Removing framenet fixed it! Thanks a ton!!! and yeah I had the MadCow SWEPs which I deleted

What the hell is framenet?
Deadeye536 just explained what framenet is.. lol
And did you get my Steam friend request?
 Post #48
 27th January 2010
deadeye536's Avatar
February 2008
890 Posts
What the hell is framenet?
Framenet was released by Conna to make networked variable more reliable. Here is the Facepunch Release Thread. You sure you don't know what it is? You replied to the thread.

Framenet is redistributed in MadCow's SWEPs, and is well known for causing issues with DarkRP.
 Post #49
 27th January 2010 Last edited by FPtje; 27th January 2010 at 01:15PM..
Gold Member
FPtje's Avatar
January 2006
4,339 Posts
Oh that. Now I remember. I didn't know that was called framenet.

Also someone is putting a horrible amount of effort in rating me dumb.
Kill the evil villain! Use boxes as weapons!
 Post #50
 27th January 2010
Gold Member
Dennab
October 2007
2,619 Posts
framenet replaces the default NW stuff and uses the framenet data table stuff so it requires everyone to have it to make it work right, which is pretty dumb.
 Post #51
 27th January 2010
GenieMan's Avatar
September 2009
25 Posts
framenet replaces the default NW stuff and uses the framenet data table stuff so it requires everyone to have it to make it work right, which is pretty dumb.
Conna should not replace default values but make new ones

ply:FrameNetNWInt which would cause ALOT less issues.
 Post #52
 27th January 2010
justinboggs's Avatar
January 2009
255 Posts
how do you get classes to work in the new darkrp i tried

TEAM_ADMIN = AddExtraTeam("Admin Police", Color(255,255,255,255), "models/Combine_Super_Soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.
]], {"Pump Shotgun", "Frag", "P90", "StunStick", "Arrest Baton", "Unarrest Baton"}, "adminpolice", 10, 20000, 1, false)

TEAM_LOCK = AddExtraTeam("Locksmith", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Break Some Locks Fix Some More Locks
]], {"weapon_pumshotgun2, lockpick"}, "locksmith", 2, 50, 0, true)

TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect
]], {"weapon_ak472, weapon_pumpshotgun2"}, "swat", 3, 300, 0, true)

TEAM_wirenerd = AddExtraTeam("Wire Nerd", Color(70,0,255,255), "models/player/group03/female_07.mdl", [[You Are A Pro At Wire, Build Wire Stuff For $$$
]], {"weapon_bugbait"}, "wirenerd", 2, 50, 0, false)

TEAM_security = AddExtraTeam("Security", Color(50,0,150,255), "models/player/group03/male_02.mdl", [[You ARE The Backup...The Security...
YOU ARE EPIC
]], {"weapon_m162"}, "sec", 3, 60, 0, false)

if im doing anything wrong plz tell me and how do you add weapons to the new rp as well thank you
 Post #53
 27th January 2010
doctorjohndorian's Avatar
July 2009
270 Posts
yes, you're doing it wrong by giving every fucking class a powerful gun.

thats why darkrp is so mingey because 10 year old admins decide to make classes that dont need to be voted for, that spawn with the best weapons.
 Post #54
 28th January 2010
justinboggs's Avatar
January 2009
255 Posts
yes, you're doing it wrong by giving every fucking class a powerful gun.

thats why darkrp is so mingey because 10 year old admins decide to make classes that dont need to be voted for, that spawn with the best weapons.
well just to tell you im 18 i was asking about the format. i was going to make the swat admin later...
 Post #55
 28th January 2010
deadeye536's Avatar
February 2008
890 Posts
well just to tell you im 18 i was asking about the format. i was going to make the swat admin later...
Code:
TEAM_ADMINPOLICE = AddExtraTeam("Admin Police", Color(255, 255, 255, 255), "models/player/combine_super_soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.]], {"weapon_pumpshotgun2", "Frag", "weapon_p90", "stunstick", "arrest_stick", "unarrest_stick"}, "adminpolice", 10, 200000, 1, false, true)

TEAM_LOCKSMITH = AddExtraTeam("Lock Smith", Color(55, 55, 55, 255), "models/player/urban.mdl", [[Break Some Locks Fix Some More Locks]], {"weapon_pumshotgun2", "lockpick"}, "locksmith", 2, 50, 0, true, false)

TEAM_SWAT = AddExtraTeam("S.W.A.T.", Color(0, 0, 153, 255), "models/player/barney.mdl", [[Raid And Protect]], {"weapon_ak472", "weapon_pumpshotgun2"}, "swat", 3, 300, 0, true, true)

TEAM_WIRENERD = AddExtraTeam("Wire Nerd", Color(70, 0, 255, 255), "models/player/group03/female_07.mdl", [[You Are A Pro At Wire, Build Wire Stuff For $$$]], {"weapon_bugbait"}, "wirenerd", 2, 50, 0, true, false)

TEAM_SECURITY = AddExtraTeam("Security", Color(50, 0, 150, 255), "models/player/group03/Male_02.mdl", [[You ARE The Backup...The Security...
YOU ARE EPIC]], {"weapon_m42"}, "security", 3, 60, 0, true, false)
Try this one on. You will need to replace "Frag" under the Admin's weapons with whatever weapon entity you are trying to use.

Please try to look over and correct issues on your own next time. The instructions within the shared.lua file is quite descriptive, make sure you read over the instructions and double check your work. If all else fails, try using my PHP Classmaker. I built a few features to make it easy to use and double check your work to an extent.
 Post #56
 28th January 2010 Last edited by connorclockwise; 28th January 2010 at 01:36AM..
connorclockwise's Avatar
January 2009
88 Posts
how do you get classes to work in the new darkrp i tried

TEAM_ADMIN = AddExtraTeam("Admin Police", Color(255,255,255,255), "models/Combine_Super_Soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.
]], {"Pump Shotgun", "Frag", "P90", "StunStick", "Arrest Baton", "Unarrest Baton"}, "adminpolice", 10, 20000, 1, false)

TEAM_LOCK = AddExtraTeam("Locksmith", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Break Some Locks Fix Some More Locks
]], {"weapon_pumshotgun2, lockpick"}, "locksmith", 2, 50, 0, true)

TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect
]], {"weapon_ak472, weapon_pumpshotgun2"}, "swat", 3, 300, 0, true)

TEAM_wirenerd = AddExtraTeam("Wire Nerd", Color(70,0,255,255), "models/player/group03/female_07.mdl", [[You Are A Pro At Wire, Build Wire Stuff For $$$
]], {"weapon_bugbait"}, "wirenerd", 2, 50, 0, false)

TEAM_security = AddExtraTeam("Security", Color(50,0,150,255), "models/player/group03/male_02.mdl", [[You ARE The Backup...The Security...
YOU ARE EPIC
]], {"weapon_m162"}, "sec", 3, 60, 0, false)

if im doing anything wrong plz tell me and how do you add weapons to the new rp as well thank you
I'm pretty sure you're instantiating the loadout of the teams incorrectly. For instance, in the first class you made,

TEAM_ADMIN = AddExtraTeam("Admin Police", Color(255,255,255,255), "models/Combine_Super_Soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.
]], {"Pump Shotgun", "Frag", "P90", "StunStick", "Arrest Baton", "Unarrest Baton"}, "adminpolice", 10, 20000, 1, false)

You specified several non existent weapon classes like 'arrest baton' when it should be "arrest_stick", same goes for 'unarrest baton', it should be "unarrest_stick". I'm not sure if the rest of those weapons exist, go to the addon you're trying to derive those sweps from and look under lua/entities/weapons and find it there for the actual class name.

Another thing,

TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect
]], {"weapon_ak472, weapon_pumpshotgun2"}, "swat", 3, 300, 0, true)

You didn't separate the ak47 and the pump shotgun. They should be two separate strings. Put quotes after weapon_ak472, and before weapon_pumpshotgun2.

Edit:Same goes for lock smith.
 Post #57
 28th January 2010
justinboggs's Avatar
January 2009
255 Posts
Code:
TEAM_ADMINPOLICE = AddExtraTeam("Admin Police", Color(255, 255, 255, 255), "models/player/combine_super_soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.]], {"weapon_pumpshotgun2", "Frag", "weapon_p90", "stunstick", "arrest_stick", "unarrest_stick"}, "adminpolice", 10, 200000, 1, false, true)

TEAM_LOCKSMITH = AddExtraTeam("Lock Smith", Color(55, 55, 55, 255), "models/player/urban.mdl", [[Break Some Locks Fix Some More Locks]], {"weapon_pumshotgun2", "lockpick"}, "locksmith", 2, 50, 0, true, false)

TEAM_SWAT = AddExtraTeam("S.W.A.T.", Color(0, 0, 153, 255), "models/player/barney.mdl", [[Raid And Protect]], {"weapon_ak472", "weapon_pumpshotgun2"}, "swat", 3, 300, 0, true, true)

TEAM_WIRENERD = AddExtraTeam("Wire Nerd", Color(70, 0, 255, 255), "models/player/group03/female_07.mdl", [[You Are A Pro At Wire, Build Wire Stuff For $$$]], {"weapon_bugbait"}, "wirenerd", 2, 50, 0, true, false)

TEAM_SECURITY = AddExtraTeam("Security", Color(50, 0, 150, 255), "models/player/group03/Male_02.mdl", [[You ARE The Backup...The Security...
YOU ARE EPIC]], {"weapon_m42"}, "security", 3, 60, 0, true, false)
Try this one on. You will need to replace "Frag" under the Admin's weapons with whatever weapon entity you are trying to use.

Please try to look over and correct issues on your own next time. The instructions within the shared.lua file is quite descriptive, make sure you read over the instructions and double check your work. If all else fails, try using my PHP Classmaker. I built a few features to make it easy to use and double check your work to an extent.

your classmaker doesnt work bad url
 Post #58
 28th January 2010
Dennab
August 2009
1,082 Posts
Yes! I have my name in big letters

Edited:

Deadeye: u got them of the wiki so read the rest of the wiki
 Post #59
 28th January 2010
Trivkz's Avatar
April 2009
400 Posts
your classmaker doesnt work bad url
If you looked at the URL you would find the error, anyway: http://darkrp.megagamer.net/kit/index.php?i=classmaker works.
 Post #60
 28th January 2010
deadeye536's Avatar
February 2008
890 Posts
your classmaker doesnt work bad url
Ahh, my bad, typed the URL in a hurry. Trivkz replied with the correct URL.

Edited:

Yes! I have my name in big letters

Edited:

Deadeye: u got them of the wiki so read the rest of the wiki
I'm sorry, but what are you referring to?
 Post #61
 28th January 2010
IWHeadHunter's Avatar
July 2009
694 Posts
I have suggestions: Make it so the Arrest baton doesn't arrest NPCs and make it so admins can disable buy health (<- not sure if its already done).
 Post #62
 28th January 2010 Last edited by connorclockwise; 28th January 2010 at 11:23PM..
connorclockwise's Avatar
January 2009
88 Posts
I'll tell ya what, do the following to remove health buying capabilities.

1.) Goto gamemode/showteamtabs.lua, delete lines 286-289.
2.) Goto gamemode/main.lua, delete lines 1179-1203.

That should both remove the f4 menu derma for buy health, and disable the chat command.

Edit:

And to remove the ability to send npcs to jail (which I thought was fun)

-Goto entities/weapons/arrest_stick/shared.lua, delete lines 83-92.

P.s.
-Shipment makers/team makers are for script kiddies.
 Post #63
 29th January 2010
NewBee's Avatar
July 2009
136 Posts
-Shipment makers/team makers are for script kiddies.
Not true, script kiddies can script.
 Post #64
 29th January 2010
Vinze's Avatar
August 2009
3,315 Posts
Isn't that what an update means?
Not if you play a game from EA...
 Post #65
 29th January 2010
Dwatring's Avatar
September 2009
574 Posts
Not if you play a game from EA...
So very true.
 Post #66
 29th January 2010
connorclockwise's Avatar
January 2009
88 Posts
Not true, script kiddies can script.
Obviously butthurt script kiddie is butthurt.
 Post #67
 29th January 2010
Drakehawke's Avatar
February 2009
707 Posts
Obviously butthurt script kiddie is butthurt.
Surely if 'script kiddies' couldn't script, then they'd be just... 'kiddies'?
 Post #68
 29th January 2010
Gold Member
FPtje's Avatar
January 2006
4,339 Posts
You are all wrong
wikipedia posted:
In hacker culture, a script kiddie, or skiddie, occasionally script bunny, skid, script kitty, script-running juvenile (SRJ), or similar, is a derogatory term used to describe those who use scripts or programs developed by others to attack computer systems and networks. It is generally assumed that script kiddies are juveniles who lack the ability to write sophisticated hacking programs or exploits on their own, and that their objective is to try to impress their friends or gain credit in computer-enthusiast communities.
 Post #69
 29th January 2010 Last edited by deadeye536; 29th January 2010 at 10:26PM.. (Typo >.<)
deadeye536's Avatar
February 2008
890 Posts
Obviously butthurt script kiddie is butthurt.
And you are a '1337 Lua scripter'? It doesn't take much to find a few lines in DarkRP related to an action and add/remove to them.

DarkRP gained its popularity mainly due to its simplicity. In DarkRP, you can make large changes to gameplay by adding or removing a few easy lines of code. Most of the people that want to run a DarkRP server aren't all going to be coders, so I made that classmaker to help further simplify the process of making classes. Sure the classmaker isn't all that complex itself, being only around 500 lines of code including HTML, but it helps keep team making questions out of the thread. So stop making yourself feel better by putting down other people. You aren't making yourself look cool, you are only making an ass out of yourself.
 Post #70
 29th January 2010 Last edited by tgp1994; 2nd February 2010 at 02:21AM..
tgp1994's Avatar
August 2008
866 Posts
Justice has been served. And back on topic, this is pretty exciting. What are the significant changes, so I don't have to scroll through the changelog for lesser changes?
 Post #71
 29th January 2010
slay3r36's Avatar
January 2010
218 Posts
Is there a way to got back the physics of money ?
because it's really hard to make an automatic gun dispenser without it

ps: sorry for my bad english
 Post #72
 30th January 2010
soccercrazy1's Avatar
August 2008
32 Posts
Hmmm... I have the file "addshipment.lua" in my gamemodes folder, but the custom shipments still don't work. Any way to fix this?

P.S. This is some sample code:
AddCustomShipment("M249", "models/weapons/w_mach_m249para.mdl", "weapon_real_cs_m249", 6000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Galil", "models/weapons/w_rif_galil.mdl", "weapon_real_cs_galil", 4000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
//AddCustomShipment("AK47", "models/weapons/w_rif_ak47.mdl", "weapon_real_cs_ak47", 4000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("M4A1", "models/weapons/w_rif_m4a1.mdl", "weapon_real_cs_m4a1", 3900, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Famas", "models/weapons/w_rif_famas.mdl", "weapon_real_cs_famas", 3900, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("AWP", "models/weapons/w_snip_awp.mdl", "weapon_real_cs_awp", 5000, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
AddCustomShipment("Scout", "models/weapons/w_snip_scout.mdl", "weapon_real_cs_scout", 4500, 10, false, 0, false, {TEAM_GUN, TEAM_ADMIN})
 Post #73
 30th January 2010
SaltyPeppr's Avatar
August 2008
438 Posts
Your ak47 is commented out, but that shouldn't break the code
 Post #74
 30th January 2010
Dennab
August 2009
1,082 Posts
And another person takes the shipment and don't read the rest of the guide
 Post #75
 30th January 2010
slay3r36's Avatar
January 2010
218 Posts
thanks a lot for Updating the svn, the money have a good physics now
 Post #76
 30th January 2010 Last edited by FPtje; 30th January 2010 at 06:00PM..
Gold Member
FPtje's Avatar
January 2006
4,339 Posts
Next SVN update is going to have:
- Less NWVars, I removed ALL NWvars related to doors just to be able to:
- add group owning doors (previously cops and mayor only, now you can make those groups yourself)

Example of how it will PROBABLY work:
Also, these are the ones that will be in there by default
AddDoorGroup("cops and mayor", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
AddDoorGroup("gundealer", TEAM_GUN)
so name, team, team, team etc.
You can have 1 team, you can have 10 teams.
 Post #77
 30th January 2010
IWHeadHunter's Avatar
July 2009
694 Posts
^ Woot!
 Post #78
 30th January 2010
soccercrazy1's Avatar
August 2008
32 Posts
And another person takes the shipment and don't read the rest of the guide
Ummm.... That is exactly how it is in the guide.
 Post #79
 30th January 2010
jimbodude's Avatar
June 2009
24 Posts
Would be really awesome if there was a way to restrict the maximum number of shipments each player could purchase.
 Post #80
 30th January 2010
Cornelisjuh's Avatar
November 2008
292 Posts
@jimbodude, DarkRP is very customizable, why dont you make it yourself :/
Reply

All times are GMT. The time now is 06:23AM.

Facepunch Studios 2010 - Server 'MARGE'