Jump to content

Recommended Posts

Hey all;

The character mod I created is crashing with the following. I'll spend the time to figure out the problem but for the life of me I can't really figure out where to begin. Can anyone point me in the right direction? I've already started looking into the connection with my "wolfgang.xml" big portrait and how it ties in with the widgets but I don't really see the connection, or underlying connection if there is one. I tried to recreate the .xml and .tex file with the autocompiler but no luck. Any suggestions?

 

[00:00:28]: ../mods/Ramrodicus/bigportraits/wolfgang.xml
LUA ERROR stack traceback:
        scripts/widgets/image.lua(34,1) in function 'SetTexture'
        scripts/widgets/imagebutton.lua(105,1) in function 'OnLoseFocus'
        scripts/widgets/imagebutton.lua(68,1) in function 'SetTextures'
        scripts/widgets/characterselect.lua(146,1) in function 'SetPortrait'
        scripts/widgets/characterselect.lua(20,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'CharacterSelect'
        scripts/screens/lobbyscreen.lua(249,1) in function '_ctor'
        scripts/class.lua(181,1) in function 'LobbyScreen'
        scripts/mainfunctions.lua(1259,1)
        =[C] in function 'SendResumeRequestToServer'
        scripts/prefabs/world_network.lua(26,1) in function 'fn'
        scripts/scheduler.lua(194,1) in function 'OnTick'
        scripts/scheduler.lua(406,1) in function 'RunScheduler'
        scripts/update.lua(166,1)    
[00:00:28]: Validating portal[10] <-> <nil>[10] (inactive)    
[00:03:56]: Force aborting...

 

I'm not the person to ask necessarily, but I do know that certain files such as modmain.lua and your character's .lua are very helpful in this type of issue. Looking at that might be a tad easier to people than looking at an error log.

Well, it crashes at character selection so I think it has to do with the way that the game is loading the image for selection. It was working before the caves patch about ~ 1.5 months ago? I've tried checking both lua's. Where else might I look?

Does your wolfgang.xml look like

<Atlas><Texture filename="wolfgang.tex" /><Elements><Element name="wolfgang_none.tex" u1="0.0" u2="0.546875" v1="0.296875" v2="1.0" /></Elements></Atlas>

Perhaps, if your portrait is old, you don't have the "_none".

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...