Jump to content

numl0ckas

Members
  • Posts

    311
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by numl0ckas

  1. Since there are not working Olympiad Feed Protection, i asked Hasha for help to me fix my Olympiad Feed Protection and he help to me, so I think all people can use it. Thanks for Hasha ork2_16.gif
    I used at Revision 317 (last)
    Tested

    AbstractOlympiadGame: add this method

    protected abstract boolean checkDualbox();

    OlympiadGameNormal: add this method

        @Override
        protected boolean checkDualbox()
        {
                String ip1 = _playerOne.player.getClient().getConnection().getInetAddress().getHostAddress();
                String ip2 = _playerTwo.player.getClient().getConnection().getInetAddress().getHostAddress();
                
                if (ip1.equals(ip2))
                {
                    _playerOne.player.sendMessage("Game ended, your opponent has the same ip has you.");
                    _playerTwo.player.sendMessage("Game ended, your opponent has the same ip has you.");
                    return true;
                }
            return false;
        }
    
    

    OlympiadGameTask: apply this code (add dualbox check)

                    // Game start, port players to arena
                    case GAME_STARTED:
                    {
                        if (_game.checkDualbox())
                        {
                            _state = GameState.CLEANUP;
                            break;
                        }
                        
                        if (!startGame())
                        {
                            _state = GameState.GAME_STOPPED;
                            break;
                        }
    
  2. Hello, i maked offline shop effect with poly, problem is what my name as npc name: Rabbit + I don't see my Title sell/buy.

    Thanks for helping, here is code:

    OfflineTradersTable from 213 line

                                           items.close();
                                           stm_items.close();
                                          
                                           player.sitDown();
                                           player.setPrivateStoreType(type);
                                           player.setOnlineStatus(true, true);
                                           player.restoreEffects();
    +                                     player.getPoly().setPolyInfo("npc", "14040");
                                           player.broadcastUserInfo();
                                           nTraders++;
                                   }
                                   catch (Exception e)
                                   {
                                           _log.log(Level.WARNING, "OfflineTradersTable[loadOffliners()]: Error loading trader: "+player,e);
                                           if (player != null)
                                           {
                                                   player.deleteMe();
                                           }
                                   }
                           }
    

    L2GameClient on DisconnectTask:

                     L2PcInstance player = L2GameClient.this.getActiveChar();
                     if (player != null)
                         {
                         if ((player.isInStoreMode() && Config.OFFLINE_TRADE_ENABLE) || (player.isInCraftMode() && Config.OFFLINE_CRAFT_ENABLE))
                             {
                             if (player.getPet() != null)
                     {
                       player.getPet().unSummon(player);
                        }
                                                                   
                       player.leaveParty();
    
    +      		player.getPoly().setPolyInfo("npc", "14040");
    +		player.teleToLocation(player.getX(), player.getY(), player.getZ(), 0);
    +		player.broadcastUserInfo();
                                                                   
                    if (player.getOfflineStartTime() == 0)
                player.setOfflineStartTime(System.currentTimeMillis());
                                                           
    
    
  3. 2014.1.28 23:47:45
    OS : Windows Vista 6.1 (Build: 7601)
    CPU : GenuineIntel PentiumPro-class processor @ 1996 MHz with 3764MB RAM
    Video : Intel(R) HD Graphics (2622)
    
    General protection fault!
    
    History: NWndUtil::User2FUserInfo <- UGMAPI::execGetObservingUserInfo <- UObject::execClassContext <- (GMDetailStatusWnd Transient.GMDetailStatusWnd0 @ Function Interface.GMDetailStatusWnd.GetMyUserInfo : 001B) <- UObject::ProcessEvent <- (GMDetailStatusWnd Transient.GMDetailStatusWnd0, Function Interface.DetailStatusWnd.OnEnterState) <- UIGameState::OnEnter <- UIGamingState::OnEnter <- UIGameStateManager::SetState <- NConsoleWnd::AcceptGameStart <- L2Seamless <- UGameEngine::Tick <- UpdateWorld <- MainLoop

    Does anyone know how to fix this?

     

    I don't get this every time, but it sucks... And it only for GM i think...

  4. It is L2JFrozen only by 1 thing.

     

    The message which shows the time.

     

    -------------------------------------------------

     

    L2JFrozen time message:

     

    SVR time is " + fmt.format(new Date(System.currentTimeMillis()))

     

    Official time message:

     

    The current time is $s1:$s2.

     

    It's true!

  5. Hello, I was in game and I make server restart after restart  I get this I can't join... In GameServer all okey, but in LoginServer.log i get this:

    Server pack: aCis 317 (last)
    OS: Debian 7

    stdout.log

    Incorrect packet checksum, closing connection.

    java0.log0

    2014.01.26 02:12:48,374    WARNING    38    net.sf.l2j.loginserver.GameServerThread    Incorrect packet checksum, closing connection.

    GameServerThread.java

                  // decrypt if we have a key
                    data = _blowfish.decrypt(data);
                    checksumOk = NewCrypt.verifyChecksum(data);
                    if (!checksumOk)
                    {
                        _log.warning("Incorrect packet checksum, closing connection.");
                        return;
                    }
    

    Thanks for helping...
     

  6. Hello, how have colors like in this video?

    As you can see Icarus weapons have big yellow glow and dusk weapons green big glow etc.

    Thanks for help!

     

    On the icarus weapons i want like this, but more glow, as you can see in video same with dusk weapons

    1381761787_1378719211_bnzji0c.jpg

×
×
  • Create New...