Oxygen Not Included

Oxygen Not Included

Ei tarpeeksi arvosteluja
Lua Scripting Engine
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
192.712 KB
23.7.2019 klo 7.34
19.6. klo 18.30
83 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Lua Scripting Engine

Kuvaus
Maintainer Wanted

I cannot really continue to maintain the mods and want to pass them on.
If you want to take my mods maintain and maybe improve them please write me a message or comment.
I try to fix them from time to time on request but no warranty how long that takes i have no resources to do it frequently.

Description

This is not a Standalone mod, but a Tool and a dependency for mods that use Lua.

A Lua integration for ONI, It must be loaded before all mods that have it as dependency, best you have it at the top of you mod list.

The New version is out, you can now add entry points to your modfolder without copying the mod and you can Manipulate the map like replacing elements.

The Scripting Engine for Oxygen Not Included
is a modding tool with which you can execute lua scripts that call c# functions and classes.

Noteable features are: Manipulate buildings, Research, the mapsettings and you can directly manipulate the map.

This version contains no examples, they have moved to the configurations mod:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2014940545

The Mod files and the documentations are in:
Documents\Klei\OxygenNotIncluded\mods\Steam\1812965265

A Summary of my published mods you can find at:
https://forums.kleientertainment.com/forums/topic/113661-mods-rainbowdesigns-mods/

Troubleshoot

Steam does right now a real mess with mods.
Updates does not work properly. If the mods do not work first use the mod updater.
If the modupdater does not update too you have to download it manually from https://github.com/peterhaneve/ONIMods/releases/ModsLatest
extract ModUpdateDate to \Documents\Klei\OxygenNotIncluded\mods\dev (create if not there)

If you like the mod add it as favorite and vote it up so more people will know about it:




To support me on Patreon follow that link:
[www.patreon.com]

[www.patreon.com]
Suositut keskustelut Näytä kaikki (1)
1
18.7.2021 klo 16.05
Mods That Require Lua
kingofallsquirrels
24 kommenttia
Rainbow  [tekijä] 17.5.2021 klo 15.34 
I did update it now. Check if it works.
ViperActual 17.5.2021 klo 10.37 
Hello, I keep running into the following error, even when this mod is the only one enabled. I do have the DLC enabled when trying to start the game.

Exception while loading mod 1812965265.Steam at C:/Users/viper/Documents/Klei/OxygenNotIncluded/mods/Steam/1812965265.
System.ArgumentException: No target method specified for class LuaCore.EntryPoints+__loadworlds (declaringType=CustomGameSettings, methodName =LoadWorlds, methodType=, argumentTypes=NULL)
at Harmony.PatchProcessor.PrepareType () [0x001de] in <1b23547042994e96b8b6361dbe3791d9>:0
Rainbow  [tekijä] 9.5.2020 klo 14.20 
I think it may have troubles when two lua mods are installed, it might have a bug there, when you release a mod please notify me, i will look into it again.
blueweapon 9.5.2020 klo 8.39 
Now it works~ Thanks~
Rainbow  [tekijä] 9.5.2020 klo 8.07 
Check the new version and tell me if it works for you
blueweapon 8.5.2020 klo 22.42 
"suggest you to delete the folder and reinstall the mod" -> Typical~ I've already done it and more~ I've checked your github for up to date binary but no release there~. I've even cleared steam download cache~
LuaCore.LuaFunctions+crashandler crashes by at Harmony.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly)
Rainbow  [tekijä] 8.5.2020 klo 17.31 
On the fly i would suggest you to delete the folder and reinstall the mod, maybe you have an old file there.
The example stuff more or less has moved to the first full lua mod that is working:

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2014940545
blueweapon 8.5.2020 klo 11.54 
Error log
null Exception while loading mod 1812965265.Steam at .../Documents/Klei/OxygenNotIncluded/mods/Steam/1812965265.
System.ArgumentException: No target method specified for class LuaCore.LuaFunctions+crashandler (declaringType=KMod.Manager, methodName =HandleCrash, methodType=, argumentTypes=NULL)
at Harmony.PatchProcessor.PrepareType () [0x001de] in <1b23547042994e96b8b6361dbe3791d9>:0
at Harmony.PatchProcessor..ctor (Harmony.HarmonyInstance instance, System.Type type, Harmony.HarmonyMethod attributes) [0x00065] in <1b23547042994e96b8b6361dbe3791d9>:0
at Harmony.HarmonyInstance.<PatchAll>b__9_0 (System.Type type) [0x00023] in etc etc...
And examples are not anymore (I remember there was examples in previous versions)
LuaEntryPoint.dll has changed name to LuaEntryPoint-blueprint.dll is it correct?
Rainbow  [tekijä] 8.5.2020 klo 10.31 
Why do you think it does not work? This mod does nothing on its own only with other mods.
If you get it disabled standalone or the game crashes please send the log in the forum topic.
blueweapon 7.5.2020 klo 12.41 
Is it work after update? Mine can not load~