bugBos Wars - Bugs: bug #29110, Fatal error "bad player"...

 
 

bug #29110: Fatal error "bad player" when loading map to editor

Submitted by:  Kalle Olavi Niemitalo <kon>
Submitted on:  Sun 07 Mar 2010 08:54:53 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: François Beerten <feb>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 27 Mar 2010 12:33:26 PM UTC, comment #2:

Fixed in the development version. Thank you for the report.

François Beerten <feb>
Project AdministratorIn charge of this item.
Tue 09 Mar 2010 09:18:44 PM UTC, comment #1:

The bug happens in 2.5 too when going from the "islandwar" to the "muliplayer" map.

CreateUnit: player 2 does not exist
engine/unit/script_unit.cpp:850: bad player
bad player
stack traceback:
[C]: in function 'CreateUnit'
[string "./maps/multiplayer.map/setup.sms"]:4152: in main chunk
[C]: in function 'StartEditor'
[string "scripts/guichan.lua"]:723: in function <[string "scripts/guichan.lua"]:722>
[C]: in function 'run'
[string "scripts/guichan.lua"]:733: in function 'RunEditorLoadMenu'
[string "scripts/guichan.lua"]:626: in function <[string "scripts/guichan.lua"]:626>
[C]: in function 'run'
[string "scripts/guichan.lua"]:631: in function <[string "scripts/guichan.lua"]:617>
[C]: in function 'run'
[string "scripts/guichan.lua"]:776: in function 'RunMainMenu'
[string "scripts/guichan.lua"]:789: in main chunk

François Beerten <feb>
Project AdministratorIn charge of this item.
Sun 07 Mar 2010 08:54:53 PM UTC, original submission:

This report concerns trunk r9675.

Run Bos Wars and start a game in islandwar.map. Exit to the menu, start the editor, and load go-east.map. Bos Wars terminates with a "bad player" error:

CclCreateUnit raises this error if Players[playerno].Type == PlayerNobody. CclDefinePlayerTypes saves the types in Map.Info.PlayerType[]; I suppose the editor should copy them from there before it loads the map setup file (*.sms).

Kalle Olavi Niemitalo <kon>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by feb (Posted a comment)
  • -unavailable- added by kon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 27 Mar 2010 12:33:26 PM UTCfebStatusConfirmed=>Fixed
      Assigned toNone=>feb
      Open/ClosedOpen=>Closed
    Tue 09 Mar 2010 09:18:44 PM UTCfebStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1