Search found 46 matches
- Thu Apr 15, 2010 5:56 pm
- Forum: Help Forum
- Topic: luasql in mudlet
- Replies: 45
- Views: 26714
Re: luasql in mudlet
Thanks for the pointers, that was incredibly silly of me. Unfortunately, attempting to add that table as suggested earler, local mydb = db:get_database("people") local persontable= {{name="Abby"}, {name="Bob"}, {name="Carlos"}} db:add(mydb.folks, persontable) ...
- Wed Apr 14, 2010 8:12 am
- Forum: Help Forum
- Topic: luasql in mudlet
- Replies: 45
- Views: 26714
Re: luasql in mudlet
db:create("people", {folks={name="", city="", enemied=0, infamous=0, mark=0, watching=0, class="", _unique= {"name" }, _violations="IGNORE" }})
- Wed Apr 14, 2010 1:28 am
- Forum: Help Forum
- Topic: luasql in mudlet
- Replies: 45
- Views: 26714
Re: luasql in mudlet
I've been using an alias to test Vadi's suggestion out: local mydb = db:get_database("people") local persontable= {name="Abby", name="Bob", name="Carlos"} db:add(mydb.folks, persontable) Then to see if it worked, I use another alias: ^find (\w+)$ local mydb = ...
- Tue Apr 13, 2010 6:20 pm
- Forum: Help Forum
- Topic: luasql in mudlet
- Replies: 45
- Views: 26714
Re: luasql in mudlet
If I do that then only the last name is added to the database- or at least it's the only one I can find when I query it. Perhaps the others are being overwritten?
- Tue Apr 13, 2010 5:52 pm
- Forum: Help Forum
- Topic: luasql in mudlet
- Replies: 45
- Views: 26714
Re: luasql in mudlet
It describes how to add tables to a database, yes. However, that's not really what I'm asking, I should have explained myself. Like tsuujin, I take in a large number of names separated by commas as a string. I then use the split function to create a table with all the names in it. It's then easy to ...
- Tue Apr 13, 2010 4:04 pm
- Forum: Help Forum
- Topic: luasql in mudlet
- Replies: 45
- Views: 26714
Re: luasql in mudlet
So if I have a table of names I want added to a database, how would I go about doing that with only a single db:add to avoid slowdown?
- Sat Mar 27, 2010 5:33 pm
- Forum: Help Forum
- Topic: Newb question
- Replies: 22
- Views: 13647
Re: Newb question
Mudlet identifies itself as 1.1.0, but I used the installer labeled 1.1.1 from the download link. Is this an oversight or am I running the older version?
- Sat Mar 27, 2010 12:57 pm
- Forum: Help Forum
- Topic: Newb question
- Replies: 22
- Views: 13647
Re: Newb question
The 'Show TimeStamps' button no longer shows its timestamps in the main window. When clicked, it changes cosmetically, but the timestamps no longer appear, and the main window does not change at all. The timestamps DO appear when scrolling back through the buffer, however.
Any ideas?
Any ideas?
- Mon Mar 22, 2010 9:14 pm
- Forum: Mudlet Development
- Topic: Mudlet Mapper
- Replies: 139
- Views: 152890
Re: Mudlet Mapper
What stage is the mapper in currently? Just looking for a ballpark estimate of when it might be considered ready to be released to the ravening masses. Two days, a year, no idea, whatever you've got.
- Fri Mar 12, 2010 11:03 pm
- Forum: Help Forum
- Topic: Newb question
- Replies: 22
- Views: 13647
Re: Newb question
Ixokai, thank you very much, that was extremely helpful.
Don't worry about what I wanted to get done with it, my question arose several times under different circumstances, and I've since resolved the problems in an entirely satisfactory way.
Don't worry about what I wanted to get done with it, my question arose several times under different circumstances, and I've since resolved the problems in an entirely satisfactory way.