Search found 23 matches

by SilverDragon
Sat Jan 09, 2016 11:20 pm
Forum: Help Forum
Topic: Help: referencing tables for table.save/table.load
Replies: 1
Views: 2750

Re: Help: referencing tables for table.save/table.load

for anyone who is curious, or ever attempts to do the same, here's the method I found to do what I described in previous post sys = sys or {}; sys.modules = {"artemis", "archer", "lanar", "rift", "klt"}; -- rift, char status, hunting, archery, klt ln...
by SilverDragon
Fri Jan 08, 2016 1:00 am
Forum: Help Forum
Topic: Nesting labels inside Lua table structures
Replies: 4
Views: 6195

Re: Nesting labels inside Lua table structures

another possibility to test to see if a table contains a value is to just do
Code: [show] | [select all] lua
if not starmap.systems[name] then
  echo(name .. " not found! Creating system...")
end -- if
by SilverDragon
Wed Jan 06, 2016 5:22 am
Forum: Help Forum
Topic: Help: referencing tables for table.save/table.load
Replies: 1
Views: 2750

Help: referencing tables for table.save/table.load

I was finishing up a little script for saving/loading tables, when I wondered if I could make it do the tables in bulk (like with a for statement), rather than painstakingly write out lnr.save("tablename", table) for -every- table I want saved. So to do that, I made the script track the ev...
by SilverDragon
Mon Oct 13, 2014 6:40 pm
Forum: General Forum
Topic: Mudlet 3.0.0-beta (preview #2)
Replies: 115
Views: 200917

Re: Mudlet 3.0.0-beta (preview #2)

installed on a laptop with windows XP x86 running service pack 2. when opened, I get this error Mudlet.exe - Entry Point Not Found The procedure entry point sprintf_s could not be located in the dynamic link library msvcrt.dll. is this a file that's corrupted in the installer, or is that a windows ....
by SilverDragon
Tue Apr 08, 2014 4:08 pm
Forum: Help Forum
Topic: table.save/table.load with error reporting?
Replies: 2
Views: 2325

Re: table.save/table.load with error reporting?

How ironic that a single word answers my question, mostly. i never though of assert() because i had no clue what it did. But thanks to your suggestion, i did some research and i believe that is exactly what i need....now to just figure out the proper way of querying. :)
by SilverDragon
Tue Apr 08, 2014 12:01 am
Forum: Help Forum
Topic: table.save/table.load with error reporting?
Replies: 2
Views: 2325

table.save/table.load with error reporting?

So I have a couple functions to save/load tables that overlap the Mudlet functions of the same usage. function tableSave(name,tablename) if string.char(getMudletHomeDir():byte()) == "/" then _sep = "/" else _sep = "\\" end local filename = getMudletHomeDir() .. _sep .. ...
by SilverDragon
Wed Feb 12, 2014 12:55 am
Forum: Scripts & Packages
Topic: Akayan UI
Replies: 47
Views: 131282

Re: Akayan UI

I'm absolutely astounded by how incredible these gui's are. I can honestly say I'm jealous to a fault. You've definitely rekindled my desire to figure out how Vyzor works, and make my own. :) Just out of curiosity, have you even contemplated selling your designs/code? Because I'm seriously in love w...
by SilverDragon
Wed Feb 12, 2014 12:30 am
Forum: Help Forum
Topic: Help! Formatting an echo into columns
Replies: 4
Views: 4707

Re: Help! Formatting an echo into columns

I really can't thank you guys enough for your help. I was able to figure it out and get it how I wanted thanks to your tips. Might post the code later for anyone else who has been having trouble to poke at it. Thanks again! :)
by SilverDragon
Wed Feb 05, 2014 10:46 pm
Forum: Help Forum
Topic: Help! Formatting an echo into columns
Replies: 4
Views: 4707

Help! Formatting an echo into columns

Is there seriously no information on the web on how to make columns in lua? Mushy. That's been my thought for a week and a half as I try to get a simple echo populated with names from a table to echo in columns. Here's my code so far. test={"aluminum","steel","iron",&qu...
by SilverDragon
Tue Mar 08, 2011 11:13 pm
Forum: Help Forum
Topic: infuser confuser?! and help with Gui scripting.
Replies: 1
Views: 1918

infuser confuser?! and help with Gui scripting.

I managed to scrabble together a bit of code that auto infuses before every attack of mine, however it's buggy, and doesn't seem to work very well, as in, it infuses EVERY time I attack. here's how it's set up. alias: ^Infuse (\w+)$ aliassends: infuse = matches[2] echo('infusing ' .. infuse) I then ...