<< ============================= || - Inicio - Mapa - Enlaces - Actualizaciones - Archivos Públicos - || ============================= >>

SCAOS (Simple C AO Server)

This is a simple, memory efficient, dependency free and not hard to modify Attorney Online 2 server made in C for soydevs and retards alike.
You can read the source code here.
Pick one of the following versions:

(Any OS) Source Code - You know what you're doing so lets compile that shit.
(Windows) Dynamic - Just run scaos.exe with cmd/powershell.

If you picked the first one, read below...


Basic Setup

First of all, install a C compiler. If you're on Windows, install MinGW and run compileandrun.bat.

For Linux users, install tcc with your package manager and run compileandrun.sh. Here's an Arch quickie:


        sudo pacman -S tcc
        chmod +x ./compileandrun.sh
        ./compileandrun.sh
        

If you are using an old AO version, join the server using the TCP port, otherwise follow the WS port.

Congratulations, your low-level highly customizable child grooming e-dungeon is up and running! I hope you're fucking happy.

To customize your server, go to the config folder. Delete areas.txt and config.txt if you don't know what you're doing and edit the files. Ignore .autogen_macros.h, it's generated automatically.

When you're done, run compileandrun again.

Developer Notes

Dynamic Version

If you want to use runtime (dynamic) lists compile with


        -DUSE_RUNTIME_LISTS
        

You might want to check src/lists.h if you're working with it.

Windows

When compiling manually, make sure to link the socket library by adding this at the end


        -lws2_32
        

If you are on Windows XP, add this compiler flag


        -D_WIN32_WINNT=0x0501
        

Released under CC 1.0 plus a waiver of all other intellectual property. The goal of this work is be and remain completely in the public domain forever, available for any use whatsoever.