[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  VBscript
. . -> [Subject]  GetOption not working in plugin
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

GetOption not working in plugin

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Mon 01 Sep 2003 02:03 PM (UTC)  quote  ]

Amended on Mon 01 Sep 2003 02:08 PM (UTC) by Poromenos

Message
I am trying to use the GetCurrentValue("password") thing in a plugin, and it gives me a mismatch... Am I doing something wrong, or is it designed that way?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #1 on Wed 03 Sep 2003 06:01 PM (UTC)  quote  ]
Message
Hmm I tried creating a trigger in a plugin to "send to scripting", and it still didn't work. Is it a safeguard?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Nick Gammon   Australia  (19,603 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Wed 03 Sep 2003 08:37 PM (UTC)  quote  ]
Message
Yes, each option has a flag as to whether the plugin can read or set it.

I put that in so someone couldn't write a "cool plugin" that actually harvested passwords.

For example, you might write a plugin that appeared to do a nice hitpoint bar, but in addition established a chat connection to the author and sent the player's password secretly - that sort of thing.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Reply #3 on Wed 03 Sep 2003 10:45 PM (UTC)  quote  ]
Message
Yes, I see your point... *Cough* not that I would do anything like that...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Magnum   Canada  (580 posts)  [Biography] bio
Date Reply #4 on Wed 05 Nov 2003 04:40 AM (UTC)  quote  ]
Message
A bug in current versions (up to 3.42) allows for a workaround to this.

See my thread here:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3454&page=999999

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
[Go to top] top

Posted by Shadowfyr   USA  (1,776 posts)  [Biography] bio
Date Reply #5 on Wed 05 Nov 2003 05:55 PM (UTC)  quote  ]
Message
Noting however that chat would tend to would be obvious, an external app to do it in secret is hard to hide and that the INET control (which is about the only other option) would lag the client when it executed. It isn't impossible, but not exactly as easilly done as might be expected.

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] 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.


3,835 views.

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]