Jump to content
  • 0

@go mall


CybeR

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   8
  • Joined:  11/14/11
  • Last Seen:  

i followed this src http://rathena.org/wiki/@go

when i type @go mall

it warped me to prontera....

when i type @go 26

map not found

please help me once again >.<

Link to comment
Share on other sites

15 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

src/common/mapindex.h

add this

#define MAP_MALL "(mapname)"

Edited by bVersatile
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   8
  • Joined:  11/14/11
  • Last Seen:  

atcommand.c

{ MAP_VEINS, 216, 123 }, // 24=Veins

{ MAP_MOSCOVIA, 223, 184 }, // 25=Moscovia

{ MAP_TURBO_ROOM, 100, 155}, // 26=Mall

---------------------------------------------------------------

clif_displaymessage(fd, " 24=Veins 25=Moscovia 26=Mall");

return -1;

}

-----------------------------------------------------------------

} else if (strncmp(map_name, "turbo_room", 3) == 0) {

town = 26;

}

mapindex.h

#define MAP_MOSCOVIA "moscovia"

#define MAP_MALL "turbo_room"

#define MAP_ERISCASTLE "dicastes01"

c:\users\desktop\eathena\src\map\atcommand.c(2319): error C2065: 'MAP_TURBO_ROOM' : undeclared identifier

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

I have same problem, my map's not being found.. /sob

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@Cyber

you have to declare this also

MAP_TURBO_ROOM

in your mapindex.h

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

why the others automatically warp at prontera if they type @go mall. but for me. it brings me to malangdo map?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

u compared your string with

turbo_room

not mall

the correct one should be

} else if (strncmp(map_name, "mall", 3) == 0) {

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   8
  • Joined:  11/14/11
  • Last Seen:  

Thank you very much Emistry <3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

Thank you very much Emistry <3

How'd you get to work? :o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   8
  • Joined:  11/14/11
  • Last Seen:  

just copy paste the code then follow emistry's code xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

just copy paste the code then follow emistry's code xD

Can you show me your code or help me with mine? /sob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   8
  • Joined:  11/14/11
  • Last Seen:  

atcommand.c

{ MAP_VEINS, 216, 123 }, // 24=Veins

{ MAP_MOSCOVIA, 223, 184 }, // 25=Moscovia

{ MAP_TURBO_ROOM, 100, 155}, // 26=Mall

---------------------------------------------------------------

clif_displaymessage(fd, " 24=Veins 25=Moscovia 26=Mall");

return -1;

}

-----------------------------------------------------------------

} else if (strncmp(map_name, "mall", 3) == 0) {

mapindex.h

#define MAP_MOSCOVIA "moscovia"

#define MAP_TURBO_ROOM "turbo_room"

#define MAP_ERISCASTLE "dicastes01"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

atcommand.c

{ MAP_VEINS, 216, 123 }, // 24=Veins

{ MAP_MOSCOVIA, 223, 184 }, // 25=Moscovia

{ MAP_TURBO_ROOM, 100, 155}, // 26=Mall

---------------------------------------------------------------

clif_displaymessage(fd, " 24=Veins 25=Moscovia 26=Mall");

return -1;

}

-----------------------------------------------------------------

} else if (strncmp(map_name, "mall", 3) == 0) {

mapindex.h

#define MAP_MOSCOVIA "moscovia"

#define MAP_TURBO_ROOM "turbo_room"

#define MAP_ERISCASTLE "dicastes01"

I have all that, but it says Map not found? :o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   8
  • Joined:  11/14/11
  • Last Seen:  

hmmm maybe your svn is to latest or old

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

Works now, but how to make show @go? I get error when compiling scripts if I do your way?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

conf\help.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...