August 8, 2011

world.properties增加出生地地圖

找到:ChannelServer.java 
增加
private int mapid; 

mapid = Integer.parseInt(props.getProperty("net.sf.odinms.world.mapid")); 

public int getStarterMap() { 
return mapid; 
} 

找到:MapleCharacter.java 
找到原文:
ret.map = mapFactory.getMap(ret.mapid); 


替换为: 
ret.map = mapFactory.getMap(client.getChannelServer().getStarterMap()); 

编译。。 

找到:world.properties 
增加
net.sf.odinms.world.mapid=0 

Today's Visitors: 0 Total Visitors: 2
Personal Category: 地圖系列 Topic: entertainment / video games / online games
[Trackback URL]

Post A Comment









Yes No



Please input the magic number:

( Prevent the annoy garbage messages )
( What if you cannot see the numbers? )
Please input the magic number

誰來收藏
Loading ...
unlog_NVPO 0