Download Game! Currently 93 players and visitors. Last logged in:JagomanImperatorRitariNepos

BatMUD Forums > Batclient > Re: Dangerous mobs

 
 
#1
07 Apr 2012 18:05
 
 
Since I am not that fond of getting destroyed I just wrote a script that warns
me when I enter a room with a dangerous mob, the mob list is a copy from
http://batwiki.wx.fi/wiki/Desters if I missed something, it doesn't work or
anything like that. It is not my fault when you get desroyed while using this
script.

http://pastebin.com/rYgUch0H

 
Rating:
1
Votes:
1
 
 
Tugmeno
161d, 11h, 59m, 7s old
Level:
75
 
 
#2
07 Apr 2012 18:09
 
 
Quote:
Since I am not that fond of getting destroyed I just wrote a script that warns
me when I enter a room with a dangerous mob, the mob list is a copy from
http://batwiki.wx.fi/wiki/Desters if I missed something, it doesn't work or
anything like that. It is not my fault when you get desroyed while using this
script.

http://pastebin.com/rYgUch0H
somehow trigger() also triggers for empty lines, lines even without a
linebreak
at the end. Check these lines for destroyers is stupid, taking a substring
that
is one character smaller twice.

Updated version:
http://pastebin.com/bjvXDG7r

 
 
 
Tugmeno
161d, 22h, 26m, 24s old
Level:
75
 
 
#3
07 Apr 2012 18:09
 
 
sorry, small error with that check for empty lines.

next version: http://pastebin.com/WDqN3TA3


Also if you are using a different colour than green and red for normal/aggro
mobs you have to change that in line 142.

 
 
 
Tugmeno
161d, 22h, 56m, 11s old
Level:
75
 
 
#4
07 Apr 2012 18:09
 
 
Quote:
sorry, small error with that check for empty lines.

next version: http://pastebin.com/WDqN3TA3


Also if you are using a different colour than green and red for normal/aggro
mobs you have to change that in line 142.
and another version, this time not a bug fix, but I made setting the colour
for
normal/aggro mobs a bit easier.

http://pastebin.com/8YcGFwCM

 
 
 
Tugmeno
161d, 23h, 32m, 41s old
Level:
75
 
 
#5
07 Apr 2012 18:10
 
 
Quote:
sorry, small error with that check for empty lines.
Quote:
next version: http://pastebin.com/WDqN3TA3


Also if you are using a different colour than green and red for normal/aggro
mobs you have to change that in line 142.
and another version, this time not a bug fix, but I made setting the colour for
normal/aggro mobs a bit easier.

http://pastebin.com/8YcGFwCM
fixed 4 typos on batwiki's destroyer page - and with that here is also a new
version of the script
http://pastebin.com/YBhxU7ne

 
 
 
Tugmeno
163d, 17h, 26m, 10s old
Level:
76
 
 
#6
31 Jan 2013 11:28
 
 
Tugmeno wrote:
Quote:
sorry, small error with that check for empty lines.
Quote:
next version: http://pastebin.com/WDqN3TA3


Also if you are using a different colour than green and red for normal/aggro
mobs you have to change that in line 142.
and another version, this time not a bug fix, but I made setting the colour for
normal/aggro mobs a bit easier.

http://pastebin.com/8YcGFwCM
fixed 4 typos on batwiki's destroyer page - and with that here is also a new
version of the script
http://pastebin.com/YBhxU7ne
Thanks for sharing man :), i'll try it

 
 
 
Ciph
N e w b i e  H e l p e r
57d, 18h, 40m, 48s old
Level:
69