Previously used by alcadia, currently used by archonia.
Download:
Source code for this emulator will not be released because I don't know what's in there (account credentials and other private information).
Instructions:
1. Install PostgreSQL 9.6.
2. Create database and user:
Code:
createuser -U postgres alef_user createdb -U postgres alef psql -U postgres (type in your password) ALTER USER alef_user WITH ENCRYPTED PASSWORD 'alef_pwd'; GRANT ALL PRIVILEGES ON DATABASE alef TO alef_user; \q
Code:
pg_restore -U alef_user -d alef < database.bak
- server\ini\server_config.ini
- patch\server_config.ini
- client\archlord.ini
5. All done. Run GameServer.exe and alefclient.exe to get into game.
You can add 'LimitCPU=1' to 'server\ini\game_config.ini' in order to reduce CPU use (it will add a sleep(1ms) to server loop). Not recommened on production server.
The attached database is a recent snapshot from archonia.
All passwords are set to 'password' (stored with random-generated salt and hashed).
GameServer.exe facilitates website access through TCP sockets.
Servers expects a zero-terminated string and responds with a zero-terminated string.
Requests:
Code:
CHECK_USERNAME:username (check if username is available) ADD_ACCOUNT:username:password:email ADD_BALANCE:username:balance (add CC)
Chat commands:
/add_cc amount
/create item_tid
/create item_tid stack_count
/create character_name item_tid stack_count
/spawn_instance spawn_name radius
/notice message
/ban_by_user username
/ban_by_character character_name
/get_user_by_character character_name
/unban user_name
/set_exp_rate rate
/set_gold_rate rate
/set_drop_rate rate
/set_unique_rate rate
/[un]ban_from_chat character_name
/set_max_cast value
/set_max_cooldown value
/arenadmg value (Arena damage reduction)
/setarenapts character_name points
/invisible
/move x,z
/goadmin character_name
/pull character_name
/kill character_name
/set_level level
/set_even_rate rate (Event monsters)
/arena[un]ban[ranked] character_name
/addarenacoins character_name amount
/boec character_name (toggle best of each class status)
Editor configuration:
1. Open 'editor\config' file with any text editor.
2. Update various paths to wherever you've unpacked server/editor/client.
Second release is an open-source project:
Currently there is a terrain editor, object editor and npc editor.
There is also a server emulator that is largely untested and with many features missing or incomplete.
I do plan to continue working on this project in the next few months, with daily updates and weekly releases.
Edit:
If you are having problems with missing DLLs, these DLLs are part of the PostgreSQL installation.
Normally, when PostgreSQL is installed, its bin directory will be added to your path, so you shouldn't get DLL errors.
If you still do, maybe this directory isn't added to your path for some reason, or the changes to path hasn't taken effect (restart your machine).
If you still get these errors, you can copy these to where GameServer.exe is from your PostgreSQL installation path.