Aculem Posted January 25, 2021 Report Share Posted January 25, 2021 (edited) A fairly simple mod that adds some functionality to chairs and the Omok board. Simply interact with chairs in order to sit on them and interact/destroy them to get off. They'll orient to a table if there's one adjacent to the chair. Interact with the grid spots on the board to place pieces. Press tool select mode (Default: 'F') to open the GUI to start a new one or two player game. (Two Player is untested, let me know if there's any bugs!) Thanks to DArkHekRoMaNT for helping me fix the textures and DearFox for providing language files, everything should work properly now! Source Code: https://github.com/NationsAtWar/vs-omok omok_v0.4.0.zip Edited February 11, 2021 by Aculem Updated release 7 2 1 Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted January 26, 2021 Report Share Posted January 26, 2021 9 minutes ago, Aculem said: but unfortunately the JSON patcher won't let me replace their texture. Just place it in assets/game/<full-vanilla-path> of your mod. It will replace the vanilla asset. 1 Link to comment Share on other sites More sharing options...
Aculem Posted January 26, 2021 Author Report Share Posted January 26, 2021 4 hours ago, DArkHekRoMaNT said: Just place it in assets/game/<full-vanilla-path> of your mod. It will replace the vanilla asset. Oh wow, got so hung up on trying to use json patches, didn't even bother to think of another approach. Thanks, works like a charm! Updated the mod and added a recipe as well. 1 Link to comment Share on other sites More sharing options...
DearFox Posted January 26, 2021 Report Share Posted January 26, 2021 This is a very cool mod! I've been waiting for such x) Here are the language files for Russian and Ukrainian. ru.json uk.json 1 Link to comment Share on other sites More sharing options...
Aculem Posted January 26, 2021 Author Report Share Posted January 26, 2021 9 hours ago, DearFox said: This is a very cool mod! I've been waiting for such x) Here are the language files for Russian and Ukrainian. Thank you! Updated the mod with the language files, and added some sounds too. 1 Link to comment Share on other sites More sharing options...
Tech_Rabbit Posted January 27, 2021 Report Share Posted January 27, 2021 Love the idea of the mod but my server players are complaining about some inconsistencies such as it doesn't "end" the game, it's a little hard to get out of seats etc. Also we have a very nasty server crash from the mod (see attached). message (9).txt Link to comment Share on other sites More sharing options...
Aculem Posted January 27, 2021 Author Report Share Posted January 27, 2021 (edited) 3 hours ago, Tech_Rabbit said: Love the idea of the mod but my server players are complaining about some inconsistencies such as it doesn't "end" the game, it's a little hard to get out of seats etc. Also we have a very nasty server crash from the mod (see attached). Just today got a second account so I could test this in multiplayer and found a whole multitude of issues! Luckily managed to fix most of them in patch v0.3.4. The chairs still don't work as intended in multiplayer but it should at least stop crashing now. Also, is that the right log? Those errors don't seem to pertain to this mod. Edited January 27, 2021 by Aculem Link to comment Share on other sites More sharing options...
DearFox Posted January 27, 2021 Report Share Posted January 27, 2021 When I start the game with this mod, a file "harmony.log.txt" is created on my desktop It's not very convenient when the log files are on the desktop .. Link to comment Share on other sites More sharing options...
Tech_Rabbit Posted January 27, 2021 Report Share Posted January 27, 2021 7 hours ago, Aculem said: Just today got a second account so I could test this in multiplayer and found a whole multitude of issues! Luckily managed to fix most of them in patch v0.3.4. The chairs still don't work as intended in multiplayer but it should at least stop crashing now. Also, is that the right log? Those errors don't seem to pertain to this mod. Sorry, here is the correct crash: Version: v1.14.7 (Stable)1/26/2021 8:03:43 PM: Critical error occurred System.NullReferenceException: Object reference not set to an instance of an object. at AculemMods.PlayerManager.GetPlayerData(IPlayer player) at AculemMods.OnEntityGameTick.Prefix(EntityBehaviorPlayerPhysics __instance, Entity entity, Single dt) at Vintagestory.GameContent.EntityBehaviorPlayerPhysics.GameTick_Patch1(EntityBehaviorPlayerPhysics this, Entity entity, Single dt) at Vintagestory.GameContent.EntityBehaviorPlayerPhysics.onPhysicsTick(Single deltaTime) at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime) at _XJ8aPSlEBe0PiHYbVJEdfXv1yjvA._Kgao3H1tkjUV97mMFigKazMDiUo(Single ) at _QXfAdKxrJ1KaNtwiV64JU2IvnpC._cl7z8c5uEEaIF1fo0XdijiZbRYk(Single ) at _QXfAdKxrJ1KaNtwiV64JU2IvnpC._peV5mb21IaSJTAYBddj4gA99BDo(Single ) at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) at OpenTK.GameWindow.DispatchRenderFrame() at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) at _03wQBzfCnykaMLiRGgbQzrKOcn3._QN2fpVgRVBDOLs27GIkkdMlxeKf(_a9AJZVMB0wcgfRPD19VvLtZCbaX , String[] ) at _NdjU5BXvKkfOW2d88pNMbEAjE1q._QN2fpVgRVBDOLs27GIkkdMlxeKf(ThreadStart ) Link to comment Share on other sites More sharing options...
Aculem Posted January 27, 2021 Author Report Share Posted January 27, 2021 10 hours ago, DearFox said: When I start the game with this mod, a file "harmony.log.txt" is created on my desktop It's not very convenient when the log files are on the desktop .. My bad! That was for debugging purposes. Shouldn't do it as of v0.3.4 9 hours ago, Tech_Rabbit said: Sorry, here is the correct crash: Yeah, I was getting that crash too when a second person joined a server. Should also be fixed as of v0.3.4 Link to comment Share on other sites More sharing options...
Melchior Posted January 30, 2021 Report Share Posted January 30, 2021 an Instant Classic. Any thought given to use chosen game rules; like Free-Play (just move pieces around board as you like) Go Checkers Ect... Or even have rules from pre-defined configuration files, defining start/victory conditions and valid/invalid moves (assuming 2 player games). [Not AI - just computer enforced "correct" moves for players...sometimes the mouse slips and the wrong piece moves afterall ] 5 Link to comment Share on other sites More sharing options...
RogueRaiden Posted February 3, 2022 Report Share Posted February 3, 2022 Any chance for an update to 1.16.3 and uploading to the database? Was looking for exactly this! Link to comment Share on other sites More sharing options...
Lumber Jackson Posted February 12, 2022 Report Share Posted February 12, 2022 Can you define "intereact"? Do you mean right click on the chair? If so it's not working in 1.16.3. I can't seem to sit at the chair and start a game. The board is clear of pieces, so at least it seems to be trying to work. Link to comment Share on other sites More sharing options...
Recommended Posts