#...

1 messages · Page 1 of 1 (latest)

signal olive
solar shoal
#

Explain your problem and you might get more help

signal olive
#

well when i initialize structures it gives me some weird error and nothing get executed in the last for key in pairs

#

also tm.playerUI.AddUIText(0, "comptxt", "1000", OnSetCompTxt) with function OnSetCompTxt(callbackData) and tm.playerUI.AddUIText(0, "senstxt", "1", OnSetSensTxt) with function OnSetSensTxt(callbackData)

#

don't change the values when i change the little number thing in game

#

i might just start from 0 tomorrow if i can't fix it

slender dock
#

we need to see the errors

signal olive
#

is this it?
2024-10-04T20:06:55.6881960+03:00 Failed to call update
E:/programs/steam/steamapps/common/Trailmakers/Trailmakers_Data..\mods\time mod sebi\main.lua:(35,8-57): cannot convert a userdata to a clr type System.UInt32
2024-10-04T20:06:58.4231125+03:00 Failed to call update
E:/programs/steam/steamapps/common/Trailmakers/Trailmakers_Data..\mods\time mod sebi\main.lua:(35,8-57): cannot convert a userdata to a clr type System.UInt32

#

i can also send the error from vs code

#

and the error in game is "Failed to call update"

solar shoal
signal olive
#

i'm not trying to use a player as a object, how do i fix such a thing?

#

Thanks

#

now it works

#

at least the for loops work, the ui stuff is still broken 0_0

valid wyvern
#

when the uneeded parethesis lol

valid wyvern
signal olive
#

thanks

#

on another mod i made it work fine like that, which is why i did it, tbh i don't know how on that mod it works fine

#

is there a way to delete this post?

valid wyvern
#

not entirely, only moderators can do that here

signal olive
#

all right then i'm just gonna make this the place where i do random mods

#

Sebi3000f's random mods

signal olive
#

Sebi3000f's random mods (working on a mod that makes some trophys nukes)

signal olive
#

Sebi3000f's random mods