• Liquid DarkRP - Because Jackool Disappeared
    650 replies, posted
I hope its okay to ask here since i don't feel like making a thread about it. I am trying to make a Vin Diesel admin-only job and i use Workshop to add the addon to my server ([url]http://steamcommunity.com/sharedfiles/filedetails/?id=154035258[/url]) Now the model is indeed in the server and my client downloads it as i join, all good on that side but i need the path to where the model is located. In the addons folder you only see "ds_154035258.gma" How do i figure out the path to the model so i can actually use it as a job?
[QUOTE=darth-veger;41552728]I hope its okay to ask here since i don't feel like making a thread about it. I am trying to make a Vin Diesel admin-only job and i use Workshop to add the addon to my server ([url]http://steamcommunity.com/sharedfiles/filedetails/?id=154035258[/url]) Now the model is indeed in the server and my client downloads it as i join, all good on that side but i need the path to where the model is located. In the addons folder you only see "ds_154035258.gma" How do i figure out the path to the model so i can actually use it as a job?[/QUOTE] There are two ways I know of, first, you could extract the entire addon using [url=http://facepunch.com/threads/1173875]this[/url], alternatively, you can manually browse the model files in your addons from the spawn menu, just look at the bottom of the list of spawnlists.
[QUOTE=elowin;41552502]Have you tried restarting? For some reason FPP seems to go absolutely berserk whenever you change just about anything in the lua files, but it seems to blow over completely after a restart. [/quote] Do you have lua auto-refresh disabled? It's enabled by default, and just about anything (clientside at least) seems to get messed up when a reload is triggered. I found that the autoreload feature is more of a hassle and it's just better to change maps to make sure you're starting fresh. [QUOTE=elowin;41552502] Really? I don't see any way to do it, atleast not any easy way. And what about SENTS?[/QUOTE] In sh_qmenu.lua, you'll find two tables; [b]LDRP_SH.Tools[/b] and [b]LDRP_SH.VIPTools[/b]. These control what STOOLS people can have access to. If a tool isn't in one of those tables, then people won't see it. Also, I don't believe SENTS can be used at this time, at least in the custom qmenu.
What kind of chat system does LDRP use? Trying to get the chat bubbles from Offical DarkRP to work in this. Whats the hook / files it is located in? [code] AddCSLuaFile("shared.lua") AddCSLuaFile("cl_init.lua") include("cl_init.lua") function ENT:Initialize() self:SetModel("models/extras/info_speech.mdl") self:SetMoveType(MOVETYPE_NOCLIP) self:SetSolid(SOLID_NONE) end function ENT:Think() if not IsValid( self.ply ) then -- just in case self:Remove() return end self:SetPos( self.ply:GetPos() + Vector( 0, 0, 85 ) ) end local function ToggleChatIndicator( ply ) if not IsValid( ply.ChatIndicator ) then ply.ChatIndicator = ents.Create("chatindicator") ply.ChatIndicator.ply = ply -- plyception ply.ChatIndicator:SetPos( ply:GetPos() + Vector( 0, 0, 85 ) ) ply.ChatIndicator:Spawn() ply.ChatIndicator:Activate() else ply.ChatIndicator:Remove() end end concommand.Add("_DarkRP_ToggleChat", ToggleChatIndicator ) local function RemoveChatIndicator( ply ) if IsValid( ply.ChatIndicator ) then ply.ChatIndicator:Remove() end end hook.Add("PlayerDisconnected", "Disc_RemoveIndicator", RemoveChatIndicator ) hook.Add("KeyPress", "Move_RemoveIndicator", RemoveChatIndicator ) -- so people can't abuse the command. hook.Add("PlayerDeath", "Die_RemoveIndicator", RemoveChatIndicator ) [/code]
[QUOTE=thegtz;41559343]What kind of chat system does LDRP use? Trying to get the chat bubbles from Offical DarkRP to work in this. Whats the hook / files it is located in? [code] AddCSLuaFile("shared.lua") AddCSLuaFile("cl_init.lua") include("cl_init.lua") function ENT:Initialize() self:SetModel("models/extras/info_speech.mdl") self:SetMoveType(MOVETYPE_NOCLIP) self:SetSolid(SOLID_NONE) end function ENT:Think() if not IsValid( self.ply ) then -- just in case self:Remove() return end self:SetPos( self.ply:GetPos() + Vector( 0, 0, 85 ) ) end local function ToggleChatIndicator( ply ) if not IsValid( ply.ChatIndicator ) then ply.ChatIndicator = ents.Create("chatindicator") ply.ChatIndicator.ply = ply -- plyception ply.ChatIndicator:SetPos( ply:GetPos() + Vector( 0, 0, 85 ) ) ply.ChatIndicator:Spawn() ply.ChatIndicator:Activate() else ply.ChatIndicator:Remove() end end concommand.Add("_DarkRP_ToggleChat", ToggleChatIndicator ) local function RemoveChatIndicator( ply ) if IsValid( ply.ChatIndicator ) then ply.ChatIndicator:Remove() end end hook.Add("PlayerDisconnected", "Disc_RemoveIndicator", RemoveChatIndicator ) hook.Add("KeyPress", "Move_RemoveIndicator", RemoveChatIndicator ) -- so people can't abuse the command. hook.Add("PlayerDeath", "Die_RemoveIndicator", RemoveChatIndicator ) [/code][/QUOTE] I'm pretty sure it uses a modified version of something like gchat. Just look for lua files with the name "chat" in them, and you should find what you're looking for.
Is there a way to have the "[insert player name here] can hear you" / "no one can hear you!" thing activated. Because right now i am little worried about people not hearing me all the time because nothing indicates it.
[QUOTE=darth-veger;41570286]Is there a way to have the "[insert player name here] can hear you" / "no one can hear you!" thing activated. Because right now i am little worried about people not hearing me all the time because nothing indicates it.[/QUOTE] Isn't that an option in the config.lua file?
[QUOTE=tgp1994;41570322]Isn't that an option in the config.lua file?[/QUOTE] -- alltalk - Enable for global chat, disable for local chat. GM.Config.alltalk = false Do you mean that? Also how do you make rocks people can mine?
[QUOTE=darth-veger;41570679]-- alltalk - Enable for global chat, disable for local chat. GM.Config.alltalk = false Do you mean that? Also how do you make rocks people can mine?[/QUOTE] No, I'm pretty sure there's a config option specifically for what you were asking. Rocks can be spawned with ldrp_addrock or something of the likes. cvarlist ldrp
[QUOTE=tgp1994;41570735]No, I'm pretty sure there's a config option specifically for what you were asking. Rocks can be spawned with ldrp_addrock or something of the likes. cvarlist ldrp[/QUOTE] I checked everything in config.lua and sh_liquiddrp, i cannot find anything related into changing the chat. Also added a few bugs to Google Code page.
[QUOTE=darth-veger;41570936]I checked everything in config.lua and sh_liquiddrp, i cannot find anything related into changing the chat. Also added a few bugs to Google Code page.[/QUOTE] Huh... I know I've seen that thing before... I suppose I should ask, is alltalk entirely turned off?
[QUOTE=tgp1994;41570953]Huh... I know I've seen that thing before... I suppose I should ask, is alltalk entirely turned off?[/QUOTE] Cannot really say if i understand what you mean with alltalk, but if i talk in OOC (//) or through /advert then everyone can hear me, but in regular chat it happens that if i am a few meters away that they cannot hear me.
[QUOTE=darth-veger;41570998]Cannot really say if i understand what you mean with alltalk, but if i talk in OOC (//) or through /advert then everyone can hear me, but in regular chat it happens that if i am a few meters away that they cannot hear me.[/QUOTE] Well... I think that "who can hear me" menu only pops up when you use voice chat, isn't that the case for darkrp?
[QUOTE=tgp1994;41571007]Well... I think that "who can hear me" menu only pops up when you use voice chat, isn't that the case for darkrp?[/QUOTE] I play from time to time on 2 other DarkRP servers who both use a unmodified DarkRP and when you type you instantly see who can hear you. Its quite hard to measure who can hear you without it.
[QUOTE=darth-veger;41571092]I play from time to time on 2 other DarkRP servers who both use a unmodified DarkRP and when you type you instantly see who can hear you. Its quite hard to measure who can hear you without it.[/QUOTE] Hmm... sounds like it should be looked into then. Feel free to file a bug/feature report for this if you haven't already.
Is there any ETA when critical bugs like the mayor laws/board and the who-can-hear-you HUD are fixed? I am to afraid to open my server with these 2 things broken since these are pretty necessary for basic RP. Also is there any way to set the tutorial camera points yourself?
[QUOTE=darth-veger;41589571]Is there any ETA when critical bugs like the mayor laws/board and the who-can-hear-you HUD are fixed? I am to afraid to open my server with these 2 things broken since these are pretty necessary for basic RP. [/QUOTE] I tried assigning quentuz to one of the bug reports in the hopes that that would give him a good start, but he hasn't made a single commit, nor have I heard a peep from him since I sent a PM saying that he had access to begin commiting to the repository. It seems like he has otherwise dropped off of the face of the earth. I guess if I don't see or hear any activity from him in the next few days, I'll remove him from the project and look for someone else so this can keep going. [QUOTE=darth-veger;41589571] Also is there any way to set the tutorial camera points yourself?[/QUOTE] As a matter of fact I was just working on overhauling the tutorial system before I had to leave to college, so the new one is half done right now. Besides that though, the only way to modify the tutorial camera points is through the appropriate lua file in the liquiddrp folder (I can't remember the lua file's name, you'll know it when you see it though).
Any chance of getting an option to disable the custom chatbox? It's conflicting with my current custom one.
[QUOTE=Jarva;41590728]Any chance of getting an option to disable the custom chatbox? It's conflicting with my current custom one.[/QUOTE] At this point, I'm afraid not. Right now, we're just making sure everything is working, bringing LDRP up to date and returning it to its former glory.
I've fixed most things on my copy it's just a buggy chatbox.
[QUOTE=Jarva;41590805]I've fixed most things on my copy it's just a buggy chatbox.[/QUOTE] Well, if you've done all of that work your self, it shouldn't be too hard for you to remove the current chat box ;)
[QUOTE=Jarva;41590805]I've fixed most things on my copy it's just a buggy chatbox.[/QUOTE] Care to share?
[QUOTE=tgp1994;41590816]Well, if you've done all of that work your self, it shouldn't be too hard for you to remove the current chat box ;)[/QUOTE] I'm shit with anything to do with Derma and VGUI. I plan to post my updated version when I finish squishing the last few bugs.
[QUOTE=Jarva;41594585]I'm shit with anything to do with Derma and VGUI. I plan to post my updated version when I finish squishing the last few bugs.[/QUOTE] I recall there being a lot bugs revolving around front-end type features... But at any rate, it's not derma or VGUI you're looking for. Just find the clientside chat hooks, remove them, and you're all set.
[QUOTE=tgp1994;41559576]I'm pretty sure it uses a modified version of something like gchat. Just look for lua files with the name "chat" in them, and you should find what you're looking for.[/QUOTE] I got the chatbubbles working after browsing the code and doing some testing. :) [QUOTE=Jarva;41590805]I've fixed most things on my copy it's just a buggy chatbox.[/QUOTE] I just going to use this pchat system for now as when I tried to remove it, it just breaks everything. Let me know if you have any luck doing it.
I've managed to remove the chatbox and it works fine apart from the fact there is no prefixes for OOC etc. which there wasn't even with the chatbox.
[QUOTE=Jarva;41612041]I've managed to remove the chatbox and it works fine apart from the fact there is no prefixes for OOC etc. which there wasn't even with the chatbox.[/QUOTE] I have a OOC prefix and all the other prefixes seem to work and show up fine.
Could I get a list of all known bugs on LiquidRP? I've fixed all the bugs I know about on my copy now.
[url]https://code.google.com/p/liquid-darkrp/issues/list[/url]
[QUOTE=darth-veger;41612690][url]https://code.google.com/p/liquid-darkrp/issues/list[/url][/QUOTE] I'll start working my way through these now then I guess.
Sorry, you need to Log In to post a reply to this thread.