Krixius 13 Posted February 12, 2015 Share Posted February 12, 2015 Hi dev, actually im trying to check if its posible when i start the game. put a new line under LocaleService, for check if exptable.txt its in the correct site. If it is, the game start. If it isn't the game don't start, and say you a error on the freebsd. Any idea? My exptable is in locale/common/exptable.txt Regards Akroma Link to comment Share on other sites More sharing options...
iRemain 17 Posted February 12, 2015 Share Posted February 12, 2015 look at config.cpp unde this: TOKEN("server_key") { CCheckServer::Instance().AddServerKey(value_string); continue; } } put this: fprintf(stderr, " You'r text n"); EDIT: sorry didn't read coreclly the question. This is not the solutin Link to comment Share on other sites More sharing options...
Krixius 13 Posted February 12, 2015 Author Share Posted February 12, 2015 i need to check, & and say this, not only to say. how can i check if my exptable its in locale/common? Example: If exptable.txt is in locale/common: Game starts. and under line of LocaleService, a new line called: ExpTable: locale/common/exptable.txt Loaded if exptable.txt isn't in locale/common Game don't start. Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now