Search found 49 matches

by Lucky24
Wed Mar 13, 2013 12:51 am
Forum: Mudlet Development
Topic: modifying mudlet.cpp to add and expose a function to lua
Replies: 6
Views: 1808

Re: modifying mudlet.cpp to add and expose a function to lua

Well, lots of possible hangups and probably not worth researching. I compiled the 2.0 final, not 2.1 or your 2.0+ branch, and I'm using the old recipe for Windows' libs and QT and minGW versions. Everything else seemed to work fine for my compile before I made any changes to the source; all my scrip...
by Lucky24
Wed Mar 13, 2013 12:36 am
Forum: Mudlet Development
Topic: modifying mudlet.cpp to add and expose a function to lua
Replies: 6
Views: 1808

Re: modifying mudlet.cpp to add and expose a function to lua

Nice. Thank you. Actually, I just finally managed to get mine to stop crashing. I had to check to see if the object was actually playing first, before calling clear(). Seems to work okay for me now; dunno why calling stop() or clear() on a non-playing object would cause it to crash for me and not fo...
by Lucky24
Tue Mar 12, 2013 8:16 am
Forum: Mudlet Development
Topic: modifying mudlet.cpp to add and expose a function to lua
Replies: 6
Views: 1808

modifying mudlet.cpp to add and expose a function to lua

So, just wanted to make a simple change to the source to add the ability to silence playing sounds. However, the method crashes mudlet. I added a method to mudlet.cpp and then modified TLuaInterpreter.cpp to add an intermediary method (what I assumed needed to happen to make the method available to ...
by Lucky24
Tue Mar 12, 2013 3:46 am
Forum: Help Forum
Topic: copy()/appendBuffer()
Replies: 5
Views: 1162

Re: copy()/appendBuffer()

Note that when you use functions like selectLine(), it actually moves the mouse cursor and selects the line, so if you're doing anything else with selecting text in between it can get messed up. Also, when you delete lines it deletes the line the cursor is currently on, though I believe you can spec...
by Lucky24
Sun Mar 10, 2013 7:50 am
Forum: Help Forum
Topic: AutoQuester
Replies: 3
Views: 952

Re: AutoQuester

I had a similar parsing problem. The trick is to match the first line ("You still need to find the following:"), change the fire-length to something reasonable (the maximum number of things you might still need to find), then make two sub-triggers. Thus, the sub-triggers will fire for each subsequen...
by Lucky24
Sun Mar 10, 2013 7:36 am
Forum: Help Forum
Topic: Color Changing Gauges
Replies: 3
Views: 1123

Re: Color Changing Gauges

You do probably want labels, instead. If you only have one ore two labels you could probably simplify this a lot and just list them each seperately. The functions you'd want to call are createLabel() to create the label, resizeWindow() to set the size of the label, moveWindow() to set the position o...
by Lucky24
Sun Mar 10, 2013 6:24 am
Forum: Mudlet Development
Topic: Recipe to compile Mudlet on Windows
Replies: 60
Views: 14873

Re: Recipe to compile Mudlet on Windows

EDIT: I got it working! I had 2.0-test4 compiling successfully before using the original post's compile instructions (plus obviously the changes made to src.pro since then), but I see on 6/24/2012 there was a change from luazip to quazip made by chris. The src.pro from that point actually points to:...
by Lucky24
Sun Feb 03, 2013 5:48 am
Forum: Help Forum
Topic: Connecting to a MUD through a VPN
Replies: 3
Views: 1212

Re: Connecting to a MUD through a VPN

I just run Ubuntu in VirtualBox, and connect to my VPN via Ubuntu, and run Mudlet in Ubuntu.
by Lucky24
Wed Dec 12, 2012 10:20 pm
Forum: Mudlet Development
Topic: Debugging Ubuntu/Windows
Replies: 2
Views: 1120

Debugging Ubuntu/Windows

After an hour or so of mudlet 2.0 test4 running my scripts on both windows and ubuntu 11, it will freeze and use 100% cpu. The command line output on ubuntu doesn't show anything useful - it just says "line 2: 9322 Terminated", without a consistent line number: I've seen 9297, 8757, etc. It only hap...
by Lucky24
Wed Dec 07, 2011 12:07 pm
Forum: Howtos, FAQs and Tips & Tricks
Topic: Howto: Sync profiles using dropbox
Replies: 30
Views: 20966

Re: Howto: Sync profiles using dropbox

For windows, you can just use the free Windows Live Mesh to sync up to 5Gb of files.