Posted: Thu Jul 07, 2005 12:04 am Post subject: AiChaos Leviathan 1.5.1 Patch
This is a patch meant for Leviathan 1.5
The patch is to fix the bot loading mechanism in Leviathan 1.5 to use pure Perl as opposed to XML because many people have nonsense XML errors that can't seem to be solved.
Included in the Zip:
- Updated Leviathan.pl and GUI.pl
- BotData.txt -- sample bot data file.
Format of New Botdata Files:
Each bot will have its own file. But the file formats aren't like they were on Juggernaut. Now, botfiles are pure Perl, using hashrefs. The bot's main data (brain, replies, etc.) is defined first followed by its mirrors. It's formatted similarly to the XML, but is not XML-based and should cause less problems.
Example BotData File Source
Here's an example of the source of a bot's file:
Code:
{
# Main Bot Information #
name => 'Leviathan',
brain => 'Alpha',
replies => './replies/alpha/standard',
data => './data/profiles/Leviathan.txt',
It isn't my fault, the server just needed to be reloaded >_<. Anywho, AIChaos.com has moved hosts now, and will now work fully =]. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]