I want to change a specific location of comodo to @go 0. I follow the wiki, but still couldn't get it working. My steps are following
I changed
{ MAP_PRONTERA, 156, 191 }, // 0=Prontera
to
{ MAP_PRONTERA, 156, 191 }, // 8=Prontera
------------------------------------------------------------
{ MAP_COMODO, 177, 309 }, // 8=Comodo
to
{ MAP_COMODO, 177, 309 }, // 0=Comodo
--------------------------------------------------------------------------
if (strncmp(map_name, "prontera", 3) == 0) {
town = 9;
to
if (strncmp(map_name, "prontera", 3) == 0) {
town = 8;
-----------------------------------------------------------------------------
} else if (strncmp(map_name, "comodo", 3) == 0) {
town = 8;
to
} else if (strncmp(map_name, "comodo", 3) == 0) {
then after i recompile the server. i type @go 0 in game, i still go to prontera. what did i do wrong? am i missing any steps?
thank you in advance
town = 0;