战网中国

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2438|回复: 7
打印 上一主题 下一主题

bot不稳定的可以参考这篇文章

[复制链接]

37

主题

352

帖子

2682

积分

精灵王

Rank: 6Rank: 6

积分
2682

社区居民忠实会员

跳转到指定楼层
楼主
发表于 2018-3-11 14:22:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 yfzh2012 于 2018-3-11 14:31 编辑

https://www.projectetal.com/foru ... oubleshoot_d2nt_fix

虽然这篇文章是针对d2nt fix 来写的,不过针对的问题应该也可以供 kolbot 参考。

目前看下来暴雪的修改引发的kolbot 问题挺多,我虽然不在用kolbot,但是总觉得有些问题就是暴雪服务器在捣鬼引起的,
基本上出现问题的时候就是服务器已经把你锁定了,这种情况下直接修改代码未必是最好的策略,往往会引起一些其他的bug。
提高稳定性,无非是让BOT跑起来更像是手工操作而已,加大延迟可以解决不少问题,不被服务器锁定有些疑难杂症也许就不会出现了,或者减少了。
回复

使用道具 举报

31

主题

468

帖子

2593

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2593

社区居民

沙发
发表于 2018-3-11 14:50:55 来自手机 | 只看该作者
方便把文章 引用过来吗?如果太长 请节选关键点 谢谢!
回复 支持 反对

使用道具 举报

37

主题

352

帖子

2682

积分

精灵王

Rank: 6Rank: 6

积分
2682

社区居民忠实会员

板凳
 楼主| 发表于 2018-3-12 07:27:02 | 只看该作者
Contents
1Warning
2Video guides
3Fast checking
4Unable to identify application version
5Unable to connect
6Unhandled Exception: (c0000005)
7Create Process Error
8Loading / Restart (5s)
9This app can't run on your PC
10msvcr100.dll error
11unexpected error
12Prevent patching to 1.14d
13Missing files
14versions do not match
15Server Down
16Related pages
17Questions/Comments
回复 支持 反对

使用道具 举报

37

主题

352

帖子

2682

积分

精灵王

Rank: 6Rank: 6

积分
2682

社区居民忠实会员

地板
 楼主| 发表于 2018-3-12 07:28:10 | 只看该作者
Unable to connect
remove bncache.dat file from your 1.13d Diablo II folder";
to prevent bot hang on "Unable to connect" for indefinitely time you must edit the "Entry Point /Starter File" which you are using (NTBot.ntj, NTLeader.ntj, NTLeecher.ntj, ...) and modify case 11 to:
Code:
    case 11: // Unable To Connect
       timeoutDelay(unableToConnectRetry*60*1000, location)                  
       sendEventToOOG(D2NT_MGR_PRINT_LOG, COLOR_1 + "Unable to connect, restart d2", 0);   //add-on for restart
       sendEventToOOG(D2NT_MGR_RESTART, location.name, 10);                                  //add-on for restart
       Delay(3500);                                                                       //add-on for restart
       break;
回复 支持 反对

使用道具 举报

31

主题

468

帖子

2593

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2593

社区居民

5#
发表于 2018-3-12 07:30:20 来自手机 | 只看该作者
谢谢!
回复

使用道具 举报

37

主题

352

帖子

2682

积分

精灵王

Rank: 6Rank: 6

积分
2682

社区居民忠实会员

6#
 楼主| 发表于 2018-3-12 07:30:28 | 只看该作者
Server Down
Check Temporary Restrictions page.

Visit the topic Scripting delays in the create game entries. and replace the NTBot.ntj for solo bots. If you are using AutoMulingSystem1.2 - take a look to number 2 from https://www.projectetal.com/foru ... .33917/#post-174761
Contributors using RD version should visit Staggered Create Game Entry + Etal Beta Releases page.

"Server down" is IP related.
Changing the IP is the easy way to restart botting with the same accounts & keysets. For dynamic IP a simple restarting of the router (or the connection with ISP) is required, and you'll get a new IP.
Some of the methods are presented in - Fixing Realm Down

Forcing the limits with very short games, too many bots, and often switching the IP will cause account restrictions, see server down = account flag

If you have solo bots the timer between creation of 2 different games should be 2 minutes. If you are running only 1 leader this will not affect you.
It's no timer for joining games, or just 5-6 sec to not get "Failed to join ...". The issue can be with leaving games too fast, so more leechers don't recognizing leader and leaving the game after 20 sec, can bring a server down. For this a solution can be increasing the time for searching the leader, changing this value (default =20) from leecher config file (leech section):
Code:
NTConfig_PartyMaxTime = 40;                            // Time in seconds the leecher has to party with leader before exiting game
BE users should set the join delays in LeechStarter.ntj or for 4+ leechers - leecher-join-delay.
RD users should set the join delays in ...\Configs\Leecher.ntl the proper delays.

For joining games only some delay between leaving a game and joining other is measured. An additional rule is for manual mulling for switching chars/accounts too fast, without staying in game a 1-2 minutes.
For same IP and same key(?) the creation of new games can be max 30 for 1st hour, then lower values, to 100/12h.
If you run without any pause (no human behavior) the restriction must be lower than 200/24h.

From what I've tested is counted only the creation of games.
3 bots:
- 6-7 min/game
- using the key switching is useless, tests had the same results with 1 cdkey/bot or with 3 keys/bot, switching keys after 10, 30 or 90 games.
- tests revealed the limit with 3 bots/IP about 720-740 new games (241-248/bot) created in 32-33 h, so the average is about 22.5 new games/h/IP but i don't think that is counted like this.

4 bots:
- 7-8 min/game
- tests revealed max 4x75 runs in about 11-12h, so a total average ~26 new games/h/IP

According to these, it's a good option to run with increased timing for creating games (see NTBot.ntj, LeaderStarter.ntj, LeechStarter.ntj, ...)
Code:
var createGameThreshold            = 15000;    // time in milliseconds to wait between making games
var createGameThresholdRandom    = 5000;        // time in milliseconds to randomly add +/- to the game create time
So random 10-20 seconds to create games. Adjust these values w/e you wish.
and a quick hotfix for "server down" in entry point
Code:
    case 24: // Server Down
        var delay_t = Random(120000,150000);
        sendEventToOOG(D2NT_MGR_PRINT_LOG, COLOR_1 + "Server down... waiting " + parseInt(delay_t/1000) + " s", 0);
        Delay(delay_t);
        break;
You also could try in elevated cmd window: ipconfig release-flushdns-renew like in the guide Information on Realm Down#Method 3

For Game Does not Exist you could shorten the default 10-15 minutes values from entry points / starter points to 2 - 2.5 minutes
Code:
var gameDoesNotExistDelayMin    = 120000;    // how long to wait when a Game Does Not Exist occurs - minimum
var gameDoesNotExistDelayMax    = 150000;    // how long to wait when a Game Does Not Exist occurs -
回复 支持 反对

使用道具 举报

37

主题

352

帖子

2682

积分

精灵王

Rank: 6Rank: 6

积分
2682

社区居民忠实会员

7#
 楼主| 发表于 2018-3-12 07:36:06 | 只看该作者
本帖最后由 yfzh2012 于 2018-3-12 08:20 编辑

大体上是 解决一些排队 ,建立游戏,组队加入,房间失效 等问题,解决方法就是加延迟
例如  我 自己就在建立房间  退出房间  加入房间   都加了 随机延迟  可以大大减少排队出现的几率
增加 加入房间的延迟也可以 减少 因为吃鸡退出 导致的排队几率
加入房间游戏的角色 每个间隔 3秒,就不太会出现 进不了游戏的情况
退出房间的时候间隔几秒退一个,也不太容易出现 连接失效的情况



回复 支持 反对

使用道具 举报

5

主题

36

帖子

552

积分

骑士

Rank: 4

积分
552

社区居民忠实会员

8#
发表于 2018-3-12 07:42:59 | 只看该作者
Lz,我给你发消息了,你看下.thanks
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|BattleCN ( 陕ICP备05006600号 )

GMT+8, 2025-2-7 15:14 , Processed in 0.038424 second(s), 22 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表