Clan emblems :)

Results 1 to 13 of 13
  1. #1
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Clan emblems :)

    Hello,

    I'm on my way to make the clan emblems work, I have Rotana's clan emblem upload script, which does work for uploading and putting the url in the DB, but it won't show in-game. Plus my emblem.xml in blank except the headers...

    Code:
        <EMBLEM_URL>http://24.201.135.100/upload/upload</EMBLEM_URL>
            
        <TEMBLEM_URL>http://24.201.135.100/upload/upload</TEMBLEM_URL>
    Also, in the DB, for the emblem path, it's written /upload/upload/emblem.jpg. I tried removing the upload directories, still doesnt work. Help please?


  2. #2
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: Clan emblems :)

    Quote Originally Posted by kochon View Post
    Hello,

    I'm on my way to make the clan emblems work, I have Rotana's clan emblem upload script, which does work for uploading and putting the url in the DB, but it won't show in-game. Plus my emblem.xml in blank except the headers...

    Code:
        <EMBLEM_URL>http://24.201.135.100/upload/upload</EMBLEM_URL>
            
        <TEMBLEM_URL>http://24.201.135.100/upload/upload</TEMBLEM_URL>
    Also, in the DB, for the emblem path, it's written /upload/upload/emblem.jpg. I tried removing the upload directories, still doesnt work. Help please?
    If you follow'd the tutorial, you only need to put the IP in your EMBLEM URL like.

    <EMBLEM_URL>http://hylper1.no-ip.org/</EMBLEM_URL>

    <TEMBLEM_URL>http://hylper1.no-ip.org/</TEMBLEM_URL>

    And it works perfect ;) Any problems, just ask here ;)

  3. #3
    Account Upgraded | Title Enabled! kochon is offline
    MemberRank
    Nov 2006 Join Date
    MontrealLocation
    1,451Posts

    Re: Clan emblems :)

    Neeeeeeeeeeeeeeeeeeevermind sorry i found a tut while searching a 5th time :P

    http://forum.ragezone.com/f497/clan-...2/#post4324455

    but indeed your post was correct, it was my system.xml that was wrong :P.

  4. #4

    Re: Clan emblems :)

    does this even work with System32_ 's Files... cuz i Tried many Ways and i didnt really get it working xD...

  5. #5
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Clan emblems :)

    Quote Originally Posted by eele View Post
    If you follow'd the tutorial, you only need to put the IP in your EMBLEM URL like.

    <EMBLEM_URL>http://hylper1.no-ip.org/</EMBLEM_URL>

    <TEMBLEM_URL>http://hylper1.no-ip.org/</TEMBLEM_URL>

    And it works perfect ;) Any problems, just ask here ;)
    what? so it has to be in the root folder of your web to work? or can you add folders to the line?

  6. #6
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: Clan emblems :)

    Quote Originally Posted by wesman2232 View Post
    what? so it has to be in the root folder of your web to work? or can you add folders to the line?
    If you use Rotana's script of course you can do that :)

    If you put the script in like what i did:
    http://hylper1.no-ip.org/upload/index.php?step=1 Etc, all the php's are stored in http://hylper1.no-ip.org/upload/
    So in the database there must be something like this under the line emblemurl:
    upload/upload/VirusLogo.jpg

    Cause its gonna upload every picture in http://hylper1.no-ip.org/upload/upload/

    So you only need to put your IP with a / in your system.xml

    Now how to configurate for other maps:
    You will need to edit 1 query if im not wrong.
    search for: mssql_query ("UPDATE Clan SET EmblemUrl = 'upload/".$target."' WHERE Name = '$CLID'");
    you see, upload/ stands for:
    http://hylper1.no-ip.org/upload/
    $target = "upload/";

    So now you understand that its gonna upload in:
    http://hylper1.no-ip.org/upload/upload/

    If you want other directories you must understand the Query ;)

  7. #7
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Clan emblems :)

    ok so If I have this straight all the xml needs is
    Code:
    <EMBLEM_URL>http://amgunz.servgunz.com/</EMBLEM_URL>
    with the "/"? (ip can be used also right?)

    Then my folder is set up like AppServ/www/emblems/ so I change the query to
    Code:
    mssql_query ("UPDATE Clan SET EmblemUrl = 'emblems/".$target."' WHERE Name = '$CLID'");
    ?

  8. #8
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: Clan emblems :)

    Yes, put the Script on your host, upload a image on your Clan, and go in game and try ;)

  9. #9
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Clan emblems :)

    alright :D thanks.
    xD normally I'm the one giving help but now I'm receiving it :P
    But like I asked the "/" has to be there or not?

  10. #10
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: Clan emblems :)

    Quote Originally Posted by wesman2232 View Post
    alright :D thanks.
    xD normally I'm the one giving help but now I'm receiving it :P
    But like I asked the "/" has to be there or not?
    Thats just looking in your script ;)

    Watch,

    The direct link of your link is that:
    http://amgunz.servgunz.com/emblems/u...nwutfuxpro.jpg
    in the database is the link:
    emblems/upload/wesmanclanwutfuxpro.jpg
    So if you don't have the / you will get the link like:
    http://amgunz.servgunz.comemblems/up...nwutfuxpro.jpg

    and than its sure it won't work ;)

  11. #11
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: Clan emblems :)

    ok thanks for helping me out :D
    I will probably save this page for later and add to my fix thread :D Credits to eele :P

  12. #12
    Status: Pooping eele is offline
    MemberRank
    Jul 2008 Join Date
    The NetherlandsLocation
    915Posts

    Re: Clan emblems :)

    Quote Originally Posted by wesman2232 View Post
    ok thanks for helping me out :D
    I will probably save this page for later and add to my fix thread :D Credits to eele :P
    Should be good for people who got problems^^ Its just that i know some PHP and MSSQL and cause i configurated it good so i could answer you direct :)

  13. #13
    Account Upgraded | Title Enabled! CrashPoint is offline
    MemberRank
    Sep 2008 Join Date
    VietNamLocation
    706Posts

    Re: Clan emblems :)

    explain me alot :P thanks



Advertisement