Rage Guy Posted June 6, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Share Posted June 6, 2013 I want change the jail how ?? when i use @jail i want them to be jailed at que_moon Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 6, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 27 Share Posted June 6, 2013 trunk/src/common/mapindex.h Find: #define MAP_JAIL "sec_pri" Change to: #define MAP_JAIL "yourmap" Quote Link to comment Share on other sites More sharing options...
Luciar Posted June 6, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 177 Reputation: 21 Joined: 01/31/12 Last Seen: March 8, 2020 Share Posted June 6, 2013 (edited) This is not a script modification, but a source mod. Anyways, open src/common/mapindex.h Find #define MAP_JAIL "sec_pri" and change it to #define MAP_JAIL "que_moon" You'll also need to ensure that que_moon is configured with the correct mapflags to ensure players remain jailed on that map. (Look at the mapflags set on sec_pri and copy them over) Edit: Aww Anakid beat me xP Edited June 6, 2013 by luciar Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted June 6, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted June 6, 2013 idk but its not working i tryed // Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _MAPINDEX_H_ #define _MAPINDEX_H_ //File in charge of assigning a numberic ID to each map in existance for space saving when passing map info between servers. extern char mapindex_cfgfile[80]; #define MAX_MAPINDEX 2000 //Some definitions for the mayor city maps. #define MAP_PRONTERA "prontera" #define MAP_GEFFEN "geffen" #define MAP_MORROC "morocc" #define MAP_ALBERTA "alberta" #define MAP_PAYON "payon" #define MAP_IZLUDE "izlude" #define MAP_ALDEBARAN "aldebaran" #define MAP_LUTIE "xmas" #define MAP_COMODO "comodo" #define MAP_YUNO "yuno" #define MAP_AMATSU "amatsu" #define MAP_GONRYUN "gonryun" #define MAP_UMBALA "umbala" #define MAP_NIFLHEIM "niflheim" #define MAP_LOUYANG "louyang" #define MAP_JAWAII "jawaii" #define MAP_AYOTHAYA "ayothaya" #define MAP_EINBROCH "einbroch" #define MAP_LIGHTHALZEN "lighthalzen" #define MAP_EINBECH "einbech" #define MAP_HUGEL "hugel" #define MAP_RACHEL "rachel" #define MAP_VEINS "veins" #define MAP_JAIL "que_moon" #define MAP_NOVICE "new_1-1" #define MAP_MOSCOVIA "moscovia" #define MAP_MIDCAMP "mid_camp" #define MAP_MANUK "manuk" #define MAP_SPLENDIDE "splendide" #define MAP_BRASILIS "brasilis" #define MAP_DICASTES "dicastes01" #define MAP_MORA "mora" #define MAP_DEWATA "dewata" #define MAP_MALANGDO "malangdo" #define MAP_MALAYA "malaya" #define MAP_ECLAGE "eclage" const char* mapindex_getmapname(const char* string, char* output); const char* mapindex_getmapname_ext(const char* string, char* output); unsigned short mapindex_name2id(const char*); const char* mapindex_id2name(unsigned short); void mapindex_init(void); void mapindex_final(void); int mapindex_addmap(int index, const char* name); int mapindex_removemap(int index); #endif /* _MAPINDEX_H_ */ Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 6, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 27 Share Posted June 6, 2013 Recompile your SVN. Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted June 6, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted June 6, 2013 what is recompile ? i have closed and opened the server o.O Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 6, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 27 Share Posted June 6, 2013 http://rathena.org/wiki/Compiling Quote Link to comment Share on other sites More sharing options...
Question
Rage Guy
I want change the jail how ??
when i use
@jail
i want them to be jailed at
que_moon
Link to comment
Share on other sites
6 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.