冒险岛055OD端怎么改区

来源:百度知道 编辑:UC知道 时间:2024/06/13 21:23:22
冒险岛055OD端怎么改区,怎么增加大区和减少大区,还有怎么增加频道和减少频道?还有GM命令是什么?答1题5分.

减少频道
(无论你改什么,改的同时请先关掉游戏)
在服务端找到channel.properties

# hostname or IP address of your world server
net.sf.odinms.world.host=localhost
# number of channels to host in this process
net.sf.odinms.channel.count=2
# channel keys
# (these are defined in the channels table)
net.sf.odinms.channel.0.key=release1
net.sf.odinms.channel.1.key=release2
改成
# hostname or IP address of your world server
net.sf.odinms.world.host=localhost
# number of channels to host in this process
net.sf.odinms.channel.count=1
# channel keys
# (these are defined in the channels table)
net.sf.odinms.channel.0.key=release1

就OK了,不需要用工具编译。

②修改区数的方法

修改的方法是:
1.在 src\net\sf\odinms\net\login\handler 找到ServerlistRequestHandler.java
找到:
c.getSession().write(MaplePacketCreator.getServerList(0, "XXXX", LoginServer.getInstance().getLoad()));
在下面加