JulioCF Posted August 6, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 224 Reputation: 60 Joined: 12/30/11 Last Seen: July 20, 2024 Share Posted August 6, 2012 I'm trying to implement a new command @go vip Have edited atcommand.c Line 2002: { MAP_SEC_IN01, 170, 168 }, // 36=sala vip Line 2126 and 2127 } else if (strncmp(map_name, "vip", 3) == 0) { town = 36; Line 2194 { MAP_SEC_IN01, 170, 168 }, // 29=sala vip Line 2304 and 2305 } else if (strncmp(map_name, "vip", 3) == 0) { town = 29; mapindex.h Line 49 #define MAP_SEC_IN01 "vip" Error: Map not found Thanks Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 6, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Thursday at 04:49 PM Share Posted August 6, 2012 try refer here http://rathena.org/wiki/@go Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted August 6, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted August 6, 2012 #define MAP_SEC_IN01 "sec_in01" Quote Link to comment Share on other sites More sharing options...
JulioCF Posted August 6, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 224 Reputation: 60 Joined: 12/30/11 Last Seen: July 20, 2024 Author Share Posted August 6, 2012 Thanks. I am obliged to take a parameter? ex: } else if (strncmp(map_name, "vip", 3) == 0) { town = 35; > } else if (strncmp(map_name, "vip", 3) == 0) { town = 40; Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted August 6, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted August 6, 2012 yes, that will be the number when you use @go Quote Link to comment Share on other sites More sharing options...
JulioCF Posted August 6, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 224 Reputation: 60 Joined: 12/30/11 Last Seen: July 20, 2024 Author Share Posted August 6, 2012 Ok, thanks. Locked. Quote Link to comment Share on other sites More sharing options...
Question
JulioCF
I'm trying to implement a new command
@go vip
Have edited atcommand.c
Line 2002:
Line 2126 and 2127
Line 2194
Line
2304 and 2305
mapindex.h
Line 49
Error: Map not found
Thanks
Link to comment
Share on other sites
5 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.