Official Battle Tanks Community
ghost new stats system - Printable Version

+- Official Battle Tanks Community (https://btanks.net/forum)
+-- Forum: Battle Tanks - Warcraft III (https://btanks.net/forum/forumdisplay.php?fid=3)
+--- Forum: Hosting BT with Hostbots (https://btanks.net/forum/forumdisplay.php?fid=25)
+--- Thread: ghost new stats system (/showthread.php?tid=1360)



ghost new stats system - qweqqweq - 2009-04-24

Quote:Since Version 13.0 GHost++ supports saving arbitrary statistics to the database from maps which support the W3MMD standard.
The data that is saved depends on how the map is written.
This will not work with every map, only with maps that specifically support the W3MMD standard.
GHost++ will now save map statistics to the database under the specified category.
There is no way to display these stats from within GHost++.
The intention is that you will display the stats externally, e.g. on a website, or you will use the update_w3mmd_elo project to generate scores for use with matchmaking.

Note: At the time of this writing GHost++ does not support the entire W3MMD standard, only flags and variables. It does not display or save any events.
Note: At the time of this writing you should NOT use this feature with MySQL databases as it will create a very large number of connections to the MySQL server when the game ends.
Here's how to use it:

1.) Obtain a map that supports the W3MMD standard.
a.) Note: At the time of this writing no maps support this standard although the author of "Civ Wars" has announced it will be supported in the next version.
2.) Choose a category for the map. The category is used to allow multiple versions of the same map to share the same statistics.
a.) For example, you might use the category "civwars" for Civ Wars 2.19 and also for Civ Wars 2.20 and future versions.
b.) You can change the category at any time although only future statistics will be affected, it's just an arbitrary name used to identify where the statistics came from.
3.) Open the map config file.
a.) Add "map_type = w3mmd".
b.) Add "map_statsw3mmdcategory = <your category>".

what the hell does this mean? has anyone tried this yet?. it sounds like a very good and necessary step for btanks to grow both in competitiveness and popularity.

wow, i can't believe that no one's taken the initiative to discuss this so far yet... i thought this should be a forum topic right away when i read it a long time ago but since my ghost knowledge is really small i decided to wait and let some one with more knowledge present it. However, since it seems that many of the players who use ghost bot and already read this are big pussies i decided to post this. please have the balls to at least stand up and voice a fucking opinion every once and a while if you read something important folks. Big Grin


Re: ghost new stats system - Exodus - 2009-04-24

Well, I also wondered what this W3MMD standard is about, but I couldn't find any info about it.


Re: ghost new stats system - qweqqweq - 2009-04-24

i'm asuming you gotta contact the ghost creator, vorlock, or one of the other codelain forum guys about it. i've talked to a few of them on a few occasions and they've really bent over backwards to help me. my impression was that they really do care about helping wc3 custom map players and makers. "katzian" and "instict121" have both sent me a few very helpful and quick messages to posts i put up in their forums.

these new online statistic possibilities are very interesting to me and i hope they are looked into.

**edit, i could figure it out for you but you strike me as a pretty smart guy exodus so i'm pretty confident you can figure it out on your own. However, if you want me to inquire more about it then i will. like i've said before a million times: i love this map and i just wish it was played more and more competitavely.

i've never said this before though: i've always been a slightly above average ladder player but with btanks it's so much different. it's like this map is a part of my soul. The strange thing about battle tanks is that i love playing it so much that no matter how challenging something is in it i always love it. Smile it doesn't matter if it means i have to recruit 100 new members to a clan and then go to 3 other realms to find suitable new clan members as well. i don't care what new changes to the map are made. i don't care if my team is down 3 to 1 in kills. i don't mind fighting for an impossible victory and even when i loose i still have the most fun.

the current league system is alright but to me it seems to rewards the wrong kind of players sometimes and so i've really just lost interest. i could in all seriousness be number 1 or top 10 in all realms if i wanted to be but that would just require a lot of waiting for what would be, for the most part, stupid games. there are other players who would also be a lot higher ranks who are better players than me as well i think if they cared to go that route.


Re: ghost new stats system - eSVau - 2009-04-24

http://forum.codelain.com/index.php?topic=3340.0 i think there are some information about their W3MMD standard


Re: ghost new stats system - Exodus - 2009-04-25

Hm, this system requires vJass. I'm not sure if I want to use this ... (lots of work ahead)


Re: ghost new stats system - qweqqweq - 2009-04-25

i've never tried to use jass either. i always thought u used it though. what sort of editing procedures to you use? does anyone know about jass and can say what it would take to convert the triggers to jass? or if there's another ways possibly?

**edit: and oh ya, did u talk to one of the codelain people i suggested about it yet? i think it's best to contact them first. i'm sure they're big fans of yours already Smile


Re: ghost new stats system - Exodus - 2009-04-25

I'm using Jass for writing triggers and such, but vJass is a little different. It's basically an enhancement of the standard Jass, which also requires some 3rd party programs to use it. It doesn't add new functions or such to the editor, it just makes implementing certain things more convenient. So everything you can do with vJass is also possible with normal Jass. But to make real use of vJass I would have to rewrite a lot of code, which I think just isn't necessary.

Oh, and I didn't yet talk to them.


Re: ghost new stats system - tappe - 2009-05-27

If you are interested to implement this stats code to battle tanks map I can help a bit.

I'm not so good with the vJass/jass code, but I know the Ghost++ code well.