Find Room Script Help

... A place to ask for help on any topic whether it be starting out to player killing to IT issues.
Skeeve
Posts: 12
Joined: Sat Nov 28, 2015 12:40 pm

Re: Find Room Script Help

Post by Skeeve » Tue Jun 27, 2017 6:18 am

Have been using the FindRoom 2.2 script with cmud perfectly previously, but accidently deleted it.. after re-installing it I get this problem:


HP:Healthy MV:Full > look
Preparing to find this room on the map.
The Woman of Tanchico
#PRIORITY {#VARIABLE FindRoomName {%trimleft( %right( %line, %pos( '> ', %line)))}}
A welcome sight for many a weary traveler. This inn offers warm and
friendly lodging to all classes of people. The lobby is humming with
activity as men and women can be seen chatting, sitting, and checking
in. In the center, people both chat and relax in a small sitting area
equipped with soft couches and sturdy wooden chairs. At the far end of
the room, the check-in counter bustles with awaiting boarders. Next to
the counter, carpetted stairs lead up to the reception.
[ obvious exits: W U ]
Failed to retrieve room info!

Up: An old woman smiles kindly.
A man meanders here, quietly speaking to himself.
The postmaster stands here, ready to deliver the mail.
A merchant guard eyes you warily, intent on keeping order.
A merchant guard eyes you warily, intent on keeping order.

* HP:Healthy MV:Full > Arglebargle, glop-glyf!?!


Any ideas?

Taziar
Posts: 961
Joined: Sat Mar 21, 2015 10:28 pm

Re: Find Room Script Help

Post by Taziar » Tue Jun 27, 2017 8:29 am

Missing a bracket or something, or extra space got in somewhere. All I can think of without the ability to look closer.

Naerin
Posts: 313
Joined: Sat May 23, 2015 12:29 pm

Re: Find Room Script Help

Post by Naerin » Tue Jun 27, 2017 9:19 am

Can you post the code for that script?

Taziar
Posts: 961
Joined: Sat Mar 21, 2015 10:28 pm

Re: Find Room Script Help

Post by Taziar » Tue Jun 27, 2017 10:08 am

Most likely the issue is in the trigger that fires on room name, it looks like it is sending the #PRIORITY command line to the mud instead of processing it as a command. Usually when this happens in zMUD either my settings corrupted or I am missing/have extra brackets somewhere.

I recently posted my versions of Markus' map scripts over on wotmudarchives forums but they are in zMUD form and I'm not sure it will directly port to cMUD. I have been saying this for over a year, but when I finally get finished with all the updates on my zMUD scripts I am going to start my cMUD script project... you can try my zMUD versions if you want.

Also: the #PRIORITY command has been depreciated in cMUD because cMUD handles that differently than zMUD did... but that shouldn't be the problem because cMUD should be ignoring it.

Taziar

Skeeve
Posts: 12
Joined: Sat Nov 28, 2015 12:40 pm

Re: Find Room Script Help

Post by Skeeve » Tue Jun 27, 2017 2:44 pm

The script is from the HoM-thread on wotmufdarch.. on phone but can post later.

Taziar
Posts: 961
Joined: Sat Mar 21, 2015 10:28 pm

Re: Find Room Script Help

Post by Taziar » Tue Jun 27, 2017 4:42 pm

That trigger showing the error isn't from HoM thread, that is from Markus' original version. Tonight when I get home from work I try to load both on my copy of cMUD and see what I can get to work.

Taziar

Taziar
Posts: 961
Joined: Sat Mar 21, 2015 10:28 pm

Re: Find Room Script Help

Post by Taziar » Tue Jun 27, 2017 11:48 pm

Sorry Skeeve, I logged in with my cMUD and I am not familiar enough with cMUD to figure it out and not enough time right now, maybe this coming weekend I will have time and can try again.

Does look like cMUD ins't happy with how it was written for zMUD and will need some tweaking to get the syntax right. Compatibility report had some issues. (my version, didn't have time to try Markus')

Taziar

Skeeve
Posts: 12
Joined: Sat Nov 28, 2015 12:40 pm

Re: Find Room Script Help

Post by Skeeve » Wed Jun 28, 2017 8:13 am

Thanks for the help Taziar.

I did get it working again by removing pretty much everything I had and re-installing Markus' script. However, it no longers updates after fleeing. I have the findroom and fleedline packages installed. I havn't changed the map so doubt that I would need to reconfigure that. Any ideas why I don't get update after flee?

Post Reply