Oxygen Not Included

Oxygen Not Included

Zbyt mało ocen
Lua Scripting Engine
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
192.712 KB
23 lipca 2019 o 7:34
19 czerwca o 18:30
Listy zmian: 83 ( zobacz )

Zasubskrybuj, aby pobrać
Lua Scripting Engine

Opis
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]
Popularne dyskusje Zobacz wszystkie (1)
1
18 lipca 2021 o 16:05
Mods That Require Lua
kingofallsquirrels
Komentarzy: 24
Rainbow  [autor] 17 maja 2021 o 15:34 
I did update it now. Check if it works.
ViperActual 17 maja 2021 o 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  [autor] 9 maja 2020 o 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 maja 2020 o 8:39 
Now it works~ Thanks~
Rainbow  [autor] 9 maja 2020 o 8:07 
Check the new version and tell me if it works for you
blueweapon 8 maja 2020 o 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  [autor] 8 maja 2020 o 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 maja 2020 o 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  [autor] 8 maja 2020 o 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 maja 2020 o 12:41 
Is it work after update? Mine can not load~