Find Room Script Help
Re: Find Room Script Help
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?
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?
Re: Find Room Script Help
Missing a bracket or something, or extra space got in somewhere. All I can think of without the ability to look closer.
Re: Find Room Script Help
Can you post the code for that script?
Re: Find Room Script Help
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
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
Re: Find Room Script Help
The script is from the HoM-thread on wotmufdarch.. on phone but can post later.
Re: Find Room Script Help
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
Re: Find Room Script Help
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
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
Re: Find Room Script Help
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?
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?