w3gh / ghost.js

Try to port Warcraft3 Game Host Ghost++ to js
MIT License
25 stars 4 forks source link

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

Open trgcyln opened 2 years ago

trgcyln commented 2 years ago

Screenshot_18

Hello,

What am i missing ?

JiLiZART commented 2 years ago

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 commented 2 years ago

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

JiLiZART commented 2 years ago

no, you don't

JiLiZART commented 2 years ago

I try myself run project in docker.

trgcyln commented 2 years ago

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 commented 2 years ago

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

trgcyln commented 2 years ago

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 commented 2 years ago

I think you need to firstly login with W3 client itself

trgcyln commented 2 years ago

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 commented 2 years ago

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

awesomesk1ll commented 1 year ago

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