Maris

Registered Users
  • Content count

    897
  • Joined

  • Last visited


Community Reputation

211 Excellent

7 Followers

About Maris

  • Rank
    Senior Member

Converted

  • Modder http://forums.kleientertainment.com/user/387212-maris/?tab=idm
  1. Mini Sign does not support items from mods.
  2. Happy New Year! I wish less bugs in next year.
  3. In modindex.lua you have: function ModIndex:InitializeModInfo(modname) local env = {} Change it please to: function ModIndex:InitializeModInfoEnv() return {} end function ModIndex:InitializeModInfo(modname) local env = self:InitializeModInfoEnv() Thanks in advance.
  4. You could add global prefabs = {} I guess
  5. recipe.lua

    self.level = level or 0 self.level.ANCIENT = self.level.ANCIENT or 0 Why 0? It's a table, isn't it?
  6. Some food mods may be incompatible. FIX: Jump implement this into the game please. Thanks in advance:
  7. Finally! Also add icons for mushrooms please.
  8. No updates for long time. Something big is coming?
  9. What exactly is done? And how much better is it now? e.g. I could host maximum for 20 players before. Can I increase this number now?
  10. True. That was an empty folder with a single txt file. Not a mod. There was not even the modinfo file.
  11. Sometimes server crashes. I have a mod with following code: mods = {} local function SearchForModsByName() if mods.active_mods_by_name then return --Already initialized. end mods.active_mods_by_name = {} if not (_G.KnownModIndex and _G.KnownModIndex.savedata and _G.KnownModIndex.savedata.known_mods) then print("ERROR COMMON LIB: Can't find KnownModIndex!") return end for name,mod in pairs(_G.KnownModIndex.savedata.known_mods) do if (mod.enabled or mod.temp_enabled or _G.KnownModIndex:IsModForceEnabled(name)) --Mod is active. and not mod.temp_disabled --And not disabled. then local real_name = mod.modinfo.name mods.active_mods_by_name[real_name] = true end end end Server crashes on line: mods.active_mods_by_name[real_name] = true with message: [00:15:25]: [string "../mods/workshop-666155465/modmain.lua"]:280: table index is nil Does it mean that mod.modinfo is real table but mod.modinfo.name is nil? Is it bug of the game or I missed something? print(mod.modinfo) -- a table print(mod.modinfo.name) -- nil I'm just trying to detect some other mods to improve compatibility with my mod.
  12. True. And I even can't find it on market. P.S. Also add plz "Head" tag to market. There is "Body", "Legs", "Hand", "Feet" but no "Head". Thanks in advance.
  13. Note that the order that items are returned is not defined for lua pairs function. It's important for your new EQUIPSLOT_IDS variable and compatibility and synchronization.