1 (edited by Henne 2010-10-26 19:44:23)

Topic: [Compiling] Got wrong version when connect to the server

Hello everybody smile
i just started to "hack the source" and it all worked fine till now. i edited the game/gamecore.cpp and compiled the server.
since then i get "wrong version client using 5 ************ server using 5 **************" from the client when i try to connect to the server.
shure, when i compile both it works, but i'd like to work it with the official teeworlds client.
i didn't change the version. i think so..

pls help me..

greeetz

edit: i just noticed that the nethash.c is recreated everytime i compile. that was not the case since now...

2

Re: [Compiling] Got wrong version when connect to the server

ofc... the nethash is generated every time u compile... the gamecore.cpp is one of the file used for this and this is a good thing since things in gamecore are for both... client and server. So changing stuff there might change important things which could cause massive prediction errors and stuff. If u are sure that u dont changes important stuff which i think is not really possible in gamecore u can just set the right nethash wink

uptee - a simple web interface for hosting and maintaining teeworlds servers
teerace - a website gathering results of trusted Race-mod servers providing global ranking and statistics
*gV* rox ^^

3

Re: [Compiling] Got wrong version when connect to the server

thank you smile
i am only trying to avoid player from moving by themselves. only by hooks "frozen".
maybe i'll find another way x'D