How to setup a Stendhal webclient development environment
Jump to navigation
Jump to search
- Setup a development environment as discussed in Using Eclipse with Stendhal
- Edit server.ini to this line:
http_port=8080
- Run
ant compilejs
. In Eclipse you can right click on build.xml and select {Run | Ant Build...}. In the dialog deselect all targets and select "compilejs". - Launch the Stendhal server
- Visit http://127.0.0.1:8080/stendhal.html
- You can add #charname to the end of the above urls. Note those characters must belong to the account name configured.
- At this time, you still need the traditional Java client (or a website) to create a new account or to create a new character. The development version in Git allows account creation.
- To simplify testing, you can add the following line to skip authentication. Replace "accountname" with the name of your account:
debug_fake_web_username=accountname