omegaliezka Posted April 10, 2013 Posted April 10, 2013 Help! my guild standings doesn't show the castle names anymore It used to work fine until I edit the guild_castles_name.def and config_guild.php to add rachel and yuno castles. Here is what I edit in guild_castles_name.def Aldebaran - NeuschwansteinAldebaran - HohenschwangauAldebaran - NuenbergAldebaran - WuerzburgAldebaran - Rothenburg Geffen - RepherionGeffen - EeyolbriggarGeffen - YesnelphGeffen - BergelGeffen - MersetzdeitzPayon - Bright ArborPayon - Scarlet PalacePayon - Holy ShadowPayon - Sacred AltarPayon - Bamboo Grove HillProntera - KriemhildProntera - SwanhildProntera - FadhgridhProntera - SkoegulProntera - GondulNovice Castle 1Novice Castle 2Novice Castle 3Novice Castle 4Schwaltzvalt - HiminnSchwaltzvalt - AndlangrSchwaltzvalt - ViblainnSchwaltzvalt - HljodSchwaltzvalt - SkidbladnirArunafeltz - MardolArunafeltz - CyrArunafeltz - HornArunafeltz - GefnArunafeltz - Bandis Here is what I edit in config_guild.php <?php// Guild Standing Settings// ÃкØâËÁ´¢Í§¡Òâͧ»ÃÒÊÒ··ÕèÁÕ¡ÔÅ´ÔìÂÖ´¤Ãͧ (0 : äÁèáÊ´§¡ÔÅ´Ôì·ÕèÂÖ´¤Ãͧ 1 : áÊ´§¡ÔÅ´Ôì·ÕèÂÖ´¤Ãͧ)$GUILD_CASTLE[0] = '1'; // Aldebaran - Neuschwanstein$GUILD_CASTLE[1] = '1'; // Aldebaran - Hohenschwangau$GUILD_CASTLE[2] = '1'; // Aldebaran - Nuenberg$GUILD_CASTLE[3] = '1'; // Aldebaran - Wuerzburg$GUILD_CASTLE[4] = '1'; // Aldebaran - Rothenburg$GUILD_CASTLE[5] = '1'; // Geffen - Repherion$GUILD_CASTLE[6] = '1'; // Geffen - Eeyolbriggar$GUILD_CASTLE[7] = '1'; // Geffen - Yesnelph$GUILD_CASTLE[8] = '1'; // Geffen - Bergel$GUILD_CASTLE[9] = '1'; // Geffen - Mersetzdeitz$GUILD_CASTLE[10] = '1'; // Payon - Bright Arbor$GUILD_CASTLE[11] = '1'; // Payon - Scarlet Palace$GUILD_CASTLE[12] = '1'; // Payon - Holy Shadow$GUILD_CASTLE[13] = '1'; // Payon - Sacred Altar$GUILD_CASTLE[14] = '1'; // Payon - Bamboo Grove Hill$GUILD_CASTLE[15] = '1'; // Prontera - Kriemhild$GUILD_CASTLE[16] = '1'; // Prontera - Swanhild$GUILD_CASTLE[17] = '1'; // Prontera - Fadhgridh$GUILD_CASTLE[18] = '1'; // Prontera - Skoegul$GUILD_CASTLE[19] = '1'; // Prontera - Gondul$GUILD_CASTLE[20] = '1'; // Novice Castle 1$GUILD_CASTLE[21] = '1'; // Novice Castle 2$GUILD_CASTLE[22] = '1'; // Novice Castle 3$GUILD_CASTLE[23] = '1'; // Novice Castle 4$GUILD_CASTLE[24] = '1'; // Schwaltzvalt - Himinn$GUILD_CASTLE[25] = '1'; // Schwaltzvalt - Andlangr$GUILD_CASTLE[26] = '1'; // Schwaltzvalt - Viblainn$GUILD_CASTLE[27] = '1'; // Schwaltzvalt - Hljod$GUILD_CASTLE[28] = '1'; // Schwaltzvalt - Skidbladnir$GUILD_CASTLE[29] = '1'; // Arunafeltz - Mardol$GUILD_CASTLE[30] = '1'; // Arunafeltz - Cyr$GUILD_CASTLE[31] = '1'; // Arunafeltz - Horn$GUILD_CASTLE[32] = '1'; // Arunafeltz - Gefn$GUILD_CASTLE[33] = '1'; // Arunafeltz - Bandis?> Please anyone tell me what's wrong and I appreciate if someone can help me solve this. Thanx
omegaliezka Posted April 11, 2013 Author Posted April 11, 2013 sorry i try to add ss but can't put any ss either I paste it or attach it into this post. do you know how to do it Brynner?
rizkynggakool Posted April 20, 2013 Posted April 20, 2013 okay...i hope i'm not late to answer this one.it's simple.i have the same problem too. i hope my SGCP and yours are the same version.the problem is in the file "function.php" open it... find the function : function getcastlename($castle_value) in the function, modify this : $castle_name = explode("\r\n", file_get_contents("guild_castles_name.def")); into this : $castle_name = explode("\n", file_get_contents("guild_castles_name.def")); if it doesn't work, try this :$castle_name = explode("\r", file_get_contents("guild_castles_name.def")); if that doesn't work too... well bad luck...i have no more solution...you're on your own now....
Question
omegaliezka
Help! my guild standings doesn't show the castle names anymore
It used to work fine until I edit the guild_castles_name.def and config_guild.php to add rachel and yuno castles.
Here is what I edit in guild_castles_name.def
Here is what I edit in config_guild.php
Please anyone tell me what's wrong and I appreciate if someone can help me solve this.
Thanx
3 answers to this question
Recommended Posts