It is currently Fri Sep 03, 2010 12:49
  • View your posts
  • FAQ
  • Register
  • Login

  • All times are UTC + 1 hour [ DST ]



    Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
    Author Message
     Post subject: Request: Sentry Guns
    PostPosted: Wed Sep 17, 2008 13:54 
    Offline
     E-mail  Profile

    Joined: Thu Sep 04, 2008 15:38
    Posts: 130
    The killboards not have the sentry gun pictures.
    Here is the pictures for them, who want to make mods.

    Sentry pictures


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Wed Sep 17, 2008 15:35 
    Offline
    User avatar
     E-mail  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 168
    read this: viewtopic.php?f=505&t=13067

    _________________
    Image
    'Public Demo' of YaKB


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Wed Sep 17, 2008 16:17 
    Offline
     E-mail  Profile

    Joined: Thu Sep 04, 2008 15:38
    Posts: 130
    sapyx wrote:


    Wrong.
    The Mobile Warp disruptor have code in killboard and U can copy to icon36_15.png , but the sentrys not.


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Wed Sep 17, 2008 20:20 
    Offline
    User avatar
     E-mail  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 168
    read the whole thread m8... :)

    _________________
    Image
    'Public Demo' of YaKB


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Wed Sep 17, 2008 21:02 
    Offline
     E-mail  Profile

    Joined: Thu Sep 04, 2008 15:38
    Posts: 130
    sapyx wrote:
    read the whole thread m8... :)


    I read it, i try to implement the codes to kill_detail.php and not working.
    I get always http://nbnkillboard.freehostia.com/img/ ... 4_64/0.png picture for sentry gun.

    I try first:

    $involved[$i]['weaponName'] = "Unknown";
    Add:

    //Rostik
    if (preg_match("/Amarr Sentry Gun/i", $involved[$i]['PilotName'])){
    $involved[$i]['shipImage'] = "/kb/img/ships/64_64/1006.png";
    $involved[$i]['portrait'] = "/kb/img/ships/64_64/1006.png";
    }
    //Rostik

    Not worked.

    I try 2nd time:

    if ((strpos($involved[$i]['weaponName'], "Amarr Sentry Gun")!== FALSE) && $involved[$i]['ShipName'] == "Unknown") {
    $involved[$i]['shipImage'] = "img/ships/64_64/1006.png";
    $involved[$i]['portrait'] = "img/ships/64_64/1006.png";
    }

    Not worked too.


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Wed Sep 17, 2008 22:44 
    Offline
    User avatar
     E-mail  Profile

    Joined: Sat Jun 14, 2008 20:24
    Posts: 168
    http://www.eve-starbase.com/killboard/? ... ll_id=5124

    Code:
        if (strpos($involved[$i]['weaponName'], "Minmatar Sentry Gun")!== FALSE)
            {
            $involved[$i]['shipImage']="img/ships/64_64/1216.png";
            $involved[$i]['portrait'] ="img/ships/64_64/1216.png";
            }       

    _________________
    Image
    'Public Demo' of YaKB


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Thu Sep 18, 2008 06:19 
    Offline
     E-mail  Profile

    Joined: Thu Sep 04, 2008 15:38
    Posts: 130
    sapyx wrote:
    http://www.eve-starbase.com/killboard/?a=kill_detail&kll_id=5124

    Code:
        if (strpos($involved[$i]['weaponName'], "Minmatar Sentry Gun")!== FALSE)
            {
            $involved[$i]['shipImage']="img/ships/64_64/1216.png";
            $involved[$i]['portrait'] ="img/ships/64_64/1216.png";
            }       


    I dont know why, but not worked to me. :(
    I tried again and again, but i got always 0.png.

    Here is my code, what i used.

    if ($weapon->getName() != "Unknown" && $weapon->getName() != $ship->getName())
    {
    $involved[$i]['weaponName'] = $weapon->getName();
    $involved[$i]['weaponID'] = $weapon->row_['itm_externalid'];
    }
    else

    $involved[$i]['weaponName'] = "Unknown";

    if (strpos($involved[$i]['weaponName'], "Minmatar Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1216.png";
    $involved[$i]['portrait'] ="img/ships/64_64/1216.png";
    }
    ++$i;
    }


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Thu Sep 18, 2008 08:22 
    Offline
    User avatar
     E-mail  Profile

    Joined: Mon Jun 30, 2008 16:59
    Posts: 55
    in first check where you kill_detail.php what you use

    if use:
    ext_fitting -> mod/ext_fitting/kill_detail.php
    fitting -> mod/fitting/kill_detail.php
    no-mod -> common/kill_detail.php

    _________________
    Image


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Thu Sep 18, 2008 10:54 
    Offline
     E-mail  Profile

    Joined: Thu Sep 04, 2008 15:38
    Posts: 130
    Rostik wrote:
    in first check where you kill_detail.php what you use

    if use:
    ext_fitting -> mod/ext_fitting/kill_detail.php
    fitting -> mod/fitting/kill_detail.php
    no-mod -> common/kill_detail.php


    Thank you so mutch, working now.

    Install FAQ:

    1.
    Search the kill_detail.php what in your killboard useing.
    if use mod:

    ext_fitting -> mod/ext_fitting/kill_detail.php
    fitting -> mod/fitting/kill_detail.php (My killboard use fitting mod, so i fund there)
    or any mod -> mod/*/kill_detail.php
    no-mod -> common/kill_detail.php

    2. Edit the kill_detail.php
    Find this line:

    $involved[$i]['weaponName'] = "Unknown";

    If u fund add below this codes:
    Code:
    if (strpos($involved[$i]['weaponName'], "Amarr Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1006.png";
    $involved[$i]['portrait'] ="img/ships/64_64/01.png";
    }

    if (strpos($involved[$i]['weaponName'], "Angel Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1216.png";
    $involved[$i]['portrait'] ="img/ships/64_64/02.png";
    }

    if (strpos($involved[$i]['weaponName'], "Blood Raider Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1006.png";
    $involved[$i]['portrait'] ="img/ships/64_64/03.png";
    }

    if (strpos($involved[$i]['weaponName'], "Caldari Sentry Gun I")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1212.png";
    $involved[$i]['portrait'] ="img/ships/64_64/04.png";
    }

    if (strpos($involved[$i]['weaponName'], "Caldari Sentry Gun II")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1213.png";
    $involved[$i]['portrait'] ="img/ships/64_64/04.png";
    }

    if (strpos($involved[$i]['weaponName'], "Caldari Sentry Gun III")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1214.png";
    $involved[$i]['portrait'] ="img/ships/64_64/04.png";
    }

    if (strpos($involved[$i]['weaponName'], "Gallente Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1215.png";
    $involved[$i]['portrait'] ="img/ships/64_64/05.png";
    }

    if (strpos($involved[$i]['weaponName'], "Guristas Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1212.png";
    $involved[$i]['portrait'] ="img/ships/64_64/06.png";
    }

    if (strpos($involved[$i]['weaponName'], "Minmatar Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1216.png";
    $involved[$i]['portrait'] ="img/ships/64_64/07.png";
    }

    if (strpos($involved[$i]['weaponName'], "Sansha Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1006.png";
    $involved[$i]['portrait'] ="img/ships/64_64/08.png";
    }

    if (strpos($involved[$i]['weaponName'], "Serpentis Sentry Gun")!== FALSE)
    {
    $involved[$i]['shipImage']="img/ships/64_64/1215.png";
    $involved[$i]['portrait'] ="img/ships/64_64/09.png";
    }


    3. After you edited kill_detail.php download this file and copy the files to img/ships/64_64 directory. (the pack contain faction icons too, you will get 2 different icon in your KB)
    Sentrys2


    Top
     
     Post subject: Re: Request: Sentry Guns
    PostPosted: Thu Sep 18, 2008 16:15 
    Offline
    User avatar
     E-mail  Profile

    Joined: Mon Jun 30, 2008 16:59
    Posts: 55
    Thanks for Senry pictures
    updated in http://eve-id.net/forum/viewtopic.php?f=505&t=13067

    _________________
    Image


    Top
     
    Display posts from previous:  Sort by  
    Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

    All times are UTC + 1 hour [ DST ]


    Who is online

    Users browsing this forum: underwoodr and 1 guest


    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum

    Search for:
    Jump to:  
    Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
    Style Designed By phpBBegypt