Ошибка в ГС

Васиф

Свой человек
Пользователь
Сообщения
5
Розыгрыши
0
Репутация
0
Реакции
0
Баллы
533
Подскажите пожалуйста в чём может быть проблема:

В игру не входит .Логин работает.

Сборка PW.

Exception in thread "SelectorThread:7778" java.lang.NoClassDefFoundError: org/st
rixguard/network/crypt/GuardCipher


at net.sf.l2j.gameserver.network.GameCrypt.<init>(GameCrypt.java:36)
at net.sf.l2j.gameserver.network.L2GameClient.<init>(L2GameClient.java:1
15)
at net.sf.l2j.gameserver.network.L2GamePacketHandler.create(L2GamePacket
Handler.java:855)
at net.sf.l2j.gameserver.network.L2GamePacketHandler.create(L2GamePacket
Handler.java:45)
at org.mmocore.network.nio.impl.SelectorThread.acceptConnection(Selector
Thread.java:223)
at org.mmocore.network.nio.impl.SelectorThread.run(SelectorThread.java:1
58)
Caused by: java.lang.ClassNotFoundException: org.strixguard.network.crypt.GuardC
ipher
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
 
Обратите внимание, что данный пользователь заблокирован! Не совершайте с ним никаких сделок! Перейдите в его профиль, чтобы узнать причину блокировки.
Подскажите пожалуйста в чём может быть проблема:

В игру не входит .Логин работает.

Сборка PW.

Exception in thread "SelectorThread:7778" java.lang.NoClassDefFoundError: org/st
rixguard/network/crypt/GuardCipher


at net.sf.l2j.gameserver.network.GameCrypt.<init>(GameCrypt.java:36)
at net.sf.l2j.gameserver.network.L2GameClient.<init>(L2GameClient.java:1
15)
at net.sf.l2j.gameserver.network.L2GamePacketHandler.create(L2GamePacket
Handler.java:855)
at net.sf.l2j.gameserver.network.L2GamePacketHandler.create(L2GamePacket
Handler.java:45)
at org.mmocore.network.nio.impl.SelectorThread.acceptConnection(Selector
Thread.java:223)
at org.mmocore.network.nio.impl.SelectorThread.run(SelectorThread.java:1
58)
Caused by: java.lang.ClassNotFoundException: org.strixguard.network.crypt.GuardC
ipher
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
Нужно подкинуть либу strix-guard.
Для windows - classpath.bat
Код:
REM for libs
SET CLASSPATH=%CLASSPATH%;./../libs/strixguard-1.0.jar
SET CLASSPATH=%CLASSPATH%;./../libs/lameguard-1.9.5.jar
SET CLASSPATH=%CLASSPATH%;./../libs/ecj.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bsf.jar
SET CLASSPATH=%CLASSPATH%;./../libs/jython.jar
SET CLASSPATH=%CLASSPATH%;./../libs/cademia.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bsh-2.0b4.jar
SET CLASSPATH=%CLASSPATH%;./../libs/guava-17.0.jar
SET CLASSPATH=%CLASSPATH%;./../libs/java-engine.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bonecp-0.8.0.jar
SET CLASSPATH=%CLASSPATH%;./../libs/log4j-1.2.15.jar
SET CLASSPATH=%CLASSPATH%;./../libs/slf4j-api-1.7.12.jar
SET CLASSPATH=%CLASSPATH%;./../libs/slf4j-nop-1.7.12.jar
SET CLASSPATH=%CLASSPATH%;./../libs/javolution-5.5.1.jar
SET CLASSPATH=%CLASSPATH%;./../libs/commons-logging-1.1.jar
SET CLASSPATH=%CLASSPATH%;./../libs/mysql-connector-java-5.1.36-bin.jar
SET CLASSPATH=%CLASSPATH%;./../libs/it_mantaray.jar

REM for configuration
SET CLASSPATH=%CLASSPATH%;./config/

echo Starting Game Server.
echo.
сама либа
если для unix , то вот GameServer_loop.sh
Код:
#!/bin/bash

# exit codes of GameServer:
#  0 normal shutdown
#  2 reboot attempt

while :; do
    [ -f log/java0.log.0 ] && mv log/java0.log.0 "log/z_`date +%Y-%m-%d_%H-%M-%S`_java.log"
    [ -f log/stdout.log ] && mv log/stdout.log "log/z_`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
    java -server -Dfile.encoding=UTF-8 -XX:AutoBoxCacheMax=10000 -XX:+RelaxAccessControlCheck -XX:+UseFastAccessorMethods -XX:+AlwaysPreTouch -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:+ClassUnloading -XX:MaxGCPauseMillis=25 -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=8 -XX:+CMSParallelRemarkEnabled -XX:+UseAdaptiveGCBoundary -XX:MaxTenuringThreshold=6 -XX:+AggressiveOpts -XX:+OptimizeStringConcat -XX:CompileThreshold=1000 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxNewSize=144m -XX:NewSize=144m -XX:+UseBiasedLocking -Xms3G -Xmx7G -cp ./../libs/strixguard-1.0.jar:./../libs/lameguard-1.9.5.jar:./../libs/ecj.jar:./../libs/guava-17.0.jar:./../libs/bsf.jar:./../libs/jython.jar:./../libs/cademia.jar:./../libs/bsh-2.0b4.jar:./../libs/java-engine.jar:./../libs/c3p0-0.9.1.2.jar:./../libs/bonecp-0.8.0.jar:./../libs/log4j-1.2.15.jar:./../libs/slf4j-api-1.7.12.jar:./../libs/slf4j-nop-1.7.12.jar:./../libs/javolution-5.5.1.jar:./../libs/commons-logging-1.1.jar:./../libs/mysql-connector-java-5.1.36-bin.jar:./../libs/antifarm.jar:./../libs/it_mantaray.jar net.sf.l2j.gameserver.GameServer > log/stdout.log 2>&1
    [ $? -ne 2 ] && break
#    /etc/init.d/mysql restart
    sleep 10
done
 
Назад
Сверху Снизу