(07 Nov 13, 10:59PM)grenadier Wrote: Lucas: hint to fix "Master server is not replying." bug:
In serverbrowser.cpp there is: 1340: char *content = loadfile(tmpname, &size);"
"tmpname" before this code = "/home/USER/.assaultcube_svn/config/servers_tmp.cfg"
"tmpname" after this code = "/home/USER/.assaultcube_svn//home/USER/.assaultcube_svn//home/USER/.assaul" , so something is wrong.
When I changed "1340" line for: "char *content = loadfile("/home/USER/.assaultcube_svn/config/servers_tmp.cfg", &size);" servers list updating always works!
Please fix now this bug more professionally. :P
Mod edit: cfg > cpp
Changing in serverbrowser.cpp 1340 line for:
[SELECT ALL] Code:
char *content = loadfile(path("config/servers_tmp.cfg", true), &size);
should help.