I'm new here so i'll ask some noobs questions ^^
i'm starting to create a java AI and following this tuto : http://springrts.com/wiki/AI:Development:Lang:Java
i've done what they said up to "Test your AI " but when i add a bot with springlobby my AI dosen't appear. Instead i got a "NullOOJavaAI 0.1 (2)" and the className is the same as NullOOJavaAi.
I checked my info file and rechecked everything but can't find why it dosen't work.
Here is my AIInfo.lua
Code: Select all
--
-- Info Definition Table format
--
--
-- These keywords must be lowercase for LuaParser to read them.
--
-- key: user defined or one of the SKIRMISH_AI_PROPERTY_* defines in
-- SSkirmishAILibrary.h
-- value: the value of the property
-- desc: the description (could be used as a tooltip)
--
--
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local infos = {
{
key = 'shortName',
value = 'diplomatie',
desc = 'machine name',
},
{
key = 'version',
value = '0.1', -- AI version - !This comment is used for parsing!
},
{
key = 'name',
value = 'Civilisation diplomatique.',
desc = 'display name',
},
{
key = 'loadSupported',
value = 'no',
desc = 'whether this AI supports loading or not.',
},
{
key = 'interfaceShortName',
value = 'Java', -- AI Interface name - !This comment is used for parsing!
desc = 'java interface',
},
{
key = 'interfaceVersion',
value = '0.1', -- AI Interface version - !This comment is used for parsing!
desc = 'required interface version',
},
}
return infos
Then i tried to change the name of the other AI i have in my folder (AAI,KAIK,E323AI etc..) but even if i edit their info files to change their names or wathever i just don't update on my springlobby.
so i thought my springlobby have saved the AI info elsewhere and i just keep editing for nothing ? where can i actualise the AI and make springlobby acknowledge my AI ?
(my springlobby version is 0.63 msw and i'm running on windows 7)
Thanks for your help.