makar5000

Registered Users
  • Content count

    159
  • Joined

  • Last visited


Community Reputation

39 Excellent

1 Follower

About makar5000

  • Rank
    Member

Converted

  • Location Belarus, Minsk
  • Interests Don't starve Together
  • Occupation Studying at school, I guess

Recent Profile Visitors

846 profile views
  1. Oh my god, looks sooo good! Great job!
  2. help

    Seriosly? Noone knows how to make simple widget? Is it so hard, or you just ignoring me?
  3. Try this: local _G = GLOBAL local TUNING = _G.TUNING local STRINGS = _G.STRINGS local RECIPETABS = _G.RECIPETABS local Ingredient = _G.Ingredient local TECH = _G.TECH local CUSTOM_RECIPETABS = _G.CUSTOM_RECIPETABS STRINGS.NAMES.MUSIC_TAB = "Music"--Compatibility with trnslations music_tab = AddRecipeTab(STRINGS.NAMES.MUSIC_TAB, 5, "images/hud/musictab.xml", "musictab.tex", nil, false) AddRecipe("onemanband", {Ingredient("goldnugget", 3), Ingredient("nightmarefuel", 3)}, music_tab, TECH.SCIENCE_ONE, nil, nil, nil, nil, "musician")
  4. Hey everyone! I'm trying to make a widget, that'll show up when some event in the world is pushed. I've made a widget using savindicator.lua, but I don't know how to add it to the player, and how should I open it on some event. Does anybody knows how to do it? Thanks for your replies! I can give you elegant skin, if someone'll help me! My mod is riiiight here: widget.rar
  5. Try to add inst:AddTag("monster") That should help.
  6. He did everything like I did. I have no knowledge in making components. It's going to be much harder, than I expected
  7. Hi everyone! I'm trying to make a mod, that adds clans in game. For now everything works just nicely, except saving and loading. onLoad is here: if data~= nil then inst.clan_image = data.clanimage inst.clan_name = data.clan_name end onSave: data.clan_image = inst.clan_image data.clan_name = inst.clan_name And my prefab post inits: AddPlayersPostInit(function(inst) if not inst.clanicon then inst.clanicon = SpawnPrefab("clanicon") end if inst.clanicon then --Обновляем картинку. Если не в клане, то сбросим до 0 inst.clan_image = inst.clan_image or 0 inst:AddChild(inst.clanicon) inst.clanicon.AnimState:PushAnimation("clan_"..inst.clan_image, true) end inst.clan_members_count = inst.clan_members_count or 0 inst.OnSave = OnSave inst.OnLoad = OnLoad end) My whole mod is here: clanicons.zip I've added some prints, and found that in OnLoad everything works fine, but in PrefabPostInit everything is nil... Thanks everyone for your replies!
  8. Also have a look in cannibalis mod, for drying rack.
  9. Did you tried to change default pivot? Maybe it'll help. Can you post your spriters anim and assets, to take a look?
  10. Hey everyone! I need to somehow save tags, that was added when player builded smth. For example here's my on build function: if not inst:HasTag("name_"..builder.userid) then inst:AddTag("name_"..builder.userid) end And I need to make it, so I'll be able to load this tag. Does anyone knows how to make it? Thanks for your replies!
  11. Uh... Fine. I've wasted month of work.
  12. Hello everyone! I've got my mod. If I'm starting server with not workshop version of it, it works just nicely! But if I start up my server with workshop one, noone able to eat any food. I've looked into my log, and found that: [00:00:48]: Error deserializing lua state for entity fireflies[100037] - Failed to read net var data [00:00:48]: Error deserializing lua state for entity seeds[100057] - Failed to read net var data [00:00:48]: Error deserializing lua state for entity seeds[100058] - Failed to read net var data [00:00:48]: Error deserializing lua state for entity seeds[100059] - Failed to read net var data [00:00:48]: Error deserializing lua state for entity cutgrass[100818] - Failed to read net var data [00:00:48]: Error deserializing lua state for entity stinger[100824] - Failed to read net var data [00:00:48]: Error deserializing lua state for entity flint[100826] - Failed to read net var data [00:00:48]: Error deserializing lua state for entity twigs[100830] - Failed to read net var data [00:00:48]: Deserializing tile data (450 x 450) [00:01:06]: Error deserializing lua state for entity seeds[101390] - Failed to read net var data I've never seen this problem before, and don't know what to do in this situation. I realy need help now. My mod is here: mod.rar Workshop one is here Full log is here: client_log.txt Thanks everyone for replyes. If someone'll help me, I can give you all my skins!
  13. Hello everyone. I'm trying to upload my mod to workshop, and I failed. Log saying that: 14:59:19: Steam file exists. 14:59:19: Steam FileWrite ok. 14:59:19: Start FileShare [mod_publish_data_file.zip] ... 14:59:19: Progress: Uploading mod data file... 14:59:20: OnShareModFileResult 14:59:20: EResult 10, ffffffffffffffff 14:59:20: EndProgress FAILED: Failed sharing mod data file. 14:59:20: MainFrame::OnPublishComplete FAILED: Failed sharing mod data file. I've tried to change picture and version of mod, and it still not working. My mod is here: WinRAR ZIP archive.zip Image that I used: Full log is here: Thanks everyone for your replyes!
  14. Hey everyone! Does enyone knows how to make multiple tabs in one tab, like an ancient, or cartography tab? I've used this shoptab = AddRecipeTab(STRINGS.NAMES.SHOPTAB, 949, "images/hud/shoptab.xml", "shoptab.tex", nil, false) And tryed to set 949 to 10, but nothing changed. Any ideas how to make it? Thanks everyone for help!
  15. Yeah, It's working perfectly! Many thanks! You're a genius!