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
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Thu May 02, 2002 12:10 am   

Portals
 
I have only found one way to get zmud mapper to follow me through portals (besides always typing the whole exit name) and that is to get a trigger to go off when it displays me entering the portal, and most of the time this works. but in certain cases when the enter message is the exact same both ways it sends me into a loop going from one location to the other... and ideas?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu May 02, 2002 4:42 am   
 
quote:

I have only found one way to get zmud mapper to follow me through portals (besides always typing the whole exit name) and that is to get a trigger to go off when it displays me entering the portal, and most of the time this works. but in certain cases when the enter message is the exact same both ways it sends me into a loop going from one location to the other... and ideas?



Do you have Trigger on Trigger turned on? That's probably why you get the loop. This SHOULD demolish the loop itself, but if not you'll have to do something a little more elaborate.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Thu May 02, 2002 6:29 am   
 
I'm sure that would help, but i don't know how to turn off Trigger on Trigger for triggers that are part of a room script. i tried opening the folder _MapperRoom that gets created while you are in that room and doing it from there but it never saves it.
Reply with quote
Sildaren
Wanderer


Joined: 19 Jul 2001
Posts: 59
Location: Germany

PostPosted: Thu May 02, 2002 8:13 am   
 
Have you tried trigger options:
eg.
#TRIGGER {pattern here$} {command here} "testclass" {notrig}
creates a trigger with 'Trigger on Trigger' turned off
(At least it does in the v6.26a. I'm not sure if the current public version still uses the numeric parameter for trigger options)
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu May 02, 2002 11:41 am   
 
Yeah, it does so too in the public version.

Kjata
Reply with quote
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Fri May 03, 2002 6:14 am   
 
Thanks very much, that works nicely!
Reply with quote
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Mon May 06, 2002 12:17 am   
 
I didn't really notice this right away but it seems that that only works for one way. it makes a class with a trigger "You enter a ring of magical mushrooms." but whenever i try and go back it sends me there but automatically sends me back... any ideas?
Reply with quote
Sildaren
Wanderer


Joined: 19 Jul 2001
Posts: 59
Location: Germany

PostPosted: Mon May 06, 2002 5:12 pm   
 
First make sure you have the {notrig} option in the roomscripts on both sides of the portal,
second use _MapperRoom as class, so the mapper recognizes the trigger as a roomscript when leaving the room, and removes it.

If that doesn't help post the complete triggers for both sides of the portal here, as well as the mud output it triggers on.
That way we get a better feeling for what happens with your scripting.
Reply with quote
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Thu May 09, 2002 4:37 am   
 
That sounds like a good idea sildaren but when i change the class from "testclass" to "_MapperRoom" it sends me into a loops again. is that not were i'm supposed to put which class i want it to be in?
Reply with quote
Sildaren
Wanderer


Joined: 19 Jul 2001
Posts: 59
Location: Germany

PostPosted: Fri May 10, 2002 8:24 am   
 
Sounds like the 'trigger on trigger' option isn't really doing what you need.
If you post the triggers you are using (for both ends of portal), as well as a sample of the portaling text, we can probably find a better solution.
Reply with quote
Gilwyn
Newbie


Joined: 01 May 2002
Posts: 7
Location: Australia

PostPosted: Fri May 10, 2002 10:50 am   
 
What do you type to enter the portal?

If it's something like "enter portal" then you can simply make the direction from the room "other" called "enter portal". If you usually type something shorter like "ent port" then rename it to that.
Reply with quote
Belgarad
Novice


Joined: 11 Mar 2001
Posts: 37
Location: Canada

PostPosted: Sat May 11, 2002 8:22 pm   
 
This is a copy/paste of what i see when i go through the portal:

A Circle of Brilliant Mushrooms
Obvious exits: North East South West
A ring of magick mushrooms has grown here.

< 381/381hp 115m 130mv > ent ring
You enter a ring of magick mushrooms.

A Circle of Brilliant Mushrooms
Obvious exits: North East South West
A ring of magick mushrooms has grown here.
A tall, slender fae in arcane robes paces about here.

It's exactly the same the other way. and here are the triggers:

#TRIGGER {You enter a ring of magick mushrooms.} {#TELEPORT {182} {Silver Tear}} "_MapperRoom" {notrig}

the other sides trigger is exactly the same but different teleport location, and were it says "_MapperRoom" now is were i had "testclass" before and it used to work. i even tried other classes but only testclass seemed to work for some reason.

Any help would be appreciated.
Reply with quote
dacheeba
Adept


Joined: 29 Oct 2001
Posts: 250

PostPosted: Sun May 12, 2002 7:04 pm   
 
Best way I can think of would to be create a button for each room indiviually.

Goto your map editor and click on the room properties for one of the rooms.Then go to the Room Scripts section in the Room Desc part(you may have to pull it up, it was kinda hidden for me)And put the script in there.
So for the first room(lets say the number is 182, and the second one is 183):

#BU 0 {Enter Ring} {enter ring:#TELE {183} {Silver Tear}}

And the other room would be:

#BU 0 {Enter Ring} {enter ring:#TELE {182} {Silver Tear}}
Hope that helps.
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