Quote:
Originally Posted by Zonni
When you compiled client and tried to run it you having an error
Code:
Python int too large to convert to C long
you must simply add this
Code:
// Python int too large to convert to C long
#define PyLong_AsLong PyLong_AsLongLong
#define PyLong_AsUnsignedLong PyLong_AsUnsignedLongLong
to ScriptLib/PythonUtils.cpp under the
Code:
#include "PythonUtils.h"
.
|
That is the fix I made and shared via skype. (8 months ago)
I specifically don't care about it, except that you're releasing code not yours without pointing out who made it. (the possibility that someone else made the same implementation fix verges the zero, even if it's so simple)
Speaking of which, an another way is to change the return type of the color functions from signed to unsigned. (still inside client source code)
NB: The one made via root is buggy and different colors will not be shown anymore. (e.g. using say_reward/_title)