Help with text in MiniConsole

fredrik
Posts: 17
Joined: Sat Apr 10, 2010 9:55 pm

Re: Help with text in MiniConsole

Post by fredrik »

Vadi wrote:That's fine, it shows the difference clearly. Thanks!
Ok.. I've just encountered something I cant figure out. I'm using the exact code I posted above and it has been working great for several days. After I restarted mudlet the script is erroring and refuses work even tho I haven't done anything to the code. The error I get is Lua syntax error:[string "setBorderBottom(30)..."]:2: attempt to index global 'Geyser' (a nil value)

[ERROR:] object:<WindowResizeEvent> function:<handleWindowResizeEvent>
<attempt to call a nil value>
[ERROR:] object:<WindowResizeEvent> function:<handleWindowResizeEvent>
<30>

I have really no clue what is going on here. If someone could try and explain what and why this is happening when the exact same code have been working perfectly for several days, I would really appreciate it.

User avatar
Vadi
Posts: 5050
Joined: Sat Mar 14, 2009 3:13 pm

Re: Help with text in MiniConsole

Post by Vadi »

Yeah, it looks like Geyser failed to load. Why I'm not sure, you didn't paste the msg at the start of Mudlet that would have said it. Maybe your computer or some software on it changed permissions on some files and Mudlet can't read it anymore.

fredrik
Posts: 17
Joined: Sat Apr 10, 2010 9:55 pm

Re: Help with text in MiniConsole

Post by fredrik »

Ahh when you mention it mudlet did crash for me, and it was after that the script stopped working. So tried a reboot of my computer and mudlet but no luck. Then I removed the profile and created a new one, same. I ended up removing mudlet and reinstalled it and now my script works again (:

Thanks again for helping out and pointing me in the right direction. If it happens again I will try and capture the crash message.

User avatar
Vadi
Posts: 5050
Joined: Sat Mar 14, 2009 3:13 pm

Re: Help with text in MiniConsole

Post by Vadi »

When Mudlet load, it says this:
Code: [show] | [select all] lua
[  OK  ]  -  mudlet-lua API & Geyser Layout manager loaded.
In your case, it would not have said that - but whatever the problem was, when Geyser was missing. That would have explained what was wrong with it :)

Post Reply