PDA

View Full Version : Attack Messages


imported_Vengeance2k0
09-05-2005, 11:55 PM
You know how when you make an attack. A qoute appears and says:

Username1 has attacks dealing 70 points of damage Username2 tried to dodge but didn't

Well I want to know, what would I have to change to make those statements read in the opposite direction? So the newest message would be at the top instead of the bottom of the list?

This might be good for future releases as well or something.

Revan
09-06-2005, 11:33 AM
You can do this with a file mod.
SELECT battleaction, battleactionid, username FROM " . TABLE_PREFIX . "rpg_battle_posts WHERE battlenumber='$battlenumber' ORDER BY battleactionid ASC"
to
SELECT battleaction, battleactionid, username FROM " . TABLE_PREFIX . "rpg_battle_posts WHERE battlenumber='$battlenumber' ORDER BY battleactionid DESC"
in battlefight.php

Ill add the changing of this "on-the-fly" to my todo-list.

imported_Vengeance2k0
09-06-2005, 05:32 PM
Thanks for the help ^^.