Mudlet-2.0-rc4 released
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: Mudlet-2.0-rc4 released
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.
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.
Re: Mudlet-2.0-rc4 released
table.contains is a Mudlet-added function actually.
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: Mudlet-2.0-rc4 released
Well crap, I think it's broken then.
That worked on every version since I figured the triggers out right up to rc4.
Re: Mudlet-2.0-rc4 released
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.
Re: Mudlet-2.0-rc4 released
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.
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: Mudlet-2.0-rc4 released
I exported all the relavent triggers/scripts/alias's and attached them along with the database.
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])
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.
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: Mudlet-2.0-rc4 released
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.
Re: Mudlet-2.0-rc4 released
db extensions are possible now.
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: Mudlet-2.0-rc4 released
Here's the database, and I'm using Win 7.