Mudlet-2.0-rc4 released

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Mudlet-2.0-rc4 released

Post by Heiko »


Yetzederixx
Posts: 186
Joined: Sun Nov 14, 2010 5:57 am

Re: Mudlet-2.0-rc4 released

Post by Yetzederixx »

Did something happen to the database functions? Every time I go to check if there are new pkr's to add on my mud with my alias, that worked fine in rc2-3, it adds everyone.

1) I've display(table)'d and it's loading the table from the database like it's supposed to on load
2) It's adding people who are new to my database, and retaining those people over a closing of mudlet

I've looked through my code and as far as I can tell the only thing that could be failing is a call to table.contains, but that's Lua not Mudlet.

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

Re: Mudlet-2.0-rc4 released

Post by Vadi »

table.contains is a Mudlet-added function actually.

Yetzederixx
Posts: 186
Joined: Sun Nov 14, 2010 5:57 am

Re: Mudlet-2.0-rc4 released

Post by Yetzederixx »

Well crap, I think it's broken then.
Code: [show] | [select all] lua
if (not table.contains(clanners, matches[3])) then 
	addPerson(matches[3], matches[2])
end
That worked on every version since I figured the triggers out right up to rc4.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Mudlet-2.0-rc4 released

Post by Heiko »

That's strange because neither table.contains() nor db.lua has been touched for a long time. Chances are quite high that it's something else. Please paste your trigger.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Mudlet-2.0-rc4 released

Post by Heiko »

Another possibility if you are on Linux: LuaJIT is being used by default in rc4 on Linux. Please check the loading screen (=green messages at the top of the login screen) for any errors with regard to loading the Lua SQL module. This doesn't work on Windows. Please use src.pro from rc3, run qmake and recompile to prevent using LuaJIT instead of regular Lua to check if LuaJIT is the reason for your db problem.

Yetzederixx
Posts: 186
Joined: Sun Nov 14, 2010 5:57 am

Re: Mudlet-2.0-rc4 released

Post by Yetzederixx »

I exported all the relavent triggers/scripts/alias's and attached them along with the database.
db_where_triggerset.trigger.xml
(9.25 KiB) Downloaded 559 times
Well it won't let me upload my db file (The extension db is not allowed.), but if you log into the mud and then type gather and then do it again you'll see.

Here is some test data, but I play at http://dsl-mud.org (dsl-mud.org:443 [or 4000])

Code: Select all

whoc
[51 Pri] [ Bloodlust ]       Chantrielle  Spiritualist     (Recruiter)
[51 Asn] [ Shalonesti ]      Seriast      Nameless        
[51 Cha] [ Shadow ]          Hajo         Dark_Knight:Legion
[51 Tra] [ Red Robes ]       Kulek        Wizard           (Leader) (Recruiter)
[51 Mag] [ Red Robes ]       Gnur         Apprentice      
[51 Asn] [ Chaos ]           Enduriel     Corrupted       
[51 Skn] [ Bloodlust ]       Jazaren      Deathknight      (Recruiter)
[51 Bla] [ Shalonesti ]      Jausin       Sha'qelas       
[51 Eld] [ Shalonesti ]      Saio         Quarlani        
[51 Enc] [ Shalonesti ]      Cline        Sage            
[51 Bla] [ Shalonesti ]      Drondon      SongMaster       (Recruiter)
[51 Asn] [ Bloodlust ]       Preshnak     Devourer        
[51 Dru] [ Bloodlust ]       Faxxor       Overlord         (Leader) (Recruiter)
[50 Bmg] [ Black Robes ]     Twizit       Magus           
[48 Asn] [ Shalonesti ]      Lothorian    Sha'qelas       
[47 Enc] [ Red Robes ]       Krys'lysk    Student         
[35 Cru] [ Knighthood ]      Kuromaru     Page            
[15 Dra] ( Dragon )          Zsivaryx     Member          
[ 5 Dra] ( Dragon )          Agnimathan   Member          
Total: 19.
Last edited by Yetzederixx on Sun May 08, 2011 1:42 am, edited 1 time in total.

Yetzederixx
Posts: 186
Joined: Sun Nov 14, 2010 5:57 am

Re: Mudlet-2.0-rc4 released

Post by Yetzederixx »

What's strange is that I had my wife uninstall rc4 and reinstall rc2 (I lost my rc3 file) and everything works as it has since 1.something when I wrote them.

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

Re: Mudlet-2.0-rc4 released

Post by Vadi »

db extensions are possible now.

Yetzederixx
Posts: 186
Joined: Sun Nov 14, 2010 5:57 am

Re: Mudlet-2.0-rc4 released

Post by Yetzederixx »

Here's the database, and I'm using Win 7.
Database_wheredb.db
(21 KiB) Downloaded 453 times

Post Reply