Nyyrazzilyss / NyyLIB

Mudlet client script for Torilmud
http://www.torilmud.com/phpBB3/viewtopic.php?f=4&t=27194
GNU General Public License v2.0
7 stars 4 forks source link

Rogue - gag doesn't work properly when escaping and returning to room #241

Open Gyrx opened 5 years ago

Gyrx commented 5 years ago

In this scenario, blind on the bad guy mob is fading and I need to quickly escape, apply poisons, and return to re-blind the bad guy.

The script is still improperly gagging lines when I return the room. Specifically, I'm missing who's in the room and fighting what.

Log:

< 1254h/456H 126v/126V T: Gurru TC: excellent E: warden EC: pretty hurt EP: std P: std > escape n [onNetworkOutput: ESCAPE n]

Gurru lunges forward and cracks the prison warden a brutal blow upside the head with her weapon.

appp [onNetworkOutput: GET blind hole] [onNetworkOutput: GET slow hole] [onNetworkOutput: apply blind primaryweapon] [onNetworkOutput: apply slow secondaryweapon] < 1244h/456H 126v/126V T: Gurru TC: excellent E: warden EC: pretty hurt EP: std P: std > The prison warden partially deflects your lunge at him. Your weak pierce barely wounds the prison warden. The prison warden dodges your futile attack. The prison warden parries your futile lunge at him. Your average pierce barely wounds the prison warden. The prison warden deflects Gurru's blow, and strikes back at Gurru! The prison warden misses Gurru with his slash. Gurru misses the prison warden with her slash. Gurru barely wounds the prison warden with her average slash. The prison warden misses Gurru with his slash. (x6)

< 1222h/456H 126v/126V T: Gurru TC: excellent E: warden EC: pretty hurt EP: std P: std >

[onNetworkOutput: CR] [onNetworkOutput: GROUP]

[MELEE: CIRCLE]

At the End of a Corridor The same heavy stone that makes up the rest of the fortress has been used here on the second floor. The stone adds a chill to the air that never seems to leave. The dark rock stops any light entering or leaving, allowing the prison to keep its mysteries. The footfalls ring off the stone on the floor and reverberates off the stone roof held aloft above. Heavy wooden rafters ensure the two never meet. The cells here seem even more secure and daunting with the worst inmates being housed on this level. The corridor ends here before a large office, with dim light spilling out onto the cold stone. Exits: - East - South [94445] [2] A flat-looking longsword has been discarded here. You escape northward!

[Currently moving. Spellcasting is temporarily paused.]

< 1220h/456H 125v/126V P: std >

You get a vial of black liquid from a portable hole.

< 1218h/456H 125v/126V P: std >

You get a vial of slimy liquid from a portable hole.

< 1216h/456H 125v/126V P: std >

You generously apply poison to a glittering dagger of the Nurturing Matriarch.

< 1214h/456H 125v/126V P: std >

You generously apply poison to a red dragon fanged dagger. s;cr warden [onNetworkOutput: s] [onNetworkOutput: cr warden]

< 1212h/456H 125v/126V P: std >

You don't see them here![onNetworkOutput: LOOK]

< 1210h/456H 125v/126V P: std >

< 1208h/456H 125v/126V P: std >

In the Warden's Office The warden's office seems little different from the cells, the same dark cold stone greets you. However there is no door, only a doorway for anyone to enter who might dare. A large wooden desk lies at the back of the room with a towering chair behind it. Stacks of neat paper wait to be dealt with.
A candle on the desk provides small but sufficient lumination for the paper < 1206h/456H 125v/126V P: std >

The prison warden dodges your futile attack.

[No longer moving. Spellcasting has resumed]

< 1204h/456H 125v/126V T: Gurru TC: excellent E: warden EC: pretty hurt EP: std P: std >

Gurru's defensive posture is thrown off balance as her blow merely glances off of the prison warden.

< 1198h/456H 125v/126V T: Gurru TC: excellent E: warden EC: pretty hurt EP: std P: std >

Your attack only grazes the prison warden as he dodges aside!

Nyyrazzilyss commented 5 years ago

That looks to be related to the script having generated a 'circle' command after you'd typed escape/the command having been sent to the mud. It shouldn't be generating attack commands when you're trying to escape, and the subsequent presence of the failed circle command probably threw things off.