← Back to team overview

mudlet-makers team mailing list archive

Re: [Bug 897908] Re: Button scripts are run at start

 

To clarify things, check box buttons are being run on startup. Button 
states of checkbox buttons are being saved by Mudlet on session exit. 
This is why the scripts of 2-state buttons need to be run on startup to 
reset the users "system variables".

e.g.: if buttonState == 1 then HeroMode = true else HeroMode = false

Regular 1 state buttons are not being run on startup as they cannot be 
used for configuration options.

Am 17.04.2012 10:19, schrieb Vadim Peretokin:
> This is still an issue, why do you think it should be marked invalid?
>

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/897908

Title:
  Button scripts are run at start

Status in Mudlet the MUD client:
  Invalid

Bug description:
  Button scripts are loaded and run at start:

  *** starting new session ***
  [ERROR:] object:<Keep aiming> function:<Action2>
           <[string "function Action2()..."]:3: attempt to index global 'vs' (a nil value)>
  [ERROR:] object:<event handler function> function:<svo_events>
           <attempt to call a nil value>
  [ERROR:] object:<Load spidershot> function:<Action8>
           <[string "function Action8()..."]:2: attempt to call global 'sendAll' (a nil value)>
  [ERROR:] object:<event handler function> function:<svo_events>
           <attempt to call a nil value>
  [ERROR:] object:<Load dart> function:<Action9>
           <[string "function Action9()..."]:2: attempt to call global 'sendAll' (a nil value)>
  [ERROR:] object:<WindowResizeEvent> function:<handleWindowResizeEvent>
           <attempt to call a nil value>

  While they should be just run.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/897908/+subscriptions


Follow ups

References