Hi all,
I'm trying to create a seperate DLL file for ascent which reads several settings from a config file. This works all like it should, but I'm also trying to adjust the players speed (run/swim/fly) when they login.
At the moment I have changed this in the ascent core itself, but I would prefer if I could add this in my own config file and change it a bit more easy.
I have tried hooking it to the event: SERVER_HOOK_EVENT_ON_ENTER_WORLD
and use the following for changing the speed (picked this up from level1.cpp) pPlayer->SetPlayerSpeed(RUN, STARTING_RUNSPEED);
STARTING_RUNSPEED is the float value read from my config file.
I'm a beginner with C++, so maybe some of the experts here could give me a hand and tell me it is possible at all or I just should forget it.