Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ChR0NiC on January 19, 2004, 06:22 PM

Title: Warcraft 3 StatString??????
Post by: ChR0NiC on January 19, 2004, 06:22 PM
Obviously the ones on vL Documents don't worth because of the Clan tag......making it longer. I was wondering if anyone had a working updated War3 StatString and W3XP StatString....Because if someone joins the channel while using the old one....it causes my bot to crash because the statstring is longer.
Title: Re:Warcraft 3 StatString??????
Post by: R.a.B.B.i.T on January 19, 2004, 08:07 PM
Just make a slight modification, because the clan tag is just another string attached to the StatString.
                   If UBound(Values) = 3 Then
                       strcpy outbuf, ", Clan " & StrReverse(Values(3)) & ")"
                   Else
                       strcpy outbuf, ")"
                   End If
Title: Re:Warcraft 3 StatString??????
Post by: Kp on January 19, 2004, 08:34 PM
Quote from: R.a.B.B.i.T on January 19, 2004, 08:07 PM
Just make a slight modification, because the clan tag is just another string attached to the StatString.

Technically, it's a dword.  That's why it's reversed and limited to four characters. :P
Title: Re:Warcraft 3 StatString??????
Post by: Stealth on January 19, 2004, 09:15 PM
http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=display;threadid=2984;start=msg23273#msg23273
Title: Re:Warcraft 3 StatString??????
Post by: ChR0NiC on January 19, 2004, 10:37 PM
You guys should put up an updated one like the other statstrings you did.....Cuz I'm lazy  :-[
Title: Re:Warcraft 3 StatString??????
Post by: R.a.B.B.i.T on January 20, 2004, 05:14 PM
Quote from: Kp on January 19, 2004, 08:34 PM
Quote from: R.a.B.B.i.T on January 19, 2004, 08:07 PM
Just make a slight modification, because the clan tag is just another string attached to the StatString.

Technically, it's a dword.  That's why it's reversed and limited to four characters. :P
My bad.
Title: Re:Warcraft 3 StatString??????
Post by: ChR0NiC on January 22, 2004, 07:34 AM
Argh............
>.<
This is going no where.....Rabbit write an updated War3 statstring plz  ;D I'll give you 1+ good Karma   :D
Title: Re:Warcraft 3 StatString??????
Post by: iago on January 22, 2004, 07:59 AM
Quote from: ChR0NiC on January 22, 2004, 07:34 AM
Argh............
>.<
This is going no where.....Rabbit write an updated War3 statstring plz  ;D I'll give you 1+ good Karma   :D

Why don't you make a bot yourself rather than stealing and begging for code?  If all you want to do is ask other people to do work for you, I doubt you'll be welcomed by most here.
Title: Re:Warcraft 3 StatString??????
Post by: ChR0NiC on January 22, 2004, 08:11 AM
Quote from: iago on January 22, 2004, 07:59 AM

Why don't you make a bot yourself rather than stealing and begging for code?  If all you want to do is ask other people to do work for you, I doubt you'll be welcomed by most here.

I have given support to people on this forum and I was hoping RaBBiT could do the same. I am not stealing the code, I just feel it would be good for all parties wanting to make a bot, to have an updated statstring to learn from. It's clearly for educational purposes you understand  :-[

And it's not "all I want to do" for the record  :P
Title: Re:Warcraft 3 StatString??????
Post by: iago on January 22, 2004, 10:45 AM
Then why don't you do it yourself like a big boy? It's not like it's something difficult.
Title: Re:Warcraft 3 StatString??????
Post by: R.a.B.B.i.T on January 22, 2004, 05:01 PM
Quote from: iago on January 22, 2004, 07:59 AM
Quote from: ChR0NiC on January 22, 2004, 07:34 AM
Argh............
>.<
This is going no where.....Rabbit write an updated War3 statstring plz  ;D I'll give you 1+ good Karma   :D

Why don't you make a bot yourself rather than stealing and begging for code?  If all you want to do is ask other people to do work for you, I doubt you'll be welcomed by most here.

Actually, that's how I learned to do a lot of the things I know, except I never released any (nor claimed it mine).  But studying other source is a good way to figure things out.  I'm not really in the mood to write up a new statstring parsing section, mainly because the one I use works fine (except for Diablo II, I haven't added the Ladder character yet), and it's a bit long.  I also wouldn't release said new code should I make it, so it doesn't really matter.
Title: Re:Warcraft 3 StatString??????
Post by: iago on January 22, 2004, 05:24 PM
It's not like he's going to learn much from that, though..
Title: Re:Warcraft 3 StatString??????
Post by: R.a.B.B.i.T on January 22, 2004, 05:27 PM
Well..yeah.  It took me a few public SS parsing lookover before I could make my very own.
Title: Re:Warcraft 3 StatString??????
Post by: Soul Taker on January 23, 2004, 06:07 AM
Figuring out War3 statstrings is beyond easy.
Title: Re:Warcraft 3 StatString??????
Post by: ChR0NiC on January 23, 2004, 06:30 AM
Quote from: Soul Taker on January 23, 2004, 06:07 AM
Figuring out War3 statstrings is beyond easy.

Thank You For Pointing That Out Soul Taker, yet it helps me in no way.
Title: Re:Warcraft 3 StatString??????
Post by: hismajesty on January 23, 2004, 08:17 AM
Why are continuing this topic when everyone has made it clear that they won't be handing out the code?
Title: Re:Warcraft 3 StatString??????
Post by: Soul Taker on January 23, 2004, 08:49 AM
Quote from: ChR0NiC on January 23, 2004, 06:30 AM
Quote from: Soul Taker on January 23, 2004, 06:07 AM
Figuring out War3 statstrings is beyond easy.

Thank You For Pointing That Out Soul Taker, yet it helps me in no way.
No Problem Chronic, It Was My Pleasure.