LuaGlobal Improvements - help needed

User avatar
tsuujin
Posts: 695
Joined: Fri Feb 26, 2010 12:59 am
Location: California
Contact:

Re: LuaGlobal Improvements - help needed

Post by tsuujin »

I'm curious to try that out. What's a timeline on actually getting a preview?

Denarii
Posts: 111
Joined: Thu Dec 03, 2009 10:54 pm

Re: LuaGlobal Improvements - help needed

Post by Denarii »

It'll be included in the next release (you'd have to ask Heiko about when that'll be), but you can try lpeg yourself before then. It's easy enough to compile. If you're on Windows, I can give you the dll.

lex
Posts: 55
Joined: Fri May 14, 2010 2:28 pm

Re: LuaGlobal Improvements - help needed

Post by lex »

I did few changes and push it into mudlet-lua repository
  • LuaGlobal is now correctly loading Geyser (e.g. all required files in right order)
  • deleted doc folder, because it just contains outdated documentation
  • updated luadoc (mudlet-lua-doc folder)
Download links:

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

Re: LuaGlobal Improvements - help needed

Post by Vadi »

Using latest DebugTools.lua, it often chokes on printing a table with display on line 66:

]:66: attempt to index a nil value

So all it does is print me:
Code: [show] | [select all] lua
table {

Denarii
Posts: 111
Joined: Thu Dec 03, 2009 10:54 pm

Re: LuaGlobal Improvements - help needed

Post by Denarii »

I've already fixed this in my local copy, I'll push the changes.

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

Re: LuaGlobal Improvements - help needed

Post by Vadi »

Appreciated

WillFa
Posts: 19
Joined: Mon May 10, 2010 4:16 pm

Re: LuaGlobal Improvements - help needed

Post by WillFa »

Vadi, when you announced Mudlet in the Mushclient forums, Nick wished ya all the best and said that MC's open source, steal what ya want...


Can you grab his tprint, so things like tprint(Geyser) doesn't go into an infinite loop and kill the client?

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

Re: LuaGlobal Improvements - help needed

Post by Vadi »

It's alright, there are lots of functions on the net you that people post publicly for usage that one can get for this purpose.

Post Reply