Jump to content

'Baggos'

Legendary Member
  • Posts

    3,873
  • Credits

  • Joined

  • Last visited

  • Days Won

    27
  • Feedback

    100%

Posts posted by 'Baggos'

  1. θα πας " My Cumputer δεξί κλικ properties\Advanced\Environment Variables\System Variable\New\ και γράφεις στο Variable name " JAVA_HOME " και από κάτω C:\Program Files\Java\bin\jre6

     

    Εάν σου βγάλει το ίδιο, τότε θα κατεβάσεις το JDK 1.7, μετά θα πας πάλι εκεί που λέω παραπάνω,

    αλλά θα αλλάξεις το C:\Program Files\Java\bin\jre6  σε " \jre1.7 "

    Βασικά όπως σου το βγάζει στον φάκελο της διαδρομής που γράφω.

  2. Where these lines of code not already in there? In the version of the code I downloaded (l2j freya distro) this code already exists. In the python code for the buffer you showed, L2PcInstance is being imported, which means you can use the function that already exists:

     

    public boolean isInOlympiadMode()

    {

    return _inOlympiadMode;

    }

     

     

    /** Olympiad */
    private boolean _inOlympiadMode = false;
    public boolean InOlympiadMode()
    {
       return _inOlympiadMode;
    }
    private boolean _OlympiadStart = false;
    private int _olympiadGameId = -1;
    private int _olympiadSide = -1;
    public int olyBuff = 0;
    

     

    I will try now.... but in buffer script, i don't understand what to pass there.

  3. In L2PcInstance.java:

    public boolean isInOlympiadMode() { return _inOlympiadMode; }

    I Added this In L2PcInstance.

    Look my lines.

    /** Olympiad */
    private boolean _inOlympiadMode = false;
    public boolean InOlympiadMode() { return _inOlympiadMode; }
    private boolean _OlympiadStart = false;
    private int _olympiadGameId = -1;
    private int _olympiadSide = -1;
    public int olyBuff = 0;
    

     

    Now... Need and add this?

    In all Buffs?

     

    " player_in_oly = st.getPlayer().isInOlympiadMode()

    if player_in_oly == True:

    #You can't buff message "

  4. Who cares if he must change IP or not, it's a NPE in trade crap.

     

    Error is obvious, you set active requester to null, and just after you ask info from it... It sounds just wrong.

     

    My AnswerTradeRequest is following :

    		// Clears requesting status
    	player.setActiveRequester(null);
    	partner.onTransactionResponse();

    And mine is same....

    But i have error....

     

    Then logged 6 - 7 players i get this error, no from all players....

    Maybe try to legged from another client, is truth this?

  5. Here is fine?

    Hosting in Germany.

     

    server.properties

    # ---------------------------------------------------------------------------
    # Networking
    # ---------------------------------------------------------------------------
    
    # Where's the Login server this gameserver should connect to
    # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
    # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
    # Default: 127.0.0.1
    LoginHost = my ip
    
    # TCP port the login server listen to for gameserver connection requests
    # Default: 9014
    LoginPort = 9014
    
    # Bind address for gameserver. You should not need to change it in most cases.
    # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
    # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
    # Default: * (0.0.0.0)
    GameserverHostname = my ip
    
    # Default: 7777
    GameserverPort = 7777
    

    LoginServer.properties

    # ---------------------------------------------------------------------------
    # Networking
    # ---------------------------------------------------------------------------
    
    # Bind ip of the LoginServer, use * to bind on all available IPs
    # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
    # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
    # Default: * (0.0.0.0)
    LoginserverHostname = my ip
    
    # Default: 2106
    LoginserverPort = 2106
    
    # The address on which login will listen for GameServers, use * to bind on all available IPs
    # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
    # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
    # Default: * (0.0.0.0)
    LoginHostname = my ip
    
    # The port on which login will listen for GameServers
    # Default: 9014
    LoginPort = 9014
    

     

    ipconfig

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Externalhost here (Internet IP) or Localhost IP for local test -->
    <gameserver address="MY IP" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
    <!-- Localhost here -->
    <define subnet="127.0.0.0/8" address="127.0.0.1" />
    <!-- Internalhosts here (LANs IPs) -->
    <define subnet="10.0.0.0/8" address="10.0.0.0" />
    <define subnet="172.16.0.0/19" address="172.16.0.0" />
    <define subnet="192.168.0.0/16" address="192.168.0.0" />
    </gameserver>
    

  6. Server is so simple lol

    Beside GM didn't removed Freya Items Yet

     

    Obviously this is beta but whats the point in making ppls votes and get reward for a beta stage  ? :) ,m huh? LOL>

    And why is simple?

    Because i don't have hard farm?

    and is not beta.

×
×
  • Create New...