Jump to content
  • 0

[SGCP] Help guild standings error


omegaliezka

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  03/22/13
  • Last Seen:  

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 - Neuschwanstein
Aldebaran - Hohenschwangau
Aldebaran - Nuenberg
Aldebaran - Wuerzburg
Aldebaran - Rothenburg
Geffen - Repherion
Geffen - Eeyolbriggar
Geffen - Yesnelph
Geffen - Bergel
Geffen - Mersetzdeitz
Payon - Bright Arbor
Payon - Scarlet Palace
Payon - Holy Shadow
Payon - Sacred Altar
Payon - Bamboo Grove Hill
Prontera - Kriemhild
Prontera - Swanhild
Prontera - Fadhgridh
Prontera - Skoegul
Prontera - Gondul
Novice Castle 1
Novice Castle 2
Novice Castle 3
Novice Castle 4
Schwaltzvalt - Himinn
Schwaltzvalt - Andlangr
Schwaltzvalt - Viblainn
Schwaltzvalt - Hljod
Schwaltzvalt - Skidbladnir
Arunafeltz - Mardol
Arunafeltz - Cyr
Arunafeltz - Horn
Arunafeltz - Gefn
Arunafeltz - 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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

try to make an screenshots.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  03/22/13
  • Last Seen:  

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?

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   1
  • Joined:  03/24/13
  • Last Seen:  

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

Link to comment
Share on other sites

×
×
  • Create New...