Lux Delux
The Game Of Universal Domination 
Lux Delux
Maps - Rankings
Lux Alliance
Maps - Rankings
Turtoa: Global Rhythm
iOS - Android - Trailer - Rankings
Mission Me
iOS - Android
Sillysoft
News - Forums - FAQ
  RSS feeds  
!! Using a real debugger with your agent

! XCode

There's a thread in the forums with details on setting up XCode to debug agents: http://sillysoft.net/forums/viewtopic.php?t=1721

! Eclipse

Info here:
http://sillysoft.net/forums/viewtopic.php?p=105839#105839

! !NetBeans in Windows and OS X

Create a new project%%%
In the project properties, Sources, add the LuxSDK/src folder to the Source Package Folders%%%
In the project properties, Libraries, compile tab, add !LuxCore.jar if you are on Windows. In OSX, create an alias to /Applications/Lux.app/Contents/Resources/java/ and use it to add MRJAdapter.jar and !LuxCore.jar%%%
In the project properties, Run, set main class as com.sillysoft.lux.Lux, and set the Working Directory as the Lux folder (where you found !LuxCore.jar)%%%
From the main interface, project (or files) tab, select the src directory, drill down to com/sillysoft/lux/agent, creaty a new empty java file and copy another bot (like Angry.java) into it%%%
From the build menu, Build the main project (F11)%%%
If you want, set breakPoints in your source (click to the left of any line), and from the Run menu, Debug Main Project (F5).


! IntelliJ IDEA using remote debugging (JPDA)

Add these line to the Info.plist file within Lux.app/Contents:

VMOptions
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

Then create a run configuration that uses the default remote settings and make sure your agent class compiles to the Library dir where it should go normally. Then run Lux normally (seperately), and debug in IDEA. You can set breakpoints that intercept normal Lux action.

Turtoa: Global Rhythm Music Game brings world music to your fingertips.

Lux Delux advanced Risk game with over 1000 game maps, challenging AI, and online multi-player.

Lux Alliance diplomacy game is a simultaneous-turns team strategy boardgame. Diplomacy meets Axis & Allies game.

Lux Touch iOS risk game, and Lux DLX let you conquer the world on your iPhone, iPod, and iPad. Lux DLX android risk game

SitemapDownload GamesMac OS X gamesMapsBlogTerms of UseFAQ

Because taking over the world is fun.
                                 - Lux