<< Back to Programming Forum   Search

Posts 1 - 11 of 11   
CLOT & WL 2.0: 9/7/2013 21:38:10


Krzysztof 
Level 67
Report
As wiki says:
If you create a game that uses a member-only feature, such as a low luck level, and invite non-members, the game will simply revert to using 75% luck. This allows you to freely create games without having to worry about this restriction -- the created games will use low luck when the can, and 75% luck when they can't.



So, how this works now? Cause non-members with enough level can lower luck (at least to 50%). So what happened if my clot spawn a game with 16% luck and invite non-member with high level(allowing him to create 50%)? It will still be changed to 75% or maybe 50%?

Also - what about other features. Let's say CLOT create a game on map which require level 20 or with Local Deployment enabled and invite players with level 10.

Edited 9/7/2013 21:38:22
CLOT & WL 2.0: 9/7/2013 22:41:40

Fizzer 
Level 64

Warzone Creator
Report
Whoops, that text is out of date. Check this: http://blog.warlight.net/index.php/2013/07/clot-update/

there’s another related change to the CreateGame API. Today, if you try to use a feature that someone doesn’t have access to, it simply reverts back to the default. For example, if you try to make a 0% luck game and a player doesn’t have access to it, it simply creates the game with 75% luck. In 2.0, it won’t do this, and instead will give you an error message if you use something without access.

This is better if you want to ensure that your settings are being used. You won’t have to worry about some games in your tournament using different settings than others. However, this also means you need to be more careful about letting in someone that doesn’t have access to a feature you need to use, otherwise you won’t be able to make the game. For this reason, you need to be sure and check their permissions before letting them join your CLOT.


I'll update the text on the wiki.
CLOT & WL 2.0: 9/8/2013 11:12:01


Krzysztof 
Level 67
Report
thanks.

But isnt't it a bit inconsistent? Cause i can create tourney via in-game option and invite everyone, but if i create tourney using CLOT(assuming i want to use decent templates, so no 75% luck) i can only invite members(with appropriate features unlocked).
So doesn't it make CLOT useless (or at least dramatically reduce it usefulness).
There are many competitions managed 'manually' (like andy903's league and cup, nations cup, ska2d's champions league, clan leagues, 2v2 promotional etc.) and all of them could be managed using CLOTs. But it would also prevent many players from joining and no one want this.
CLOT & WL 2.0: 9/8/2013 12:04:51


Taishō 
Level 57
Report
kszyhoo - Players who have not unlocked the features can still play with those settings as long as someone who has unlocked the features is hosting the map. Unlocking features is so you can create your own maps and tournaments.
CLOT & WL 2.0: 9/8/2013 12:22:25

Fizzer 
Level 64

Warzone Creator
Report
Players who have not unlocked the features can still play with those settings as long as someone who has unlocked the features is hosting the map.

That's true when playing through the main game, but kszyhoo is talking about CLOT which uses different rules.

So doesn't it make CLOT useless (or at least dramatically reduce it usefulness)

Well, that depends on what you're comparing it to. If you're comparing it to making games by hand, then it depends. If you're making a small tournament (< 100 games) and you don't mind create them by hand, then yes, it reduces its usefulness. If you're making a tournament or ladder with thousands of games, like today's ladders do, then creating games by hand isn't really an option. This is where CLOT is extremely useful.
CLOT & WL 2.0: 9/10/2013 15:40:20


ChrisCMU 
Level 61
Report
So let's say I want to test my CLOT with a dummy account. I need to make my template %75 luck (and all other normal settings) or it won't make a game with them, right? Then I can just change the template when I add the real players in that have those settings.
CLOT & WL 2.0: 9/10/2013 16:50:36

Fizzer 
Level 64

Warzone Creator
Report
Yep!

Also note that the Validate Invite Token API can now check whether or not a player has access to a particular template. This is useful so you can deny players entry to your ladder if they don't have access. See http://wiki.warlight.net/index.php/Validate_invite_token_API

This was just added in the 2.1 update, so the CLOT code that you're working with doesn't use this feature yet (it just lets anybody in, and then you'd get an error when you try to make the game.) It would be better to tell people they can't get in when they try, and the above link can show you how to do that.
CLOT & WL 2.0: 9/10/2013 16:56:34


ChrisCMU 
Level 61
Report
That will be really helpful.

What if you switch the template though and someone is already in the CLOT that would not be able to join now?
CLOT & WL 2.0: 9/10/2013 16:58:20

Wowbagger the Infinitely Prolonged
Level 38
Report
kzy, just to let you know, 16% luck is unlocked at level 31 or 32.
CLOT & WL 2.0: 9/10/2013 17:25:32

Fizzer 
Level 64

Warzone Creator
Report
What if you switch the template though and someone is already in the CLOT that would not be able to join now?

You can write a routine that loops through all of your players and checks them against the new template. Then just remove any that don't qualify.

Edited 9/10/2013 17:25:51
CLOT & WL 2.0: 9/11/2013 07:46:44


Krzysztof 
Level 67
Report

If you're making a tournament or ladder with thousands of games, like today's ladders do, then creating games by hand isn't really an option. This is where CLOT is extremely useful.


Well, for thousands of game you need a lot of particpants and it will be hard to get them with such restrictions. I know what are they for, but is there any chance to loose it a bit(for games without open seats)?
Posts 1 - 11 of 11