Crash capitales
Bonjour, je rencontre un souci actuellement avec ascent, quand je me tp ou que je m'approche de n'importe quel capitale le serveur crash.

Pouvai vous m'aider svp?
Poste l'erreur que tu as dans server.log ou un truc du même style
Voila ce qu'il m'affiche dans l'erreur.

[code=lua] static int tostring_T (lua_State *L) {
char buff[32];
T ** ptrHold = (T**)lua_touserdata(L,1);
T *obj = *ptrHold;
sprintf(buff, "%p", obj);
lua_pushfstring(L, "%s (%s)", GetTClassName<T>(), buff);
return 1;
}
ARCEMU_INLINE static void tostring(char * buff,void * obj)
{
===> sprintf(buff,"%p",obj);
}
};

void report(lua_State * L)
{
const char * msg= lua_tostring(L,-1);
while(msg)
{
lua_pop(L,-1);
printf("\t%s\n", msg);
msg=lua_tostring(L,-1);
}[/code]
http://www.zone-emu.fr/thread-5156.html Essaye la nouvelle maj si tu tourne sous windows
merci mille fois!!!!
Oui ça c'est du au LUAENgine, pour information c'est aussi corrigé dans la dernière rev d'AscentFR (303).
Ok merci bien

Retourner en haut Accueil