Zombie_WB |
2005-01-14 19:14 |
以前在网游区求助过一次未果,这次是真的打算学下,所以上网找了N久都只看到这一篇文章……但还是有许多地方看不明白。希望谁有时间能给我详细讲解下,谢谢~~~
代码 | 架设详细教程:
服务端部分 下面大家先修改 1、access\bombgame\acc里的system.ini DNS用户名和密码
OpenPort 8798 DNSSetting BombGame bomb 123 (DNS名 数据库用户名 密码)
2、GameServer\Shooting\prog和GameServer\tournament\prog里的config.ini你还是全都改了吧
SERVER_NUM 1 AccSvr 192.168.254.3 8798 Server 192.168.254.3 9001 7051 0 AccountNeed 0 ServerType 0 ServerOption 0 GameMode 0 Version 10 AdminPassword f3ca56b9c5da
3、打开企业管理器,新建数据库icebreak,用解压文件夹里的icebreak.bak还原数据,
把用户里的Bomb删除。在数据库里的安全性-登陆新建用户名指向icebreak,权限就不说了。记住你的用户名和密码,要与上面的bomb 123 对应
找到表IB_GAMESERVERLIST打开,其中的IP列改为自己机子的IP我是网吧里的一台机子192.168.254.3,关闭数据库。
4、数据源部分。建立系统DNS。和第一步中的对应BombGame bomb 123 (DNS名 数据库用户名 密码)数据库指向icebreak
下一步,开始帐号注册部分。解压文件里有个WEB\2的。把里面的文件全部复制到一个文件价内,看到2不舒服,呵呵。
取个名字叫BOMB吧。将里面的文件夹都建立为虚拟目录。不做解释了,照做吧。以后你自己可冶Ρ改。 注意的是common里的BombConnDB.asp和serverlist里的server.list(尤其重要)
<% Set DBCon = Server.CreateObject ("ADODB.Connection") DBcon.ConnectionTimeout = 15 DBcon.CommandTimeout = 30 DBCon.Open ("dsn=BombGame;User ID=Bomb;Password=123") %>
建好后可以在地址栏里打入 http://127.0.0.1/bomb/main.asp 可以看到注册页面了。
人家嫌麻烦不搞注册页面不可以啊,也可以。打开数据库手工添加吧。
打开表,找到IB_MEMBER,查看如下:
"Idx","UserID","UserPWD","Name","JuminA","JuminB","MF","ZipCode","JusoA","JusoB","Email","TellNum","Comment","HandPhone","BirthDay","Job","Interest","ConnEnv","GaipDate","Point","sMoney","cLevel","WinCount","LoseCount","PayUser","GetItemCount","ErrorCount","PublicNumber","IsLogIn","PlayServerIdx","UserCPU","UserRAM","UserVGA","UserOS","FromSite","NoMail","payment","NoLogin","SHacksCount","partner_tag","partner_id","partner_uid","guild_index","guild_level","AcceptParent","guild_id"
4,"hapata","1314708090","sdkgsd","5514554564545","",1,"-"," "," ","gfhgf@dsf.com","--","","--",""," ","","",2004-03-11 05:17:18.340000000,0,2000,1,0,0,0,0,0,0,-1,-1,"","","","","",0,0,0,0,"BG","","-1",-1,0,0,-1
你也可以把红字部分导入表中。用户名是hapata 密码是1314708090
服务端就这样了,简单吗?有错就发帖骂吧,我接受。
========================================================================
客户端部分
安装客户端,自己下载客户端下载地址 http://61.78.55.121/laghaim/download/BombGame20031216.exe安装好后,到你的根目录下修改IBCSClientInfo.ini
-------------------------------------------------------------------------------- |
|
|