Mudlet-1.2.0-pre6 released

Wennef
Posts: 43
Joined: Sun Apr 11, 2010 3:48 am

Re: Mudlet-1.2.0-pre6 released

Post by Wennef »

I just installed Ubuntu Netbook 10.10 so uhm. How does one go about installing the latest pre version >.> sorry. newb here.

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

Re: Mudlet-1.2.0-pre6 released

Post by Vadi »

Don't have a package for that yet

Beliar
Posts: 19
Joined: Fri Apr 22, 2011 12:51 pm

Re: Mudlet-1.2.0-pre6 released

Post by Beliar »

Is there a bug with the database in 1.2.0-pre6?
It doesn't seem to create tables/sheets correctly.

After some research it seems that the problem is this code(line 441-454) in DB.lua. Look at line 4 (444 in the file) shouldn't it say "t[v] = k"?
Code: [show] | [select all] lua
      if sht[1] ~= nil then
         t = {}
         for k, v in pairs(sht) do
            t[v] = nil
         end
         sht = t
      else
         for k, v in pairs(sht) do
            if string.starts(k, "_") then
               options[k] = v
               sht[k] = nil
            end
         end
      end

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

Re: Mudlet-1.2.0-pre6 released

Post by Vadi »

Can you check with 2.0-rc1? That is the latest.

(ixokai wrote DB, I'm not sure myself)

Beliar
Posts: 19
Joined: Fri Apr 22, 2011 12:51 pm

Re: Mudlet-1.2.0-pre6 released

Post by Beliar »

If there is a precompiled package availabe for windows(which i will go look for as soon as i wrote this) i will check.

Actually, even if i change that line it doesn't work as it supposedly should. The code there doesn't make much sense to me.

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

Re: Mudlet-1.2.0-pre6 released

Post by Vadi »


Beliar
Posts: 19
Joined: Fri Apr 22, 2011 12:51 pm

Re: Mudlet-1.2.0-pre6 released

Post by Beliar »

Already found it, but thanks.

Database still doesn't seem to work for me.

I even tried the code in the manual/doc but its still the same. It doesn seem to create the sheets correctly.

Beliar
Posts: 19
Joined: Fri Apr 22, 2011 12:51 pm

Re: Mudlet-1.2.0-pre6 released

Post by Beliar »

Actually, i revert my statement, it does seem to work, but it only works if i use the syntax to specify default values.

Post Reply