Quote:
[i]04-17-03 at 07:01 PM Jagang said this in Post # 1495
In the Battle table, the field battlekey is blank even though I set a password. If it helps I am running MySQL 3.23.41
|
Quote:
04-21-03 at 03:07 AM Bitsys said this in Post #1504
in battlefight.php, find:
PHP Code:
If($battleopt[privacy] != 0 && $battle[battlekey] != $battlekey) {
eval("dooutput(\"".gettemplate('battle_badroom')."\");");
exit;
}
and change it to:
PHP Code:
/*If($battleopt[privacy] != 0 && $battle[battlekey] != $battlekey) {
eval("dooutput(\"".gettemplate('battle_badroom')."\");");
exit;
}*/
That will temporarily fix the problem by disabling the password check. This means that battles will be open to everyone.
|
This did not work and I am still getting the same error. Invalid battle or password It is not populating a password in the database and the PMs send a link to /battlefight.php?action=enterbattle&battlenumber=23 &battlekey=
Public or private battle settings make no difference. I can manually start the battles in the CP by entering a password there or by setting the battle state to 1 and the rest of the battle works fine but without the automation of starting battles the battle system is useless. Any other suggestions?