Dark and Shattered Lands (DSL) Homepage

Thorn Keep
(Owners of this keep receive the thorn aura spell effect)
Current Owners: Conclave
Conclave
Taken From: Shalonesti

The Citadel
(Owners of this  keep receive bonus saves)
Current Owners: Bloodlust
Bloodlust
Taken From: Slayers

Misery Keep
(Owners of this keep controls the veil of misery spell)
Current Owners: Conclave
Conclave
Taken From: Wargar

Current Spell Target: Slayers

Purgatory Keep
(Owners of this keep receive the Purgatory XP Bonus)
Current Owners: New_Thalos
New_Thalos
Last Owners: Verminasia

 
Thursday, September 30th Friday, October 1st Friday, October 1st
defeated 3-0  defeated 3-0  defeated 3-0
Forum Home Forum Home > Mud Client Help > Mud Client Information > Mac Client Scripts
  New Posts New Posts RSS Feed - Battle Condenser
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Battle Condenser

 Post Reply Post Reply Page  <123>
Author
Message
Hedmric View Drop Down
Private
Private
Avatar

Joined: 29 January 2012
Location: Ontario, Canada
Status: Offline
Points: 55
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hedmric Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2012 at 7:18pm
These are the errors:

[ERROR:] object:<WindowResizeEvent> function:<handleWindowResizeEvent>
         <attempt to call a nil value>
[ERROR:] object:<> function:<onConnect>
         <[string "function onConnect()..."]:9: attempt to perform arithmetic on global 
'global_chatWidth' (a nil value)>
[ERROR:] object:<Battle Damage Analyzer> function:<Trigger8>
         <[string "function Trigger8()..."]:25: bad argument #1 to 'match' (string expected, got 
nil)>
Back to Top
Hedmric View Drop Down
Private
Private
Avatar

Joined: 29 January 2012
Location: Ontario, Canada
Status: Offline
Points: 55
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hedmric Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2012 at 9:19pm
well, i've got the battle text working, and I can see stuff.  This is pretty awesome so far!!
Back to Top
RayFinkle View Drop Down
Staff Sergeant
Staff Sergeant
Avatar

Joined: 03 June 2010
Status: Offline
Points: 1057
Post Options Post Options   Thanks (0) Thanks(0)   Quote RayFinkle Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2012 at 9:45pm
Could you start working on a drunk to common translator?
Back to Top
gnome power View Drop Down
Sergeant Major
Sergeant Major
Avatar
Fear my graphs!

Joined: 02 July 2003
Location: United States
Status: Offline
Points: 14503
Post Options Post Options   Thanks (0) Thanks(0)   Quote gnome power Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2012 at 9:59pm
Originally posted by Hedmric Hedmric wrote:

well, i've got the battle text working, and I can see stuff.  This is pretty awesome so far!!

I'm glad you like it. :)

Are you still having any issues or is everything working fine?
Back to Top
Ashass View Drop Down
Sergeant
Sergeant
Avatar

Joined: 23 August 2007
Location: United States
Status: Offline
Points: 641
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ashass Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2012 at 6:58pm
#1 thing to help make this script better (and run faster, high likelyhood) is consider which components go together, and move those off into functions. That way the entire thing doesn't need to parse, and you can more easily share parts of the code without having a giant blob.

Granted, I know you're just sharing as-is, but you'll do yourself a favor later if you ever want to modify the script by moving things out into functions.
Back to Top
gnome power View Drop Down
Sergeant Major
Sergeant Major
Avatar
Fear my graphs!

Joined: 02 July 2003
Location: United States
Status: Offline
Points: 14503
Post Options Post Options   Thanks (0) Thanks(0)   Quote gnome power Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2012 at 7:04pm
Yeah, that's a good point.

I'm not a very experienced programmer, so I didn't think of it earlier.  

Thanks.
Back to Top
sifaka View Drop Down
Private
Private
Avatar

Joined: 23 January 2012
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote sifaka Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2012 at 4:06pm
Wow, this is great! I have the hp/mana/mv bars and the main console working properly, but I don't have the mini console, or the tick timer. I'm brand new to Lua, is createConsole a user defined function? I notice onConnect calls it, but I don't see it anywhere else in the text. Any advice is much appreciated!

Back to Top
gnome power View Drop Down
Sergeant Major
Sergeant Major
Avatar
Fear my graphs!

Joined: 02 July 2003
Location: United States
Status: Offline
Points: 14503
Post Options Post Options   Thanks (0) Thanks(0)   Quote gnome power Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2012 at 4:25pm
createConsole is part of the native mudlet platform.  Do you have the most updated version of mudlet?  It should be the program called Mudlet-2.0-test4.

One thing you may need to do is change the position of the miniconsole.  I have it set for my screen, but I find that if I change my window dimensions at all it messes up my positioning.  Depending on how different your window dimensions are from mine, your miniConsole may be appearing off your monitor altogether.  The way to test what dimensions you want is to make an alias that creates a miniConsole (make sure to print some text in it or you may not see it), and then fiddle with the dimensions until you can see it appear on your screen.

For the tick timer, did you change your prompt to exactly the specified format?

And, glad you like it! :D  Welcome aboard.
Back to Top
sifaka View Drop Down
Private
Private
Avatar

Joined: 23 January 2012
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote sifaka Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2012 at 5:34pm
Updating to 2.0-test4 fixed everything. Thanks!
Back to Top
gnome power View Drop Down
Sergeant Major
Sergeant Major
Avatar
Fear my graphs!

Joined: 02 July 2003
Location: United States
Status: Offline
Points: 14503
Post Options Post Options   Thanks (0) Thanks(0)   Quote gnome power Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2012 at 6:05pm
Okay cool.

By the way, if you get a chance, check out what the script does while you battlerage.  It's pretty neat, imo. :)
Back to Top
jharel View Drop Down
Sergeant First Class
Sergeant First Class
Avatar

Joined: 16 April 2005
Status: Offline
Points: 1792
Post Options Post Options   Thanks (0) Thanks(0)   Quote jharel Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2012 at 1:12pm
I want this for Cmud.. :(
Back to Top
gnome power View Drop Down
Sergeant Major
Sergeant Major
Avatar
Fear my graphs!

Joined: 02 July 2003
Location: United States
Status: Offline
Points: 14503
Post Options Post Options   Thanks (0) Thanks(0)   Quote gnome power Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2012 at 1:19pm
Convince one of the Cmud guys to write a dang Lua wrapper and it can happen.

Otherwise, just download Mudlet. It exists for most OSes.
Back to Top
jharel View Drop Down
Sergeant First Class
Sergeant First Class
Avatar

Joined: 16 April 2005
Status: Offline
Points: 1792
Post Options Post Options   Thanks (0) Thanks(0)   Quote jharel Quote  Post ReplyReply Direct Link To This Post Posted: 15 November 2012 at 11:43pm
Too true! Downloaded a mudlet client for Win 7, a bit sluggish (or I am just not used to the format).  This is a brilliant script though, congrats.
Back to Top
gnome power View Drop Down
Sergeant Major
Sergeant Major
Avatar
Fear my graphs!

Joined: 02 July 2003
Location: United States
Status: Offline
Points: 14503
Post Options Post Options   Thanks (0) Thanks(0)   Quote gnome power Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2012 at 8:46am
Awesome.  :)

I don't know about the slow-ness, it seems to work pretty well for me.  But I'm on a different OS so maybe it's not as good on Windows.
Back to Top
gnome power View Drop Down
Sergeant Major
Sergeant Major
Avatar
Fear my graphs!

Joined: 02 July 2003
Location: United States
Status: Offline
Points: 14503
Post Options Post Options   Thanks (0) Thanks(0)   Quote gnome power Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2012 at 9:27am
edit: Nevermind, was going to suggest another script but forgot I already included it into the current script.

Edited by gnome power - 16 November 2012 at 9:35am
Back to Top
Ericka View Drop Down
Master Sergeant
Master Sergeant
Avatar

Joined: 07 February 2007
Location: Sacramento, CA
Status: Offline
Points: 3207
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ericka Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2012 at 1:54pm
Question for gnome and others: What's the best way to configure Mudlet for multiple characters that use different trigs/alises? I'm guessing I should just make different alias/trig folders for each char and enable/disable them as needed.

That's one thing I definitely miss about Atlantis. The World:Character structure was really easy to use.
Aeltor OOC: 'if you werent sboosted phonivia id tear your a few new holes as a
monk'
Back to Top
Jor'Mox View Drop Down
First Sergeant
First Sergeant
Avatar

Joined: 29 July 2004
Status: Offline
Points: 8561
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jor'Mox Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2012 at 1:58pm
You could do that, or you could set up your triggers/aliases to check a variable that stores your character name/class and act accordingly.
No price is too high to pay for the privilege of owning yourself. - Friedrich Nietzsche
Back to Top
gnome power View Drop Down
Sergeant Major
Sergeant Major
Avatar
Fear my graphs!

Joined: 02 July 2003
Location: United States
Status: Offline
Points: 14503
Post Options Post Options   Thanks (0) Thanks(0)   Quote gnome power Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2012 at 3:05pm
Originally posted by Ericka Ericka wrote:

Question for gnome and others: What's the best way to configure Mudlet for multiple characters that use different trigs/alises? I'm guessing I should just make different alias/trig folders for each char and enable/disable them as needed.

That's one thing I definitely miss about Atlantis. The World:Character structure was really easy to use.

My guess is it would be pretty easy to do, just based on the fact that I already use a prompt that states the character name.

Can just make a library of names you want each trigger to function for, and have it check if the current alt is on that list at the beginning of the trigger.
Back to Top
Elathan View Drop Down
Corporal
Corporal
Avatar

Joined: 23 July 2012
Status: Offline
Points: 226
Post Options Post Options   Thanks (0) Thanks(0)   Quote Elathan Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2013 at 10:25pm
As far as the prompt goes. My current prompt has color in it and has which room I'm in named in the prompt. Is there a way to add that to the prompt you need for this script to work?
Back to Top
Elathan View Drop Down
Corporal
Corporal
Avatar

Joined: 23 July 2012
Status: Offline
Points: 226
Post Options Post Options   Thanks (0) Thanks(0)   Quote Elathan Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2013 at 10:27pm
This is my current prompt by the way:

prompt {W({x%h{W/{x%Hhp %m{W/{x%Mm %v{W/{x%Vmv{W){W-{C%e{W-{x%c{w({c%r{w|{y%S{w){R({W%d{R){c%t{W>{x%c

Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 10.17
Copyright ©2001-2013 Web Wiz Ltd.