Skip to content

Commit

Permalink
[脚本]:调整启动命令,以适应新的架构
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzhqiang committed Sep 17, 2021
1 parent b085f28 commit 1398406
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/main/java/handling/world/guild/MapleGuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
import client.MapleCharacter;
import client.MapleCharacterUtil;
import client.MapleClient;
import com.github.mrzhqiang.maplestory.domain.DGuild;
import com.github.mrzhqiang.maplestory.domain.query.QDCharacter;
import com.github.mrzhqiang.maplestory.domain.query.QDGuild;
import database.DatabaseConnection;
import handling.MaplePacket;
import handling.world.World;
Expand All @@ -22,7 +19,6 @@
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import java.util.stream.Stream;

public final class MapleGuild implements java.io.Serializable {

Expand Down
4 changes: 2 additions & 2 deletions 启动服务端-GUI.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
@title MapleStory_079
set path=%JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%
set path=%PATH%;JAVA_HOME%\bin;%SystemRoot%\system32;%SystemRoot%
set JRE_HOME=%JAVA_HOME%\jre
set CLASSPATH=.;target/ms079.jar
set CLASSPATH=%CLASSPATH%;./*;./lib/*
java -server -Dwzpath=wz gui.GUIApplication
pause
2 changes: 1 addition & 1 deletion 启动服务端-命令行.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
set PATH=%PATH%;JAVA_HOME%\bin
set JRE_HOME=%JAVA_HOME%\jre
set CLASSPATH=%CLASSPATH%;./*;./lib/*
java -server -Dwzpath=wz server.Start
java -server -Dwzpath=wz com.github.mrzhqiang.maplestory.MapleStoryApplication
pause
2 changes: 1 addition & 1 deletion 启动服务端-命令行.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ HOME=`pwd`

export SERVER_PID=$HOME/ms079.pid
export SERVER_LOG_PATH=$HOME/logs
export SERVER_CLASS=server.Start
export SERVER_CLASS=com.github.mrzhqiang.maplestory.MapleStoryApplication

if [[ ! -d "$SERVER_LOG_PATH" ]]
then
Expand Down

0 comments on commit 1398406

Please sign in to comment.