I have been trying to find a way to setup auto mapping for a mud that does not have any serverside help for pulling room data. I made a regex that would use some help from custom prompts the problem is that I can't get a trigger to bind to it because each line is a new trigger and yeah... Any how I am kinda stumped not sure where to go from here...
Any help would be very much appreciated
I am very skilled with lua and regex so I need some help
You will notice that some of the room names are the same but are different rooms my current plan is to have the code check for any rooms with the same name in a side database that contains the room numbers if a room name is not in there it just adds it with the next room id available and then adds it to the map otherwise it checks the room desc agenst any other rooms with the same name and so forth.\@PmE\@\n(.*)\n *((?s:.*?))Obvious exits:((\n(North|South|East|West|Ne|Nw|Se|Sw) *- *(.*))+?)( *\n)*\@PmS\@
This is an example of the descriptions I am trying to grab from.
Please help me I am pulling out my hair trying to figure it out...@PmS@ {4AM} [10/10M|10/10P (0/7/7)] Ammo:0/0 @PmE@
l
The Ninth Hell
The outer rim of the Ninth Circle is a trafficway between the many private
rooms that surround it. In the center of the circle is a bar selling a vast
array of drinks, beverages and food. Just west of here is a closeable door,
leading into a private room that has been cut into the bedrock.
Obvious exits:
North - The Ninth Hell
Se - The Ninth Hell
West - A closed door
@PmS@ {4AM} [10/10M|10/10P (0/7/7)] Ammo:0/0 @PmE@
n
The Ninth Hell
The outer rim of the Ninth Circle is lined with private booths, doorways
created for privacy. Behind the doorways could be anything from a ruthless
Yakuza boss, to a joygirl with a client, to the greatest of deckers eating
Renraku's most ruthless IC like candy. This place is considered a neutral
zone amongst the criminal underground, and amongst corporations who are
engaged in shadow wars.
Obvious exits:
North - The Ninth Hell
East - The Ninth Hell
South - The Ninth Hell
West - A closed door
@PmS@ {4AM} [10/10M|10/10P (0/7/7)] Ammo:0/0 @PmE@
e
The Ninth Hell
The Ninth Circle of Dante's Inferno was created from an already existing
cavern deep underground, and has been carved to suit the needs of the
nightclub. Many of the darkest deals are made here in the lowest level,
affecting corporations and crime families alike. Lone Star never shows their
face down here, except to cut a deal.
Obvious exits:
East - The Bottom of the Abyss
West - The Ninth Hell
@PmS@ {4AM} [10/10M|10/10P (0/7/7)] Ammo:0/0 @PmE@
Mahalo and thank you in advanced!