Conquer Club

Coding AJAX-compatible GM scripts

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.

Postby yeti_c on Tue Oct 16, 2007 4:02 am

Oh yeah - I forgot about that!!!

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby yeti_c on Tue Oct 16, 2007 8:48 am

OK new bit of work...

Textmap now works...

TODO:

(Actually host the file somewhere - expect that later this arvo)
Map Inspect. <- thinking about how to do this easily!!
Log tweaking. <- thinking about how to do this easily.
New XML features aren't calculated yet. <- I've worked out my logic for this - just need to code.
Confirm Buttons are a bit screwy!! <- I know why now too!!
Right hand side doesn't update properly...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby Aerial Attack on Tue Oct 16, 2007 11:13 am

yeti_c wrote:OK new bit of work...

Textmap now works...

TODO:

(Actually host the file somewhere - expect that later this arvo)
Map Inspect. <- thinking about how to do this easily!!
Log tweaking. <- thinking about how to do this easily.
New XML features aren't calculated yet. <- I've worked out my logic for this - just need to code.
Confirm Buttons are a bit screwy!! <- I know why now too!!
Right hand side doesn't update properly...

C.

What does arvo stand for?

Log tweaking? What does BOB currently do the Log? Or are you going to add in features for us?

Right hand side doesn't update properly? I assume you mean the turn count-down timer (clock)?

As for places to host the code - you could try File Den or Send Space
User avatar
Sergeant Aerial Attack
 
Posts: 1132
Joined: Mon Jun 04, 2007 7:59 pm
Location: Generation One: The Clan
Medals: 4
Tournament Achievement (2) Tournament Contribution (1) General Contribution (1)

Postby Tyrion81 on Tue Oct 16, 2007 5:17 pm

Aerial Attack wrote:What does arvo stand for?


Afternoon :D

UK/Aussie lingo.
Corporal 1st Class Tyrion81
 
Posts: 14
Joined: Thu Mar 22, 2007 8:29 pm
Location: Sydney, Australia
Medals: 1
Standard Achievement (1)

Postby Tyrion81 on Tue Oct 16, 2007 5:19 pm

yeti_c wrote:TODO:

(Actually host the file somewhere - expect that later this arvo)


How about http://userscripts.org/ seeing as its a GreaseMonkey script?
Corporal 1st Class Tyrion81
 
Posts: 14
Joined: Thu Mar 22, 2007 8:29 pm
Location: Sydney, Australia
Medals: 1
Standard Achievement (1)

Postby yeti_c on Wed Oct 17, 2007 2:46 am

Aerial Attack wrote:
yeti_c wrote:OK new bit of work...

Textmap now works...

TODO:

(Actually host the file somewhere - expect that later this arvo)
Map Inspect. <- thinking about how to do this easily!!
Log tweaking. <- thinking about how to do this easily.
New XML features aren't calculated yet. <- I've worked out my logic for this - just need to code.
Confirm Buttons are a bit screwy!! <- I know why now too!!
Right hand side doesn't update properly...

C.

What does arvo stand for?

Log tweaking? What does BOB currently do the Log? Or are you going to add in features for us?

Right hand side doesn't update properly? I assume you mean the turn count-down timer (clock)?

As for places to host the code - you could try File Den or Send Space


Log Tweaking -> At the moment the Terminator Summary gets printed out each time the log is refreshed...

Right hand side -> Actually the Clock works fine but the traffic lights don't update correctly -> Probably something similar to why the Map 'was' failing to update.

C.

PS Arvo = Afternoon.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby yeti_c on Wed Oct 17, 2007 2:55 am

Tyrion81 wrote:
yeti_c wrote:TODO:

(Actually host the file somewhere - expect that later this arvo)


How about http://userscripts.org/ seeing as its a GreaseMonkey script?


Good plan...

GET AJAX BOB

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby Elwar on Wed Oct 17, 2007 3:09 am

Neither the graphic map nor the army map (?) will appear when this is installed. Well, they appear for half a second (upon refresh), along with the BOB army count info, then it disappears.
Lieutenant Elwar
 
Posts: 135
Joined: Tue Jun 12, 2007 1:22 am
Medals: 10
Standard Achievement (2) Terminator Achievement (1) Assassin Achievement (1) Freestyle Achievement (2) Fog of War Achievement (1)
Speed Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1)

Postby Iliad on Wed Oct 17, 2007 3:11 am

Elwar wrote:Neither the graphic map nor the army map (?) will appear when this is installed. Well, they appear for half a second (upon refresh), along with the BOB army count info, then it disappears.

Yeah. It appears around halfway during refreshment then the map turns blank
User avatar
Private 1st Class Iliad
 
Posts: 10394
Joined: Mon Mar 05, 2007 12:48 am
Medals: 1
Standard Achievement (1)

Postby yeti_c on Wed Oct 17, 2007 3:18 am

You may need to turn your "Map Opacity" up...

I believe the default is 30% (inherited from previous script)

Now it works the opposite way round to Map Fade... so the bigger the number the easeir the map will be to see...

When the Map Inspect code is back -> the numbers should not be faded.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby Iliad on Wed Oct 17, 2007 3:18 am

yeti_c wrote:You may need to turn your "Map Opacity" up...

I believe the default is 30% (inherited from previous script)

Now it works the opposite way round to Map Fade... so the bigger the number the easeir the map will be to see...

When the Map Inspect code is back -> the numbers should not be faded.

C.

interesting
User avatar
Private 1st Class Iliad
 
Posts: 10394
Joined: Mon Mar 05, 2007 12:48 am
Medals: 1
Standard Achievement (1)

Postby Elwar on Wed Oct 17, 2007 3:20 am

That was the problem. You had it set at 0% default. (which isn't even an option once you've clicked it off that). Oh, and is it my imagination or did the army (? number) map not used to be affected by that setting. It is now in any case.
Lieutenant Elwar
 
Posts: 135
Joined: Tue Jun 12, 2007 1:22 am
Medals: 10
Standard Achievement (2) Terminator Achievement (1) Assassin Achievement (1) Freestyle Achievement (2) Fog of War Achievement (1)
Speed Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1)

Postby Iliad on Wed Oct 17, 2007 3:22 am

Elwar wrote:That was the problem. You had it set at 0% default. (which isn't even an option once you've clicked it off that). Oh, and is it my imagination or did the army (? number) map not used to be affected by that setting. It is now in any case.

You're right. Both about the armies and 0%
User avatar
Private 1st Class Iliad
 
Posts: 10394
Joined: Mon Mar 05, 2007 12:48 am
Medals: 1
Standard Achievement (1)

Postby yeti_c on Wed Oct 17, 2007 3:22 am

Elwar wrote:That was the problem. You had it set at 0% default. (which isn't even an option once you've clicked it off that). Oh, and is it my imagination or did the army (? number) map not used to be affected by that setting. It is now in any case.


Yeah -> this is due to differences between old and ajax stuff...

Like I say - once the Map Inspect is back in -> then I should be able to rewrite the numbers back on with a different opacity...

C.

PS I've just changed the default to 100% for the next version of the script!! - I've also made it go down rather than up too...

i.e. 100 - 90 - 80... at the mo it will go 100 - 10 - 20 - 30...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby Elwar on Wed Oct 17, 2007 3:39 am

Cool, kudos for your efforts so far. I'm on 56k and Ajax is a h-u-g-e help, but I couldn't use it without my extended stats now that I'm used to it. So as far as I'm concerned, you can call it a day because you've already fixed the most important thing ;)


(Although the expense of having the right side not update makes it a tad difficult when playing speed games)
Lieutenant Elwar
 
Posts: 135
Joined: Tue Jun 12, 2007 1:22 am
Medals: 10
Standard Achievement (2) Terminator Achievement (1) Assassin Achievement (1) Freestyle Achievement (2) Fog of War Achievement (1)
Speed Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1)

Postby yeti_c on Wed Oct 17, 2007 3:59 am

OK - I've just uploaded the latest version...

FIXED :

a) Default opacity 100%
b) opacity goes down instead of up
c) <required> continents now calculated correctly.

TODO :

Map Inspect.
Log tweaking.
Overrides.
Bombarments
Confirm Buttons are a bit screwy!! <- I know why now too!!
Right hand side doesn't update properly... (Status indicators - clock does work)

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby yeti_c on Wed Oct 17, 2007 4:17 am

Apologies - I uploaded a version with alerts in...

Now removed and reuploaded...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby Elwar on Wed Oct 17, 2007 4:40 am

The clock does not work on the start of a new round, fwiw. This is only a problem in speed games of course.
Lieutenant Elwar
 
Posts: 135
Joined: Tue Jun 12, 2007 1:22 am
Medals: 10
Standard Achievement (2) Terminator Achievement (1) Assassin Achievement (1) Freestyle Achievement (2) Fog of War Achievement (1)
Speed Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1)

Postby yeti_c on Wed Oct 17, 2007 4:55 am

Elwar wrote:The clock does not work on the start of a new round, fwiw. This is only a problem in speed games of course.


OK - I'll add that to the list.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby orion_ on Wed Oct 17, 2007 5:56 am

by map inspect do you mean that feature where you can hover over a persons name and it highlights there tertits? I really love that feature!
Corporal 1st Class orion_
 
Posts: 43
Joined: Sun Sep 23, 2007 10:48 am
Location: parent's basement

Postby yeti_c on Wed Oct 17, 2007 6:22 am

orion_ wrote:by map inspect do you mean that feature where you can hover over a persons name and it highlights there tertits? I really love that feature!


That's the one...

That's the hardest bit to reimplement... but don't fear - I love it too... and it will be done!!!!

C>
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby yeti_c on Wed Oct 17, 2007 6:24 am

OK - I've just uploaded the latest version...

FIXED :

a) Right hand side updates properly now and clock improved.

TODO :

Map Inspect.
Log tweaking.
Overrides.
Bombarments
Confirm Buttons are a bit screwy!! <- I know why now too!!
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby orion_ on Wed Oct 17, 2007 6:35 am

yeti_c wrote:OK - I've just uploaded the latest version...

FIXED :

a) Right hand side updates properly now and clock improved.

TODO :

Map Inspect.
Log tweaking.
Overrides.
Bombarments
Confirm Buttons are a bit screwy!! <- I know why now too!!


awesome!

    One thing I've noticed, new maps always show completely invisible for me. I only have to fix this once for each map though.
    The armies should not become transparent to they should always be 100% opaque.
Last edited by orion_ on Wed Oct 17, 2007 6:42 am, edited 1 time in total.
Corporal 1st Class orion_
 
Posts: 43
Joined: Sun Sep 23, 2007 10:48 am
Location: parent's basement

Postby yeti_c on Wed Oct 17, 2007 6:40 am

jiminski wrote:Hello mate..

i am just flicking through various maps and so on.. the map opacity seems to be set to 0% on initiation. You can of course reset this to 100% manually.


The newer version defaults it to 100% -> however it inherits the previous setting of Map Fade from old BOB!!

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Medals: 48
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Postby benjikat on Wed Oct 17, 2007 7:21 am

Thanks Yeti - fantastic work.

Couple of things though (aren't there always!):

1) "Next Redemption Value" for escalating isn't working - just shows "0"

2) The Opacity should only be changing the background map image and not the army numbers (the main way I use it is to be able to see blue numbers in particular on the Classic map)

Looking forward to map inspect - it's my favourite feature too (espec when you use it for your whole team.
User avatar
Sergeant 1st Class benjikat
 
Posts: 332
Joined: Thu Mar 08, 2007 10:03 am
Medals: 1
General Contribution (1)

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users

cron