Ir para conteúdo
  • Cadastre-se
  • 0

Um Erro Surgiu no CMD depois de da Wipe


Voldigoad

Pergunta

Citar

 

Boa Noite! como esta no titulo, tava editando as skill do AIO e precisei da WIPE no jogo ( pois removi alguns Skills do AIO )

Porem assim q dei wipe aparece um erro no final do CMD ...

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

Starting L2J-Frozen Core Game Server.
Official website :

O conteúdo está oculto, favor efetuar login ou se cadastrar!

Enjoy by server core. Bee happy!
------------------------------

INFO  ======================================================================-[ Team ]
INFO
INFO           #     #####          ##### ##### ##### ##### ##### ##    #
INFO           #         #          #     #   # #   #     # #     # #   #
INFO           #      ###    ####   ###   #   # #   #   #   ###   #  #  #
INFO           #     #              #     ###   #   # #     #     #   # #
INFO           ##### #####          #     #  ## ##### ##### ##### #    ##
INFO
INFO  ==================================================================-[ Database ]
INFO  MLog clients using log4j logging.
INFO  Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
INFO  Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDe
lay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0,
 connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hg
eknpas7k0rnb1fcndac|18ef96, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factor
yClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgeknpas7k0rnb1fcndac|18ef96, idleConnectionTestPeriod
 -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime
 -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 50, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHe
lperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, prop
ertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflec
tiveProxies -> false ]
INFO  L2DatabaseFactory: loaded.
INFO  ===================================================================-[ Threads ]
INFO  Cache

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

Esse foi o ultimo mod q add. mas nao teve erro, e  ja tinha dado uns 5 wipes depois q add esse mod antes 

 

com.l2jfrozen.gameserver.model.zone.type

L2VipZone.java

/* L2jFrozen Project - www.l2jfrozen.com 
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 *
 *

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 */
package com.l2jfrozen.gameserver.model.zone.type;

import com.l2jfrozen.Config;
import com.l2jfrozen.gameserver.model.L2Character;
import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
import com.l2jfrozen.gameserver.model.zone.L2ZoneType;

/**
 * @author Gabriel Fleck
 */
public class L2VipZone extends L2ZoneType
{
    public L2VipZone(final int id)
    {
        super(id);
    }
    
    @Override
    protected void onEnter(final L2Character character)
    {
        if (character instanceof L2PcInstance)
        {
            if (((L2PcInstance)character).isVip())
            {
                ((L2PcInstance) character).sendMessage("You entered the Newbie Zone.");
                ((L2PcInstance) character).sendMessage("This area is protected up to level "+ Config.MAX_LEVEL_NEWBIE_STATUS + ", from level "+ (Config.MAX_LEVEL_NEWBIE_STATUS + 1) +" the player who attempts to enter will be removed from the area.");
            }
            else
            {
                ((L2PcInstance) character).teleToLocation(82698,148638,-3473);
                    ((L2PcInstance) character).sendMessage("This is an area restricted only to Newbies. You will be teleported to the Giran Castle Town.");    
            }
        }
    }
    
    @Override
    protected void onExit(final L2Character character)
    {
        ((L2PcInstance) character).sendMessage("You left the Newbie Zone.");
    }
    
    @Override
    protected void onDieInside(final L2Character character)
    {
    }

    @Override
    protected void onReviveInside(final L2Character character)
    {
    }

}

======================================================================================

Local para editar ZonaData.java

com.l2jfrozen.gameserver.datatables.xml

ZoneData.java

import com.l2jfrozen.gameserver.model.zone.type.L2CustomZone;
+import com.l2jfrozen.gameserver.model.zone.type.L2VipZone;


                                    case "CustomZone":
                                        temp = new L2CustomZone(zoneId);
                                        break;
                                        
+                                    case "VipZone":
+                                        temp = new L2VipZone(zoneId);
+                                        break;

=================================================================
Local para editar Zone.xml

/L2jFrozen_DataPack/data/zones

somente troque o tipo da zona para o requerido.

Zone.xml

type='VipZone' 
 

 

Editado por Denner Matos
Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts recomendados

  • 0
Em 27/10/2022 at 18:19, Denner Matos disse:

Boa Noite! como esta no titulo, tava editando as skill do AIO e precisei da WIPE no jogo ( pois removi alguns Skills do AIO )

Porem assim q dei wipe aparece um erro no final do CMD ...

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

Starting L2J-Frozen Core Game Server.
Official website :

O conteúdo está oculto, favor efetuar login ou se cadastrar!

Enjoy by server core. Bee happy!
------------------------------

INFO  ======================================================================-[ Team ]
INFO
INFO           #     #####          ##### ##### ##### ##### ##### ##    #
INFO           #         #          #     #   # #   #     # #     # #   #
INFO           #      ###    ####   ###   #   # #   #   #   ###   #  #  #
INFO           #     #              #     ###   #   # #     #     #   # #
INFO           ##### #####          #     #  ## ##### ##### ##### #    ##
INFO
INFO  ==================================================================-[ Database ]
INFO  MLog clients using log4j logging.
INFO  Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
INFO  Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDe
lay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0,
 connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hg
eknpas7k0rnb1fcndac|18ef96, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factor
yClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgeknpas7k0rnb1fcndac|18ef96, idleConnectionTestPeriod
 -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime
 -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 50, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHe
lperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, prop
ertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflec
tiveProxies -> false ]
INFO  L2DatabaseFactory: loaded.
INFO  ===================================================================-[ Threads ]
INFO  Cache

O conteúdo está oculto, favor efetuar login ou se cadastrar!

Esse foi o ultimo mod q add. mas nao teve erro, e  ja tinha dado uns 5 wipes depois q add esse mod antes 

com.l2jfrozen.gameserver.model.zone.type

L2VipZone.java

/* L2jFrozen Project - www.l2jfrozen.com 
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 *
 *

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 */
package com.l2jfrozen.gameserver.model.zone.type;

import com.l2jfrozen.Config;
import com.l2jfrozen.gameserver.model.L2Character;
import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
import com.l2jfrozen.gameserver.model.zone.L2ZoneType;

/**
 * @author Gabriel Fleck
 */
public class L2VipZone extends L2ZoneType
{
    public L2VipZone(final int id)
    {
        super(id);
    }
    
    @Override
    protected void onEnter(final L2Character character)
    {
        if (character instanceof L2PcInstance)
        {
            if (((L2PcInstance)character).isVip())
            {
                ((L2PcInstance) character).sendMessage("You entered the Newbie Zone.");
                ((L2PcInstance) character).sendMessage("This area is protected up to level "+ Config.MAX_LEVEL_NEWBIE_STATUS + ", from level "+ (Config.MAX_LEVEL_NEWBIE_STATUS + 1) +" the player who attempts to enter will be removed from the area.");
            }
            else
            {
                ((L2PcInstance) character).teleToLocation(82698,148638,-3473);
                    ((L2PcInstance) character).sendMessage("This is an area restricted only to Newbies. You will be teleported to the Giran Castle Town.");    
            }
        }
    }
    
    @Override
    protected void onExit(final L2Character character)
    {
        ((L2PcInstance) character).sendMessage("You left the Newbie Zone.");
    }
    
    @Override
    protected void onDieInside(final L2Character character)
    {
    }

    @Override
    protected void onReviveInside(final L2Character character)
    {
    }

}

======================================================================================

Local para editar ZonaData.java

com.l2jfrozen.gameserver.datatables.xml

ZoneData.java

import com.l2jfrozen.gameserver.model.zone.type.L2CustomZone;
+import com.l2jfrozen.gameserver.model.zone.type.L2VipZone;


                                    case "CustomZone":
                                        temp = new L2CustomZone(zoneId);
                                        break;
                                        
+                                    case "VipZone":
+                                        temp = new L2VipZone(zoneId);
+                                        break;

=================================================================
Local para editar Zone.xml

/L2jFrozen_DataPack/data/zones

somente troque o tipo da zona para o requerido.

Zone.xml

type='VipZone' 
 

Provavelmente você ocasionou o erro na sua ultima ação feita, desfaça sua última alteração e teste, se não resolver, novamente desfaça outra até encontrar o local exato que você criou o erro.

neTiVFC.gif

9KuKwr5.gif

Link para o comentário
Compartilhar em outros sites


Visitante
Este tópico está impedido de receber novos posts.




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.