234 Open Daily games
1 Open Realtime game
    Pages:   123456789»»»   (18 in total)
  1. #1 / 350
    Commander In Chief tom tom is offline now
    WarGear Admin tom
    Rank
    Commander In Chief
    Rank Posn
    #762
    Join Date
    Jun 09
    Location
    Posts
    5651

    hi all

    Just a quick note - if you think you've found a bug in the way a game is playing, it's a big help if you stop playing straight away so I can load the game up and immediately see the problem. I'll need to know the gameid which is the number at the end of the URL when the Player is loaded.

    It's usually worth reloading the Player to see if that fixes the problem because there will be occasional network related communication problems which will result in the Player getting out of sync with the server but it's still worth reporting what happened.

    Thanks for your help in this, due to the huge number of possible rule and board variations there are inevitably a few bugs out there so I apologize for this but I should be able to get them fixed promptly once you let me know about them.

    cheers

    Tom


  2. #2 / 350
    Premium Member Yertle
    Rank
    Major General
    Rank Posn
    #21
    Join Date
    Nov 09
    Location
    Posts
    3997

    Ahhhh fresh :)...now should I break out my list :P


  3. #3 / 350
    Commander In Chief tom tom is offline now
    WarGear Admin tom
    Rank
    Commander In Chief
    Rank Posn
    #762
    Join Date
    Jun 09
    Location
    Posts
    5651

    W00t! No more bugs to fix :D


  4. #4 / 350
    Standard Member Hugh
    Rank
    Lieutenant General
    Rank Posn
    #13
    Join Date
    Nov 09
    Location
    Posts
    869

    We've been dancing around this in other threads (ie I have reported it, but did such a poor job giving details that it was ignored).  It involves the embedding of images into posts.  Below, inside of brackets I typed "gamethumb=19526 turnid=284".  Turn 284 is the starting position.

    The thumb does not refer to turn 284, but rather to the current position.  In the other thread, 11s found the error using the view source of the generated HTML.  For reference see post 24 of http://www.wargear.net/forum/showthread/665p2/Spy_v_Spy

    11s notes:

    Yeah, actual bug.  Image links to:

    "http://www.wargear.net/rest/GetBoardImage?gameid=16718?turnid=156"

    Should link to:

    "http://www.wargear.net/rest/GetBoardImage?gameid=16718&turnid=156"

    Conclusion: somewhere in your html generating code, you should change "?" to "&".


  5. #5 / 350
    Pop. 1, Est. 1981 Alpha
    Rank
    Brigadier General
    Rank Posn
    #61
    Join Date
    Dec 09
    Location
    Posts
    991

    In games with light fog is there any reason why you cannot see the status of an opponent? There are sometimes when I would like to see if someone was booted or if they were eliminated; there is no problem looking at the map and seeing that they are gone.


  6. #6 / 350
    Premium Member Yertle
    Rank
    Major General
    Rank Posn
    #21
    Join Date
    Nov 09
    Location
    Posts
    3997

    Alpha wrote: In games with light fog is there any reason why you cannot see the status of an opponent? There are sometimes when I would like to see if someone was booted or if they were eliminated; there is no problem looking at the map and seeing that they are gone.

    And to expand on this, games with Light fog should have the Player Bar (bar on Games Lists) updated when a player has been booted or eliminated since that information is known by looking at the board.


  7. #7 / 350
    Pop. 1, Est. 1981 Alpha
    Rank
    Brigadier General
    Rank Posn
    #61
    Join Date
    Dec 09
    Location
    Posts
    991

    Thanks Yertle, I meant to throw that in there.


  8. #8 / 350
    Brigadier General M57 M57 is offline now
    Standard Member M57
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Apr 10
    Location
    Posts
    5083

    What happened to all the territories and borders I made?? They just disappeared.{#emotions_dlg.shocked}

    http://www.wargear.net/boards/designer/1114

    There were thousands of view borders -- I was creating a fog lift for each territory.   Now, even the territories are gone.  Did I break it?

    ..but we won't be happy until there is a "barren" designer feature.
    Edited Thu 1st Jul 18:03 [history]

  9. #9 / 350
    Pop. 1, Est. 1981 Alpha
    Rank
    Brigadier General
    Rank Posn
    #61
    Join Date
    Dec 09
    Location
    Posts
    991

    try exiting and returning and waiting (no clicking) for the board to fully load.  This problem has occurred for me a couple of times and being patient after the load fixed it. Maybe it is caused by a server communication break or just by boards with lots of borders loading slowly.

    Edited Fri 2nd Jul 00:31 [history]

  10. #10 / 350
    Commander In Chief tom tom is offline now
    WarGear Admin tom
    Rank
    Commander In Chief
    Rank Posn
    #762
    Join Date
    Jun 09
    Location
    Posts
    5651

    I'm going to need to restore from backup. This may be related to the problem Cramchakle had with very large numbers of borders. What seems to be happening is the XML encoder takes so long to encode the XML it causes timeouts to occur.


  11. #11 / 350
    Brigadier General M57 M57 is offline now
    Standard Member M57
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Apr 10
    Location
    Posts
    5083

    Thanks! So you're talking about my "last" save? All the data didn't make it, so the whole thing blew up? ..or something like that?

    Your plate is full enough to have to be bothered with this kind of stuff. Could the problem be avoided in the future if I occasionally made a copy (back-up) of the entire game every once in a while?

    ..but we won't be happy until there is a "barren" designer feature.
    Edited Fri 2nd Jul 06:59 [history]

  12. #12 / 350
    Commander In Chief tom tom is offline now
    WarGear Admin tom
    Rank
    Commander In Chief
    Rank Posn
    #762
    Join Date
    Jun 09
    Location
    Posts
    5651

    I think what happens is the board save fails. The save code currently deletes the existing board data then writes over the new data. If for some reason that process falls over halfway then you end up losing data. I need to find a better way to do it ideally and also set up a way for designers to back up and restore data.

    It's easy to recover from backups but they only run every 24 hours (at 5am EST)so I'll do that shortly.


  13. #13 / 350
    Brigadier General M57 M57 is offline now
    Standard Member M57
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Apr 10
    Location
    Posts
    5083

    tom -- I don't know if you've gotten around to it yet, but the territories are still gone..

    ..but we won't be happy until there is a "barren" designer feature.

  14. #14 / 350
    Commander In Chief tom tom is offline now
    WarGear Admin tom
    Rank
    Commander In Chief
    Rank Posn
    #762
    Join Date
    Jun 09
    Location
    Posts
    5651

    Yep looking at this now also.


  15. #15 / 350
    Commander In Chief tom tom is offline now
    WarGear Admin tom
    Rank
    Commander In Chief
    Rank Posn
    #762
    Join Date
    Jun 09
    Location
    Posts
    5651

    Sorry this is not in the backup either - did you create it that day or over a period of days? I can't find any record of the territories over the last 4 days backups.

    As per Cram's post I am updating the board save code to make this less likely to happen in future + adding board export / import facility to allow you to make your own backups.


  16. #16 / 350
    Brigadier General M57 M57 is offline now
    Standard Member M57
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Apr 10
    Location
    Posts
    5083

    pretty much all that day ..at least the territories and the borders.  They should be somewhere.  If you wouldn't mind, please check again.  It was at least a few hours of tedious mousing (actually, I used a bamboo pad).

    If you don't find it, you can buy me a beer someday ..to replace the one I'm crying in right now.

    ..but we won't be happy until there is a "barren" designer feature.
    Edited Sat 3rd Jul 13:11 [history]

  17. #17 / 350
    Brigadier General M57 M57 is offline now
    Standard Member M57
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Apr 10
    Location
    Posts
    5083

    Ok this time I started to back up my work on another board anticipating a crash..

    My last backup loads fine..

     http://www.wargear.net/boards/designer/1131

    Then I added a few more hundred territories and maybe a thousand more view only borders Sat (~3:45 pm EST)..

    http://www.wargear.net/boards/designer/1114

    ..and Kaplooey!

    Also the game that I had attached won’t load:

    http://www.wargear.net/games/player/23247

    ..but we won't be happy until there is a "barren" designer feature.

  18. #18 / 350
    Commander In Chief tom tom is offline now
    WarGear Admin tom
    Rank
    Commander In Chief
    Rank Posn
    #762
    Join Date
    Jun 09
    Location
    Posts
    5651

    Yep it's the same problem as Cram had - basically the XML encoder that's built into PHP is very slow so it's actually timing out. I've rolled my own version which is about 20x faster so this should be fixed. I'm just testing out a bunch of other stuff before updating the Live site, there's been a lot of changes recently.


  19. #19 / 350
    Brigadier General M57 M57 is offline now
    Standard Member M57
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Apr 10
    Location
    Posts
    5083

    Very cool!  I can't wait.

     

                          No, ..I really mean it.     I can't wait!

    ..but we won't be happy until there is a "barren" designer feature.
    Edited Sun 4th Jul 15:36 [history]

  20. #20 / 350
    Brigadier General M57 M57 is offline now
    Standard Member M57
    Rank
    Brigadier General
    Rank Posn
    #73
    Join Date
    Apr 10
    Location
    Posts
    5083

    http://www.wargear.net/games/player/21287

    It's my turn. I get the standard message saying I have a set, but the board is frozen, I can't even move or close the message box.

    ..but we won't be happy until there is a "barren" designer feature.

You need to log in to reply to this thread   Login | Join
 
Pages:   123456789»»»   (18 in total)