Jump to content
  • 0

@go commands


Hatake Kakashi

Question


  • Group:  Members
  • Topic Count:  254
  • Topics Per Day:  0.06
  • Content Count:  825
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

how to change @go 0 prontera? i want to change at port malaya. thanks..

and their exact position for example. malaya,100,345.

thank you.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  

can you guys tell me how to change mine to caspen a custom map please tried and when compiling server i got a error.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

src/map/atcommand.c:

add malaya coordinates

    { MAP_PRONTERA,    156, 191 }, //  0=Prontera
    { MAP_MORROC,	  156,  93 }, //  1=Morroc
    { MAP_GEFFEN,	  119,  59 }, //  2=Geffen
    { MAP_PAYON,	   162, 233 }, //  3=Payon
    { MAP_ALBERTA,	 192, 147 }, //  4=Alberta
    { MAP_IZLUDE,	  128, 114 }, //  5=Izlude
    { MAP_ALDEBARAN,   140, 131 }, //  6=Al de Baran
    { MAP_LUTIE,	   147, 134 }, //  7=Lutie
    { MAP_COMODO,	  209, 143 }, //  8=Comodo
    { MAP_YUNO,	    157,  51 }, //  9=Yuno
    { MAP_AMATSU,	  198,  84 }, // 10=Amatsu
    { MAP_GONRYUN,	 160, 120 }, // 11=Gonryun
    { MAP_UMBALA,	   89, 157 }, // 12=Umbala
    { MAP_NIFLHEIM,	 21, 153 }, // 13=Niflheim
    { MAP_LOUYANG,	 217,  40 }, // 14=Louyang
    { MAP_NOVICE,	   53, 111 }, // 15=Training Grounds
    { MAP_JAIL,		 23,  61 }, // 16=Prison
    { MAP_JAWAII,	  249, 127 }, // 17=Jawaii
    { MAP_AYOTHAYA,    151, 117 }, // 18=Ayothaya
    { MAP_EINBROCH,	 64, 200 }, // 19=Einbroch
    { MAP_LIGHTHALZEN, 158,  92 }, // 20=Lighthalzen
    { MAP_EINBECH,	  70,  95 }, // 21=Einbech
    { MAP_HUGEL,	    96, 145 }, // 22=Hugel
    { MAP_RACHEL,	  130, 110 }, // 23=Rachel
    { MAP_VEINS,	   216, 123 }, // 24=Veins
    { MAP_MOSCOVIA,    223, 184 }, // 25=Moscovia

f you want your newly added location to be in the message when you typed @go, modify the following line in .../src/map/atcommand.c:

Change the Map in the 0 equivalent for @ go; Example 0= Malaya

clif_displaymessage(fd, " 0=Prontera		 1=Morroc	   2=Geffen");

Note: Always make sure the numbers are aligned perfectly vertical in the text file and also, make sure, when adding the first map, that the "" is moved ahead of it as shown in the example above.

Also, if you want @go to work with the town name as well as with the number, find the following lines:

if (strncmp(map_name, "prontera", 3) == 0) {
 town = 0;

After that, Recompile the server

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

Share your error and show what you have already modify ...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

Don't remove pronteras define, just add caspen below.

Out of curiosity, did you screenshot with a phone camera? ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  236
  • Reputation:   1
  • Joined:  04/25/12
  • Last Seen:  

How it's going to read prontera not caspen? explain? :o

And yes i did hahaha /pat

3 success 1 failed.

error i get.

http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0115.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

It will read Caspen AND Prontera. You're simply adding Caspen to the map list. Replacing Prontera will cause errors and make the Prontera map completely unusable.

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...