Conquer Club

REDUNDANT: Conquer Club Games Filter GM Script

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

Re: Conquer Club Games Filter GM Script

Postby lancehoch on Fri Oct 17, 2008 5:20 pm

Another development question:
Would it be possible on the Game Finder page to add a line under the "With Player" line to say "Player Status" and have check boxes "Alive" and "Not Alive". (Also to add the same line under the "And Player" line.) Where it would search the XML for the line that the player is eliminated.
This would have multiple uses: 1) babysitters would be better able to search for the games for the account being babysat while on their own account; 2) you would be able to search for games won by a player by combining the "Alive" check box with the "Finished" check box.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Mon Oct 20, 2008 5:35 pm

lancehoch wrote:Another development question:
Would it be possible on the Game Finder page to add a line under the "With Player" line to say "Player Status" and have check boxes "Alive" and "Not Alive". (Also to add the same line under the "And Player" line.) Where it would search the XML for the line that the player is eliminated.
This would have multiple uses: 1) babysitters would be better able to search for the games for the account being babysat while on their own account; 2) you would be able to search for games won by a player by combining the "Alive" check box with the "Finished" check box.


Sorry lance, completely missed this one!

Great idea.

This is possible without the XML in a roundabout way. The game finder request would continue as normal but games filter would filter
on a specified player being alive or dead depending on user selection (say a checkbox).

The XML can't be used because at present it only delivers finished games unfortunately.
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby lancehoch on Mon Oct 20, 2008 5:55 pm

If it is possible without too much work, then that is great. Don't worry about missing it, it was the weekend. Great work with all the scripts, as usual.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Mon Oct 20, 2008 5:58 pm

lancehoch wrote:If it is possible without too much work, then that is great. Don't worry about missing it, it was the weekend. Great work with all the scripts, as usual.


It's no problem at all, just need to figure out the user interface for it, that's the tricky bit.
It would be easier to put selections together with the existing ones for game filter rather than on the game finder.
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby Optimus Prime on Tue Oct 21, 2008 10:58 am

I love the new addition where I can filter out the games to see which ones I've rated. Extremely helpful to someone like me who has that old Battle Royale sitting on his page all the time. :)

Any further thought given to allowing people to delete the default tags? I know I would like it. :)
User avatar
Cadet Optimus Prime
 
Posts: 9665
Joined: Mon Mar 12, 2007 9:33 pm

Re: Conquer Club Games Filter GM Script

Postby yeti_c on Tue Oct 21, 2008 10:59 am

Also - I think there is a bug in the Map Info screens.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Conquer Club Games Filter GM Script

Postby chipv on Tue Oct 21, 2008 1:42 pm

yeti_c wrote:Also - I think there is a bug in the Map Info screens.

C.


More detail please!
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby yeti_c on Tue Oct 21, 2008 2:39 pm

chipv wrote:
yeti_c wrote:Also - I think there is a bug in the Map Info screens.

C.


More detail please!


Click on the map image - and the data at the bottom sometimes comes back as NAN & Undefined... - I think it's just BETA maps.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Conquer Club Games Filter GM Script

Postby chipv on Tue Oct 21, 2008 3:36 pm

yeti_c wrote:
chipv wrote:
yeti_c wrote:Also - I think there is a bug in the Map Info screens.

C.


More detail please!


Click on the map image - and the data at the bottom sometimes comes back as NAN & Undefined... - I think it's just BETA maps.

C.


It's only a problem with Europa and that's a bug in the xml which should be fixed anytime soon.
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Tue Oct 21, 2008 3:54 pm

1.1.5 available, Europa is fine now.
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby n00blet on Wed Oct 22, 2008 9:18 pm

Awesome script!

One feature I would love to see would in future versions would be the ability to retrieve games from the next page. Because if I go to the first page, and filter for all games with one slot open, for example, only a very small amount of games show up. If the script could search through the next pages to pull any games on those pages that match the criteria to the first page, that would be awesome :D
User avatar
Captain n00blet
 
Posts: 688
Joined: Sun Nov 18, 2007 7:09 pm

Re: Conquer Club Games Filter GM Script

Postby yeti_c on Fri Oct 24, 2008 9:10 am

Your starting positions code is a bit wrong.

Take for example - CC City Mogul...

2/3 says that you are given 5 teritories.

This is wrong...

In 3 player - you are given 4 territories (2houses and 2 shops)
In 2 player - you are given 8 territories (4 houses and 4 shops)

Remember - <neutrals> affect the number of the "random drop".
<postions> are divided by the number of players and then assigned.

With the random drop - 2 player games are assigned out with a 3rd neutral player.
With the positions - 2 player games are divided as is (so 8 starts will be divided by 2 = 4)

I think to get 5 you must have added all the positions up (16) and divided by 3 = 5 (rem 1) which isn't correct for this map at all.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Conquer Club Games Filter GM Script

Postby n00blet on Sat Oct 25, 2008 3:59 pm

yeti_c wrote:Your starting positions code is a bit wrong.

Take for example - CC City Mogul...

2/3 says that you are given 5 teritories.

This is wrong...

In 3 player - you are given 4 territories (2houses and 2 shops)
In 2 player - you are given 8 territories (4 houses and 4 shops)

Remember - <neutrals> affect the number of the "random drop".
<postions> are divided by the number of players and then assigned.

With the random drop - 2 player games are assigned out with a 3rd neutral player.
With the positions - 2 player games are divided as is (so 8 starts will be divided by 2 = 4)

I think to get 5 you must have added all the positions up (16) and divided by 3 = 5 (rem 1) which isn't correct for this map at all.

C.


:?:
Does this script give in-game info?
User avatar
Captain n00blet
 
Posts: 688
Joined: Sun Nov 18, 2007 7:09 pm

Re: Conquer Club Games Filter GM Script

Postby yowzer14 on Sun Oct 26, 2008 12:35 pm

n00blet wrote: :?:
Does this script give in-game info?

It is a game filter for the game finder, it will give you the starting info for the maps (albeit the accuracy of that is in question).
Private 1st Class yowzer14
 
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Re: Conquer Club Games Filter GM Script

Postby yeti_c on Fri Oct 31, 2008 6:19 am

On another note - I'm a bit confused about the Beta tagging of maps - how come the maps don't auto organise themselves when they come out of BETA?

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Conquer Club Games Filter GM Script

Postby chipv on Fri Oct 31, 2008 5:31 pm

yeti_c wrote:On another note - I'm a bit confused about the Beta tagging of maps - how come the maps don't auto organise themselves when they come out of BETA?

C.


They could do but the rest of it can't be automated so I change all properties at the same time instead of some of them(e.g. Chronological and Compexity can't be automated as of yet so automating BETAs would cause misalignment with ordering.)
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby yeti_c on Sat Nov 01, 2008 2:57 am

Seems like a lot of work everytime a new map changes it's status is all!?

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Conquer Club Games Filter GM Script

Postby yeti_c on Sat Nov 01, 2008 4:23 am

I thought of something too - not sure if it's possible as I'm not sure if the mapmaker page can take URL params...

But you could possibly create a link to the Mapmakers "Inspect" page - from the Hover thing...

This will be able to then show a number of cool things that are useful info - such as Neutral positions, Starting positions, BOB's hover display (without the need for GM (of course - if you have this script you have GM already!))...

http://www.conquerclub.com/mapmaker/index.php

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Conquer Club Games Filter GM Script

Postby chipv on Sat Nov 01, 2008 7:04 am

yeti_c wrote:Seems like a lot of work everytime a new map changes it's status is all!?

C.


viewtopic.php?f=127&t=38873&st=0&sk=t&sd=a&start=270#p1557594
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby Optimus Prime on Tue Nov 11, 2008 12:28 pm

Any news on being able to remove those default tags, chipv?
User avatar
Cadet Optimus Prime
 
Posts: 9665
Joined: Mon Mar 12, 2007 9:33 pm

Re: Conquer Club Games Filter GM Script

Postby lancehoch on Tue Nov 18, 2008 3:36 pm

Is there an update in the works? Eleven maps have gone live and three have been added as beta since the last update.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Wed Nov 19, 2008 5:08 pm

Sorry been busy. Will do this weekend.
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Sun Nov 30, 2008 7:29 am

1.1.6 uploaded - I've been somewhat rushed into this so it does not include the neutral territory fix or OP's request for removing default tags, sorry.
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

Re: Conquer Club Games Filter GM Script

Postby lancehoch on Sun Nov 30, 2008 8:22 am

I was looking at the code the other day and realized that you have to hard code each map individually. That seems to be a lot of work, thanks for getting the script updated.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Conquer Club Games Filter GM Script

Postby chipv on Sun Nov 30, 2008 8:32 am

lancehoch wrote:I was looking at the code the other day and realized that you have to hard code each map individually. That seems to be a lot of work, thanks for getting the script updated.


Thanks.

Actually no automation was a decision made early on because it would significantly slow the game finder page because the script would have to scan for new maps at some point. I considered a button for scanning for new maps but this only solves the number of territories and which maps are BETA. Automating the whole script requires the Foundry History and the Map Complexity threads to be kept as up to date as the changes in new maps. In practice this is not happening so since I can't reliably automate the whole process, I am doing it manually.
User avatar
Sergeant 1st Class chipv
 
Posts: 2750
Joined: Mon Apr 28, 2008 5:30 pm

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users