suggestion for display coherence
2007.Sep.10, 10:44 AM
 
Post: #2
Well, this could probably be possible, but the thing is that I am guessing is that the game's scripts include all of the user menu before each page's script is ran. So, when a certain game script does some thing to your action points or energy points, it does that after the user menu is displayed and well, that code has already ran and will not be ran again, unless you request a webpage, therefore defeating the purpose of this topic. Now, if the user menu's code was ran after the game's scripts, then you could keep your action points and energy up to date, because all of the update queries on your action points and energy can be executed, before the user menu and then the user menu's code can execute a query to get your action points and energy points, that was just updated and then display accordingly. But, there is probably a much better way to do this, which I have not heard of. May be some thing with AJAX? I have heard that this can make your website live, with out needing to reload the page and looking for updates.

*Comes back down to Earth*


Messages In This Thread
[] - Dragon - 2007.Sep.10 10:44 AM
[] - chaosprime - 2007.Sep.10, 10:57 AM
[] - McCule - 2007.Sep.10, 11:40 AM
[] - buuddha - 2007.Sep.10, 12:01 PM
[] - chaosprime - 2007.Sep.10, 12:12 PM
[] - Canosoup - 2007.Sep.10, 12:17 PM
[] - Dragon - 2007.Sep.10, 01:05 PM
[] - buuddha - 2007.Sep.10, 03:52 PM
[] - Dragon - 2007.Sep.10, 03:58 PM