AlbianWarp / AlbianWarpClient

Albian Warp Client component!
http://blog.albianwarp.com
GNU General Public License v3.0
9 stars 2 forks source link

Client notifying the engine of incoming events (and generally communicating better) #36

Closed Amaikokonut closed 4 years ago

Amaikokonut commented 6 years ago

If the client could notify the engine of incoming creatures, DMAs, RTDMAs, and other stuff via a MESG WRIT/WRT+, it would make receiving/interpreting messages a lot faster and save the engine a lot of resources ticking through a long timer script.

Paired with SMAs (#32), this could establish a closer relationship between the client and engine and be used to handle problems such as creatures that don't warp in/out properly.

Amaikokonut commented 6 years ago

An example of how mesg/SMA communication could maybe work?:

or:

or:

KeyboardInterrupt commented 6 years ago

I like this Idea, The whole MESG WRT+ Thing is something we should use more, it would reduce the constant hammering on the Engine by the Tick timers and constantly checking threads inside the client.

This will allow us to make the client a lot more elegant. Also Having a state representation for creatures makes the whole construct more robust, we should do more stuff like this XD.

:+1:

KeyboardInterrupt commented 4 years ago

This is made obsolete by the Switch to ReBabel