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

throw new Error(archive could not be found or opened (${errno})); #8

Open
trgcyln opened this issue Jan 13, 2022 · 11 comments
Open

throw new Error(archive could not be found or opened (${errno})); #8

trgcyln opened this issue Jan 13, 2022 · 11 comments

Comments

@trgcyln
Copy link

trgcyln commented Jan 13, 2022

Screenshot_18

Hello,

What am i missing ?

@JiLiZART
Copy link
Member

I need more info about this. maybe config file.
This error points to that stormlib can't open .mpq archive
Maybe because is there no particular version in war3 folder https://github.com/w3gh/ghost.js/tree/master/war3

@trgcyln
Copy link
Author

trgcyln commented Jan 14, 2022

I'm using PopOS which is a port of Ubuntu. Can it be releated to this ?
Do I need to use Windows ?

@JiLiZART
Copy link
Member

no, you don't

@JiLiZART
Copy link
Member

I try myself run project in docker.

@trgcyln
Copy link
Author

trgcyln commented Jan 15, 2022

It ran in windows 10 without a problem. The problem is : I can't change the config file. I mean do I need to make the config changes before "docker build -t w3gh/ghost.js " ?

Also, I'm trying to connect to iccup server. Can it run in iccup ? It uses 1.26 client.

@JiLiZART
Copy link
Member

I dunno :) Maybe it can connect.
Yes you need change config before docker build

@trgcyln
Copy link
Author

trgcyln commented Jan 16, 2022

Need some help :)
It keeps me saying "ghost:BNet_SID_Handler logon failed - account doesn't exist"
But it exits, I know it does.
Screenshot_2
Screenshot_3

Screenshot_5

Could you please have a look at it ?
The account creation page is: https://iccup.com/

Also, I mean if you are uncomfortable with helping, I can really pay/hour to setup a working bot. All I want is a working bot to host dota games :)
I have a dedicated machine. I can setup any vm with the OS preference by you.

@JiLiZART
Copy link
Member

I think you need to firstly login with W3 client itself

@trgcyln
Copy link
Author

trgcyln commented Jan 16, 2022

Screenshot_1

They have an app called launcher. I remember I logged in with this app then launched the wc3 client. After that it automatically logs in the server and enters lobby.

This part is auto after I click "play" button.
Screenshot_2

@JiLiZART
Copy link
Member

Seems they maybe use own password hashing algorithm (because of launcher)

@awesomesk1ll
Copy link

awesomesk1ll commented Feb 28, 2023

For bots you need unofficial launcher which stands as proxy for bot connection. i'll try to connect and return here with info asap.

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

3 participants