Difference between revisions of "Talk:Mod system proposal"
(Added interface script section) |
m (signing my post) |
||
Line 4: | Line 4: | ||
generally interface scripts either doesn't affect server state at all, or are sending requests to scripts on server to make server consider making changes | generally interface scripts either doesn't affect server state at all, or are sending requests to scripts on server to make server consider making changes | ||
+ | |||
+ | idea by majaczek |
Latest revision as of 12:09, 6 February 2012
Scripts. I suggest a thing like Interface Scripts - scripts that handles UI, graphics etc. and has no direct access to game data, however they can make a call to server possibly quering server script for something I suggest that because network-polling for every menu click will be relatively slow, and with my aproach scripts can be asynchronous (eg. caching player decision and send as a batch, not calling any server routine if ie. player goes to bank and says "No, Thanks", taking actions without impact on server data would be possible without server polling (resizing of windows, sorting hero lists, choosing possible skin etc.)) and there can be direct access to client's UI/graphics/music without polling server (skinning, doing "Event received makes sound", popping up some funny useles OK-only dialogs etc)
generally interface scripts either doesn't affect server state at all, or are sending requests to scripts on server to make server consider making changes
idea by majaczek