• DarkRP 2.4.X
    1,868 replies, posted
Any idea why we can't get custom classes going? Added them into shared.lua. A example is below (I would wrap in tags if i knew how, Nothing in advanced reply that explains how). TEAM_PET = AddExtraTeam("Pet", Color(184,138,0,255), "models/player/soldier_stripped.mdl", [[You are a pet, get adopted!]], {"pill_headcrab"}, "pet", 3, 55, 0, true)
Sorry to be a bother but something is wrong. Now it isn't happening to me but apparently some people on my server can't see their job or salary. Others can't see a person's name when they look at them. Keep in mind I can, along with some others, still see these. Any ideas or suggestions? It seems to be working fine for them in singleplayer. I'm positive I installed correctly though.
Just get the latest SVN, I'm running it here 216.245.206.91:27015 and although I've added quite a bunch of modifications it did work without any. Also try the options in the Admin tab when you press F4, half of them features are probably things that answer your question (such as Global Tags).
[QUOTE=Cireric;19816848]Sorry to be a bother but something is wrong. Now it isn't happening to me but apparently some people on my server can't see their job or salary. Others can't see a person's name when they look at them. Keep in mind I can, along with some others, still see these. Any ideas or suggestions? It seems to be working fine for them in singleplayer. I'm positive I installed correctly though.[/QUOTE] rp_globaltags 0/1 0 = You can only see someones name/job/health when you look at them 1 = You can see their name/job/health all the time rp_showname 0/1 0 = You can never see someones name when you look at them 1 = You can see someones name when you look at them Those are the two I know of, play around with them till you get what you want, there might be other commands as well, as the guy said earlier, it's all in the admin tab of the F4 menu.
Well remember what I said before. I could still see all of these along with some others. It only affected certain people. I'm gonna give SVN a shot though.
[QUOTE=Cireric;19816848]Sorry to be a bother but something is wrong. Now it isn't happening to me but apparently some people on my server can't see their job or salary. Others can't see a person's name when they look at them. Keep in mind I can, along with some others, still see these. Any ideas or suggestions? It seems to be working fine for them in singleplayer. I'm positive I installed correctly though.[/QUOTE] Remove "framenet" from your addons folder, then restart the server.
Works fine, all errors I previously had are gone on my Dedicated Source Server. Temporary Server at 69.245.33.199:27015 if anyone wants to try it.
There should be a Paranormal Investigatior job. [url]http://www.youtube.com/watch?v=EnnnFyyBP_U&feature=video_response[/url]
[QUOTE=VGDCMario;19847254]There should be a Paranormal Investigatior job. [url]http://www.youtube.com/watch?v=EnnnFyyBP_U&feature=video_response[/url][/QUOTE] Badass Idea! We just need a random spawning ghost NPC that just walks around...
[QUOTE=Dwatring;19847962]Badass Idea! We just need a random spawning ghost NPC that just walks around...[/QUOTE] A Ghost job would be totally awesome... scare the crud out of people... hidden from the scoreboard.
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!
[QUOTE=DoomCommando;19851928]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![/QUOTE] 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.
[QUOTE=DoomCommando;19851928]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![/QUOTE] [QUOTE=Vexyl;19852834]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.[/QUOTE] [QUOTE=deadeye536;19822243]Remove "framenet" from your addons folder, then restart the server.[/QUOTE] This issue has come up countless times, and removing framenet and restarting your server has [i]always[/i] fixed it.
[QUOTE=Vexyl;19852834]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.[/QUOTE] I tried reinstalling GMod, Didn't work! [QUOTE=deadeye536;19852877]This issue has come up countless times, and removing framenet and restarting your server has [I]always[/I] fixed it.[/QUOTE] 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!:bang: :damn: 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!
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. [editline]11:07PM[/editline] That other bug, is it only with a DarkRP server, or does this happen with every gamemode? Check your console for potential output.
What the hell is framenet?
[QUOTE=deadeye536;19854695]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. [editline]11:07PM[/editline] That other bug, is it only with a DarkRP server, or does this happen with every gamemode? Check your console for potential output.[/QUOTE] Removing framenet fixed it! Thanks a ton!!! and yeah I had the MadCow SWEPs which I deleted [QUOTE=FPtje;19856802]What the hell is framenet?[/QUOTE] Deadeye536 just explained what framenet is.. lol And did you get my Steam friend request? :xd:
[QUOTE=FPtje;19856802]What the hell is framenet?[/QUOTE] Framenet was released by Conna to make networked variable more reliable. Here is the [url=http://www.facepunch.com/showthread.php?t=854829]Facepunch Release Thread[/url]. 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.
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. :v: Kill the evil villain! Use boxes as weapons!
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.
[QUOTE=ChewGum;19875343]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.[/QUOTE] Conna should not replace default values but make new ones ply:FrameNetNWInt which would cause ALOT less issues.
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
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.
[QUOTE=doctorjohndorian;19886297]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.[/QUOTE] well just to tell you im 18 i was asking about the format. i was going to make the swat admin later...
[QUOTE=justinboggs;19888329]well just to tell you im 18 i was asking about the format. i was going to make the swat admin later...[/QUOTE] [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)[/code] 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 [url=http://darkrp.megagamer.net/kit/iindex.php?i=classmaker]PHP Classmaker[/url]. I built a few features to make it easy to use and double check your work to an extent.
[QUOTE=justinboggs;19882884]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[/QUOTE] 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.
[QUOTE=deadeye536;19889168][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)[/code] 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 [url=http://darkrp.megagamer.net/kit/iindex.php?i=classmaker]PHP Classmaker[/url]. I built a few features to make it easy to use and double check your work to an extent.[/QUOTE] your classmaker doesnt work bad url
Yes! I have my name in big letters [editline]07:13AM[/editline] Deadeye: u got them of the wiki so read the rest of the wiki
[QUOTE=justinboggs;19891058]your classmaker doesnt work bad url[/QUOTE] If you looked at the URL you would find the error, anyway: [url]http://darkrp.megagamer.net/kit/index.php?i=classmaker[/url] works.
[QUOTE=justinboggs;19891058]your classmaker doesnt work bad url[/QUOTE] Ahh, my bad, typed the URL in a hurry. Trivkz replied with the correct URL. [editline]02:32PM[/editline] [QUOTE=Infinity1995;19893185]Yes! I have my name in big letters [editline]07:13AM[/editline] Deadeye: u got them of the wiki so read the rest of the wiki[/QUOTE] I'm sorry, but what are you referring to?
Sorry, you need to Log In to post a reply to this thread.