@echo off
title Game Server Console
:start
echo Starting L2J Game Server.
echo.
java -Xms512m -Xmx2g -cp ./../ls/lib/*;l2jserver.jar net.sf.l2j.gameserver.GameServer
if ERRORLEVEL 2 goto restart
if ERRORLEVEL 1 goto error
goto end
:restart
echo.
echo Admin Restarted Game Server.
echo.
goto start
:error
echo.
echo Game Server Terminated Abnormally!
echo.
:end
echo.
echo Game Server Terminated.
echo.
pause
here is gameserver bat code just create text file and rename .bat
characters table
just Execute .sql file and error will be fixed