Generic Mapping Script

All and any discussion and development of the Mudlet Mapper.
Allaboard
Posts: 13
Joined: Tue Jun 12, 2018 5:59 pm

Re: Generic Mapping Script

Post by Allaboard » Tue Jun 12, 2018 6:03 pm

I've been struggling installing the generic mapping script. I'm not a bright person when it comes to MUDs, since I just started playing my first one yesterday. I tried to look for a video on how to install it, but to no avail. So I have came here to ask help, since I feel like I don't know where to start. Thank you for reading.

Jor'Mox
Posts: 1093
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Tue Jun 12, 2018 10:56 pm

So, the first step is to take the command line install code from the bottom of the first post, and use it. It will download and install the script package for you.

After that though, it needs to be customized to your game. Specifically, the triggers it uses to capture information need to be changed so that they get that information from your game. Since you are new to all of this, the easiest way to do that is going to be just copying and pasting a representative sample of what rooms look like in your game, making sure you provide any relevant information that might help in identifying these three critical components. The first being the room name, the second being the exits from the room, including how exits look if they have a closed door of some kind blocking the way, and the third is your prompt. Once we have that to work with, hopefully we can come up with how to modify the triggers so it works for you.

Also, you will NEED to read the documentation at the top of the script, as it explains the different commands you will need to use to actually create and adjust the map of your game.

Allaboard
Posts: 13
Joined: Tue Jun 12, 2018 5:59 pm

Re: Generic Mapping Script

Post by Allaboard » Tue Jun 12, 2018 11:17 pm

Well, I did the command line install, and the package install, the flashing box appeared and disappeared and no new package was found, watch this gif:

https://gyazo.com/6dd9b9736fd1c24ca91205e511214107


EDIT:

The package version showed this error:

LUA: ERROR running script dispatchEventToFunctions (dispatchEventToFunctions)
Error: [string "Script: Mapping Script"]:161: attempt to index global 'windowManager' (a nil value)

The command line showed no error, but still no package:

https://gyazo.com/ffe3e3c197b375e6016cd5f488f900e7

Jor'Mox
Posts: 1093
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Tue Jun 12, 2018 11:36 pm

Okay, that is strange. I thought at first that maybe something was messed up due to you using a different version from me (I hadn't updated to the newest version just yet). But I got the new version, and it seems to work fine. I went ahead and updated the package file again, just in case the one you downloaded was broken or something. Try using the command line version again, and maybe the new package version will make things work. If you don't see a box show up in the top right of the window, then try just opening a new profile that connects to the game and using it there.

Allaboard
Posts: 13
Joined: Tue Jun 12, 2018 5:59 pm

Re: Generic Mapping Script

Post by Allaboard » Tue Jun 12, 2018 11:54 pm

Tried the link http://dslpnp.altervista.org/Generic_Mapper.mpackage again, and tried the command-line prompt. Same issue and error mentioned last post. going to delete Mudlet's profile and install again.

EDIT:

Deleted profiles file from mudlet-data, tried both command-line and package version again, both failed, but no error this time, look at new gif:

https://gyazo.com/405759971f71543b046d207fb207b123

Jor'Mox
Posts: 1093
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Wed Jun 13, 2018 12:10 am

Well, that is frustrating, especially since we are both running on a Mac, and both using the same file and the same version of Mudlet, and it works for one of us, but not the other. But, it ultimately isn't crippling. This can be installed manually, without using any package files (they were added after the fact anyway).

So, first, go to the first post, and copy the huge script in the first post, and paste it into a blank script in your Mudlet profile (name it something convenient for you, the actual name doesn't matter at all). Next, find the link to the Simple Window Manager Script just below the script in the first page, follow it, and similarly copy and paste the script from that post into a different blank script in your profile. Then, create four new triggers, one to capture the room name, one for the exits, one for your prompt, and one for what I call a "failed move", namely when you try to move in a direction but cannot for whatever reason (like trying to go in a direction where there is no exit, or into a closed door). Don't worry about the details of those triggers yet, just name them something so you know which is which, and then I can help you figure out what each should be doing.

Allaboard
Posts: 13
Joined: Tue Jun 12, 2018 5:59 pm

Re: Generic Mapping Script

Post by Allaboard » Wed Jun 13, 2018 12:36 am

Is everything set up properly in this new gif?

https://gyazo.com/411a7f0b50f46069ff3454ad2fb48d47

Jor'Mox
Posts: 1093
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Wed Jun 13, 2018 12:47 am

More or less. You need an additional trigger to capture the room name (the onNewRoom event typically coincides with the exits, rather than the room name), and some of the triggers you have are for later stages, but yeah. Now I just need some good examples of what you get from the game, so I can build appropriate triggers. Just images or color coded text for this stage please.

Allaboard
Posts: 13
Joined: Tue Jun 12, 2018 5:59 pm

Re: Generic Mapping Script

Post by Allaboard » Wed Jun 13, 2018 12:58 am

Here's a short log file from my MUD, which is dbeMUD, which was modified from CircleMUD 3.0.

Is this a fitting example?

EDIT: A clip of another short clip of me using 'Sense' and then just using recall and activating a failed move.
https://gyazo.com/37fb66cea9562a1ae1d5068c1466113d
Code: [show] | [select all] lua
Log session starting at 20:52:44 on Tuesday, 12 June 2018.
say okay
You say, 'okay'

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]
north
Ancient Road
Gravity: 10 X
   This is a long road that goes straight through the middle of Lost Star
City.  Mainly old houses and straw huts can be found on this dusty street.
 Even though there are only two lanes in the road, it is still extremely
busy with traffic.  Growing near the sidewalk are multiple types of
desert flowers and spiney cacti.  In some spots a small pile of sand can
be found that almost looks like a dune from the beach.  
> Other: [Peaceful]
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Desert Avenue
> east  - Regal Dynasty Avenue
> south - Saiyan Training Facility: Entrance
> west  - Ancient Road
The RP Board is posted in the middle of the room.
A tall Steel Traffic Signal is bolted here, directing traffic.
A large Steel Dumpster is sitting here, collecting garbage.
A Male Saiyan Merchant is standing in the middle of the dusty road.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]

Male Saiyan Merchant mutters, 'Hey....come over here....'

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]
west
Ancient Road
Gravity: 10 X
   This is a long road that goes straight through the middle of Lost Star
City.  Mainly old houses and straw huts can be found on this dusty street.
 Even though there are only two lanes in the road, it is still extremely
busy with traffic.  Growing near the sidewalk are multiple types of
desert flowers and spiney cacti.  In some spots a small pile of sand can
be found that almost looks like a dune from the beach.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - River Path
> east  - Ancient Road
> south - River Path
> west  - Ancient Road
A tall Steel Traffic Signal is bolted here, directing traffic.
A large Steel Dumpster is sitting here, collecting garbage.
A Saiyan Girl is playing in the dirt here.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]

Saiyan Girl has arrived.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]
west
Ancient Road
Gravity: 10 X
   This is a long road that goes straight through the middle of Lost Star
City.  Mainly old houses and straw huts can be found on this dusty street.
 Even though there are only two lanes in the road, it is still extremely
busy with traffic.  Growing near the sidewalk are multiple types of
desert flowers and spiney cacti.  In some spots a small pile of sand can
be found that almost looks like a dune from the beach.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Ancient Road
> south - Vegeta Space Station: Entrance
> west  - Ancient Road
A tall Steel Traffic Signal is bolted here, directing traffic.
A large Steel Dumpster is sitting here, collecting garbage.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]

Saiyan Girl has arrived.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]
west
Ancient Road
Gravity: 10 X
   This is a long road that goes straight through the middle of Lost Star
City.  Mainly old houses and straw huts can be found on this dusty street.
 Even though there are only two lanes in the road, it is still extremely
busy with traffic.  Growing near the sidewalk are multiple types of
desert flowers and spiney cacti.  In some spots a small pile of sand can
be found that almost looks like a dune from the beach.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Rust Road
> east  - Ancient Road
> south - Rust Road
> west  - Ancient Road
A tall Steel Traffic Signal is bolted here, directing traffic.
A large Steel Dumpster is sitting here, collecting garbage.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]
fly
You fly up into the air.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Ancient Road
Gravity: 10 X
   This is a long road that goes straight through the middle of Lost Star
City.  Mainly old houses and straw huts can be found on this dusty street.
 Even though there are only two lanes in the road, it is still extremely
busy with traffic.  Growing near the sidewalk are multiple types of
desert flowers and spiney cacti.  In some spots a small pile of sand can
be found that almost looks like a dune from the beach.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Rage Alley
> east  - Ancient Road
> south - Rage Alley
> west  - Ancient Road
A tall Steel Traffic Signal is bolted here, directing traffic.
A large Steel Dumpster is sitting here, collecting garbage.

[Pl:169,706][Ki:135,527][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Ancient Road
Gravity: 10 X
   This is a long road that goes straight through the middle of Lost Star
City.  Mainly old houses and straw huts can be found on this dusty street.
 Even though there are only two lanes in the road, it is still extremely
busy with traffic.  Growing near the sidewalk are multiple types of
desert flowers and spiney cacti.  In some spots a small pile of sand can
be found that almost looks like a dune from the beach.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Ancient Road
> south - Ancient Moon Dojo: Entrance
> west  - Lost Star City: Entrance
A tall Steel Traffic Signal is bolted here, directing traffic.
A large Steel Dumpster is sitting here, collecting garbage.
A Low Class Saiyan is walking around the city.
* it is flying around here!

[Pl:169,706][Ki:135,405][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Lost Star City: Entrance
Gravity: 10 X
   This is the city square of Lost Star City.  The main roads all connect
here.  To the north and south are the residential areas of the city.  To the
west is a stone path leading to the Desert of Vegeta.  To the east is Ancient
Road.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Northern Street
> east  - Ancient Road
> south - Southern Street
> west  - Stone Path
A tall Steel Traffic Signal is bolted here, directing traffic.
west
A large Steel7m Dumpster is sitting here, collecting garbage.
A Low Class Saiyan is walking around the city.

[Pl:169,706][Ki:135,219][6% EXP][Fatigue: 9%][FM][Flying]
You fly around a bit.
Stone Path
Gravity: 10 X
   This is an old stone path that goes in between Lost Star City and the
desert.  As the years went by this road was less and less used.  As the city
grew there was no need to go in the desert anymore.  Now this road is overgrown
with bushes and dried out plants.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Lost Star City: Entrance
> west  - Stone Path
A Saiyan Girl is playing in the dirt here.

[Pl:169,706][Ki:135,111][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Stone Path
Gravity: 10 X
   This is an old stone path that goes in between Lost Star City and the
desert.  As the years went by this road was less and less used.  As the city
grew there was no need to go in the desert anymore.  Now this road is overgrown
with bushes and dried out plants.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Stone Path
> west  - Stone Path

[Pl:169,706][Ki:134,921][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Stone Path
Gravity: 10 X
   This is an old stone path that goes in between Lost Star City and the
desert.  As the years went by this road was less and less used.  As the city
grew there was no need to go in the desert anymore.  Now this road is overgrown
with bushes and dried out plants.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Stone Path
> west  - Stone Path

[Pl:169,706][Ki:134,770][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Stone Path
Gravity: 10 X
   This is an old stone path that goes in between Lost Star City and the
desert.  As the years went by this road was less and less used.  As the city
grew there was no need to go in the desert anymore.  Now this road is overgrown
with bushes and dried out plants.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Grass Path
> east  - Stone Path
> south - Grass Path
> west  - Stone Path

[Pl:169,706][Ki:134,581][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Stone Path
Gravity: 10 X
   This is an old stone path that goes in between Lost Star City and the
desert.  As the years went by this road was less and less used.  As the city
grew there was no need to go in the desert anymore.  Now this road is overgrown
with bushes and dried out plants.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Stone Path
> west  - Stone Path

[Pl:169,706][Ki:134,471][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Stone Path
Gravity: 10 X
   This is an old stone path that goes in between Lost Star City and the
desert.  As the years went by this road was less and less used.  As the city
grew there was no need to go in the desert anymore.  Now this road is overgrown
with bushes and dried out plants.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Royal Blacksmith: Entrance
> east  - Stone Path
> west  - Stone Path

[Pl:169,706][Ki:134,348][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Stone Path
Gravity: 10 X
   This is an old stone path that goes in between Lost Star City and the
desert.  As the years went by this road was less and less used.  As the city
grew there was no need to go in the desert anymore.  Now this road is overgrown
with bushes and dried out plants.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Desert House: Living Room
> east  - Stone Path
> west  - Sandy Path

[Pl:169,706][Ki:134,190][6% EXP][Fatigue: 9%][FM][Flying]
west
You fly around a bit.
Sandy Path
Gravity: 10 X
   This is a long sandy path that goes through the middle of the Great
Desert of Vegeta.  The path was made to help the caravans that go through the
desert.  Growing along side the path are huge green cacti and a few desert
flowers.  Small white rocks can be found scattered about the path to help tell
the path apart from the rest of the desert.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Great Desert of Vegeta
> east  - Stone Path
> south - Great Desert of Vegeta
> west  - Sandy Path
A Red Lizard is crawling in the sand.

[Pl:169,706][Ki:134,015][6% EXP][Fatigue: 9%][FM][Flying]

Saiyan Renegade has arrived.

[Pl:169,706][Ki:134,015][6% EXP][Fatigue: 9%][FM][Flying]


[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM][Flying]
kill ren
You must land if you want to kill them.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM][Flying]
fly
You fly down and land on the ground.

[Pl:169,706][Ki:135,666][6% EXP][Fatigue: 9%][FM]
kill rene
[Critical Hit] You lunge forward and crush Saiyan Renegade extremely hard.
[--Dead--]=-=[39750]
You Gain [3909999] Experience Points.
[Level Gain] You become stronger.
[Pl +260][Ki +260][Lp +5]
[Exp Bonus] You gain an extra 689999 exp!
[Level Gain] You become stronger.
[Pl +260][Ki +260][Lp +5]
Blood splatters as Saiyan Renegade's soul fades away.
You get a big pile of zenni from Saiyan Renegade's corpse.
There were 1400 zenni.

[Pl:169,706][Ki:135,666][0% EXP][Fatigue: 9%][FM]
sense ancient
That mob does not exist, cannot be sensed, or there is no path to them.

[Pl:169,706][Ki:135,666][0% EXP][Fatigue: 9%][FM]
north
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Great Desert of Vegeta
> south - Sandy Path
> west  - Great Desert of Vegeta
A Vulture is here looking for a corpse.

[Pl:169,706][Ki:135,666][0% EXP][Fatigue: 9%][FM]
fly
You fly up into the air.

[Pl:169,706][Ki:135,666][0% EXP][Fatigue: 9%][FM][Flying]


[Pl:170,226][Ki:136,186][0% EXP][Fatigue: 9%][FM][Flying]

Vulture moves north.

[Pl:170,226][Ki:136,186][0% EXP][Fatigue: 9%][FM][Flying]
focus 'zanzoken'
Okay.
You begin moving at unbelievable speeds.

[Pl:170,226][Ki:135,886][0% EXP][Fatigue: 14%][FM][Flying]
focus 'zenkai'
Okay.
You concentrate on your deep urges of combat and death.

[Pl:170,226][Ki:135,186][0% EXP][Fatigue: 14%][FM][Flying]

Red Lizard has arrived.

[Pl:170,226][Ki:135,186][0% EXP][Fatigue: 14%][FM][Flying]
focus 'potential'

Red Lizard moves west.

[Pl:170,226][Ki:135,186][0% EXP][Fatigue: 14%][FM][Flying]
Okay.
Your body begins to tremble with power as you push yourself beyond the limit. In an instant, a
bright red aura erupts around your body as you release your hidden potential.

[Pl:170,226][Ki:120,186][0% EXP][Fatigue: 14%][FM][Flying]

Red Lizard has arrived.

[Pl:170,226][Ki:120,186][0% EXP][Fatigue: 14%][FM][Flying]
focus 'barrier'
Okay.
You are engulfed in a globe of energy.

[Pl:170,226][Ki:129,818][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Great Desert of Vegeta
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta
A Vulture is here looking for a corpse.

[Pl:170,226][Ki:129,669][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Great Desert of Vegeta
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta

[Pl:170,226][Ki:129,544][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Great Desert of Vegeta
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta
A Vulture is here looking for a corpse.
* she is flying around here!
A Vulture is here looking for a corpse.
A Vulture is here looking for a corpse.
A Red Lizard is crawling in the sand.

[Pl:170,226][Ki:129,440][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta
A tall Cactus is in the sand here.
A Red Lizard is crawling in the sand.

[Pl:170,226][Ki:129,338][0% EXP][Fatigue: 14%][FM][Flying]
west
You fly around a bit.
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Great Desert of Vegeta
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta

[Pl:170,226][Ki:129,151][0% EXP][Fatigue: 14%][FM][Flying]
west
You fly around a bit.
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Great Desert of Vegeta
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta

[Pl:170,226][Ki:128,986][0% EXP][Fatigue: 14%][FM][Flying]
west
You fly around a bit.
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Great Desert of Vegeta
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta
A Vulture is here looking for a corpse.
A Red Lizard is crawling in the sand.

[Pl:170,226][Ki:128,881][0% EXP][Fatigue: 14%][FM][Flying]
west
You fly around a bit.
Great Desert of Vegeta
Gravity: 10 X
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> east  - Great Desert of Vegeta
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta

[Pl:170,226][Ki:128,757][0% EXP][Fatigue: 14%][FM][Flying]
south
You fly around a bit.
Great Desert of Vegeta
Gravity: Normal
   This is a massive desert that was named after the old King Vegeta.  
Bright yellow sand makes up the multiple dunes that cover this desert.  A few
cacti and desert flowers grow in random spots on the dunes.  Old animal bones
can be found scattered through out the desert and even a few humanoid bones can
be seen.  Strong winds blow through and cause small sandstorms that make it
hard to see.  The air is extremely dry and dusty from the lack of water sources
on this section of the planet.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Great Desert of Vegeta
> east  - Great Desert of Vegeta
> south - Great Desert of Vegeta
> west  - Great Desert of Vegeta

[Pl:170,226][Ki:128,636][0% EXP][Fatigue: 14%][FM][Flying]

Vulture has arrived.

[Pl:170,226][Ki:128,636][0% EXP][Fatigue: 14%][FM][Flying]
recall
Saiyan Training Facility: Entrance
Gravity: 10 X
   This is a small training facility near the edge of Lost Star City.  
The whole room is covered in metal plates and the ground is made out of a shiny
black metal.  Huge vents on the ceiling allow cool air to enter the facility.
In the middle of the room is a huge metal fountain with some water flowing out
of it.  To the west is a small gravitron and to the south is a sparring dojo.
To the north is one of the main roads in Lost Star City.
> Other: [Peaceful] [No Swallow] [Regen]
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Ancient Road
> east  - Saiyan Training Facility: Gravitron
> south - Saiyan Training Facility: Sparring Dojo
> west  - Saiyan Training Facility: Arena Tryouts
> down  - Saiyan Training Facility: Commerce Room
( 2) A Rugged White Wristband is on the ground here.
A Metal Fountain with crystal clear water is flowing out of it is in the middle of the room.
A massive statue of Memnoc, king of the Demons has been constructed here, engulfed in hellfire and
spewing forth concentrated beer.
The Public Message Board is mounted in the ground here.
A plain male Saiyan Ki Master with wild spikey gold hair, saintly emerald eyes and flawless black
skin is sleeping here.
* he has blue electricity sparking around him!

[Pl:170,226][Ki:115,018][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Ancient Road
Gravity: 10 X
   This is a long road that goes straight through the middle of Lost Star
City.  Mainly old houses and straw huts can be found on this dusty street.
 Even though there are only two lanes in the road, it is still extremely
busy with traffic.  Growing near the sidewalk are multiple types of
desert flowers and spiney cacti.  In some spots a small pile of sand can
be found that almost looks like a dune from the beach.  
> Other: [Peaceful]
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Desert Avenue
> east  - Regal Dynasty Avenue
> south - Saiyan Training Facility: Entrance
> west  - Ancient Road
The RP Board is posted in the middle of the room.
A tall Steel Traffic Signal is bolted here, directing traffic.
A large Steel Dumpster is sitting here, collecting garbage.
A Male Saiyan Merchant is standing in the middle of the dusty road.

[Pl:170,226][Ki:136,020][0% EXP][Fatigue: 14%][FM][Flying]
north

Male Saiyan Merchant mutters, 'Hey....come over here....'

[Pl:170,226][Ki:136,020][0% EXP][Fatigue: 14%][FM][Flying]
You fly around a bit.
Desert Avenue
Gravity: 10 X
   This is a very sandy road filled with dust and rocks.  Powerful winds
from the Great Desert of Vegeta blow through and make it hard to see at times.
Only a few houses and huts surrounded by cacti can be found on this road.  To
the north is the entrance to the Saiyan Training Grounds.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Desert Avenue
> south - Ancient Road

[Pl:170,226][Ki:135,900][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Desert Avenue
Gravity: 10 X
   This is a very sandy road filled with dust and rocks.  Powerful winds
from the Great Desert of Vegeta blow through and make it hard to see at times.
Only a few houses and huts surrounded by cacti can be found on this road.  To
the north is the entrance to the Saiyan Training Grounds.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Desert Avenue
> south - Desert Avenue

[Pl:170,226][Ki:135,709][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Desert Avenue
Gravity: 10 X
   This is a very sandy road filled with dust and rocks.  Powerful winds
from the Great Desert of Vegeta blow through and make it hard to see at times.
Only a few houses and huts surrounded by cacti can be found on this road.  To
the north is the entrance to the Saiyan Training Grounds.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Desert Avenue
> south - Desert Avenue

[Pl:170,226][Ki:135,538][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Desert Avenue
Gravity: 10 X
   This is a very sandy road filled with dust and rocks.  Powerful winds
from the Great Desert of Vegeta blow through and make it hard to see at times.
Only a few houses and huts surrounded by cacti can be found on this road.  To
the north is the entrance to the Saiyan Training Grounds.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Saiyan Training Grounds
> south - Desert Avenue

[Pl:170,226][Ki:135,430][0% EXP][Fatigue: 14%][FM][Flying]
north
You fly around a bit.
Saiyan Training Grounds
Gravity: Normal
   This area is filled with the new trainees, many of them have potential
to be great, and their officers are gonna give them pride and strength.  
As he walks down a line of men, he straightens some of their backs, and
pushes some of their chins up rather roughly.  The looks on the ones who were
corrected is one of shame, they shall prove themselves in battle, or so their
faces say.  
> Other: [Peaceful]
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> south - Desert Avenue
> down  - Saiyan Training Grounds: Flooded Trail
An Injured Saiba is hiding near the entrance of the training grounds.

[Pl:170,226][Ki:135,270][0% EXP][Fatigue: 14%][FM][Flying]

Injured Saiba bounces around the room.

[Pl:170,226][Ki:135,270][0% EXP][Fatigue: 14%][FM][Flying]

Injured Saiba asks, 'You no hurt?'

[Pl:170,226][Ki:135,270][0% EXP][Fatigue: 14%][FM][Flying]

Injured Saiba mutters, 'OK...you help then! Me was in the bad place and almost died escaping.......'

[Pl:170,226][Ki:135,270][0% EXP][Fatigue: 14%][FM][Flying]
down
Injured Saiba points towards the training grounds.
You fly around a bit.
Saiyan Training Grounds: Flooded Trail
Gravity: Normal
   This is a small trail leading into a marsh-like land.  The ground is
covered in mud and a thick black sludge.  Vegitation is sparse in the area but
a couple flowers can be seen trying to grow through the mud.  A strong smell of
sweat and rusted metal fill the thick humid air.  
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> north - Saiyan Training Grounds: Flooded Trail
> up    - Saiyan Training Grounds
A Saiyan Trainee is working out on the situp station here.

[Pl:170,226][Ki:135,076][0% EXP][Fatigue: 14%][FM][Flying]
up
You fly around a bit.
Saiyan Training Grounds
Gravity: Normal
   This area is filled with the new trainees, many of them have potential
to be great, and their officers are gonna give them pride and strength.  
As he walks down a line of men, he straightens some of their backs, and
pushes some of their chins up rather roughly.  The looks on the ones who were
corrected is one of shame, they shall prove themselves in battle, or so their
faces say.  
> Other: [Peaceful]
 * (N) *   (U)
(W) + (E)   -
 * (S) *   (D)
Visible Exits:
> south - Desert Avenue
> down  - Saiyan Training Grounds: Flooded Trail
An Injured Saiba is hiding near the entrance of the training grounds.

[Pl:170,226][Ki:134,910][0% EXP][Fatigue: 14%][FM][Flying]

Injured Saiba says, 'Me no like the slave master, he whip very hard and don't stop. You go hurt him
back, bring me his bloody head.'

[Pl:170,226][Ki:134,910][0% EXP][Fatigue: 14%][FM][Flying]
Log session ending at 20:55:27 on Tuesday, 12 June 2018.

Jor'Mox
Posts: 1093
Joined: Wed Apr 03, 2013 2:19 am

Re: Generic Mapping Script

Post by Jor'Mox » Wed Jun 13, 2018 1:34 am

That works. I have a few questions for the sake of clarity. First, is there always the line about gravity RIGHT after the room name? Second, does the compass looking thing actually mean anything? Or can I safely ignore it?

Regardless, for the first step, you can simply copy the message you get when you try to move in an invalid direction, paste it as the first pattern for the trigger that handles failed movement, and change the pattern type (in the drop down to its right) to beginning of line substring. In the code block for that trigger, put this: raiseEvent(“onMoveFail”)

You need to do something similar for the onPrompt trigger, but in this case I would just use the very beginning part of the first line of your prompt, which should be: [Pl:
Have it raise the appropriate event. We will be coming back to this one once the other triggers are functional, but they are more complex, and I want a chance to make sure I do them right. So I’ll be tackling them tomorrow.

The onVisionFail and onRandomMove triggers are going to be fairly similar to the onMoveFail trigger, in that you just need to find the proper text to put as the pattern, and raise the proper event (assuming you even need them, not all games do). The onForcedMove one will need the right text, but it will also need to capture the direction you are made to move, so we can cover that once you find an example, but it will be very similar to the others.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest