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.
Locked
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Cheers Benji...

Fixed Redemption values now... download new version...

Yeah I know about the numbers - I will endeavour to get that fixed when I get Map Inspect fixed!!

C.
Image
Highest score : 2297
User avatar
jiminski
Posts: 5422
Joined: Tue Feb 20, 2007 3:30 pm
Gender: Female
Location: London

Post by jiminski »

Sorry i am not particularly technically competent:
The new BoB seems to do nothing? When i go back to the old version i can not see some maps due to the Map fade being more than 100%.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

jiminski wrote:Sorry i am not particularly technically competent:
The new BoB seems to do nothing? When i go back to the old version i can not see some maps due to the Map fade being more than 100%.


OK - first things first - you need to turn AJAX back on in your settings -> IT's not backwards compatible...

The map fade is now swapped to map opacity as it works the opposite way round. Click on the map opacity option on the BOB menu until you can see the map.

C.
Image
Highest score : 2297
User avatar
benjikat
Posts: 332
Joined: Thu Mar 08, 2007 10:03 am

Post by benjikat »

yeti_c wrote:Fixed Redemption values now... download new version...


Cool - but when I took my turn and cashed a set in, my card count (in BOB) stayed as it was, as did the redemption value - is this meant to reset or only calculate on a whole page refresh?
User avatar
gimil
Posts: 8599
Joined: Sat Mar 03, 2007 12:42 pm
Gender: Male
Location: United Kingdom (Scotland)

Post by gimil »

In terminator games the bob script seems to be carrying out hte points summary alot more than it used to.
What do you know about map making, bitch?

natty_dread wrote:I was wrong


Top Score:2403
User avatar
jiminski
Posts: 5422
Joined: Tue Feb 20, 2007 3:30 pm
Gender: Female
Location: London

Post by jiminski »

yeti_c wrote:
OK - first things first - you need to turn AJAX back on in your settings -> IT's not backwards compatible...


C.


thank you mate.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

gimil wrote:In terminator games the bob script seems to be carrying out hte points summary alot more than it used to.


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


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

Post by yeti_c »

benjikat wrote:
yeti_c wrote:Fixed Redemption values now... download new version...


Cool - but when I took my turn and cashed a set in, my card count (in BOB) stayed as it was, as did the redemption value - is this meant to reset or only calculate on a whole page refresh?


Ah yes - at the moment it is whole page refresh - I'll code it to be AJAX refresh reliant...

Card Count? Which one? in the stats? Hmmm - OK I'll take a look at that too.

C.
Image
Highest score : 2297
User avatar
benjikat
Posts: 332
Joined: Thu Mar 08, 2007 10:03 am

Post by benjikat »

yeti_c wrote:Card Count? Which one? in the stats?


Yes the one in the BOB stats - although you could lose it entirely now it has been added to the site proper.

BTW - many many thanks for this effort - you've certainly made a lot of people's days with this...
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Ah Righto - I see where you mean now...

Like you say - I might strip that out.

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

Post by yeti_c »

OK then - Fixed Card counter in the BOB table...

Possibly fixed Redemption calculation... it may go a bit screwy as my log processing isn't quite right just yet...

C.
Image
Highest score : 2297
adul
Posts: 8
Joined: Fri Oct 27, 2006 11:49 am

Post by adul »

maps dont appear to refresh for me after moves have been made.
crzyblue
Posts: 140
Joined: Mon Jul 02, 2007 9:15 am

Post by crzyblue »

noticed map inspect doesn't work, nor when you mouse over on the lands it doesn't tell you who you can attack
CrabNebula
Posts: 1730
Joined: Thu Jul 05, 2007 2:19 pm

Post by CrabNebula »

Great job yeti_c!

Also can you rename the script file to anything other than "Conquer Club - Bob"? Because when I install it, it replaces the BOb script that I already have and I don't know where I got the current one, so its difficult to get it back.

Thanks!
User avatar
jennifermarie
Posts: 1316
Joined: Wed Mar 07, 2007 8:07 pm
Gender: Female
Location: Indiana, USA

Post by jennifermarie »

i've noticed that it started out w/ 0% map opacity so i had to go through each map i was playing and change it to 100%....is there any way to make 100% standard? thanks
crzyblue
Posts: 140
Joined: Mon Jul 02, 2007 9:15 am

Post by crzyblue »

open gm, edit the script and look for fademap=1 and change it to 0
crzyblue
Posts: 140
Joined: Mon Jul 02, 2007 9:15 am

Post by crzyblue »

the redemption value keeps going up turn after turn... game is only in round 4 and says value is 25

http://www.conquerclub.com/game.php?game=1035357
User avatar
Aerial Attack
Posts: 1132
Joined: Mon Jun 04, 2007 7:59 pm
Location: Generation One: The Clan

Post by Aerial Attack »

crzy,

your game looked fine to me. Maybe you have an older/newer version (I downloaded mine around 13:00 (US Eastern time) and the code was 4 or 5 hours old then (it's 15:00 now - so my code version is 6 or 7 hours old). There was also an 8 hour and 9 hour version. If you downloaded more than 6 hours ago, that could be it. Or if a new version has been posted in the last 2 hours.

NOTE: I Uninstalled non-AJAX BOB (1.2), before installing the new version
orion_
Posts: 43
Joined: Sun Sep 23, 2007 10:48 am
Location: parent's basement

Post by orion_ »

crzyblue wrote:the redemption value keeps going up turn after turn... game is only in round 4 and says value is 25

http://www.conquerclub.com/game.php?game=1035357


i have seen this crop up to, but i havent figured out what triggers it.
User avatar
Aerial Attack
Posts: 1132
Joined: Mon Jun 04, 2007 7:59 pm
Location: Generation One: The Clan

Post by Aerial Attack »

If I remember correctly, there was an earlier issue with refreshing when it's actually YOUR turn vs when it's someone else's turn.

It could be that the redemption value JUMPS when it's your turn, whilst during others play (the way it would look to someone not in the game too) the figures are correct.

That is just my guess.
Begbie
Posts: 236
Joined: Tue Nov 07, 2006 8:06 pm
Gender: Male
Location: Godzone NZ

new bob

Post by Begbie »

just downloaded it however my map inspect is not working now? Any ideas out there?
'You don't need a weatherman to know which way the wind blows' Robert Zimmerman
User avatar
Syzygy
Posts: 3382
Joined: Mon Jan 15, 2007 1:07 pm
Location: My Acre of Africa
Contact:

Post by Syzygy »

Everything works with the new script, except for one weird problem - the map sometimes doesn't appear at all.
Image
User avatar
benjikat
Posts: 332
Joined: Thu Mar 08, 2007 10:03 am

Post by benjikat »

crzyblue wrote:the redemption value keeps going up turn after turn... game is only in round 4 and says value is 25



It is currently triggering every time you attack on your turn. - I just had it jump up to 380 on a long attack run!
crzyblue
Posts: 140
Joined: Mon Jul 02, 2007 9:15 am

Post by crzyblue »

what seems to trigger it is if you stay in the game and watch it... turn by turn it creeps up, but if you leave the game and come back in it's correct.
crzyblue
Posts: 140
Joined: Mon Jul 02, 2007 9:15 am

Post by crzyblue »

Syzygy wrote:Everything works with the new script, except for one weird problem - the map sometimes doesn't appear at all.


i posted the fix to that a page back
look for fademap=1 and change it to 0
Locked

Return to “Tool Archives”