iLua/IMTS coding and scripting megathread
This will probably be the most boring thread on the forum, because I'm relatively certain that I'm the only one still using this architecture.
However, on the chance that I'm wrong I'm happy to help with iLua related coding. It's also likely that Lua related questions could be answered here by the Mudlet guys that might actually be better at the language than me.
0
Comments
Whyte released a module for IMTS called iLua that lets someone code Lua straight into the client, setting up their own triggers and aliases by hand. It's a very basic architecture, akin to building a house out of wood planks rather than pre-fabricated wall sections. In the end, the house looks exactly like you want it to - but it takes much longer to build.
Edit: This can be used as a general IMTS support thread if people want to use it like that, but I know absolutely nothing about fixing IMTS.
the claims are stated - it's the world I've created
the claims are stated - it's the world I've created
If it matters, I'm using Mudbot v2.6 with
http://pastebin.com/PrJMY8VA
EDIT Yes, yes, it uses sloppy lua patterns to parse things, which is A Bad Thing(tm). I never got around to cleaning it up.
I thought I had the basher lying around somewhere, but I can't find it
the claims are stated - it's the world I've created
IMTS generates a 'crash.log' file if possible whenever it crashes. Operative word(s) 'if possible', It lists in order the last function it entered before the crash.
If that isn't enough information, you might need to do it the old way and send debug messages to the console or client of the type 'i'm at line __LINE__ and all is well' until you locate it.
the claims are stated - it's the world I've created
Meanwhile, what I do instead of loading the map is unloading/loading the MODULE. Would this work for you, Dicene?
Edit: Ignore the module unload/load part. This version breaks doing that too. Which is interesting, and it is going to make me compare the whole module cvs with my (modified) working one that must be nearly 7 years old.
For whatever it is worth, free(room) doesn't likes (numbers are the vnums in the default IMap included)
In the desert. (4781).
Red-hued desert. (4793)
If you are still interested in the mapper module, I can see if my old one is compatible with this version of IMTS and release it.
I'm interested on some of the changes that Whyte did to the module, and may backport (so to speak) a couple. Maybe along the way I will find what is causing the crash.
http://stackoverflow.com/questions/12811762/dev-c-in-windows-8-gcc-internal-error
"On the battlefield I am a god. I love war. The steel, the smell, the corpses. I wish there were more. On the first day I drove the Northmen back alone at the ford. Alone! On the second I carried the bridge! Me! Yesterday I climbed the Heroes! I love war! I… I wish it wasn’t over."
Does anyone know how to make or have a source for an IMTS with only the mapper? I've used it since... probably 2 months after I started playing, but I've never had the need to mess with anything inside it.