找回密码
 立即注册

QQ登录

只需一步,快速开始

游戏开服表 申请开服
游戏名称 游戏描述 开服状态 游戏福利 运营商 游戏链接
广告位招租 联系QQ51605539 今日新开 进入游戏
Close
查看: 4264|回复: 6

[教程] 天堂2单机服务端开外网整理篇

[复制链接]
  • 打卡等级:尐伊娃
  • 打卡总天数:203
  • 打卡月天数:0
  • 打卡总奖励:1878
发表于 2014-5-8 21:02:55 | 显示全部楼层 |阅读模式
天堂2单机服务端开外网整理篇
L2J篇
天堂2单机服务端开外网整理篇


首先修改ipconfig.xml【l2jtw/l2jserver/l2jcn等等大同小异!!】
原始大致如下

<?xml version="1.0" encoding="UTF-8"?>
<!-- Put old contents of ExternalHostname here, used by default -->
<gameserver address="127.0.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost access -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- LAN's, put old contents of InternalHostname here -->
<define subnet="10.0.0.0/8" address="10.0.0.0" />
<define subnet="172.16.0.0/19" address="172.16.0.0" />
<define subnet="192.168.0.0/16" address="192.168.0.0" />
</gameserver>

我们将<gameserver address="127.0.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
这一行的<gameserver address="127.0.0.1"修改为<gameserver address="您的外网IP【花生壳动态域名也是输入在此】"

比如我的外网IP为 xmgtt2012.vicp.cc就修改成
<?xml version="1.0" encoding="UTF-8"?>
<!-- Put old contents of ExternalHostname here, used by default -->
<gameserver address="xmgtt2012.vicp.cc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost access -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- LAN's, put old contents of InternalHostname here -->
<define subnet="10.0.0.0/8" address="10.0.0.0" />
<define subnet="172.16.0.0/19" address="172.16.0.0" />
<define subnet="192.168.0.0/16" address="192.168.0.0" />
</gameserver>


回复

使用道具 举报

  • 打卡等级:尐伊娃
  • 打卡总天数:203
  • 打卡月天数:0
  • 打卡总奖励:1878
 楼主| 发表于 2014-5-8 21:12:39 | 显示全部楼层
俄罗斯类服务端
天堂2单机服务端开外网整理篇



我们习惯将俄语的服务端统称为国外版服务端。因为国内做这个汉化开源的很少....L2JSE   yiyi曾经发布过一个源。。。其发布了一个开外网方法这个方法在国外服务端里都实用。。。
开外网方法
服务端方面只需要修改gameserver\config\network\server.ini

内的ExternalHostname = 127.0.0.1
将127.0.0.1改为外网IP(不需要改其他IP)
开局域网方法
修改gameserver\config\network\server.ini
内的InternalHostname = 127.0.0.1
将127.0.0.1改为局域网IP(不需要改其他IP)

回复

使用道具 举报

  • 打卡等级:尐伊娃
  • 打卡总天数:203
  • 打卡月天数:0
  • 打卡总奖励:1878
 楼主| 发表于 2014-5-8 21:13:33 | 显示全部楼层
其他开外网方法有待发现添加!!!
回复

使用道具 举报

发表于 2015-2-26 09:16:06 | 显示全部楼层
学习中。。。。。。。。。。。。
回复

使用道具 举报

发表于 2019-1-16 18:18:41 | 显示全部楼层
学习中 谢谢了。
回复

使用道具 举报

发表于 2021-5-9 06:27:15 | 显示全部楼层
这个还是很ok了
回复

使用道具 举报

  • 打卡等级:尐精灵
  • 打卡总天数:1
  • 打卡月天数:0
  • 打卡总奖励:3
发表于 2022-5-5 15:25:20 | 显示全部楼层
谢谢分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表