<< Back to Warzone Classic Forum   Search

Posts 161 - 180 of 602   <<Prev   1  2  3  ...  5  ...  8  9  10  ...  20  ...  30  31  Next >>   
Infinity Premier League: 1/19/2016 15:03:01


Beaumains
Level 56
Report
set_limit 1v1 "110922" 2
Infinity Premier League: 1/19/2016 18:46:47

ARand0mPlayer
Level 61
Report
Is there something broken? My game againat Muli has ended a few hours ago, but nothing has changed in the sheets document.
Infinity Premier League: 1/19/2016 18:58:37


Buns157 
Level 68
Report
add_team 1v1 Buns157 8039234532 2

Edited 1/19/2016 18:58:48
Infinity Premier League: 1/19/2016 19:23:11


Gustave II 
Level 60
Report
add_team 1v1 Gustave II 3255033572 2

Edited 1/19/2016 19:24:16
Infinity Premier League: 1/19/2016 22:47:00


l4v.r0v 
Level 59
Report
@ARand0mPlayer: I can't use the API to query games that weren't made using the create game API (+1 FizzBuzz) and I can't use the create game API for the league without imposing a level restriction (which wouldn't be that bad if most easily-unlockable templates weren't shit; +2 Fizzer).

Basically, that aspect's manual and will probably stay manual in IPL because I don't want to kick off people. Just expect a couple of updates a day.
Infinity Premier League: 1/19/2016 23:00:47


Krzysztof 
Level 67
Report
I can't use the API to query games that weren't made using the create game API


i thought the same, especially warlight wiki says :

This data is only available for ladder games, tournament games, or games created by the Create game API.


but the fact is, that's possible and you can query any game (Motd's script for randomized bonuses relies on this)

Edit - well i'm wrong - "games you are in" is missing part in wiki, so you are right.

Edited 1/19/2016 23:05:34
Infinity Premier League: 1/19/2016 23:11:16


Deadman 
Level 64
Report

but the fact is, that's possible and you can query any game (Motd's script for randomized bonuses relies on this)

Edit - well i'm wrong - "games you are in" is missing part in wiki, so you are right.


Yeah. The randomized bonuses script runs as the user's account(hence the need for them being a member). If it was run under the Master of the Dead account, it wouldn't be able to query a game I didn't participate in.

I think the reason for this restriction is to protect players' privacy. If you could query all games of any account, you can basically see every game(and it's public chat) without having the game link.
Infinity Premier League: 1/19/2016 23:25:02


l4v.r0v 
Level 59
Report
Yeah- the other issue is that it doesn't count games I create as games that I'm in unless I also join them. There's a workaround where I could join and decline every game but I'm not sure about implementing that since it would look like this:

1v1s: 3 teams- real Player 1, real Player 2, knyte (declined)

2v2s: 3 teams- real Team 1, real Team 2, knyte (declined) and vitriol (declined)

3v3s: 3 teams- real Team 1, real Team 2, knyte (declined), vitriol (declined) and propulsion (declined)

It's not only going to be confusing and a bit annoying for me to work with but I still need to test whether it would accidentally convert everything into Practice Games when an entire team declines. There's also the slight risk that people would join before I have the chance to decline.

I think the reason for this restriction is to protect players' privacy. If you could query all games of any account, you can basically see every game(and it's public chat) without having the game link.


You could do that pretty efficiently across tens of thousands (if not hundreds of thousands) of games already since they're on the ladder already. Yeah there's hypotheticals Fizzer could worry about, but the API restriction system he's set up is a very shitty way to go about it. He could, for example, enforce limitations on queries to games you're not in (like no more than 1000 every 24h period) to avoid mass harvesting like that. He's restricting a lot of legitimate use cases in order to defend himself against extreme examples that, realistically, Warlight's never going to get big enough to have to worry about.

TL;DR: Fizzer makes my life hard and I hate him

Edited 1/19/2016 23:28:33
Infinity Premier League: 1/20/2016 16:13:17


Master Potato
Level 59
Report
how do i remove team?
Infinity Premier League: 1/20/2016 16:50:10

Omniscient 
Level 56
Report
I think you just set limit to 0.
Infinity Premier League: 1/20/2016 19:44:54


l4v.r0v 
Level 59
Report
Yep. Working on a simpler command for people in multiple teams/leagues.
Infinity Premier League: 1/21/2016 03:10:22

[wolf]japan77
Level 57
Report
@Knyte, if you can confirm that it doesn't result in practice games, you could tell your bot to auto-decline for you.
Infinity Premier League: 1/21/2016 03:31:26


l4v.r0v 
Level 59
Report
No API to do that and the application itself is Flash-based so it's going to be rather annoying/time-consuming to figure that one out.
Infinity Premier League: 1/21/2016 03:44:53

[wolf]japan77
Level 57
Report
Well, can't help you there, I never worked with flash, and as such my inexperience is clearly showing.
Infinity Premier League: 1/21/2016 10:33:09


Muli 
Level 64
Report
But you could parse your "Past Games" ?
Infinity Premier League: 1/21/2016 13:53:59


l4v.r0v 
Level 59
Report
I could, yes, but that'd require me to build a separate application (since it would have to log in as the league owner each time). I might just ask Fizzer to create an API endpoint to parse winner and status in Past Games- hopefully that should be trivial enough.
Infinity Premier League: 1/21/2016 16:24:47


Master Potato
Level 59
Report
set_limit 1v1 "Master Potato" 0
Infinity Premier League: 1/21/2016 19:51:00


l4v.r0v 
Level 59
Report
rip in pce

EDIT: The league is working; I was just referring to Master Potato leaving

Edited 1/21/2016 22:05:33
Infinity Premier League: 1/21/2016 21:36:35

Omniscient 
Level 56
Report
...

Edited 1/21/2016 21:37:03
Infinity Premier League: 1/21/2016 21:56:09


Fleecemaster 
Level 59
Report
Did it dead?
Posts 161 - 180 of 602   <<Prev   1  2  3  ...  5  ...  8  9  10  ...  20  ...  30  31  Next >>