AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

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

Moderators: Tech Team, Global Moderators

Forum rules
Please read the Community Guidelines before posting.

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby yeti_c on Thu Jun 25, 2009 3:50 am

Sherkaner is now taking over maintenance and development of BOB.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
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) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby Angus Khan on Thu Jun 25, 2009 12:19 pm

yeti_c wrote:Sherkaner is now taking over maintenance and development of BOB.

C.


I for one want to give my heartfelt thanks to Yeti_c for his incredible work to date. Personally I would have probably quit CC without BOB because it was too cumbersome to go through and manually figure out the things BOB does for me so easily. =D> =D> =D> =D> =D>

Adding Clickable Maps was just icing on the cake. Yep, there have been headaches along the way, almost all of them attributable to Lack making undocumented changes to the server. :roll:

You've done an excellent job Yeti, and I want to be the first to commend you for it. O:)
User avatar
Sergeant 1st Class Angus Khan
 
Posts: 147
Joined: Fri Jul 06, 2007 2:14 pm
Location: screwed up the buttville by BS CC Dice!!
Medals: 26
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Speed Achievement (1) Teammate Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (1)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby cicero on Thu Jun 25, 2009 6:29 pm

Version 4.7.3 has been released ... But the first post of this thread hasn't been updated ... Can you let us know what has changed please ?
(And what happened to 4.7.2 ;))
User avatar
Sergeant cicero
 
Posts: 1358
Joined: Wed Mar 07, 2007 1:51 pm
Location: with the infected neutrals ... handing out maps to help them find their way to CC
Medals: 9
Standard Achievement (2) Terminator Achievement (1) Speed Achievement (1) Ratings Achievement (2) General Contribution (3)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby yeti_c on Fri Jun 26, 2009 5:31 am

cicero wrote:Version 4.7.3 has been released ... But the first post of this thread hasn't been updated ... Can you let us know what has changed please ?
(And what happened to 4.7.2 ;))


4.7.3 is a transition release to Sherkaner - i.e. all the changes relate to allowing him to update the script from his logins from fileden and userscripts.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
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) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby sherkaner on Fri Jun 26, 2009 8:08 am

yeti_c wrote:
cicero wrote:Version 4.7.3 has been released ... But the first post of this thread hasn't been updated ... Can you let us know what has changed please ?
(And what happened to 4.7.2 ;))


4.7.3 is a transition release to Sherkaner - i.e. all the changes relate to allowing him to update the script from his logins from fileden and userscripts.

C.


Yes, that's correct. It also reformats the file a bit (though you won't notice), and fixes the text changes: 'loses'->'lost', 'gains'->'gained' and 'receives'->'received'.
This in turns makes sure the armies are calculated correctly again, and the Elimination Summary works correctly again too.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re:

Postby Cyantist on Tue Jul 21, 2009 3:25 pm

thespider wrote:
yeti_c wrote:
thespider wrote:Has anyone tried to use this on Safari and GreaseKit?
I would like to if it is possible.


Feel free to try!!

C.

it didn't work =(
I don't know why...


It hasn't worked for me either...
Maybe if we get enough of us requesting that it work with Greasekit, they'll make an update for it...
User avatar
Sergeant 1st Class Cyantist
 
Posts: 31
Joined: Tue Jul 17, 2007 2:43 pm
Location: WI
Medals: 11
Standard Achievement (1) Doubles Achievement (2) Triples Achievement (1) Fog of War Achievement (2) Cross-Map Achievement (2)
Ratings Achievement (3)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby Lucalupulasa on Thu Jul 30, 2009 7:35 am

hi, i just got this.
how do i attack because it doesnt say in the help thing. is there a button or what? when i click on the territory i want to attack from it just comes up with the hover thing. please answer.
Private Lucalupulasa
 
Posts: 26
Joined: Tue Dec 23, 2008 11:52 pm
Location: England, Essex
Medals: 15
Standard Achievement (3) Assassin Achievement (2) Freestyle Achievement (2) Fog of War Achievement (2) Speed Achievement (2)
Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (2)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby Boss_oss_ss on Thu Jul 30, 2009 11:03 am

the same way you do it normally, your thinking of clickable maps ;)
Image
User avatar
Corporal Boss_oss_ss
 
Posts: 1003
Joined: Tue Mar 27, 2007 6:43 am
Location: England, next to Strider24!
Medals: 41
Standard Achievement (3) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (2) Fog of War Achievement (2) Speed Achievement (2)
Cross-Map Achievement (3) Ratings Achievement (1) Tournament Achievement (1) General Achievement (3) Clan Achievement (3)
Tournament Contribution (13)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby impassive on Thu Sep 03, 2009 11:20 am

Hi, I'm making small changes in BOB just to see how things work a little bit (I've never developed in greasemonkey before, and I haven't done javascript in years).

Anyway, occasionally I come back to a game being surprised by the board. When one of your territories are attacked and your armies are nicked, but your territory is not conquered, it can be hard to tease out of the log what happened. Sometimes I'm left thinking I had more armies in a territory, but I can't be sure if I've been attacked or I just don't remember right. Of course a log of attack attempts would resolve this.

But what I've been fooling with is having a setting to automatically take a snapshot after you end each turn. I've hacked in the menu setting and that seems to work ok. Taking the actual snapshot isn't working though. It is calling the existing 'takeSnapshot' function where I want it to. It is even adding a menu for the new snapshot taken. But when I refresh the game page or leave and come back to it, the end turn snapshot is no longer on the menu.

Here's the part that is not working:
_________________________________________________________
Code: Select all
// ENDTURN SNAPSHOT MOD ***********************
var newhandleResponse = unsafeWindow.handleResponse;

unsafeWindow.handleResponse = function() {
   var ret = newhandleResponse();
   if (lastCommand == 'End Reinforcement' || (lastCommand == 'Reinforce' && gameSettings.fortifications != eFortifications.UNLIMITED)) {
      confirm("ENDTURN SNAPSHOT MOD 1:");
      if (!gameSettings.speed && myOptions["endTurnSnapshot"]=="On") {
         confirm("ENDTURN SNAPSHOT MOD 2: about to attempt to take snapshot");
         takeSnapshot();  //THIS IS DEFINITELY BEING CALLED
      }
      lastCommand = '';
   }
   return ret;
}

_____________________________________________________________________

After the turn is completed, this is being run - I see both confirms. And the snapshot shows up in the snapshot menu. But it then goes away when the game is refreshed or reloaded.

I suspect I'm not calling 'takesnapshot' at the right time. If anybody can give me any ideas on where to call it, or any other pointers in general, I'd appreciate it.
User avatar
Brigadier impassive
 
Posts: 39
Joined: Sun Jun 14, 2009 9:15 pm
Medals: 5
Standard Achievement (2) Terminator Achievement (1) Cross-Map Achievement (1) Ratings Achievement (1)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby sherkaner on Thu Sep 03, 2009 12:21 pm

I'm not sure what's happening here. You're not getting any errors with firebug?

I think I'd perform the snapshot just before the request is sent, I'd probably use the part indicated by /* Ishiro's Confirm Commands code */ for that, 1 boolean for finished turn would be nice there anyway. At the end everything should be at the right place.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby impassive on Thu Sep 03, 2009 1:24 pm

Thanks for the info.

I had assumed from what I knew about how the site works that the reinforcing would need to be done on the server side first to have the page reflect any reinforcements done. That is, if the snapshot was performed before the request was sent that it wouldn't reflect the reinforcements. I'll try taking the snapshot where you suggest to see how that goes. It would be good to see if it saves any snapshot at all to see if I've got something else wrong going on.

The /* Ishiro's Confirm Commands code */ area is where I'm setting the 'lastCommand' variable, but an end turn boolean might be a better way to do it.

I've loaded firebug and it isn't reporting any errors. I'm also able to step through scripts on the page (game.js, etc.), but I haven't seen where to access greasemonkey code. It doesn't show up for me so far. I'll keep digging and googling.
User avatar
Brigadier impassive
 
Posts: 39
Joined: Sun Jun 14, 2009 9:15 pm
Medals: 5
Standard Achievement (2) Terminator Achievement (1) Cross-Map Achievement (1) Ratings Achievement (1)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby LordF on Tue Sep 22, 2009 1:22 pm

This may have been raised before as a TODO - would it be possible to calculate how many armies (as well as territories) each player has in a fog of war game? This is presumably relatively easy to work out from the game log provided you know the initial number of armies for each player.
User avatar
Corporal 1st Class LordF
 
Posts: 7
Joined: Mon Jun 22, 2009 10:15 am
Medals: 9
Standard Achievement (2) Freestyle Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Cross-Map Achievement (1)
Ratings Achievement (2)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby sherkaner on Tue Sep 22, 2009 3:44 pm

Number of armies is impossible (there's nothing about that in the logs), number of territories is already in the script (statistics).
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby BigBallinStalin on Sun Oct 25, 2009 10:53 pm

Sorry just bringing this back up to the top when I search "ajax."
User avatar
Colonel BigBallinStalin
 
Posts: 4663
Joined: Sun Oct 26, 2008 10:23 pm
Location: crying into the dregs of an empty bottle of own-brand scotch on the toilet having a dump in Dagenham
Medals: 48
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (1)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (1) Fog of War Achievement (4) Trench Warfare Achievement (1)
Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Beta Map Achievement (1) Ratings Achievement (4)
Tournament Achievement (5) General Achievement (1) Clan Achievement (10)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby yeti_c on Mon Oct 26, 2009 3:22 am

This is an old topic - you want to goto

viewtopic.php?f=59&t=91386

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
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) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby Rakio on Tue Oct 27, 2009 12:11 pm

The link in the tool thread should be changed as well.
Image
Discover & Settle - a new land.
A map not in the making currently. Please have a look and comment anyway? :)
Private Rakio
 
Posts: 68
Joined: Sat Jun 27, 2009 7:46 pm
Medals: 11
Standard Achievement (2) Terminator Achievement (1) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1)
Nuclear Spoils Achievement (1) Fog of War Achievement (1) Trench Warfare Achievement (1) Speed Achievement (1) Ratings Achievement (1)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby yeti_c on Wed Oct 28, 2009 3:23 am

Rakio wrote:The link in the tool thread should be changed as well.


Actually - the link links to the topic - so it can stay...

People just need to STOP POSTING IN HERE.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
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) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby louenlax on Thu Oct 29, 2009 12:40 am

How to sort a table using ajax? I need an ajax code of sorting table. I will use this for my jsf component. I have a custom data table component then I want that when you click each column header it will automatically sort. I have already a javascript code in sorting and it is already working will. And now I want to add an ajax code on it. The problem is I don't have yet any knowledge in ajax.
_____________________
market samurai ~ marketsamurai ~ marketsamurai.com
Last edited by louenlax on Fri Oct 30, 2009 4:41 am, edited 1 time in total.
New Recruit louenlax
 
Posts: 1
Joined: Sat Oct 24, 2009 2:16 am

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby sherkaner on Thu Oct 29, 2009 3:25 am

louenlax wrote:How to sort a table using ajax? I need an ajax code of sorting table. I will use this for my jsf component. I have a custom data table component then I want that when you click each column header it will automatically sort. I have already a javascript code in sorting and it is already working will. And now I want to add an ajax code on it. The problem is I don't have yet any knowledge in ajax.


Lol, totally offtopic in a thread where the last comment was STOP POSTING. But I'll answer his question in a PM (strangely enough I can answer it).

Rakio wrote:The link in the tool thread should be changed as well.


I think he means the link in 'Users Guide To Plugins & Addons'. Wouldn't be a bad idea actually, I'll ask chipv to change that.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby Rakio on Sat Oct 31, 2009 2:56 pm

viewtopic.php?t=8801

This thread is what I mean and have used so far to find this tool and thread.
Image
Discover & Settle - a new land.
A map not in the making currently. Please have a look and comment anyway? :)
Private Rakio
 
Posts: 68
Joined: Sat Jun 27, 2009 7:46 pm
Medals: 11
Standard Achievement (2) Terminator Achievement (1) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1)
Nuclear Spoils Achievement (1) Fog of War Achievement (1) Trench Warfare Achievement (1) Speed Achievement (1) Ratings Achievement (1)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby endar1077 on Mon Nov 09, 2009 1:24 pm

Okay, I think I've got a really good idea here.

The motivation behind this development is discussed in the head post of the link below. I think it is an important issue that needs to be addressed for the sake of better team play. The idea of how to fix the problem, though, changed throughout the course of the thread. This link directs you to my conclusion about how to address it (thanks to the ideas of others in the thread):

http://www.conquerclub.com/forum/viewtopic.php?f=4&t=101027&p=2295109#p2295109.

I think this would be a pretty feasible modification, but I could be wrong. Just move the chat box up above the map, and team play will be enhanced by all users of BOB.
Highest score: Colonel, 2786, #124
Image
Major endar1077
 
Posts: 302
Joined: Sat Feb 09, 2008 6:28 pm
Location: Berkeley, CA
Medals: 34
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (2) Fog of War Achievement (3) Speed Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (8) Clan Achievement (5)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby Dako on Mon Nov 09, 2009 2:33 pm

It would be great to see the option "chat box location: above map, below map, bottom (default)". Would be sooo handy.
Image
User avatar
Brigadier Dako
 
Posts: 3950
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia
Medals: 117
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (3) Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Battle Royale Achievement (1) Ratings Achievement (3) Tournament Achievement (14) General Achievement (24)
Clan Achievement (21) General Contribution (20)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby sherkaner on Mon Nov 09, 2009 3:25 pm

Good idea, I'll see whether I can make that work.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby sherkaner on Mon Nov 09, 2009 6:04 pm

Lol, and that wasn't really hard. But it's not too pretty yet.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Postby endar1077 on Mon Nov 09, 2009 6:39 pm

I talked to Foxglove earlier today and she said she was working on a script to make it re-sizable, drag-able, etc.
I wonder if she's done enough work to compliment yours, or if they will remain two separate scripts, or if she will simply defer to the Bob version.

P.S. That was really damn quick. :D
Highest score: Colonel, 2786, #124
Image
Major endar1077
 
Posts: 302
Joined: Sat Feb 09, 2008 6:28 pm
Location: Berkeley, CA
Medals: 34
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (2) Fog of War Achievement (3) Speed Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (1) Tournament Achievement (8) Clan Achievement (5)

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users

Login