Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/verify-tw window crashed the BOT #1946

Open
Anton0926 opened this issue Sep 29, 2019 · 14 comments
Open

/verify-tw window crashed the BOT #1946

Anton0926 opened this issue Sep 29, 2019 · 14 comments

Comments

@Anton0926
Copy link

Dears

Every time log into diablo ,the /verify-tw window will pop up, even I had verified with email, it makes BOT keep logging and crashing .

How to avoid the /verify-tw window ,it is really annoying.
Thanks for help.

123

@mf022
Copy link
Contributor

mf022 commented Sep 30, 2019

That was posted in the past #1369, but unfortunately I haven't seen any solution till now.

also posted on https://d2bot.discourse.group/t/taiwan-region-need-help-to-run-d2bs/385

@mf022
Copy link
Contributor

mf022 commented Oct 13, 2019

Have that tw disclaimer mini window always that position?
Does its position depends of d2 position on screen?
The location of Y button should be translated in d2 coordinates.

according to d2nt controllinfo the buttons in its backside have:
otherMultiplayer - (6, 264, 433, 272, 35)
cinematics button - (6, 402, 528, 135, 25)

The location of Y button should be added in OOG.js. That button should be clicked, and you cannot press a keyboard key (Enter) like was the question on #1369

@Anton0926
Copy link
Author

Dear sir

Thanks for your response,
the disclaimer will always shows up as long as execute diablo.
Yes, the disclaimer will be always on the same position,
Is it possible use bot to click Y to pass the disclaimer ?

@mf022
Copy link
Contributor

mf022 commented Oct 19, 2019

maybe the solution for that mini msg box is to write smth in AutoIt

I forgot to ask:
Does the closing of that mini window with X (top-right corner) has the same effect like pressing [Y] button ?
If yes, @Mercoory suggested the closing of window with title Taiwan Legal Disclaimer in AutoIt

@emily785
Copy link

While 1
	If WinExists("Taiwan Legal Disclaimer") Then
		ControlClick("Taiwan Legal Disclaimer", "", "[CLASS:Button; INSTANCE:1]")
	EndIf
	Sleep(1000)
WEnd

Try this AutoIt script.

@peters0908
Copy link

While 1
	If WinExists("Taiwan Legal Disclaimer") Then
		ControlClick("Taiwan Legal Disclaimer", "", "[CLASS:Button; INSTANCE:1]")
	EndIf
	Sleep(1000)
WEnd

Try this AutoIt script.

Tried but it won't work. I found you can press "y" or "Enter" key to close that pop-up window. So can you kindly change that script to simulate key press action? Many thx.

@Mercoory
Copy link
Contributor

Mercoory commented Nov 7, 2019

While 1
	If WinExists("Taiwan Legal Disclaimer") Then
		ControlClick("Taiwan Legal Disclaimer", "", "[CLASS:Button; INSTANCE:1]")
	EndIf
	Sleep(1000)
WEnd

Try this AutoIt script.

Tried but it won't work. I found you can press "y" or "Enter" key to close that pop-up window. So can you kindly change that script to simulate key press action? Many thx.

Try :

While 1
	If WinExists("Taiwan Legal Disclaimer") Then
		WinWaitActive("Taiwan Legal Disclaimer")
		Send("{ENTER}")
	EndIf
	Sleep(1000)
WEnd

@ptzu
Copy link

ptzu commented Dec 17, 2019

Where should I put this code? I didn't find the AutoIt script.

@Mercoory
Copy link
Contributor

Where should I put this code? I didn't find the AutoIt script.

^ That is the script.

@ptzu
Copy link

ptzu commented Dec 17, 2019

Do I need to include this script somewhere?

@mf022
Copy link
Contributor

mf022 commented Dec 20, 2019

Do I need to include this script somewhere?

@ptzu
Copy link

ptzu commented Dec 21, 2019

It works when I open dialob2.exe manually. However, it won't work when the game is opened by b2bot.exe.

@Mercoory
Copy link
Contributor

I can't test it, but try

  • Set D2Bot manager to run the game with foreground mode
  • Set Autoit to run with Administrative privileges

@ptzu
Copy link

ptzu commented Dec 26, 2019

Thank you, running it as Administrative privileges works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants