Mudlet-2.0 release candidates [latest: Mudlet 2.0 final]

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

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by Vadi »

That's not the case, sorry - Lucid isn't supported at the moment and installed rc1 is the latest.

redt
Posts: 36
Joined: Mon Jul 12, 2010 7:19 pm

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by redt »

Thanks Vadi,

Which release of Ubuntu supports rc5?

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

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by Vadi »

Maverick and Natty

redt
Posts: 36
Joined: Mon Jul 12, 2010 7:19 pm

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by redt »

Thanks again

redt
Posts: 36
Joined: Mon Jul 12, 2010 7:19 pm

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by redt »

Just upgraded to Maverick and still have only cr1 available from PPA. What am I doing wrong this time?

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

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by Vadi »

Your PPA probably still points to Lucid? Try removing it and re-adding: https://launchpad.net/~mudlet-makers/+a ... /+packages

Because as you'll see, the package is there.

redt
Posts: 36
Joined: Mon Jul 12, 2010 7:19 pm

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by redt »

Yes of course, that was it, thanks man, I'm such an idiot.

Lucky24
Posts: 52
Joined: Sun Sep 12, 2010 1:50 am

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by Lucky24 »

With test3, whenever my scripts try to use elipses (...) for variable length arguments, I get this error:

Lua syntax error:[string "----------------------------------..."]:82: attempt to get length of global 'arg' (a nil value)

If I assign a value to the arg global variable (say, a 1), then it will say (a number value) instead of (a nil value).

I don't get these errors in RC3.

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

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by Vadi »

arg has been depreciated, are you sure you're not using it and only ... ?

Lucky24
Posts: 52
Joined: Sun Sep 12, 2010 1:50 am

Re: Mudlet-2.0 release candidates [latest: Mudlet-2.0-rc5+]

Post by Lucky24 »

That would indeed be the problem.

I fixed it by doing:

arg = {...};

For other changes between Lua 5.0 and 5.1, I found this thread helpful:

http://www.gammon.com.au/forum/?id=7322

Thanks for the help.

BTW, this still works fine in RC3 and below...

Post Reply