davyliyang Posted March 11, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 30 Reputation: 1 Joined: 03/08/14 Last Seen: June 16, 2014 Share Posted March 11, 2014 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; Quote Link to comment Share on other sites More sharing options...
krisnx Posted March 11, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 104 Reputation: 4 Joined: 06/23/12 Last Seen: October 20, 2022 Share Posted March 11, 2014 search if (strncmp(map_name, "prontera", 3) == 0) { town = 0; } change it to .. if (strncmp(map_name, "comodo", 3) == 0) { town = 0; } and search .. else if (strncmp(map_name, "comodo", 3) == 0) { town = 8; } change it to .. else if (strncmp(map_name, "prontera", 3) == 0) { town = 8; } recompile it maybe it works now Quote Link to comment Share on other sites More sharing options...
davyliyang Posted March 11, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 30 Reputation: 1 Joined: 03/08/14 Last Seen: June 16, 2014 Author Share Posted March 11, 2014 It works again. Thank you. Quote Link to comment Share on other sites More sharing options...
Question
davyliyang
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
--------------------------------------------------------------------------
-----------------------------------------------------------------------------
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
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.