Menu

#208 tpserver-py: Doesn't send option arguments correctly

open
tpserver-py (8)
6
2007-05-27
2007-05-27
nash
No

When requestiong possible options for the order type '6 (list)' the option list is empty.

Also on an object which is already building something I get a response list of:
0 options
Currently building option 0 (x 255 times)

Same code on tpserver-cpp works fine.

To test, use latest galaxie, and look for:
List Arg (6)...

Output from tpserver-py
List Arg (6) has 0 options
Selected: 0 255

Output from tpserver-cpp:
List Arg (6) has 3 options
Option 7: Scout (7 134892108)
Option 8: Frigate (8 134892120)
Option 9: Battleship (9 134892132)
Selected: 1 8

And yes - there is a bug in tpserver-cpp too by the looks of things.

Discussion

  • nash

    nash - 2007-05-27

    Logged In: YES
    user_id=29427
    Originator: YES

    No bug in tpserver-cpp - I was only accepting one option, not a list.

    The bug in tpserver-py seems real however.

     
  • nash

    nash - 2007-05-27
    • labels: 780690 --> tpserver-py
    • assigned_to: llnz --> mithro
     
  • nash

    nash - 2007-05-27

    Logged In: YES
    user_id=29427
    Originator: YES

    Correct who it should be assigned too.

     
  • Tim 'mithro' Ansell

    Logged In: YES
    user_id=18538
    Originator: NO

    I've had to make a lot of assumptions to try and figure this out, can you confirm them.

    I'm assuming this is a BuiltFleet order?
    I'm assuming that you are sending an Order_Probe request?
    I'm assuming that you are sending it to a planet that you own?

    How can I get this output? It would be useful in debugging this problem.

    I'm not sure how you are getting an order packet, the python server doesn't support Order_Probe requests (yet)! Could you be actually getting a different fail frame?

     

Log in to post a comment.