发布时间: 2022-10-26 13:35:31 来源: 互联网
本文目录一览:
倚天服务器端简单架设方法以及资料1、首先必须要安装FreeBSD系统(win+freeBSD双系统)、MYSQL、MYSQL客户端版、设置CONFIG文件路径(并修改IP地址) 运行游戏服务端,依次是db,chat,mark,log,game,account
2、建立DB数据库 并还原倚天DB数据资料
3、利用还原的DB数据查询DB库文件
DB库分为:人物DB资料、NPC DB 资料、 物品DB 资料
人物DB 祥解
人物DB数据可以通过account表 查询
查询格式为:
('kuchewz',0,'123456',0,2,3,247,271,271,200,kuchewz,kuchewz,0,0,109,0,'2005-12-13 13:12:38')
('所属帐号',位置,'玩家姓名',0,姓名,头发,等级,力量,敏捷,智力,ElK钱,DAK钱,所属盟,0,所在地图,0,'最后玩的时间')
4,GAME_server 下 notice 文件作用
此文件可以用做为 私服简介 类似与传奇私服的登陆公告
5、server_string 文件的作用 介绍 以及修改方法
此文件记录了部分NPC 对话设置. 在此次珧天网络发布的服务器端中 此文件是不完整的. 只有部分可用
此文件在修改时一定要注意一点,由于韩文无法翻译(本人水平有限) 请大家在修改时注意文本的对照 以及多文件修改. 因为服务器端分为 3个game_server 文件. 建议修改时用字符替换工具. 以及编码翻译软件
6、$n=name, $N=name, $p=item name, %d=number, %s=string 脚本值介绍
$n=name 此脚本值为 NPC 名. 比如说 药店的老板. 首先出现的是将要激活脚本的对象
$N=name 此脚本值是 确定激活此脚本. 执行下一步
$pitem name 此脚本值是 以确定此NPC 脚本
%d=number 此脚本值 是 脚本开始执行
%s=string 此脚本值 是 脚本执行停止
脚本范例:
eng "While in 7 days, You will get roses from monsters.n"
"For commemoration of your happy marriage, I will given"
"you prize money when you bring roses to me. Only 7 daty!n"
"n"
"10 Roses : 300,000 Elkn"
" 7 Roses : 150,000 Elkn"
" 5 Roses : 100,000 Elkn"
" 3 Roses : 50,000 Elkn"
"n"
"There's a few black roses in monsters. If both man and womann"
"gets the black rose, bring'em to me! I will give great swordn"
"and shield to you!n"
"n"
"Note: Both man and woman has to get same number of roses.n"
" I won't count in both.";
用按键精灵做得一个脚本,目的在于吃一条鲫鱼解除狂暴状态,然后立即吃魔法鱼将蓝补满,这样就可以立刻再使用一次狂暴术了,也就是修炼了。当然要用最少得投入获得最快得修炼进阶,你 的魔法值最好是10以内,这个用暗嘿狂人剑在智力46-50的时候就能作到,
Linode VPS默认情况下是通过DHCP自动获取IP的,所以在安装Kloxo完成设置Kloxo的时候会出现no_ip_address的提示,这个时候就需要手动设置上IP,这样才能添加域名。
如果你设置Kloxo的时候出现no_ip_address的提示你可以按照下面步骤修改:
使用编辑器编辑(如果不会用编辑器,可以使用winscp):/etc/sysconfig/network-scripts/ifcfg-eth0
# Configuration for eth0
DEVICE=eth0
BOOTPROTO=none
# This line ensures that the interface will be brought up during boot.
ONBOOT=yes
# eth0 - This is the main IP address.
# The address, netmask and gateway are all necessary.
IPADDR=12.34.56.78 #你的IP地址
NETMASK=255.255.255.0 #子网掩码
GATEWAY=12.34.56.1 #网关
一般这样设置好,再执行命令:service network restart 重启网络就好了,如果还是不通,重启试一下。
添加第2个IP,可以创建 /etc/sysconfig/network-scripts/ifcfg-eth0:0
# Configuration for eth0:0
DEVICE=eth0:0
BOOTPROTO=none
# This line ensures that the interface will be brought up during boot.
ONBOOT=yes
# eth0:0
IPADDR=34.56.78.90
NETMASK=255.255.255.0
GATEWAY=12.34.56.1
添加第3个IP,创建 /etc/sysconfig/network-scripts/ifcfg-eth0:1 按上面的内容添加到这个文件中,以此类推。
以上办法都是在CentOS或者Fedora下添加IP的方法,如果是在Debian/Ubuntu下添加IP的方法(注,当然Kloxo没有Debian下的版本):
修改 /etc/network/interfaces
# The loopback interface
auto lo
iface lo inet loopback
# Configuration for eth0 and aliases
# This line ensures that the interface will be brought up during boot.
auto eth0 eth0:0 eth0:1
# eth0 - This is the main IP address that will be used for most outbound connections.
# The address, netmask and gateway are all necessary.
iface eth0 inet static
address 12.34.56.78
netmask 255.255.255.0
gateway 12.34.56.1
# eth0:0
iface eth0:0 inet static
address 34.56.78.90
netmask 255.255.255.0
# eth0:1 - Private IPs have no gateway (they are not publicly routable) so all you need to
# specify is the address and netmask.
iface eth0:1 inet static
address 192.168.133.234
netmask 255.255.128.0
保存,重启网络,/etc/init.d/networking restart 即可。