Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Fri Jul 16, 2004 10:15 pm   

Problem with color using #sub
 
When I use command #sub for changing some thx, the color from line above it, overpass the line when is using #sub.
This strange.
For better figuration I present a .bmp file:

http://fish.mac.edu.pl/~yoda/bledy.zip
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Fri Jul 16, 2004 10:17 pm   
 
This are a fragments from the hole log, that's why the thx is cut in some places
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Sun Jul 18, 2004 11:10 am   
 
I aksed some friend, the have the same problem sa maybe this is an error in command #sub?
Any ideas?
Maybe some zuggsoft guru will help.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Jul 18, 2004 4:05 pm   
 
How are we supposed to guess what your problem is without seeing the script? Please post the triggers: include patterns, values, and non-default options.

As for your picture, bledy.zip is a zip file, not a bitmap file, and I'm not going to bother downloading and opening it.
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Sun Jul 18, 2004 9:43 pm   
 
I thik the problem isn't a script, some of my friends have the same problem using their own scripts. I mean using #sub.

http://fish.mac.edu.pl/~yoda/bledy.jpg
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Sun Jul 18, 2004 9:48 pm   
 
I will tomorow past some script. Now, I'm tired.
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Sun Jul 25, 2004 8:51 am   
 
Ok. I have asked some my friends and they have the same problem.

I have triggers:

#TRIGGER {Rzucasz szybkie spojrzenie w kierunku swojego oddzialu szukajac odpowiedniego momentu i wolnej przestrzeni na zajecie pozycji. W dogodnej chwili, odpychajac tarcza * blyskawicznie zmieniasz swoja pozycje w szyku i wycofujesz sie za (*).} {#sub {%ansi(46)" > Wycofales sie za %1. < "}}

#TRIGGER {krzyczy} {#cw 15}

And now, when i get from the mud:

Brutalny czarny ork krzyczy: Na'tr n't!
Rzucasz szybkie spojrzenie w kierunku swojego oddzialu szukajac odpowiedniego momentu i wolnej przestrzeni na zajecie pozycji. W dogodnej chwili, odpychajac tarcza brutalnego czarnego orka, blyskawicznie zmieniasz swoja pozycje w szyku i wycofujesz sie za Filedila.
Brutalny czarny ork krzyczy: Wsparcie!

I get:

Brutalny czarny ork krzyczy: Na'tr n't!
> Wycofales sie za Filedila. <
Brutalny czarny ork krzyczy: Wsparcie!

It is strange. If i past this txt to the mud, it will work, but if i get it from the mud, the color from the 'krzyczy' (english - scream) will jump to the sub txt.

Many of my friends have the same problem with a different scripts.

Any ideas what to do with this?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Jul 25, 2004 7:12 pm   
 
This problem is caused by changing the number of screen-lines needed to display a MUD line. Your #SUB trigger replaces a long line with a short line. The original line is wrapped by zMUD and actually takes up several lines on the screen. When the number of lines is reduced, the color change from the #CW trigger gets applied to the wrong line.

The easiest way to fix this is to drag your #CW triggers above your #SUB triggers. Open the settings editor using the Triggers button, select the #CW trigger, and use the Up button to move it above the #SUB trigger.
NOTES:
The Up/Down buttons will only appear if your settings list is Sorted by None.
If the triggers aren't in the same class, you will need to select All Classes.
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
Yodous
Apprentice


Joined: 23 Jun 2004
Posts: 105
Location: Poland

PostPosted: Sun Jul 25, 2004 8:15 pm   
 
So if I want to protect from all triggers with #cw and #co I need to drop the sub triggers under the oders?

Thx for answer, I will check it tomorow.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net