Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Hyperlink in OnPluginPacketReceived

Hyperlink in OnPluginPacketReceived

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by Fiendish   USA  (2,535 posts)  Bio   Global Moderator
Date Reply #15 on Thu 16 Apr 2020 07:16 PM (UTC)

Amended on Thu 16 Apr 2020 07:33 PM (UTC) by Fiendish

Message
Quote:
won't work until the second line of the compass

Is it actually the second line of the compass or is it the end of the packet?

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Areadien   USA  (47 posts)  Bio
Date Reply #16 on Thu 16 Apr 2020 07:35 PM (UTC)
Message
It's the second line of the compass that gets the room information. I can demonstrate after I get off work.
Top

Posted by Fiendish   USA  (2,535 posts)  Bio   Global Moderator
Date Reply #17 on Thu 16 Apr 2020 07:36 PM (UTC)

Amended on Thu 16 Apr 2020 07:39 PM (UTC) by Fiendish

Message
Quote:
It's the second line of the compass that gets the room information

But I can see the gmcp message before the first line, so...

Nick, OnPluginTelnetSubnegotiation isn't called until CMUSHclientDoc::DisplayMsg?


In the meantime, Areadien, I bet you could store a variable in OnPluginPacketReceived but then only use the value in a trigger on the first line.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Areadien   USA  (47 posts)  Bio
Date Reply #18 on Fri 17 Apr 2020 01:44 AM (UTC)
Message
Actually, I got an idea. I can gag the compass, then save the information I need until the third line, and then display the compass there. That way, I can get the room information on the second trigger, and then use the HyperLink. I know you can see it in the room packet itself, but for some reason, the room information isn't sent to triggers until the second line of the compass.

I hope that makes sense. I'm not the best online communicator, as you can probably already tell. Thanks for being patient with me, you two.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


51,460 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.