Revan, told you that you should test it before the release, even you said that you tested it with no problems, how can I believe it with those buggy things ?
and I don't know how could you miss this:
PHP Code:
$DB_site->query("DELETE FROM battle WHERE battlenumber='$battlenumber'");
should be replace with
PHP Code:
$DB_site->query("DELETE FROM ".TABLE_PREFIX."rpg_battle WHERE battlenumber='$battlenumber'");
it's rpg_battle but not battle (there is no battle table), this is a crazy mistake that I couldn't even believe
of course the battle doesn't work, I think you got the same problem like the bitsys' RPG, you can re-read that thread.