⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 res.txt

📁 聊天
💻 TXT
字号:
'Echat Server 主配置文件

'聊天室登陆主端口设置
IndexPort = 9000

'聊天室服务器IP地址设置
IndexIp = 127.0.0.1

'聊天室房间起始端口
RoomPort = 9001

'以下三项配置为数据库连接类型,根据需求选择一种即可
'[1]DSN方式连接
'DataBase = DSN=echat

'[2]直接连接MDB数据库方式
'其中[D:\echat_v40\data\echat.mdb]为需要修改地方,修改成你的真实路径
DataBase = Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Echat_V40\data\echat.mdb

'[3]直接连接MSSQL数据库方式
'127.0.0.1为数据库服务器的IP
'echat为数据库名称
'sa为数据库登陆用户
'123456为数据库登陆密码
'DataBase = Provider=Sqloledb;User ID=sa;Password=123456;Initial Catalog=echat;Data Source=127.0.0.1

DataBase.bSingleThread = False
DataBase.bFileLink = False
DataBase.bFullParam = False

'数据库字段名称设置
DataBase.RFX.UserName = username
DataBase.RFX.UserPass = userpass
DataBase.RFX.UserSex = usersex
DataBase.RFX.ChatLevel = chatlevel
DataBase.RFX.ChatPic = chatpic
DataBase.RFX.ChatTime = chattime
DataBase.RFX.Age = age
DataBase.RFX.Email = email
DataBase.RFX.MovePhone = mphone
DataBase.RFX.RegTime = regtime
DataBase.RFX.LastTime = lasttime
DataBase.RFX.IP = lastip
DataBase.RFX.Question = question
DataBase.RFX.Answer = answer
DataBase.RFX.Info = signature

'数据库表名称设置,如当前表为Echat
'改变表设置只需修改表名即可
DataBase.Sql.Serach = Select [::UserName],[::UserPass],[::UserSex],[::ChatLevel],[::ChatPic],[::ChatTime],[::Age],[::Email],[::MovePhone],[::RegTime],[::LastTime],[::IP],[::Question],[::Answer],[::Info] From Echat Where [::UserName] = '[::Name]'
DataBase.Sql.Save = Select [::UserName],[::UserPass],[::ChatLevel],[::ChatTime],[::LastTime],[::IP] From Echat Where [::UserName] = '[::Name]'
DataBase.Sql.Register = Select [::UserName] From Echat Where [::UserName] = '[::Name]'
DataBase.Sql.Register1 = Insert into EChat ([::UserName],[::UserPass],[::UserSex],[::ChatLevel],[::ChatPic],[::ChatTime],[::Age],[::Email],[::MovePhone],[::RegTime],[::LastTime],[::IP],[::Question],[::Answer],[::Info]) Values('[::UserName_V]','[::UserPass_V]',[::UserSex_V],[::ChatLevel_V],[::ChatPic_V],[::ChatTime_V],[::Age_V],'[::Email_V]','[::MovePhone_V]','[::RegTime_V]','[::LastTime_V]','[::IP_V]','[::Question_V]','[::Answer_V]','[::Info_V]')

'聊天室存点设置
bRegister = True
bRegisterByDb = True
bSaveByProg = True
Room.SaveOnTime = False
Room.SaveTimeSpan = 60
Count.BaseLevel = 1000
Count.UpLevel = %5
SaveUrl = 127.0.0.1
SavePage = SavePage.asp
SaveCode = jrhfwuefhoiuwehfiewfidrjgirgjvxmcnvg

'是否允许游客匿名登陆
Room.GuestAllow = True
'MD5开关支持跟任何采用MD5加密的社区、BBS等系统结合
MD5 = False

'系统日志文件
LogonFile = logs\ChatSystem.log

'各房间日志所在的目录
RoomLogonPath = logs\

'聊天室用户登陆情况日志
RoomLogon = logs\roomlogon.log

'登陆页面模板
IndexHtml = main\index.txt

'自建房间登陆页面模板
IndexHtml1 = main\index_temp.txt

'在线用户列表页面模板
UserListHtml = main\userList.txt

'房间在线管理页面模板
ManagerHtml = main\manager.txt

'权限在线管理页面模板
CtrlRoomHtml = main\ctrlroom.txt

'出错提示页面模板
ErrHtml = main\error.txt

'游客登陆性别
'0=男(兰色) 1=女(红色) 2=保密(绿色)
People.Sex = 2

'游客登陆后级别
People.Level = 0

'游客登陆头像
People.Pic = 0

'用户发言速度设置
People.SendSpend = 1

'离坐留言信息设置
People.Content[0] = 我现在不在一会儿回来!
People.Content[1] = 你好,我正在接电话!
People.Content[2] = 工作中,请勿打搅!

'在此以下的各项设置均可在房间设置文件中[个性设置]

'=>个性设置[开始]

'默认登陆房间后框架结构模板
Room.IndexHtml = main\room.txt

'默认用户注册页面模板
Room.RegisterHtml = main\register.txt

'默认用户注册成功页面模板
Room.RegisterSuccHtml = main\registerSuccResult.txt

'默认用户注册失败页面模板
Room.RegisterErrHtml = main\registerErrResult.txt

'默认用户编辑个人资料页面模板
Room.ReadyEditHtml = main\edit.txt

'默认用户编辑个人资料成功页面模板
Room.EditSuccHtml = main\editSuccResult.txt

'默认用户主发言区页面模板
Room.ContentHtml = main\content.txt

'默认用户清屏后主发言区页面模板
Room.RContentHtml = main\rcontent.txt

'默认用户包厢发言区页面模板
Room.SpanHtml = main\span.txt

'默认用户清屏后包厢发言区页面模板
Room.RSpanHtml = main\rSpan.txt

'默认Emote配置文件
Room.EmoteTxt = main\emote.txt

'默认动作配置文件
Room.ActionTxt = main\action.txt

'默认贴图配置文件
Room.ImageTxt = main\image.txt

'默认颜色配置文件
Room.ColorTxt = main\color.txt

'默认级别功能配置文件
Room.CommandTxt = main\command.txt

'默认贴图所需级别
Room.ImageTxt.LimitLevel = 0

'默认房间最大人数
Room.MaxPeople = 200
Room.Action = temp

'默认房间主题
Room.Title = Echat Server 专业聊天服务器 演示聊天室

'默认房间欢迎语
Room.WelCome = 欢迎来到 Echat Server专业聊天服务器 演示聊天室!请注意文明聊天,祝您聊天愉快!

Room.system.SexColor[0] = blue
Room.system.SexColor[1] = red
Room.system.SexColor[2] = green
Room.system.SexColor[3] = blue

Room.System.Link = <a href=javascript:parent.SetTo('[::UserId]') target=temp><font color=[::FontColor]>[::UserName]</font></a>
Room.System.AllPeople = 所有人
Room.System.Model = [::Head]<span class=time>[::Time]</span><font color=[::Color]>[::Type]</font>系统:[::Content]</div>
Room.System.ModelNormal = [::Head]<span class=time>[::Time]</span>[::Secret][::From][::Emote]对[::To]说:<font color=[::FontColor]>[::Content]</font>[::Image]</div>
Room.System.ModelEmote = [::Head]<span class=time>[::Time]</span>[::Secret][::Emote]:<font color=[::FontColor]>[::Content]</font>[::Image]</div>
Room.System.ModelAction = [::Head]<span class=time>[::Time]</span>[::Secret][::Action]</div>

'默认系统提示文字颜色
Room.System.Color = #ff0000
Room.System.OtherColor = #000000

'默认系统提示设置
Room.System.SendFast = 发话太快!
Room.System.SendLimit = 你的嘴已经被管理员贴上了,过会再说吧!
Room.System.NoneContent = 没话就不要说了!
Room.System.NotFindPeople = 你说话的对象不在!
Room.System.NotToYouself = 请不要自言自语!
Room.System.KockedToYou = 你被请出聊天室!原因:[::Why] By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.KockedToOther = <a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>被请出聊天室!原因:[::Why] By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.LimitToYou = 你的嘴被贴上了!原因:[::Why] By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.LimitToOther = <a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>的嘴被贴上了!原因:[::Why] By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.UnLimitToYou = 你可以说话了! By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.UnLimitToOther = <a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>可以说话了! By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.AlertToYou = 你的言行引起了大家的不满,请遵守聊天室秩序!原因:[::Why] By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.Alert = <a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>的言行引起了大家的不满,请遵守聊天室秩序,文明进行聊天!原因:[::Why] By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.PeopleJoinToYou = 欢迎您进入聊天室!
Room.System.PeopleJoin = <a href=javascript:parent.SetTo('[::UserId]') target=temp><b>[::UserName]([::UserId])</a>进入聊天室!</b>
Room.System.PeopleLeave = <a href=javascript:parent.SetTo('[::UserId]') target=temp><b>[::UserName]([::UserId])</a>离开了聊天室!</b>
Room.System.PeopleLeaveErr = <a href=javascript:parent.SetTo('[::UserId]') target=temp><b>[::UserName]([::UserId])</a>偷偷关掉浏览器溜掉了!</b>
Room.System.HeadFromYou = <div class=send>
Room.System.HeadToYou = <div class=come>
Room.System.HeadWithoutYou = <div>
Room.System.TypeAlert = [警告]
Room.System.TypeView = [注意]
Room.System.Secret = [密谈]
Room.System.SecretEmote = [密谈]
Room.System.LevelLow = 你的级别不够!
Room.System.NotFindPeopleCmd = 你执行的对象不在!
Room.System.Ip = <a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>的Ip:[::Ip]!
Room.System.EditTitle = <b>本房间标题改为:[::Title] By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a></b>
Room.System.EditWelCome = <b>本房间欢迎词改为:[::WelCome] By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a></b>
Room.System.EditTitleErr = 缺少标题!
Room.System.EditWelComeErr = 缺少欢迎词!
Room.System.AddBadPeople = 将<a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>加入黑名单!
Room.System.FreeBadPeople = 将<a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>从黑名单中解除!
Room.System.AddGoodPeople = 将<a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>加入好友名单!
Room.System.FreeGoodPeople = 将<a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>从好友名单中解除!
Room.System.FreeBadPeopleErr = 黑名单中没有改用户!
Room.System.FreeGoodPeopleErr = 好友名单中没有改用户!
Room.System.SetTimeToYou = 你的发话时间被设定为[::SpanTime]秒一次! By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.SetTime = <a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>的发话时间被设定为[::SpanTime]秒一次! By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.SetTimeErr = 无法获得设定时间的数值!
Room.System.SetActionToYou = 你的状态被设定为[::Action]!
Room.System.SetAction = <a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>的状态被设定为[::Action]!
Room.System.SetActionErr = 无法获得设定状态的数值!
Room.System.Action[0] = 正常
Room.System.Action[1] = 离线
Room.System.Action[2] = 屏蔽
Room.System.Action[3] = 聋子
Room.System.LevelTooLow = 您的级别不够管理!
Room.System.SetLevelToYou = 你的级别被设定为[::Level]! By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.SetLevel = <a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>的级别被设定为[::Level]! By <a href=javascript:parent.SetTo('[::ManagerId]') target=temp>[::ManagerName]([::ManagerId])</a>
Room.System.SetLevelErr = 请输入正确的设定级别!
Room.System.SetLevelTooHigh = 您无权设定比你高的级别!
Room.System.SetLevelErrYou = 您无权设定该用户!
Room.System.GetManagerToYou = <b>您获得了本聊天室的管理权限,等级为[::Level]!</b>
Room.System.GetManager = <b><a href=javascript:parent.SetTo('[::UserId]') target=temp>[::UserName]([::UserId])</a>获得了本聊天室的管理权限,等级为[::Level]!</b>
Room.System.GetManagerErr = 您无法成为管理员!

Room.System.ModelManager = <font color=red><b>☆[公告]聊天室管理员 [ [::Manager] ] 说:[::Content][::Time]</font></b><br>
Room.System.ListTableStart = <table border=1><tr><td colspan=2><center>[::TableName]</center></td></tr><tr><td><center>用户名</center></td><td><center>是否在线</center></tr>
Room.System.ListTableBody = <tr><td><center>[::UserName]</center></td><td><center>[::Online]</center></td></tr>
Room.System.ListTableEnd = </table>
Room.System.BadList = 黑名单
Room.System.GoodList = 好友名单

'=>个性设置[结束]

'Error 错误提示信息
Error.OnFormErr = 提交数据错误!
Error.OnNameErr = 用户名不对,不能为空和Guest + 数字,请返回重新输入!
Error.OnIdErr = 标识不对,请重新登陆!
Error.OnPassErr = 用户名密码不符,请返回重新输入!
Error.OnNameUsed = 用户名重复,请返回重新输入!
Error.OnCodeErr = 用户名中请不要含有非法字符,如:空格,Table,"<",">",""","'"等!
Error.OnSysBusy = 系统资源不足,请等待!
Error.OnRoomFull = 房间人数已满,请稍侯重新进入!
Error.OnDataBaseErr = 数据库连接错误!
Room.System.AddBadIp = [::Ip]被加入屏蔽列表!
Room.System.FreeBadIp = [::Ip]从屏蔽列表中解除!
Room.System.BadIpErr = 请输入正确的Ip!
Room.System.IpList = 屏蔽Ip列表
Error.OnBadList = 您被加入黑名单,请反省会再来!
Error.OnKillIp = 系统已经不再接受您的请求!

'系统默认是否允许房间内使用命令
Room.System.bCommand = TRUE
Room.System.NotCommand = 本房间不允许使用该命令!

'房间分类
Room.System.RoomType = 0
'房间内的本类别实时房间列表是否打开
Room.System.bListOtherRoom = true
'房间类别
RoomTypes = 上海区,北京区,深圳区,广州区
'管理员配置文件地址
ManagerPath = Manager\
'房间是否默认继承总管理员权限
Room.bAddSysManager = True

RoomNum = 4
Room[0].Type = other
Room[0].Config = Room/Room0.txt
Room[1].Type = other
Room[1].Config = Room/Room1.txt
Room[2].Type = other
Room[2].Config = Room/Room2.txt
Room[3].Type = other
Room[3].Config = Room/Room3.txt

'是否保存房间启动信息和系统异常
Room.Logon = False
'是否保存标准格式聊天日志,可以用日志软件分析数据
Room.LogData = False
'是否保存房间内管理日志
Room.LogManager = False

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -