Custom OpenStats
Moderator: Oversight Staff
- cyberpunk
- Protector of Nature
- Posts: 4866
- Joined: Tue Jun 05, 2012 5:59 am
- Location: Em suas asas borboleta amarela.
Custom OpenStats
Hi, I'd like to know if the Enterprise has the interest to create stats/rank wins and loses for custom maps.
Castle Fight and Civilization Wars is using the w3mmd system, it would be awesome.
Castle Fight and Civilization Wars is using the w3mmd system, it would be awesome.
[spoiler=Links to find ur ban]Link to banlist
Link to ENT Link[/spoiler]
I don't answer private messages that should be public questions. Use the forum
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Custom OpenStats
Yes, I coded an ELO calculation for tree tag and battle ships but never got around to using it (didn't seem to be in high demand; and we only have like 10 games played for those).
But civilization wars and especially castle fight are more popular, so I think this would work better. I'll look into how their W3MMD system works and adapting my ELO calculator to work with them too. Did you develop one of the maps by any chance?
Thanks for the suggestion!
Edit: also, if you ever looked at our tree tag, vampirism speed (which actually doesn't work so well), and battleships, we actually have W3MMD implemented on the map side for them. You can also type !ts, !bs, and !vs to check your stats I think; but because the ELO thing isn't working this is probably slow and of course doesn't have ELO score.
Edit2: oh, although I might add a score for it, I'm not sure if we'll have a game ranking site like the OpenStats page we have for these custom games; that takes more time and we don't have enough administrators right now.
But civilization wars and especially castle fight are more popular, so I think this would work better. I'll look into how their W3MMD system works and adapting my ELO calculator to work with them too. Did you develop one of the maps by any chance?
Thanks for the suggestion!
Edit: also, if you ever looked at our tree tag, vampirism speed (which actually doesn't work so well), and battleships, we actually have W3MMD implemented on the map side for them. You can also type !ts, !bs, and !vs to check your stats I think; but because the ELO thing isn't working this is probably slow and of course doesn't have ELO score.
Edit2: oh, although I might add a score for it, I'm not sure if we'll have a game ranking site like the OpenStats page we have for these custom games; that takes more time and we don't have enough administrators right now.
dWFrZi5i -- 'cause I'm cool like Agreements
- cyberpunk
- Protector of Nature
- Posts: 4866
- Joined: Tue Jun 05, 2012 5:59 am
- Location: Em suas asas borboleta amarela.
Re: Custom OpenStats
Yes, I'm helping the mapmakers from castlefight and about civilization, XGDeath3 told me he didn't change the code implemented by TerraBull.uakf.b wrote:But civilization wars and especially castle fight are more popular, so I think this would work better. I'll look into how their W3MMD system works and adapting my ELO calculator to work with them too. Did you develop one of the maps by any chance?
All you have to do is create the old tables (w3mmdplayers and w3mmdvars) plus edit the mapconfig
map_type = w3mmd
map_matchmakingcategory =
map_statsw3mmdcategory = cf
CREATE TABLE w3mmdplayers (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
botid INT NOT NULL,
category VARCHAR(25) NOT NULL,
gameid INT NOT NULL,
pid INT NOT NULL,
name VARCHAR(15) NOT NULL,
flag VARCHAR(32) NOT NULL,
leaver INT NOT NULL,
practicing INT NOT NULL
);
CREATE TABLE w3mmdvars (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
botid INT NOT NULL,
gameid INT NOT NULL,
pid INT NOT NULL,
varname VARCHAR(25) NOT NULL,
value_int INT DEFAULT NULL,
value_real REAL DEFAULT NULL,
value_string VARCHAR(100) DEFAULT NULL
);
Not yet, I'll try it soon, didn't know about these commands !ts, !bs, and !vs :3uakf.b wrote:Edit: also, if you ever looked at our tree tag, vampirism speed
Yes, it will take some time however think about the final result.uakf.b wrote:Edit2: oh, although I might add a score for it, I'm not sure if we'll have a game ranking site like the OpenStats page we have for these custom games; that takes more time and we don't have enough administrators right now.
[spoiler=Links to find ur ban]Link to banlist
Link to ENT Link[/spoiler]
I don't answer private messages that should be public questions. Use the forum
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Custom OpenStats
Yes, I know about the tables and map configuration file settings (although I'm probably not going to enable match making), but what are the varnames and value types that the two maps will generate?
dWFrZi5i -- 'cause I'm cool like Agreements
- cyberpunk
- Protector of Nature
- Posts: 4866
- Joined: Tue Jun 05, 2012 5:59 am
- Location: Em suas asas borboleta amarela.
Re: Custom OpenStats
I'm not sure bout civi, but cf will send varnames like winner and loser to w3mmdplayer.
And it will send RoundsWon / RoundsLost to w3mmdvar
And it will send RoundsWon / RoundsLost to w3mmdvar
[spoiler=Links to find ur ban]Link to banlist
Link to ENT Link[/spoiler]
I don't answer private messages that should be public questions. Use the forum
- cyberpunk
- Protector of Nature
- Posts: 4866
- Joined: Tue Jun 05, 2012 5:59 am
- Location: Em suas asas borboleta amarela.
Re: Custom OpenStats
Forgot to say, you can include Legion TD Mega.
[spoiler=Links to find ur ban]Link to banlist
Link to ENT Link[/spoiler]
I don't answer private messages that should be public questions. Use the forum
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Custom OpenStats
Legion TD Mega uses W3MMD but doesn't seem to record anything in the database.
Edit: for civilization wars, castle fight, tree tag, battleships, and elite snipers (ES is not currently autohosted), stats are currently being calculated.
Edit: for civilization wars, castle fight, tree tag, battleships, and elite snipers (ES is not currently autohosted), stats are currently being calculated.
dWFrZi5i -- 'cause I'm cool like Agreements
- cyberpunk
- Protector of Nature
- Posts: 4866
- Joined: Tue Jun 05, 2012 5:59 am
- Location: Em suas asas borboleta amarela.
Re: Custom OpenStats
That's terrible! o.O The map description says about w3mmduakf.b wrote:Legion TD Mega uses W3MMD but doesn't seem to record anything in the database.
I made a test, unfortunately got the same result, I'll contact them
[Thu Jun 07 09:51:31 2012] [GAME: LEGION TD MEGA #1] saving player/stats data to database
[Thu Jun 07 09:51:31 2012] [STATSW3MMD: LEGION TD MEGA #1] received 6/6 value/check messages
[Thu Jun 07 09:51:31 2012] [STATSW3MMD: LEGION TD MEGA #1] recorded flags [] for player [trycatch] with PID [0]
[Thu Jun 07 09:51:31 2012] [STATSW3MMD: LEGION TD MEGA #1] recorded flags [] for player [de.nay] with PID [4]
really cool, needs a command to check the statsuakf.b wrote:Edit: for civilization wars, castle fight, tree tag, battleships, and elite snipers (ES is not currently autohosted), stats are currently being calculated.
[spoiler=Links to find ur ban]Link to banlist
Link to ENT Link[/spoiler]
I don't answer private messages that should be public questions. Use the forum
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Custom OpenStats
Well of course, I've added the commands to the source but haven't updated yet; there's some other updates that I need to confirm work properly first.
dWFrZi5i -- 'cause I'm cool like Agreements
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Custom OpenStats
All right, calculation is up to date with the current game and continuing for new games. I've added the commands, and there'll be a post in the News and Updates section soon.
dWFrZi5i -- 'cause I'm cool like Agreements
- cyberpunk
- Protector of Nature
- Posts: 4866
- Joined: Tue Jun 05, 2012 5:59 am
- Location: Em suas asas borboleta amarela.
Re: Custom OpenStats
Very nice, I'm trying to use the !load, to play 2v2, 1v1 games, it is possible?
[spoiler=Links to find ur ban]Link to banlist
Link to ENT Link[/spoiler]
I don't answer private messages that should be public questions. Use the forum
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Custom OpenStats
Personally hosted games will not count towards statistics (the same goes for DotA); so if you want to use our bots to host a practice game, then you don't have to worry about your stats.
dWFrZi5i -- 'cause I'm cool like Agreements
- cyberpunk
- Protector of Nature
- Posts: 4866
- Joined: Tue Jun 05, 2012 5:59 am
- Location: Em suas asas borboleta amarela.
Re: Custom OpenStats
As far as I know, players would use the command !pub, so it won't load mapcfg "the w3mmd"
To me and to my friends, we'd like to use the !load, because our favorite games are 2v2 or 1v1. :3
Thanks anyways
To me and to my friends, we'd like to use the !load, because our favorite games are 2v2 or 1v1. :3
Thanks anyways
[spoiler=Links to find ur ban]Link to banlist
Link to ENT Link[/spoiler]
I don't answer private messages that should be public questions. Use the forum
-
- Staff Department
- Posts: 7829
- Joined: Sun Apr 08, 2012 10:37 pm
- Has thanked: 8 times
- Been thanked: 125 times
Re: Custom OpenStats
You can always use !map or !load to select a map; stats are not enabled in privately hosted games to prevent manipulation, but you can still host the game itself, which is perfect for playing with friends.
dWFrZi5i -- 'cause I'm cool like Agreements
- cyberpunk
- Protector of Nature
- Posts: 4866
- Joined: Tue Jun 05, 2012 5:59 am
- Location: Em suas asas borboleta amarela.
Re: Custom OpenStats
I'm offended!uakf.b wrote:to prevent manipulation
Good job, is very useful. If may I suggest, please include these commands to bnet.cpp.
Edit: Nah, it's perfect.
[spoiler=Links to find ur ban]Link to banlist
Link to ENT Link[/spoiler]
I don't answer private messages that should be public questions. Use the forum
Return to “Suggestion Archive”
Who is online
Users browsing this forum: No registered users and 161 guests