灵游攻略网带你了解冒险岛055,做好相应的准备,冒险岛055OD端怎么改区希望可以帮你解决现在所面临的一些难题。

冒险岛055OD端怎么改区

冒险岛055OD端怎么改区

减少频道

(无论你改什么,改的同时请先关掉游戏)

在服务端找到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()));

在下面加

c.getSession().write(MaplePacketCreator.getServerList(1, "XXXX", LoginServer.getInstance().getLoad()));

要想更多选区就继续加

c.getSession().write(MaplePacketCreator.getServerList(2, "XXXX", LoginServer.getInstance().getLoad()));

其中XXXX是指名字,随便取

在编译下

2.打开端里的 login.PROPERTIES 文件修改成

# hostname or IP address of your world server

net.sf.odinms.world.host=127.0.0.1

# number of channels to host in this process

net.sf.odinms.world.count=3

# login server key

# (this is defined in the loginserver table)

net.sf.odinms.login.key=releaselogin

net.sf.odinms.login.0.key=xxxxxx

net.sf.odinms.login.1.key=xxxxxxx

这里的xxxxxx就和开多条线一样的做法

3.在数据库里找到 loginsever 打开

loginseverid key world

1 d3703816f23fdee7fce6ba061244736b83c88fc5 0

2 a895a7b4971af1e5ef191d457ac38fd9655ecbc0 1

3 b30660a0abb5f866b1d1eb3af11930d0c130674f 2

这也和开多条线一样的做法

其中 d3703816f23fdee7fce6ba061244736b83c88fc5=releaselogin

a895a7b4971af1e5ef191d457ac38fd9655ecbc0=zisedk

然后把服务端dist文件夹里的odinms.jar(好像是吧,反正你编译什么就覆盖什么)覆盖到C:\Program Files\Java\jre6\lib\ext里(如果你不是默认路径,请覆盖到对应的ext文件夹即可)

游戏中:!help

!daima

可以查询GM指令