Development List

Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Ω -DefaulT is offline
    MemberRank
    Aug 2006 Join Date
    Emerald CityLocation
    1,429Posts

    Re: Development List

    Yeah.. this is the breakdown of how to put in an npc
    Code:
    [npc]
    Name Of NPC goes here
    Direction the NPC is facing
    NPC Sprite number goes here
    X Coordinate
    Y Coordinate
    NULL or Pokemon Name, Pokemon Level if trainer.
    Party size, 0 if no party (1-6)
    Badge # (0-7) -1 is a normal trainer, (0 is brock for example)
    The number that refers to the text that is displayed
    false (heal)
    false (box)
    false (shop)
    [/npc]

  2. #17
    Banned Squiggles is offline
    BannedRank
    Jul 2011 Join Date
    783Posts

    Re: Development List

    Oooh okay. And if you don't put in a level, does it give the pokemon?

  3. #18
    Ω -DefaulT is offline
    MemberRank
    Aug 2006 Join Date
    Emerald CityLocation
    1,429Posts

    Re: Development List

    It prob wont work, the npc will prob make u crash. Untested but just a guess.

  4. #19
    Member kejopo1 is offline
    MemberRank
    Nov 2011 Join Date
    71Posts

    Re: Development List

    ......so the code I posted earlier succesfully added the hoenn badges to the gui....woooooooooooooooooooooooot!!!

  5. #20
    Ω -DefaulT is offline
    MemberRank
    Aug 2006 Join Date
    Emerald CityLocation
    1,429Posts

    Re: Development List

    congrats :]

  6. #21
    Banned Squiggles is offline
    BannedRank
    Jul 2011 Join Date
    783Posts

    Re: Development List

    It's good to see development going on! :D


    Made a logout function, that way we don't have to exit the client to change characters or what not.

    GameCLient
    PHP Code:
    public void logOut() {
            
    HOST "";
            
    m_ui.setVisible(false);
            
    m_login.setVisible(true);
            
    m_login.showLogin();//m_login.showLanguageSelect() ?:s
            
    m_packetGen.closeSession();
            
    m_ui.removeAll();//Not much point imo.
        

    PacketGenerator
    PHP Code:
    public void closeSession() {
                
    m_tcpSession.close(true);
                
    m_udpSession.close(true);
            } 
    Then just add the button to Ui :3
    Last edited by Squiggles; 09-12-11 at 05:21 PM.

  7. #22
    Member duyle73 is offline
    MemberRank
    Mar 2003 Join Date
    somewhere far far awayLocation
    90Posts

    Re: Development List

    there were a lot of fixes to the Pokenet code with an old server I used to play.

    Not sure how things have been going. pokenet development seems so on and off. How are things going now? what else needed to be done etc...?
    Last edited by duyle73; 10-01-12 at 05:19 AM.



Page 2 of 2 FirstFirst 12

Advertisement