Clan Emblem

Results 1 to 12 of 12
  1. #1
    Account Upgraded | Title Enabled! ::.kakashi.:: is offline
    MemberRank
    May 2009 Join Date
    MarsLocation
    321Posts

    Clan Emblem

    Hey, clan emblem wont show ingame how fixe?


  2. #2
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Clan Emblem

    Where are your emblems located? Give the complete directory of it and show me your system.xml.

  3. #3
    Account Upgraded | Title Enabled! ::.kakashi.:: is offline
    MemberRank
    May 2009 Join Date
    MarsLocation
    321Posts

    Re: Clan Emblem

    <?xml version="1.0" ?>
    <XML>
    <XMLHEADER>version="1.0"</XMLHEADER>

    <SKIN>Default</SKIN>

    <DEFFONT>Arial</DEFFONT>

    <IME>false</IME>

    <BAREPORT>
    <ADDR>www.battlearena.com</ADDR>
    <DIR>incoming/gunz_US</DIR>
    </BAREPORT>

    <EMBLEM_URL>http://75.**.***.***/killergunz/Emblems/</EMBLEM_URL>
    <TEMBLEM_URL>http://75.**.***.***/killergunz/Emblems</TEMBLEM_URL>

    <CASHSHOP_URL>http://75.**.***.***/</CASHSHOP_URL>

    <HOMEPAGE>
    <URL>http://75.**.***.***</URL>
    <TITLE>GunZ the Duel</TITLE>
    </HOMEPAGE>

    <LOCATORLIST>
    <LOCATOR id="1" IP="75.**.***.***" />

    </LOCATORLIST>

    <TLOCATORLIST>
    <LOCATOR id="1" IP="75.**.***.***" />

    </TLOCATORLIST>
    </XML>
    Emblem located here : Web Site Currently Not Available

  4. #4
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Clan Emblem

    Tell me how exactly the EmblemURL is, in the database. Also, change the TEMBLEM part in the system.mrs to this:

    Code:
    <TEMBLEM_URL>http://75.**.***.***/killergunz/Emblems/</TEMBLEM_URL>

  5. #5
    Account Upgraded | Title Enabled! ::.kakashi.:: is offline
    MemberRank
    May 2009 Join Date
    MarsLocation
    321Posts

    Re: Clan Emblem

    Euh in DB the URL is "Emblem/hd-wallpaper-glow1.jpg"

  6. #6
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Clan Emblem

    Wait, is the folder named 'Emblem' or 'Emblems'? Also, does your database URL look like "Emblem/hd-wallpaper-glow1.jpg" or "/Emblem/hd-wallpaper-glow1.jpg"? Is there a / before Emblem?
    Last edited by Phoenix; 10-09-10 at 09:24 PM.

  7. #7
    Account Upgraded | Title Enabled! ::.kakashi.:: is offline
    MemberRank
    May 2009 Join Date
    MarsLocation
    321Posts

    Re: Clan Emblem

    Quote Originally Posted by phoenix_147 View Post
    Wait, is the folder named 'Emblem' or 'Emblems'? Also, does your database URL look like "Emblem/hd-wallpaper-glow1.jpg" or "/Emblem/hd-wallpaper-glow1.jpg"? Is there a / before Emblem?
    The folder name is 'emblems'
    The database name is 'Emblem/hd-wallpaper' i copy past so they are not / befor emblem

  8. #8
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Clan Emblem

    Please change your folder's name to 'Emblem' and use this system.xml:

    Code:
    <?xml version="1.0" ?>
    <XML>
    <XMLHEADER>version="1.0"</XMLHEADER>
    
    <SKIN>Default</SKIN>
    
    <DEFFONT>Arial</DEFFONT>
    
    <IME>false</IME>
    
    <BAREPORT>
    <ADDR>www.battlearena.com</ADDR>
    <DIR>incoming/gunz_US</DIR>
    </BAREPORT>
    
    <EMBLEM_URL>http://75.**.***.***/killergunz/Emblem/</EMBLEM_URL>
    <TEMBLEM_URL>http://75.**.***.***/killergunz/Emblem/</TEMBLEM_URL>
    
    <CASHSHOP_URL>http://75.**.***.***/</CASHSHOP_URL>
    
    <HOMEPAGE>
    <URL>http://75.**.***.***</URL>
    <TITLE>GunZ the Duel</TITLE>
    </HOMEPAGE>
    
    <LOCATORLIST>
    <LOCATOR id="1" IP="75.**.***.***" />
    
    </LOCATORLIST>
    
    <TLOCATORLIST>
    <LOCATOR id="1" IP="75.**.***.***" />
    
    </TLOCATORLIST>
    </XML>
    And also, execute this on your database:

    Code:
    USE [GunzDB]
    GO
    /****** Object:  StoredProcedure [dbo].[ClanEmblemUpload]    Script Date: 05/16/2008 14:53:10 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- 캐릭터 이름 변경
    CREATE PROC [dbo].[ClanEmblemUpload]
        @Checksum    int,
        @CLID        int,
        @URL    varchar(24)
    AS
    SET NOCOUNT ON
    IF (LEN(@URL) <= 0) OR (LEN(@URL) > 12)
    BEGIN
        SELECT 0 AS Ret
    END
    
    IF EXISTS (SELECT TOP 1 CLID FROM Clan where (EmblemURL=@URL) AND (DeleteFlag=0))
    BEGIN
        SELECT 0 AS Ret
        return (-1)
    END
    
    UPDATE Clan SET EmblemURL=@URL WHERE CLID=@CLID
    IF 0 = @@ROWCOUNT BEGIN
        SELECT 0 AS Ret
        RETURN (-1)
    END
    
    UPDATE Clan SET EmblemChecksum=@Checksum WHERE CLID=@CLID
    IF 0 = @@ROWCOUNT BEGIN
        SELECT 0 AS Ret
        RETURN (-1)
    END
    
    SELECT 1 AS Ret
    If it already exists, no problem.

  9. #9
    Account Upgraded | Title Enabled! ::.kakashi.:: is offline
    MemberRank
    May 2009 Join Date
    MarsLocation
    321Posts

    Re: Clan Emblem

    Edit : Oups wait the first Emblem was Old :/
    so in db its say direct name of Emblem exmple : '75.jpg' :(

    sorry :/
    Last edited by ::.kakashi.::; 10-09-10 at 09:40 PM.

  10. #10
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Clan Emblem

    Then use this system.xml

    Code:
    <?xml version="1.0" ?>
    <XML>
    <XMLHEADER>version="1.0"</XMLHEADER>
    
    <SKIN>Default</SKIN>
    
    <DEFFONT>Arial</DEFFONT>
    
    <IME>false</IME>
    
    <BAREPORT>
    <ADDR>www.battlearena.com</ADDR>
    <DIR>incoming/gunz_US</DIR>
    </BAREPORT>
    
    <EMBLEM_URL>http://75.**.***.***/killergunz/Emblems/</EMBLEM_URL>
    <TEMBLEM_URL>http://75.**.***.***/killergunz/Emblems/</TEMBLEM_URL>
    
    <CASHSHOP_URL>http://75.**.***.***/</CASHSHOP_URL>
    
    <HOMEPAGE>
    <URL>http://75.**.***.***</URL>
    <TITLE>GunZ the Duel</TITLE>
    </HOMEPAGE>
    
    <LOCATORLIST>
    <LOCATOR id="1" IP="75.**.***.***" />
    
    </LOCATORLIST>
    
    <TLOCATORLIST>
    <LOCATOR id="1" IP="75.**.***.***" />
    
    </TLOCATORLIST>
    </XML>
    and let your folder's name be 'Emblems' (like how it is currently).

  11. #11
    Account Upgraded | Title Enabled! ::.kakashi.:: is offline
    MemberRank
    May 2009 Join Date
    MarsLocation
    321Posts

    Re: Clan Emblem

    Thanks but i need to do ur query also? "And also, execute this on your database"

  12. #12
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Clan Emblem

    Yeah, just execute it. If you get any error, don't bother about it.
    So finally, your emblems' folder name is supposed to be 'Emblems' and your system.xml is supposed to be what I posted above. Upload a fresh emblem and wait for a while for it to show. Or else, check your DB's URL and post it here.



Advertisement