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.
Episode 3 Release:
Database instructions remain the same except that database name is changed from alef to alef_ep3.
Download and install the episode 3 client. Extract the files in zip to apply patch.
Episode 3 server doesn't have as many chat commands but some important ones remain such as /move and /create. Most gm commands work on all users. I'll especially mention two commands:
/add_cc username amount
/auto_loot
Restore database with pg_restore above, don't forget to change alef to alef_ep3.
A backup file is included in release (2017-11-08T14-00-00.bak).
Update server_config.ini with your own IP. Run client from command line (without brackets):
.\alefclient.exe /L[IP]:[Port]
You can't create new accounts but there are more than 4000 accounts for you to play with, which you can find in users.txt file. All passwords are reset to "password", without quotes.
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.






