ABx Game Server

Hi all,

since about 3 years I’m working on a game server with Urho3D as the client’s game engine. Slowly it is taking some shape, although if you ask me how much is done, I would say 1% :laughing:.

But recently I made it possible to change skills with the client and suddenly it feels a bit more complete :star_struck: see https://devtube.dev-wiki.de/videos/watch/a6c82c9d-aebe-4097-8019-3f186b7330aa

GitHub: https://github.com/stievie/ABx
GameDev.net blog: https://www.gamedev.net/projects/1587-abx
Some videos: https://devtube.dev-wiki.de/video-channels/trill_channel/videos

All the best and stay healthy.
Stefan

6 Likes

Are you looking for people to test that Trojan toiletpaper? Or is it too soon? :slightly_smiling_face:

Following the instructions in the readme I run into the following compilation error:

In file included from ../Include/kaguya/state.hpp:17,
                 from ../Include/kaguya/kaguya.hpp:11,
                 from ../abserv/abserv/stdafx.h:86:
../Include/kaguya/lua_ref_table.hpp: In static member function ‘static kaguya::lua_type_traits<std::array<_Tp, _Nm> >::get_type kaguya::lua_type_traits<std::array<_Tp, _Nm> >::get(lua_State*, int) [with T = float; long unsigned int S = 3]’:
../Include/kaguya/lua_ref_table.hpp:380:12: error: ‘res’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return res;

I was just very happy that the Skills work the way they work now, and I wanted to share it. I’m not yet sure what to do with the toilet paper :grinning:.

I found the maybe-uninitialized warning of GCC a bit unreliable, but I didn’t get it yet in the kaguya library (the Lua binding the server uses). However, I added now -Wno-maybe-uninitialized to abserv.make.

I’ve always wanted to TP the colloseum. :stuck_out_tongue_winking_eye:

I tried copying config.xml into Bin/ and Bin/config/, but in both cases I still get:

Required argument 'host' is missing
Required argument 'port' is missing

Type `dbgclient -h` for help.

When running ./dbgclient -host stievie.mooo.com -p 2748 I see this:


Which disappears when I resize the terminal window.

You try to connect to the wrong host, change

  <parameter name="LoginHost" type="string" value="stievie.mooo.com" />

stievie.mooo.com to the host your are running the server, e.g. localhost
in config.xml.

This config file should be in abclient/bin, it is to tell the game client where to connect to. Only the game client (abclient/bin/fw) needs it.

And you seem to use the debug client, which connects to the server and shows some internal states. I wrote this client for debugging the AI.

You may want to run ./fw in abclient/bin instead, which is the game client.

Good luck Stefan

P.S. Yeah the debug client does not react when the size of the terminal changes.