~armagetronad-ap/armagetronad/BattleMania

« back to all changes in this revision

Viewing changes to src/tools/commands.php

  • Committer: zodiacsohma1 at gmail
  • Date: 2013-12-20 06:57:24 UTC
  • Revision ID: zodiacsohma1@gmail.com-20131220065724-orc5l03scly1zc1n
Added ladderlog.txt for testing.
Added test.php for offline testing purposes.
Added new records to /data/*
Added learnAttack()  and level program to -stats.

Removed update_active_data() since there is no use in keeping it around.
Started making an attack manager so users can learn/change/remove their learnt attacks.
Updated game config settings.

Fixed spawnObject() in zone.php.
Fixed PLAYER_MESSAGE by adding slashes to the message string.
Fixed records output and input of attack names they learnt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
//!> Player Message
51
51
function pm(Player $player, $message)
52
52
{
53
 
    sendCommand("PLAYER_MESSAGE", $player->log." \"".$message."\"");
 
53
    sendCommand("PLAYER_MESSAGE", $player->log." \"".addslashes($message)."\"");
54
54
}
55
55
 
56
56
//!> Center Message