<< Back to Programming Forum   Search

Posts 1 - 11 of 11   
Remove Vote to End via CreateGame API?: 2020-01-22 21:02:18

-B 
Level 60
Report
Does anyone know if there is a way to remove the vote to end feature in the creategame 'settings' portion of the API call? I don't see any relevant setting but you never know...

I've queried the settings on a game that contains the VTE 'enabled' and do not see such a setting that I can pass back when calling CreateGame.

Edited 1/23/2020 19:04:17
- downvoted post by goodgame
Remove Vote to End via CreateGame API?: 2020-01-22 21:30:11

-B 
Level 60
Report
similarly to how it's not present on ladders today, I am creating a ladder.
Remove Vote to End via CreateGame API?: 2020-01-22 23:50:25


Beren Erchamion 
Level 64
Report
No, it's not possible. Notice the MDL also has VTE enabled, it just gives both players a loss if they VTE.
Remove Vote to End via CreateGame API?: 2020-01-23 00:26:46

-B 
Level 60
Report
Cool, I will implement something similar then.
Remove Vote to End via CreateGame API?: 2020-01-23 00:28:21


LND 
Level 60
Report
What??? Beren has removed the apex tag? And replaced it with a cheeky bit of Middle-earth lore that only Tolkien nerds like me know? What is happening to WZ?

Edited 1/23/2020 00:30:32
Remove Vote to End via CreateGame API?: 2020-01-23 07:05:18


l4v.r0v 
Level 59
Report
Sanity check- if you call the query game API with getSettings set to true, does the returned settings object tell you whether VTE was enabled for the game? If so, you might be able to mirror that in the settings object in the create game API call.

Beren's probably right, and I haven't touched the API in 3 years now, but just checking this before you go off to implement the alternative design.
Remove Vote to End via CreateGame API?: 2020-01-23 12:32:36

JustinR17 
Level 60
Report
^Checked that before and it doesn't appear to be the case. Even in-game for creating a match, there isn't any setting so doesn't seem to be possible.
Remove Vote to End via CreateGame API?: 2020-01-23 13:31:00


Derfellios
Level 61
Report
There is a "IsTournamentOrLadder" Boolean in the game settings. I think it toggles whether VTE is allowed or not. I doubt you can set it to true with the API. But it might be possible with mods. Not sure if Fizzer has disabled that you can change that setting and it might brake stuff.

Edited 1/23/2020 13:34:17
Remove Vote to End via CreateGame API?: 2020-01-23 15:35:50


byshep
Level 23
Report
Wroth trying a createGame call if you see it in the queryGame settings result. I don't know what sorts of validations are enabled on the createGame settings object since Fizzer whipped up/enabled that feature pretty fast.
Remove Vote to End via CreateGame API?: 2020-01-23 19:09:29

-B 
Level 60
Report
I am not insane.
Posts 1 - 11 of 11