Bayne Posted April 23, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 29 Reputation: 0 Joined: 04/23/13 Last Seen: May 7, 2013 Share Posted April 23, 2013 (edited) Huhu folgenes, ich wollte heute die @go von pron (0) und izlude (5) tauschen. Nun habe ich ein Problem Vorgehensweise: 1. in \src\map habe ich die atcommand © geöffnet 2. folgene Stelle aufgesucht: { MAP_IZLUDE, 128, 93 }, // 0=Izlude (Renewal) { MAP_MORROC, 156, 93 }, // 1=Morroc { MAP_GEFFEN, 119, 59 }, // 2=Geffen { MAP_PAYON, 162, 233 }, // 3=Payon { MAP_ALBERTA, 192, 147 }, // 4=Alberta #ifdef RENEWAL { MAP_PRONTERA, 156, 191 }, // 5=Prontera wie man sieht schon abgeändert. Danach die server compiled und getestet. Soweit so gut, funktioniert auch. Nun habe ich allerdings noch das problem das beim eingeben von @go (die auflistung) immernoch prontera an stelle 0 steht und izl an stelle 5 ich weiss das weiter unten sich folgenes befindet: if (strncmp(map_name, "prontera", 3) == 0) { town = 0; } else if (strncmp(map_name, "morocc", 4) == 0 || strncmp(map_name, "morroc", 4) == 0) { town = 1; } else if (strncmp(map_name, "geffen", 3) == 0) { town = 2; } else if (strncmp(map_name, "payon", 3) == 0) { town = 3; } else if (strncmp(map_name, "alberta", 3) == 0) { town = 4; } else if (strncmp(map_name, "izlude", 3) == 0) { town = 5; allerdings nach änderungen, sei es an der mapID oder den mapnamen, keinerlei änderungen ingame. Ich kriege die 0 nicht mit der 5 getauscht (ja danach auch wieder compiled) Wüsste einer ne Lösung? Vielen Dank Edit: axo, den guide http://rathena.org/board/topic/57721-go-command-aendern-adden/ habsch mir auch angeschaut scheinbar hat sich mit der zeit vieles verändert // if no value, display all value if (!message || !*message || sscanf(message, "%11s", map_name) < 1 || town < 0 || town >= ARRAYLENGTH(data)) { clif_displaymessage(fd, msg_txt(38)); // Invalid location number or name. clif_displaymessage(fd, msg_txt(82)); // Please, use one of this number/name: clif_displaymessage(fd, " 0=Niflheim 1=Morroc 2=Geffen"); clif_displaymessage(fd, " 3=Payon 4=Alberta 5=Izlude"); clif_displaymessage(fd, " 6=Al De Baran 7=Lutie 8=Comodo"); clif_displaymessage(fd, " 9=Yuno 10=Amatsu 11=Gonryun"); clif_displaymessage(fd, " 12=Umbala 13=Prontera 14=Louyang"); clif_displaymessage(fd, " 15=Novice Grounds 16=Prison 17=Jawaii"); clif_displaymessage(fd, " 18=Ayothaya 19=Einbroch 20=Lighthalzen"); clif_displaymessage(fd, " 21=Einbech 22=Hugel 23=Rachel"); clif_displaymessage(fd, " 24=Veins"); return -1; } existiert in der atcommand © nichtmehr Edited April 23, 2013 by Bayne Quote Link to comment Share on other sites More sharing options...
Docubo Posted April 23, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 117 Reputation: 8 Joined: 05/07/12 Last Seen: May 12, 2024 Share Posted April 23, 2013 Hey, schau mal hier: http://rathena.org/wiki/@goGanz unten. If you want your map to show up in @go when you do @go, you would need to add it to one more file and this file is called the help.txt. You can find such file by heading to .../conf/help.txt. Search for go: so that you can find this code: Quote Link to comment Share on other sites More sharing options...
Bayne Posted April 23, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 29 Reputation: 0 Joined: 04/23/13 Last Seen: May 7, 2013 Author Share Posted April 23, 2013 ehm lol, vielen dank so einfach kanns sein ;P Quote Link to comment Share on other sites More sharing options...
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.