Re: LibXmlRpc Improvements
Posted: 10 Oct 2014, 15:32
1) Disable legacy can be done by:
Its hidden and set to True but this well set it to False.
S_UseScriptCallbacks is alway set to false but its not hidden so it can be achieved by:
2) I actually use the old json callbacks as they work for me a bit better then the new callbacks. Do not ask me why but i have a better experience with them.
3) Agreed. It might improve performance ingame aswell as load towards a database.
4) Just use the Json callbacks. Yes it takes a lot of time to code everything hehe
but there its managed who is attacker and who isn't. Can help you with that as the script sends the attacking player login towards the server controller.
5) LongHit can be achieved by adding the HitDistance into a database. In this way you can see who achieved a longHit.
6) As said maybe its a bit better to work with the old callbacks
Code: Select all
$this->connection->setModeScriptSettings(array('S_UseLegacyCallback' => false));
S_UseScriptCallbacks is alway set to false but its not hidden so it can be achieved by:
Code: Select all
$this->connection->setModeScriptSettings(array('S_UseScriptCallbacks' => true));
3) Agreed. It might improve performance ingame aswell as load towards a database.
4) Just use the Json callbacks. Yes it takes a lot of time to code everything hehe

5) LongHit can be achieved by adding the HitDistance into a database. In this way you can see who achieved a longHit.
6) As said maybe its a bit better to work with the old callbacks
