Changelog

General discussion about the Genesis Web Client located at https://www.genesismud.org/play/

Moderator: Eowul

Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
User avatar
cotillion
Site Admin
Posts: 350
Joined: 04 Mar 2010 01:14

Re: Changelog

Post by cotillion » 07 Oct 2017 10:25

0.4.x
- Switch to webpack for the build

0.4.5
- Change scroll behaviour

Separates the scrolling of the communication box and output box.
Scrolling will only stick to the bottom when its not been manually scrolled away.

Drazson
Titan
Posts: 499
Joined: 24 Jan 2016 21:27

Re: Changelog

Post by Drazson » 07 Oct 2017 15:00

Nice :)

mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Re: Changelog

Post by mallor » 09 Oct 2017 22:09

cotillion wrote: Separates the scrolling of the communication box and output box.
Scrolling will only stick to the bottom when its not been manually scrolled away.
Most welcomed change! However, is it possible to change the behavior so that it WILL scroll down when I type any command?

User avatar
cotillion
Site Admin
Posts: 350
Joined: 04 Mar 2010 01:14

Re: Changelog

Post by cotillion » 11 Oct 2017 13:59

0.4.6
Only print the message about firewalls if the websocket never connected

0.4.7
Fix disconnect / connect button

0.4.8
Sort triggers and aliases before display
Print the client version on the general settings page
Disable service worker caching for local development
Scroll down the output window when a user initiated command is sent
Ensure the socket is connected before attempting to write to it.
IE does not have el.remove(), replace with parent.removeChild

mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Re: Changelog

Post by mallor » 17 Oct 2017 15:27

Thanks for all the improvements :)

Any chance we can have delete trigger/alias button, instead of just disabling them? Daddy needs to clean up :D

User avatar
Melarec
Rising Hero
Posts: 318
Joined: 29 Feb 2016 19:51
Location: Everywhere
Contact:

Re: Changelog

Post by Melarec » 17 Oct 2017 17:33

mallor wrote:Thanks for all the improvements :)

Any chance we can have delete trigger/alias button, instead of just disabling them? Daddy needs to clean up :D
Attachments
deletebutton.png
deletebutton.png (4.54 KiB) Viewed 6209 times

mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Re: Changelog

Post by mallor » 17 Oct 2017 17:53

What? I didn't write that, I was possessed, I'm telling ya!!!

User avatar
cotillion
Site Admin
Posts: 350
Joined: 04 Mar 2010 01:14

Re: Changelog

Post by cotillion » 19 Nov 2017 17:35

0.4.9
Add gwc.trigger.enable and gwc.trigger.disable to the script api
Use application/octet-stream for storage uploads
Maintain scroll position when the window is resized.

mallor
Rising Hero
Posts: 371
Joined: 27 Jun 2011 13:20

Re: Changelog

Post by mallor » 19 Nov 2017 21:31

cotillion wrote:0.4.9
Use application/octet-stream for storage uploads
Does that theoretically means I can store binary data in aliases now? In form of string of course.

User avatar
cotillion
Site Admin
Posts: 350
Joined: 04 Mar 2010 01:14

Re: Changelog

Post by cotillion » 20 May 2018 15:47

0.4.11
- New async script support
- Add wait(delay) helper
- Add waitUntil(pattern, [timeout]) helper


wait() - Waits for a specific time.
waitUntil() - Waits until the specified regexp is triggered.

Code: Select all

waitUntil(/^The (.*) ship arrives./, 60).then((result) => {     
    mud.connection.send('board ship');
});

If you are using a sufficently recent browser (Chrome / Firefox / Edge) you should now be able to use ES 7 async / await to simplify your triggers / aliases.
For example:

Code: Select all

  /* jshint ignore:start */
  mud.connection.send('say Executed immediately')
  await wait(5.0)
  mud.connection.send('say Executed after 5 seconds')
  
  await waitUntil(/test/, 5).then((result) => {     
    mud.connection.send('grin');
  });

Post Reply
http://tworzymyatmosfere.pl/przescieradla-jedwabne-z-gumka/