any1 tested on linux?
centos output:
Code:[root@localhost AC-Game]# console.log [----] 0 L:[ 1+40 41/ 41] *(1759/1759b) <EOF> 2015-08-08 21:39:28,275 ERROR [main] com.aionemu.gameserver.utils.ThreadUncaughtExceptionHandler [null:-1] Critical Error - Thread: main terminated abnormaly: java.lang Exception Details: Location: com/aionemu/gameserver/utils/javaagent/JavaAgentUtils.checkGlobalCallback()Z @84: iload_2 Reason: Error exists in the bytecode Bytecode: 0000000: 120f b200 8501 b800 884b 2ab6 008a 9900 0000010: 0703 a700 0703 a700 033d 2ab6 008a 9900 0000020: 0e2a b600 8cc0 0048 b600 8e3d 120f b200 0000030: 8f01 1cbb 0048 595d 58b7 0091 b800 944b 0000040: 2ab6 0095 9900 0e2a b600 97c0 0048 b600 0000050: 98ac 1cac 1cac......................... Stackmap Table: append_frame(@21,Object[#53]) same_locals_1_stack_item_frame(@25,Integer) full_frame(@44,{Top,Top,Integer},{}) same_frame(@82) java.lang.VerifyError: Expecting a stack map frame Exception Details: Location: com/aionemu/gameserver/utils/javaagent/JavaAgentUtils.checkGlobalCallback()Z @84: iload_2 Reason: Error exists in the bytecode Bytecode: 0000000: 120f b200 8501 b800 884b 2ab6 008a 9900 0000010: 0703 a700 0703 a700 033d 2ab6 008a 9900 0000020: 0e2a b600 8cc0 0048 b600 8e3d 120f b200 0000030: 8f01 1cbb 0048 595d 58b7 0091 b800 944b 0000040: 2ab6 0095 9900 0e2a b600 97c0 0048 b600 0000050: 98ac 1cac 1cac......................... Stackmap Table: append_frame(@21,Object[#53]) same_locals_1_stack_item_frame(@25,Integer) full_frame(@44,{Top,Top,Integer},{}) same_frame(@82) <------>at com.aionemu.gameserver.GameServer.initUtilityServicesAndConfig(Unknown Source) ~[AC-Game.jar:na] <------>at com.aionemu.gameserver.GameServer.main(Unknown Source) ~[AC-Game.jar:na]
Last edited by Hycker; 08-08-15 at 11:34 PM.
how can i setup this??? no startgs.bat??? how can i put JAVA on this bat?? i see builder only few files there. and i dont know where can i start..
Yeah It tested and full working.any1 tested on linux?
Your error means that you have installed Java 8 while GameServer using Java 7. All you have to do is, Uninstall Java 8 and again Install Java 7u80.
It's my full source, Not Compiled. Goto this thread for Compiled GameServerhow can i setup this??? no startgs.bat??? how can i put JAVA on this bat?? i see builder only few files there. and i dont know where can i start..
gigatron how can i run this HeidiSQL v9.2 if gameserver,chatserver,loginserver not running??? and i follow your steps...but where can i put this path C:\Program Files\Java\jre1.7.0_80\bin?? there is no StartGS.bat , StartLS.bat , and StartCS.bat....only i see here is Build_gameserver , build_loginserver and build_login.bat??? there is no destination path for .bat to read the jre1.7.0 and make server running.....can u tell me where can i find those .bat that have this kind of file like this??
@Echo off
TITLE Aion-Core - GameServer Console
set path="C:\Program Files\Java\jre1.7.0_80\bin"
:START
CLS
SET JAVAVER=1.7
SET NUMAENABLE=false
CLS
IF "%MODE%" == "" (
CALL PanelGS.bat
)
IF "%JAVAVER%" == "1.7" (
JAVA -Xms512m -Xmx2048m -server -ea -javaagent:./libs/ac-commons-1.3.jar -cp ./libs/*;ac_game.jar com.aionemu.gameserver.GameServer
SET CLASSPATH=%OLDCLASSPATH%
IF ERRORLEVEL 2 GOTO START
IF ERRORLEVEL 1 GOTO ERROR
IF ERRORLEVEL 0 GOTO END
:ERROR
ECHO.
ECHO Aion-Lightning - Game Server has terminated abnormaly!
ECHO.
PAUSE
EXIT
:END
ECHO.
ECHO Aion-Lightning - Game Server is terminated!
ECHO.
PAUSE
EXIT
In your source file Build_Gameserver files is only this
@Echo off @Color 0C
TITLE Aion-Core GS v4.7.5.x by GiGatR00n
cd AC-Game
CLS
ECHO ^*--------------------------------------------------------------------------^*
ECHO ^| Aion Core v4.7.5.x by GiGatR00n - %TITLE% Panel ^|
ECHO ^| Game Server ^|
ECHO ^*--------------------------------------------------------------------------^*
start ..\AC-Tools\ant\bin\ant
there is no SET PATH for JAVA...
:/ Follow this tutorial then, research other threads man :).
https://www.youtube.com/watch?v=7e_BdE3SJxA
sorry mate you are wrong. i know what is installed on my system, anyway
Code:[root@localhost ~]# alternatives --config java There are 5 programs which provide 'java'. Selection Command ----------------------------------------------- 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java 2 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java 3 /usr/lib/jvm/jre-1.5.0-gcj/bin/java * 4 /usr/java/latest/jre/bin/java + 5 /usr/java/jdk1.7.0_80/jre/bin/java Enter to keep the current selection[+], or type selection number: [root@localhost ~]# java -version java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
Add -version:"1.7" to your launcher and it works (I tested it)sorry mate you are wrong. i know what is installed on my system, anyway
Your StartGS.sh should be looks like this:
Spoiler:
still the same in error.log
Spoiler:
anyway my centos release is:
anyway with startgs.sh, even if i use yours java isnot start, there is nothing if i grep,also nothing in top. so i use startgslive which is contains:Code:[root@localhost log]# cat /etc/*elease* CentOS release 6.5 (Final) CentOS release 6.5 (Final) CentOS release 6.5 (Final) cpe:/o:centos:linux:6:GA
Code:case $1 in noloop) [ -d log/ ] || mkdir log/ [ -f log/console.log ] && mv log/console.log "log/backup/`date +%Y-%m-%d_%H-%M-%S`_console.log" java -Xms8000m -Xmx8000m -version:"1.7" -ea -XX:-UseSplitVerifier -javaagent:./libs/ac-commons-1.3.jar -cp ./libs/*:AC-Game.jar com.aionemu.gameserver.GameServer > log/console.log 2>&1 echo $! > gameserver.pid echo "Server started!" ;; *) ./StartGSLive_loop.sh & ;; esac
Add this to your launcher:
-XX:-UseSplitVerifier
there is in, if you check again.
btw just for testing i started manually, see the output:
Code:[root@localhost AC-Game]# java -Xms5600m -Xmx5600m -version:"1.7" -ea -XX:-UseSplitVerifier -javaagent:./libs/ac-commons-1.3.jar -cp ./libs/*:AC-Game.jar Error: Unable to locate JRE meeting specification "1.7" [root@localhost AC-Game]#
Yet your script is looping StartGSLive_loop.sh
Is this even there?
Why are you running it as root bro?
You know better ;0)
- - - Updated - - -
Stackoverflow Read this post
- - - Updated - - -
Test this without the -version:"1.7"
Code:java -Xms5600m -Xmx5600m -ea -XX:-UseSplitVerifier -javaagent:./libs/ac-commons-1.3.jar -cp ./libs/*:AC-Game.jar
Brought that off forum post up due to being a Known issue.
Enforcing the version can create problems as described in that thread.
Read the entire thread to get the full picture, the short link is referencing the "why" of the problem caused when Enforcing.
Last edited by DNC; 09-08-15 at 11:20 AM.
+1 for my fail... anyway if i corrected the paths and filesnames, there is still same crash in error log...
i belive its tested in debiankernel (shhh noobuntu), but anyone tested in redhat kernel such as fedora, redhat or centos?
im not sure its my centos fault, rest of my java shits runs fine there
I believe the 2nd half of your issue is the open-jdk for centos bro
You ran the command again by hand? Without the -version:"1.7" ??