Lux not loading compiled agent

AI discussion, ideas, and SDK help.
Post Reply
forgottenduck
Lux Newbie
Posts: 1
Joined: Wed Apr 16, 2014 2:43 pm

Lux not loading compiled agent

Post by forgottenduck » Wed Apr 16, 2014 2:47 pm

I'm fairly new to using Lux, but I have an AI agent that I would like to test out and see how it is doing. Everything is compiling without error in Eclipse, and it creates the .class file in the bin directory. I copied that file into the Agents folder within Support, but Lux does not seem to find my AI agent. I can get other agents to load by placing them there. For example, I renamed Angry to Angry2, and recompiled, moved Angry2.class into the folder and it showed up in Lux. Any idea why my agent would compile but not be loaded?

User avatar
dustin
Lux Creator
Lux Creator
Posts: 10433
Joined: Thu May 15, 2003 2:01 am
Location: Cascadia
Contact:

Re: Lux not loading compiled agent

Post by dustin » Thu Jul 03, 2014 9:27 pm

Is your agent class in a package? (The first line of the source code will tell you)

Make sure the package matches the Angry one if that's working OK for you.

Post Reply