添加武器+装备相关文件
--------------------------------------------------------------首先了解一下添加武器需要的文件:
1: data\anim\item\weapon(添加anim资源文件)
2: data\mesh\item\weapon(添加mesh资源文件)
3: data\mesh\loditem\weapon(添加mesh资源文件)
4: data\share\item\itemweapon.csv(添加代码,定义属性)
5: data\script\item_shape.csv(添加代码和指定anim和mesh资源文件)
6: data\skel\item\weapon(添加skel资源文件)
7: data\texture\item(添加DDS文件)
8: data\texturepack\item\weapon(添加texturepack资源文件)
9: data\texturepack\loditem\weapon(添加texturepack资源文件)
--------------------------------------------------------------
**** Hidden Message *****
感谢,我是来学习的~ 感谢,我是来学习的~ 赚点贡献吧! 1111111111111111111111 看看是怎么个事儿 谢谢分享 D:\挑战服务端\dkserver\Cast\config.ini
;
CAST_PORT = 7882
DATABASE_ADDRESS = 127.0.0.1,1433(你的IP地址,单机127.0.0.1,1433数据库端口,不用动。)
DATABASE_DATABASE = CHARACTER
DATABASE_ACCOUNT = sa(你的SQL账号)2 X6 [' l+ y4 u5 G+ I% h5 B
DATABASE_PASSWORD = 123456(你的SQL密码)
CAST_SERVER_ID = 1101$ A* J/ ]/ u9 p7 }2 U& T
LOG_PATH = ..\LogFiles\7 ?3 O( v5 f' m) f/ H) x, }
D:\挑战服务端\dkserver\DekaronServer\config.ini 5 A: j6 y) {, f- `) z) A
; 秋府柯 1挤 6 X, C. fX' d
;% G) O3 l; ?3 J) ?; l! P( S
DEKARON_PORT = 50005(服务器端口)/ D3 uP. z8 M
;5 Z) z8 U( g' T8 {' d. k4 Z
SESSION_COUNT = 1
SESSION_NO1_IP = 127.0.0.1(你的IP地址,单机127.0.0.1), [& N- d/ ]( |5 R/ Z$ k. L
SESSION_NO1_PORT = 10000. N/ L) w5 B2 Q1 }$ l0 G
SESSION_NO1_FLAG = 13 a$ v- z5 ~9 D* T
SESSION_NO1_INDEX = 1100* f7 w+ E- Q8 |) [# |# X+ s! R
;
CAST_COUNT = 1
CAST_NO1_IP = 127.0.0.1(你的IP地址,单机127.0.0.1): l5 p. ?9 r2 P& ID
CAST_NO1_PORT = 7882
CAST_NO1_FLAG = 1* `2 L+ x0 M- N" c" U1 y: x
CAST_NO1_INDEX = 1101
;
MESSENGER_IP = 127.0.0.1(你的IP地址,单机127.0.0.1)
MESSENGER_PORT = 7883
;/ _# Z' I0 [# K$ g$ ~. i
AISERVER_COUNT = 1. A( i3 \# c& v
AI_SERVER_NO1_IP = 127.0.0.1(你的IP地址,单机127.0.0.1)
AI_SERVER_NO1_PORT = 7886; \' z7 p4 Z- b! ~
AI_SERVER_NO1_FLAG = 1
AI_SERVER_NO1_INDEX = 1101$ Y; S+ _9 _5 g. L1 z
AI_SERVER_NO1_WORLD = 1. p, o; T* r# @6 t+ W
AI_SERVER_NO1_CHANNEL = 19 J" t& L' _+ T& K3 h/ `% T
;( ^" x/ W# bR9 g) n
BILLING_COUNT = 1
BILLING_NO1_IP = 127.0.0.1(你的IP地址,单机127.0.0.1)/ R7 s2 H4 x8 t" h7 G( H
BILLING_NO1_PORT = 1433 //数据库端口
BILLING_NO1_FLAG = 19 G: c/ W9 [% F1 WH8 c. b, H/ M
BILLING_NO1_INDEX = 1$ e7 U( o, l* N6 |# E+ B
;" T, a& C& I5 i4 A6 g) M9 {( d
MAX_PLAYER = 700$ ~9 T7 f) Ya! A* T. O
MAX_PC = 500
;
WORLD_INDEX = 1( `/ l! {8 A( f: k5 A
CHANNEL_INDEX = 17 A. T9 @: f: M3 GO
;. r4 Z9 `( b; N5 P/ K7 _" Q7 j
INSPECTCYCLE_TIME = 1801 Y9 _3 z5 d# O
VERIFYWAIT_TIME = 60
D:\挑战服务端\dkserver\Login\config.ini
SESSION_COUNT = 1' P' _* e; o6 K/ g2 v/ o
SESSION_NO1_IP = 127.0.0.1(你的IP地址,单机127.0.0.1)' r# F: s2 P# P; _" E6 [' i
SESSION_NO1_PORT = 10000
SESSION_NO1_FLAG = 17 X0 H+ T2 F. f4 R7 h/ c
SESSION_NO1_INDEX = 11002 v3 b; a, @" L8 n: ^' Z6 S& z2 e
;
Korea = LOWER
Korea_CP = DEFAULT
Japan_Netmarble = DEFAULT
Japan_GameChu = LOWER+ C" u2 s. r8 G1 Y
USA_Acclaim = DEFAULT 1 z- i( p' B% U2 v% Z& Y
D:\挑战服务端\dkserver\Session\config.ini
DATABASE_ADDRESS = 127.0.0.1,1433(你的IP地址,单机127.0.0.1,1433数据库端口,不用动。)
DATABASE_DATABASE = CHARACTER
DATABASE_ACCOUNT = sa(你的SQL账号)
DATABASE_PASSWORD = 123456(你的SQL密码)
SESSION_SERVER_ID = 1100
L" L" p6 U) ?3 c% W1 e$ D
LOG_PATH = ..\LogFiles\
BILLING = 0
NO_CHARGE_CODE = NODATA ) L, ]! F( |9 }6 L% H1 sR: Q+ D
8 @7 M) G/ ~) \% Xu
------------------------------------------------------------------------------
. f4 v; U; K, ]8 z
D:\挑战服务端\dkserver\share\channellist.csv $ s2 K1 |% x6 X7 E2 T
Group,Channel Index,IP,Port,Name2 u0 Z* [R1 b
0,0,127.0.0.1,50005,绿色电信(你的IP地址,单机IP127.0.0.1,50005服务器端口,和客户端同步。)* VTQ( y& i
D:\挑战服务端\dkserver\share\loginlist.csv
Group,LoginServer Index,IP,Port; c" a1 q& O* ^$ {' \/ z; }
0,0,127.0.0.1,7880(你的IP地址,单机IP127.0.0.1,7880登陆端口,和客户端同步。)
D:\挑战服务端\dkserver\share\formula.ini
wMaxLevel ,200(自己设,需要和客户端同步,假设你服务端最高200级,那么人物高于200级会掉线。). N3 u/ j3 ~8 r- t2 o/ l7 `
5 ]6 L/ ]D0 n3 W6 L) o- \- R
D:\挑战服务端\dkserver\share\version.ini
VERSION,CHINA-18.0.3(这个和客户端一致,不然提示版本错误。) / l2 a- b! K) `
将修改好的channellist.csv,loginlist.csv,formula.ini连同version.ini一起更新到客户端。
数据库链接地址 默认127.0.0.1 一般不用去改动 除非数据库跟服务端不在同一个服务器内 这个可以啊,虚心学习 学习一下新知识
页:
[1]