Hatake Kakashi Posted June 5, 2012 Posted June 5, 2012 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. Quote
1 elcontrol00 Posted June 5, 2012 Posted June 5, 2012 can you guys tell me how to change mine to caspen a custom map please tried and when compiling server i got a error. Quote
Decimal Posted June 5, 2012 Posted June 5, 2012 Maybe this would help you with: http://rathena.org/wiki/@go Quote
RCharles Posted June 5, 2012 Posted June 5, 2012 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 Quote
Aerie Posted June 5, 2012 Posted June 5, 2012 Share your error and show what you have already modify ... Quote
elcontrol00 Posted June 6, 2012 Posted June 6, 2012 Look at what i edited and the errors i got. http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0108.jpg http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0107.jpg http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0114.jpg http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0113.jpg http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0112.jpg http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0111.jpg http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0109.jpg I also recompiled my server. Quote
plankt Posted June 6, 2012 Posted June 6, 2012 Don't remove pronteras define, just add caspen below. Out of curiosity, did you screenshot with a phone camera? ^^ Quote
elcontrol00 Posted June 6, 2012 Posted June 6, 2012 How it's going to read prontera not caspen? explain? And yes i did hahaha 3 success 1 failed. error i get. http://i1162.photobucket.com/albums/q524/elcontrol00/IMAG0115.jpg Quote
_Dynosawr_ Posted June 6, 2012 Posted June 6, 2012 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. Quote
Question
Hatake Kakashi
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.
8 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.