Conquer Club

script to show starting positions.

Discuss developing tools and get details on Conquer Club's API.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

script to show starting positions.

Postby Woltato on Sat May 24, 2014 2:10 pm

It would be very useful to be able to view the starting positions for a map in fog games if it's an unfamiliar map. Is there a tool that will do this yet?
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: script to show starting positions.

Postby dgz345 on Sat May 24, 2014 3:20 pm

its imposible to get the starting positions. as the log does not say where the drops was. tho i think bW was talking about a auto snap when the game starts. but it may take some time before that.

the only possible way to make a script is to check for new games all the time and then take a snap. and still you have to be online and active before the enemy makes his turn.
so to answer your question. as a script i dont think its possible
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: script to show starting positions.

Postby Woltato on Sat May 24, 2014 4:22 pm

That's not what I was thinking of. Sorry I didn't explain it very well.

Take maps like Feudal war, Das Schloss, Poker club. At the start of the game there's a lot of neutral territories. If it's a fog game then all you see is a load of "??". I want to be able to see where all the neutrals are. The only way I know to do this at present is to go and look in the .xml file or view page source which is a bit of a pain in the arse. It would be good to have a button that shows where all the neutrals are at the start of the game.
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: script to show starting positions.

Postby dgz345 on Sat May 24, 2014 6:23 pm

yea that would be possible if someone feel like making it
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: script to show starting positions.

Postby Woltato on Sun May 25, 2014 2:57 am

I've had a look at this and it's fairly straight forward as most of the code needed is already there in BOB snapshots. Is it possible for me to submit changes to BOB? If not who do I need to get in touch with?
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: script to show starting positions.

Postby dgz345 on Sun May 25, 2014 4:01 am

all scripts are opensource. just play around with your as you like!
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: script to show starting positions.

Postby Woltato on Sun May 25, 2014 1:43 pm

Is there no version control?
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: script to show starting positions.

Postby jltile1 on Sun May 25, 2014 3:51 pm

This would be a great tool. Playing the Gallipoli map it would help. Cause yes playing fog maps it takes a lot of time looking at games trying to figure starting spots out. Let me know if you get any where.
User avatar
Major jltile1
 
Posts: 867
Joined: Wed Apr 07, 2010 4:12 pm
Location: Bay area

Re: script to show starting positions.

Postby dgz345 on Sun May 25, 2014 7:00 pm

Woltato wrote:Is there no version control?


??

what do you mean?
userscripts is just a "text" file. you change that textfile and then you can put it up for other to download
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: script to show starting positions.

Postby Woltato on Mon May 26, 2014 5:15 am

If I do that then there will be 2 versions of BOB out there.
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: script to show starting positions.

Postby Woltato on Mon May 26, 2014 7:06 am

https://greasyfork.org/scripts/1694-con ... OB.user.js

Made the changes and posted on greasy fork.

At the top of the map, there's a new button "Show Start Map"
Then just click "Revert to Live" to go back to the game.
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: script to show starting positions.

Postby dgz345 on Tue May 27, 2014 6:50 pm

You could just change name of it in the meta data at the top of the script. Otherwise good work!
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: script to show starting positions.

Postby Woltato on Wed May 28, 2014 3:57 am

Thanks.

Changing the name wouldn't really help as there would still be 2 slightly different versions of the same script. If this is going to be made available then it needs to be incorporated into the official version of BOB.
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: script to show starting positions.

Postby dgz345 on Thu May 29, 2014 6:06 pm

There is no one updating Bob. You can post your version if you like And update it. No one is managing the "official" version
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am

Re: script to show starting positions.

Postby Woltato on Sat May 31, 2014 10:26 am

Yeah, I noticed that Sherkaner isn't active any more.

Shall I volunteer to take over custody of "the official version"?

Otherwise if anyone else decides to change it then we're gonna get into problems with version control and multiple different versions of the same script.
User avatar
Corporal 1st Class Woltato
 
Posts: 192
Joined: Sat Jan 17, 2009 8:09 pm
Location: Bingley, UK

Re: script to show starting positions.

Postby dgz345 on Mon Jun 02, 2014 1:03 am

It's good. You can take it. Then it's no need for anyone else to create a new version of Bob unless they make it better than yours :-)
User avatar
Lieutenant dgz345
 
Posts: 1362
Joined: Thu Oct 07, 2010 10:53 am


Return to Tools Development

Who is online

Users browsing this forum: No registered users