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, 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.
 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Exception when calling GetSelectionStartLine() inside OnPluginInstall

Exception when calling GetSelectionStartLine() inside OnPluginInstall

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


Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Sun 05 Jul 2020 06:50 PM (UTC)

Amended on Sun 05 Jul 2020 07:03 PM (UTC) by Fiendish

Message
Loading a world that has this plugin included causes a C++ exception and leads to crashes in base MUSHclient either right away or when closing the world.


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
   name="test"
   author="fiendish"
   id="232929de0748519ad7b22adf"
   language="Lua"
   purpose="test"
   save_state="y"
   date_written="2020-07-05 13:33:23"
   requires="5.06"
   version="1.0"
   ></plugin><script>
function OnPluginInstall()
   GetSelectionStartLine()
end
</script>
</muclient>

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

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 06 Jul 2020 03:04 AM (UTC)
Message
Fixed in the pre-release version.

https://github.com/nickgammon/mushclient/commit/b5fdc19

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


9,046 views.

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.