-
Гость, мы просим Вас ознакомиться с Правилами Форума и Отказом от ответственности!
Последнее сообщение от SyRex
-
Сообщение
Saiyuki | 最游记
на какой vs собирал? и доп пакеты устанавливал? --- добавлено: 2 июл 2018 в 21:09 --- Не могу ничего предложить на счет версии сервера и клиента нет вариантов? --- добавлено: 2 июл 2018 в 03:15 --- в версии есть дело как думаешь? [IMG] Сервер конфиг: <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <Project Name="NextOnline"> <Setting> <Gates> <NetMappings IsOpen="1" /> <!--A --> <Gate Id="10" Name="Gate A0"> <Service Host="127.0.0.1" Port="21010" /> <GameServer Host="127.0.0.1" Port="20011" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21010" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21010" /> </NetMappings> </Gate> <Gate Id="11" Name="Gate A1"> <Service Host="127.0.0.1" Port="21011" /> <GameServer Host="127.0.0.1" Port="20011" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21011" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21011" /> </NetMappings> </Gate> <!--B --> <Gate Id="20" Name="Gate B0"> <Service Host="127.0.0.1" Port="21020" /> <GameServer Host="127.0.0.1" Port="20021" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21020" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21020" /> </NetMappings> </Gate> <Gate Id="21" Name="Gate B1"> <Service Host="127.0.0.1" Port="21021" /> <GameServer Host="127.0.0.1" Port="20021" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21021" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21021" /> </NetMappings> </Gate> <!--C --> <Gate Id="30" Name="Gate C0"> <Service Host="127.0.0.1" Port="21030" /> <GameServer Host="127.0.0.1" Port="20031" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21030" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21030" /> </NetMappings> </Gate> <Gate Id="31" Name="Gate C1"> <Service Host="127.0.0.1" Port="21031" /> <GameServer Host="127.0.0.1" Port="20031" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21031" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21031" /> </NetMappings> </Gate> <!--D --> <Gate Id="40" Name="Gate D0"> <Service Host="127.0.0.1" Port="21040" /> <GameServer Host="127.0.0.1" Port="20041" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21040" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21040" /> </NetMappings> </Gate> <Gate Id="41" Name="Gate D1"> <Service Host="127.0.0.1" Port="21041" /> <GameServer Host="127.0.0.1" Port="20041" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21041" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21041" /> </NetMappings> </Gate> <Gate Id="100" Name="Char"> <Service Host="127.0.0.1" Port="21080" /> <GameServer Host="127.0.0.1" Port="20081" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21080" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21080" /> </NetMappings> </Gate> </Gates> <Games> <Common> <DatabaseServer Host="127.0.0.1" Port="22000" /> <CenterServer Host="127.0.0.1" Port="23000" /> </Common> <Game Id="1" Name="Game A" ListenGatePort="20011" /> <Game Id="2" Name="Game B" ListenGatePort="20021" /> <Game Id="3" Name="Game C" ListenGatePort="20031" /> <Game Id="4" Name="Game D" ListenGatePort="20041" /> <Game Id="100" Name="Character" ListenGatePort="20081" /> </Games> <Center> <ListenPort GameServer="23000" Platform="23002"/> <DatabaseServer Host="127.0.0.1" Port="22000" CenterServerId="8"/> <PlatformServer Host="127.0.0.1" Port="8888" /> <!-- GlsDB Host数据库的Ip地址 Port数据库的端口 Name数据库的名字 User数据库的用户名 QuerySpaceTime数据库查询online表的间隔时间,单位毫秒 BlockAccountTime数据库中插入 OnceUpdateAccount表中阻塞的时间单位秒 --> <GlsDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="gls" QuerySpaceTime="1000" BlockAccountTime="10" OnceUpdateAccount="100"/> <GameDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_online_db" /> <PayDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_platform_db" /> <PlatformDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_platform_db" /> <!-- 北京防沉迷服务器 --> <JinDingLogDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="" /> <PlatformAntiAddiction Host="127.0.0.1" Port="3307" User="root" Password="123456"/> <PlatformQuery Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="" DbType="" /> </Center> <Database> <ListenPort AllServer="22000" DatebaseId = "1"/> <GameDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_online_db"/> <BillingDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_online_db"/> </Database> </Setting> </Project> Клиент конфиг: <?xml version="1.0" encoding="utf-8"?> <Project Name="HeroOnline" Version="1418344060.23" DownloadType="1"> <BigArea Name="最游记" Url="http://zyj.wushen.com"> <Broadcast String="9月25日 9:00\n\n更新内容:\n1)2014.9首次充值兑换有好礼\n2)2014.9充值兑换送大礼\n3)商城双蛋烟花上架\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" /> <Areas> <Area Name="双线" > <Server Name ="二郎真君" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="托塔天王" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="蟠桃盛会" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="斗战胜佛" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="哪吒闹海" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="大闹天宫" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="齐天大圣" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> </Area> <Area Name="网通" > <Server Name ="卷帘大将" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> </Area> </Areas> </BigArea> завтра попробую, ладненько, отпишу по прогрессу. на какой vs собирал? и доп пакеты устанавливал?
-
Сообщение
Saiyuki | 最游记
Не могу ничего предложить на счет версии сервера и клиента нет вариантов? --- добавлено: 2 июл 2018 в 03:15 --- Не могу ничего предложить в версии есть дело как думаешь? [IMG] Сервер конфиг: <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <Project Name="NextOnline"> <Setting> <Gates> <NetMappings IsOpen="1" /> <!--A --> <Gate Id="10" Name="Gate A0"> <Service Host="127.0.0.1" Port="21010" /> <GameServer Host="127.0.0.1" Port="20011" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21010" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21010" /> </NetMappings> </Gate> <Gate Id="11" Name="Gate A1"> <Service Host="127.0.0.1" Port="21011" /> <GameServer Host="127.0.0.1" Port="20011" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21011" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21011" /> </NetMappings> </Gate> <!--B --> <Gate Id="20" Name="Gate B0"> <Service Host="127.0.0.1" Port="21020" /> <GameServer Host="127.0.0.1" Port="20021" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21020" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21020" /> </NetMappings> </Gate> <Gate Id="21" Name="Gate B1"> <Service Host="127.0.0.1" Port="21021" /> <GameServer Host="127.0.0.1" Port="20021" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21021" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21021" /> </NetMappings> </Gate> <!--C --> <Gate Id="30" Name="Gate C0"> <Service Host="127.0.0.1" Port="21030" /> <GameServer Host="127.0.0.1" Port="20031" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21030" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21030" /> </NetMappings> </Gate> <Gate Id="31" Name="Gate C1"> <Service Host="127.0.0.1" Port="21031" /> <GameServer Host="127.0.0.1" Port="20031" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21031" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21031" /> </NetMappings> </Gate> <!--D --> <Gate Id="40" Name="Gate D0"> <Service Host="127.0.0.1" Port="21040" /> <GameServer Host="127.0.0.1" Port="20041" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21040" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21040" /> </NetMappings> </Gate> <Gate Id="41" Name="Gate D1"> <Service Host="127.0.0.1" Port="21041" /> <GameServer Host="127.0.0.1" Port="20041" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21041" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21041" /> </NetMappings> </Gate> <Gate Id="100" Name="Char"> <Service Host="127.0.0.1" Port="21080" /> <GameServer Host="127.0.0.1" Port="20081" /> <NetMappings> <NetMapping Id="0" Name="电信" Host="127.0.0.1" Port="21080" /> <NetMapping Id="1" Name="网通" Host="127.0.0.1" Port="21080" /> </NetMappings> </Gate> </Gates> <Games> <Common> <DatabaseServer Host="127.0.0.1" Port="22000" /> <CenterServer Host="127.0.0.1" Port="23000" /> </Common> <Game Id="1" Name="Game A" ListenGatePort="20011" /> <Game Id="2" Name="Game B" ListenGatePort="20021" /> <Game Id="3" Name="Game C" ListenGatePort="20031" /> <Game Id="4" Name="Game D" ListenGatePort="20041" /> <Game Id="100" Name="Character" ListenGatePort="20081" /> </Games> <Center> <ListenPort GameServer="23000" Platform="23002"/> <DatabaseServer Host="127.0.0.1" Port="22000" CenterServerId="8"/> <PlatformServer Host="127.0.0.1" Port="8888" /> <!-- GlsDB Host数据库的Ip地址 Port数据库的端口 Name数据库的名字 User数据库的用户名 QuerySpaceTime数据库查询online表的间隔时间,单位毫秒 BlockAccountTime数据库中插入 OnceUpdateAccount表中阻塞的时间单位秒 --> <GlsDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="gls" QuerySpaceTime="1000" BlockAccountTime="10" OnceUpdateAccount="100"/> <GameDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_online_db" /> <PayDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_platform_db" /> <PlatformDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_platform_db" /> <!-- 北京防沉迷服务器 --> <JinDingLogDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="" /> <PlatformAntiAddiction Host="127.0.0.1" Port="3307" User="root" Password="123456"/> <PlatformQuery Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="" DbType="" /> </Center> <Database> <ListenPort AllServer="22000" DatebaseId = "1"/> <GameDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_online_db"/> <BillingDB Host="127.0.0.1" Port="3307" User="root" Password="123456" Name="turbo_online_db"/> </Database> </Setting> </Project> Клиент конфиг: <?xml version="1.0" encoding="utf-8"?> <Project Name="HeroOnline" Version="1418344060.23" DownloadType="1"> <BigArea Name="最游记" Url="http://zyj.wushen.com"> <Broadcast String="9月25日 9:00\n\n更新内容:\n1)2014.9首次充值兑换有好礼\n2)2014.9充值兑换送大礼\n3)商城双蛋烟花上架\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" /> <Areas> <Area Name="双线" > <Server Name ="二郎真君" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="托塔天王" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="蟠桃盛会" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="斗战胜佛" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="哪吒闹海" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="大闹天宫" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> <Server Name ="齐天大圣" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> </Area> <Area Name="网通" > <Server Name ="卷帘大将" StatusStr ="良好" Comment ="正常" Ip ="127.0.0.1" Port ="21080" Status="0" IsRecommend="0" /> </Area> </Areas> </BigArea> завтра попробую, ладненько, отпишу по прогрессу.
-
Сообщение
Saiyuki | 最游记
Вообщем проблема такая, все нормально работает. Коннект к базе успешный, сервера созданы и стабильны. Но вот проблема в чем, так это немогу приконектится. Вот картинка : https://ibb.co/kALSbd Вот конфиг сервера : <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <Project Name="NextOnline"> <Setting> <Gates> <Gate Id="10" Name="Gate JiangNan0"> <Service Host="127.0.0.1" Port="21010" /> <GameServer Host="127.0.0.1" Port="20011" /> </Gate> <Gate Id="11" Name="Gate JiangNan1"> <Service Host="127.0.0.1" Port="21012" /> <GameServer Host="127.0.0.1" Port="20011" /> </Gate> <Gate Id="12" Name="Gate JiangNan2"> <Service Host="127.0.0.1" Port="21014" /> <GameServer Host="127.0.0.1" Port="20011" /> </Gate> <Gate Id="100" Name="Gate Copy Scence"> <Service Host="127.0.0.1" Port="21080" /> <GameServer Host="127.0.0.1" Port="20081" /> </Gate> </Gates> <Games> <Common> <DatabaseServer Host="127.0.0.1" Port="22000" /> <CenterServer Host="127.0.0.1" Port="23000" /> </Common> <Game Id="1" Name="Game JiangNan" IP="127.0.0.1" ListenGatePort="20011" /> <Game Id="2" Name="Game Copy scence" IP="127.0.0.1" ListenGatePort="20081" /> </Games> <Login ip="127.0.0.1" port="30014" listennum="100" MaxOnline="100"> <CharGate ip="127.0.0.1" port="21080" /> <Center ip="127.0.0.1" port="30013" /> <DB ip="127.0.0.1" port="3306" user="root" password="usbw" dbname="oldworld_new" /> </Login> <Center> <ListenPort Host="127.0.0.1" GameServer="23000" Platform="23002" LoginServer="30013" GMServer="30015"/> <DatabaseServer Host="127.0.0.1" Port="22000" CenterServerId="8"/> <PlatformServer Host="127.0.0.1" Port="8888" /> <!-- GlsDB Host��ݿ�Ipĵ�ַ Port��ݿ�Ķ˿ Name���ݿ����� User���ݿ���û�� QuerySpaceTime���ݿ��ѯonline��ļ��ʱ�,䵥λ��� BlockAccountTime���ݿ��в�� OnceUpdateAccount���������ʱ�䵥λ� --> <GlsDB Host="127.0.0.1" Port="3306" User="root" Password="usbw" Name="oldworld_new" QuerySpaceTime="1000" BlockAccountTime="10" OnceUpdateAccount="100"/> <GameDB Host="127.0.0.1" Port="3306" User="root" Password="usbw" Name="oldworld_new" /> <BillingDB Host="127.0.0.1" Port="3306" User="root" Password="usbw" Name="oldworld_new" /> <PlatformDB Host="127.0.0.1" Port="9999" User="root" Password="usbw" Name="oldworld_new" /> <!-- 뱱������Է���� --> <PlatformRPC Host="127.0.0.1" Port="9999" User="root" Password="usbw" DbName="" /> </Center> <Database> <ListenPort AllServer="22000" Host="127.0.0.1" /> <GameDB Host="127.0.0.1" Port="3306" User="root" Password="usbw" Name="oldworld_new"/> <BillingDB Host="127.0.0.1" Port="3306" User="root" Password="usbw" Name="oldworld_new"/> </Database> <Logger ip="127.0.0.1" port="2999" listennum="20"> <DB host="127.0.0.1" port="3306" user="root" password="usbw" Name="oldworld_new" /> </Logger> </Setting> </Project> А вот клиента. erver Name ="蟠桃盛会" StatusStr ="良好" Comment ="正常" Ip ="127.0.01" Port ="50030" Status="0" IsRecommend="0"/> Мб у тебя есть какие-нибудь варианты? Я изначально подумал может в порте дело ибо нет соответствия, но перепробывал все.