您当前的位置:首页 > 其他技术 > 其他技术

新倾城GF无法启动问题解决方法

本文出处:网游动力作者:本站发布时间:2009-12-19阅读次数:

Qingcheng_serverconfigshop下的那个0.txt
写入代码:
0
商城
100
100
9
1200300035
1200300036
1200300039
2000000005
2000000006
2000000007
2000000008
2000000009
2000000010
2000000011
2000000012
2000000013
2000000014
2000000015
2000000016
2000000017
2000000018
2000000019
2000000020
2000000021
2000000022
4
1200210071
1200100018
1200100019
1200100020
1200300026
1200300027
1200300028
1200300029
1200300030
1200300031
1200100007
1200300001
1200300002
1200300005
1200300006
1200100016
1200100017
1200700042
1200100013
1200090018
1200090022
1200100037
5
1200100015
1200100016
1200100017
1200110017
1200300026
1200300027
1200300028
1200300029
1200300030
1200300031
1200100007
1200100025
1200100013
1200100037
6
1200100018
1200100019
1200100020
1200100024
1200700047
1200700048
1200700049
7
1200100005
1200700043
1200090015
1200090016
1200090017
1200090018
1200090019
1200090020
1200090021
1200090022
1200700033
1200700034
1200700035
1200700042
11
1200300001
1200300002
1200300003
1200300004
1200300005
1200300006
1200300007
1200300008
1200300009
1200702000
1200702001
1200702002
1200702003
1200702004
1200702005
1200702011
1200702012
1200702013
1200702014
1200702015
1200702022
1200702023
1200702024
1200702025


D:倾城Qingcheng_serverconfig下的server.cfg  把里面的删除掉 更换成以下代码:
<root>
        <netServerClass>daff.net.NIONetServer</netServerClass>
        <port>22345</port>
        <recordPath>e:/webservice/data/</recordPath>
        <accessor>localFileAccessor</accessor>
        <localFileAccessor class="app.game.gs.accessor.LocalFileAccessor">
        </localFileAccessor>
        <sqlServerDatabaseAccessor class="app.game.gs.accessor.DatabaseAccessor">
                <userCheckUrl>http://passport.ccjoy.com/QingCheng.ashx?</userCheckUrl>
                <userRegisterUrl>http://passport.ccjoy.com/QingChengRegister.ashx?</userRegisterUrl>
        <driverName>com.microsoft.jdbc.sqlserver.SQLServerDriver</driverName>
<urlString>jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=qingcheng;user=sa&password=123</urlString>
                <responseCodes>
                        <100>数据库错误!</100>
                        <103>您请求的IP被拒绝!</103>
                        <1101>不存在帐号!</1101>
                        <1102>密码错误!</1102>
                        <201>用户名格式错误!3-20位字符(英文字母开头,由字母、数字、下划线)组成</201>
                        <202>用户名长度3-20位字符!</202>
                        <203>此用户名已经存在!</203>
                        <204>邮箱格式不正确!</204>
                        <205>此邮箱已经存在!</205>
                        <206>密码不能为空!</206>
                        <207>注册失败!</207>
                </responseCodes>
        </sqlServerDatabaseAccessor>
        <config>
                <maxAcceptableClient>1000</maxAcceptableClient>
                <heroFirstSceneID>101</heroFirstSceneID>
                <gmWordsColor>15763456</gmWordsColor>
                <pkProtectionLevel>9</pkProtectionLevel>
                <heroDeathPunishProtectionLevel>9</heroDeathPunishProtectionLevel>
                <loginDelayTime>9000</loginDelayTime>
                <heroRestoreLifeManaDelay>10000</heroRestoreLifeManaDelay>
                <expTimes>1</expTimes>
                <moneyTimes>1</moneyTimes>
                <treasureDropTimes>0</treasureDropTimes>
                <userCreatable>1</userCreatable>
                <guildCreationGoodsCost>1200700051</guildCreationGoodsCost>
                <guildCreationMoneyCost>100000</guildCreationMoneyCost>
                <guildCreationHeroLevel>20</guildCreationHeroLevel>
                <guildInitialMoney>10000</guildInitialMoney>
                <guildDailyMoneyCost>10000</guildDailyMoneyCost>
                <guildMemberLowerLimit>10</guildMemberLowerLimit>
                <guildUpgradeMoneyCost>100000</guildUpgradeMoneyCost>
                <guildUpgradeGoodsCost>1200700052</guildUpgradeGoodsCost>
                <guildUpgradeReputationRequired>100</guildUpgradeReputationRequired>
                <guildUpgradeMemberRequired>10</guildUpgradeMemberRequired>
                <validateInterface>http://127.0.0.1:9999/Default.aspx?activation=</validateInterface>
        </config>
        <log />
</root>

服务器久能正常启动了