开区活动时间修改/ouyu/server_cross/config/openserver.xml
开区活动时间修改/ouyu/server_origin/config/openserver.xml
首先在远数据库里面复制ug01_cn.sql,ug01_cn_cross.sql改为ug02_cn.sql,ug02_cn_cross.sql导入数据库
一机多区首先复制两文件server_cross改server_cross2,server_origin改server_origin2修改好端口上传到原文件夹位置解压给与777权限
一机多区修改端口/ouyu/server_cross2/config/serverconfig/commonconfig.xml
一机多区修改端口/ouyu/server_cross2/debug/commonconfig.xml
一机多区修改端口/ouyu/server_cross2/debug/serverconfig.xml
一机多区修改端口/ouyu/server_origin2/config/serverconfig/commonconfig.xml
一机多区修改端口/ouyu/server_origin2/debug/commonconfig.xml
一机多区修改端口/ouyu/server_origin2/debug/serverconfig.xml
最后修改启动文件:start.sh
cd server_origin/debug
./EXEdataaccess_release commonconfig.xml 1 10 &
sleep 10
./EXEloginserver_release &
sleep 10
./EXEgateway_release commonconfig.xml 1 &
sleep 10
./EXEgameworld_release commonconfig.xml 1 0 1 &
sleep 10
cd ../../server_cross/debug
./EXEdataaccess_release commonconfig.xml 1 10 &
sleep 10
./EXEloginserver_release &
sleep 10
./EXEgateway_release commonconfig.xml 1 &
sleep 10
./EXEgameworld_release commonconfig.xml 1 0 1&
sleep 10
./EXEcrossserver_release &
cd ../../server_origin2/debug
./EXEdataaccess_release commonconfig.xml 1 10 &
sleep 10
./EXEloginserver_release &
sleep 10
./EXEgateway_release commonconfig.xml 1 &
sleep 10
./EXEgameworld_release commonconfig.xml 1 0 1 &
sleep 10
cd ../../server_cross2/debug
./EXEdataaccess_release commonconfig.xml 1 10 &
sleep 10
./EXEloginserver_release &
sleep 10
./EXEgateway_release commonconfig.xml 1 &
sleep 10
./EXEgameworld_release commonconfig.xml 1 0 1&
sleep 10
./EXEcrossserver_release &
最后修改下区服IP/www/wwwroot/www/init-query.php
不懂的加QQ342819999