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
[ERROR] lua/includes/modules/concommand.lua:72: attempt to call a string value
1. unknown - lua/includes/modules/concommand.lua:72 (x5)
@SajLenc
Weight is a number, things where you put a bigger number in will appear more often than things where you put a smaller number. The item name has to be GMod's internal name for the item you want; I think you can get it by right clicking things in the weapons/entities menu? At least you could back in 2014.
where do I find weight and itemname?
Bigger = more chance to spawn
@poop
How exactly isn't it working? Have you tried putting "uuis_enabled 1" in the console?
No, it works on listen/SP. In that case your console is both the server and client console.
If it's on and the uuis_* cvars all look okay, I don't know what else to say. Maybe it really is broken.
And yes, UUIS was enabled, I'm not that stupid.
If it was broken I'd *expect* an error message; if you're not getting one it's more likely you've done something wrong.
It's been literally years since I last touched this so I really don't remember how it works *exactly*. If you put "find uuis_" in the server console (important - it has to be the SERVER console) it'll show you all the commands UUIS gives you.
Have you checked that UUIS is actually turned on? What exactly happens when you try uuis_add_spawnpoint? That's designed to be used by a player, by the way, not from the server, and it puts the spawnpoint at your feet. The player using it has to be an admin.
There's also commands to add entitty-weight pairs to the list; that list is persistent (i.e. if you add an item, turn off the server or change the map, and come back, it'll still be there). Spawnpoints are persistent too, of course, though the spawnpoints are specific to the map they were added on. The files for both are in garrysmod/data/uuis/.
I'm also completely incapable of common logic so I might be missing something.
Is it perhaps possible to make a custom ent/item spawnlist as well? I would love to use this for a survival server I am working on.
Specific error message or...?
Would be great if you could add me, gamemode is near completion and it basically relies on uuis, lol
Not that I know of. Error message?
I was using the format of the command on the previous page of comments, didn't know it changed.
What happens when I add an item and check it with list.
http://puu.sh/c8fOJ/f1105e2052.png
Error message. May be incompatible with parakeet's pill pack...
http://puu.sh/c8fSa/4b9b731a10.png
After adding an item, this message comes up on every spawn attempt. Alongside this, it spews every addon with a lua/autorun folder out above it in white text.
Also, it spews out this lua error every time i type in a character:
[ERROR] lua/includes/modules/concommand.lua:89: attempt to call a string value
1. unknown - lua/includes/modules/concommand.lua:89
Can you tell me the exact command you tried?
I'm not aware of any at the moment. I've more or less stopped playing GMod, but if its a simple fix I'll likely go back and repair it.
I dunno what that broli guy's problem is.
You'll have to figure out what the entity name is for it. You might be able to find out by right-clicking on the SENT you want in the Q-Menu and clicking "Copy to Clipboard", then pasting it in the console.
So once you have it, if it was for example "darkrp_food", you'd then type (and I gave the wrong concmd in my last comment, sorry) "uuis_add_item darkrp_food 10". The number at the end is a spawn weight, and the higher it is the more often the addon will choose that item when it tries to spawn something.