Differences for web version? #18
-
Hello, Just wanted to ask if you accidentally looked what are the differences needed to work with the web version? The log-in handling will be somehow different but after that the API looks the same in first glance
So it looks like if you have:
You can call the API. Have you or some friend tried this? Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi Hristo, Frankly, I've never looked at the web version. The request you posted looks very much similar. It's likely that the bot would work if you adjust I've taken a quick look and found <body>
<script>
window.NXFlashVars = { …
a=xNa.bGf(a);b["X-Auth-Signature"]=a; I'd start by reversing the |
Beta Was this translation helpful? Give feedback.
-
VK does have pets, but they've been introduced around the moment I've quitted the game, so I just never implemented them. :) Technically, they have their own hero IDs and are passed into
I don't really recognise "scull coins exchange", perhaps in Russian they're named differently. But yeah, there was no any kind of exchange in my implementation, only collecting the goods. Getting the tower coins reward worked fine. Maybe they've changed something in the API, would need to debug this.
IIRC, I only wanted to send gifts to particular players. My guild should've not known I'm using the bot ;)
Yep, though, I've heard from others, that people were still able to run the JS code from
Nope, haven't even tried. So no idea how difficult (or easy) it is. |
Beta Was this translation helpful? Give feedback.
Hi Hristo,
Frankly, I've never looked at the web version. The request you posted looks very much similar. It's likely that the bot would work if you adjust
X-Auth-Network-Ident
(constant),X-Auth-Application-Id
(constant),X-Auth-Token
, andX-Auth-Signature
.I've taken a quick look and found
X-Auth-Token
asauth_key
in the server response from https://hero-wars.com/:X-Auth-Signature
is going to be the most challenging. I don't really have time to reverse it right now, but I've found a starting point. Inheroes.js
you can find the following:I'd start by reversing the
xNa.bGf
function to find ou…