RitnBaseGame

by Ritn

Base du système de jeu développé par Ritn. Base of a game system that is developed by Ritn.

Internal
2 days ago
1.1 - 2.0
4.40K
Enemies Environment

g [FIX] RitnCoreSurface:removePlayer() -> surface_index == nil

2 months ago
(updated 2 months ago)

The mod RitnBaseGame (0.6.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event RitnBaseGame::on_player_changed_surface (ID 59)
RitnCoreGame/classes/RitnSurface.lua:166: bad argument #1 of 4 to 'sub' (string expected, got nil)
stack traceback:
[C]: in function 'sub'
RitnCoreGame/classes/RitnSurface.lua:166: in function 'removePlayer'
RitnBaseGame/modules/player.lua:55: in function 'handler'
core/lualib/event_handler.lua:72: in function <core/lualib/event_handler.lua:70>

This is causing intsant crash with several character mods

/edit actually i tracked it with incompatibility with Hextorio mod, is there a way to allow compatibility?

a month ago

Hi,
Thank you for the bug report. I'll take a look at it.
It's surprising that it crashes at the indicated line, but thank you for pointing out that the Hextorio mod might be the cause.

I'll probably be able to reproduce the error and fix it.

Could you tell me what other character or character selector mods you also use?

a month ago

i cant fully remember the full list but iirc the Genshin ones, Shrek, Engineer TF2, and a couple others

a month ago

Sorry for late response btw

14 days ago

Hi,

I've finally released a fix for the RitnLib and RitnCoreGame mods.

It was indeed Hexatorio that was causing the problem with my mods.
There shouldn't be any more issues, and this has made my code more robust.

Thanks for reporting the bug; it will be helpful to others as well ;)

12 days ago

you're welcome! if anything else pops up ill report asap!

New response