Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
[Defcon HUD [Customizable ingame]] lua/includes/extensions/net.lua:154: bad argument #1 to 'pairs' (table expected, got string)
1. pairs - [C]:-1
2. WriteTable - lua/includes/extensions/net.lua:154
3. DoClick - lua/autorun/client/cl_yc_defconhud.lua:1403
4. OnMouseReleased - lua/vgui/dlabel.lua:237
5. unknown - lua/vgui/dmenuoption.lua:77
[Defcon HUD [Customizable ingame]] lua/includes/extensions/net.lua:111: bad argument #1 to 'pairs' (table expected, got string)
1. pairs - [C]:-1
2. WriteTable - lua/includes/extensions/net.lua:111
3. DoClick - lua/autorun/client/cl_yc_defconhud.lua:1403
4. OnMouseReleased - lua/vgui/dlabel.lua:237
5. unknown - lua/vgui/dmenuoption.lua:76
The other addon might block the defcon system to load properly.
So please make sure to test addon one by one if needed.
I've downloaded the addon and it works correctly. Can you guys explain me what you've done to get this ?
@ExlandLive, if you know a bit of lua and can extract the addon to edit it. You might find the code used for the init in "lua/autorun/server/sv_yc_defconhud.lua" and then at the block's code from line 441 to 456 is the right one. Change boolean values regarding the right defcon you want.
Otherwise, we will see if we can implement it into the configuration itself.
[Defcon HUD [Customizable ingame]] lua/includes/extensions/net.lua:103: bad argument #1 to 'pairs' (table expected, got string)
1. pairs - [C]:-1
2. WriteTable - lua/includes/extensions/net.lua:103
3. DoClick - lua/autorun/client/cl_yc_defconhud.lua:1403
4. OnMouseReleased - lua/vgui/dlabel.lua:237
5. unknown - lua/vgui/dmenuoption.lua:76
We can maybe handle that in private later so you can have a custom version.
I highly doubt that the issue is coming from this addon, it does not conflict with "Ulx".
Anyway, i do hear you. You may have to do some tests first before making any conclusions like this.
Have you tried to use this mod alone with ulx on your server ? You might need to do so in order to target the real issue. I'm pretty sure that you will find out that it was coming from somewhere else.
I'm also a bit surprised as you've noticed some other person who downloaded haven't got any issue which makes me think again that it comes from your side.
"BUT", everything is possible and if you can't find any proper solution, i might be here to help you find out.
I am the head staff of our SCP RP server "Project Gladiator" with an issue, it appears that this mod has broken everything on our server, including ULX. This is a big issue which will only allow us to move around, do local chat, and noclip. Because of this, I ask that you could potentially help come up with a fix to this issue, any sort of potential assistance will be highly appreciated, thank you for your time.
It sounds like a conflict regarding chat commands. An other addon might be overriding stuff or block chat commands.
I've just tested it out and no issues on my hand.
You might need to isolate and find the addon responsible for this conflict by your own...
Think about what addon you've added since the problem appeared.
My Imperial RP server seems to have an issue. If you don't mind aiding us that would be most appreciated. When we first added the addon to the server it worked great and as expected, but not too long ago it stopped working. Yet it's bizarre to me as to what is wrong since the DEFCONs are still displayed properly in the location I set them too and with all the configurations I set, but when I try to change the DEFCON it doesn't work nor does the admin command to open the configuration in-game. I've already tried swapping my rank to superadmin instead of a rank that inherits from superadmin only to receive the same result. I truly have no clue what the issue might be at this point and I've already done an entire reinstallation of the addon just to make sure to no avail. Any help would be greatly appreciated.
The only thing about rank restriction is who can access to the defcon menu config.
I'm using default gmod admin check functions :
IsAdmin [wiki.facepunch.com]
IsSuperAdmin [wiki.facepunch.com]
The question is more about, does serverguard use default gmod admin check functions ? i cannot answer that for you, need to ask the author.
I would advise you to read the last comments here, some people asked the same question and i have answered.
To sum up, you need to know the custom path sound (a sound that is download into the server through a content), then set the sound path into the config.
If you still can't manage it, come back to me and we will figure it out.
Config is ingame and accessible from the following chat command :
/defcon menu
#It was in the description though...
I have a question. me and a friend want to insert our own sound into defcon but we can’t find it out how.
I've got nothing to do with that.
I mean if you're currently unsubscribed to the addon then there is no reason you have it within your sandbox and so on.
The only possible reason is that you're subscribed to a custom content of a server which has included this addon into it, search for it and unsubscribe.
That's it, i can't do more. Don't blame me for the content you're subscribing to.
It has been done in the last release.
It means there is something wrong either with your content pack or with the sound path you're putting into the menu.
Let's do an example :
__1. Upload content example __
I've subscribed to the following addon : https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=495762961
There is some vehicles sounds into it, i've took for example the following sound :
"sounds/vehicles/slave1_fly_loop.wav"
__2. Config it properly __
I've then put vehicles/slave1_fly_loop.wav into the config menu and SAVE it.
__3. When i change the defcon it plays the sound __
That's it for the example, hope you can manage it by yourself.
I followed your steps, to change the sound to costum sounds.
I have a Content Pack what inclued a sound.wav but it doesent work on the server.
You can follow the following steps :
1. Upload sounds content on the workshop
You should upload a content including sounds in it.
For example upload a folder such as "content/sound/yoursound.wav".
2. Use the path of that content to fill the "defcon" config sound input
Copy paste it into the config menu.
If the path is correct it will be played at each level changes. Otherwise if you don't hear anything, it means the path is incorrect.
For example, if you've uploaded "content/sound/yoursound.wav" ==> the path will be "yoursound.wav"
You need to know where you sounds files are located and then get the file path of the sound to copy paste it into the config menu.
If the path is correct it will be played at each level changes. Otherwise if you don't hear anything, it means the path is incorrect.
Process info : go to the main menu /defcon menu then go in the Hud main settings tab and change the "level sound path",don't forget to save.
There are three people asking for that, i might think about doing it whenever i can.
I do not know your sounds location, you need to know where your sounds are located...
Usually that's somewhere in the sounds/ folder (in your scripts/addons and so on)
Once you've found them, copy paste the path into the config menu.
It might be a good idea, will try to implement it.
if you've got already a sound ready then do the following steps :
1. /defcon menu
2. go to the "Main settings"
3. type the path of the sound you've got such as "mysounds/customsound.mp3"
4. save the config
To add features, i need to feel that all of you guys want it.
For example, several people ask for colors customizations so i've added it.
Optional text under the defcon and can be edited?
It has been fixed, you need to make your server mounting the addon again and refresh.
Or change the HUD design, it only happens with the "simple" design.
Let me know about it.
[Defcon HUD [Customizable ingame]] lua/autorun/client/cl_yc_defconhud.lua:251: attempt to index global 'd_color' (a nil value)
1. fn - lua/autorun/client/cl_yc_defconhud.lua:251
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109