Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#144 closed defect (fixed)

LoadParam line-split fault

Reported by: bensch Owned by: bensch
Priority: minor Milestone: Old Orxonox tickets orx-v0
Component: GameLoader Version:
Keywords: Cc:
Referenced By: References:

Description

THA HORROR

LoadParam has an error when loading names, that should be delimited by spaces.

example:

   <GameWorld>
     <name>Urban City</name>
   </GameWorld>

creates a Gameworld with the name 'Urban' instead of Urban City. Tha Problem arises, because LoadParam always splits at whitespaces and ','.

The Idea

… is to

  • split only at commas, and where there are whitespaces around the Comma, cut them away.
  • Also to remove "" around Names, that have them.

Change History (2)

comment:1 Changed 14 years ago by bensch

  • Resolution set to fixed
  • Status changed from new to closed

Fixed it… hmm.. 7 hours… this is too long, but still it was some work :)

comment:2 Changed 13 years ago by bknecht

  • Milestone changed from Graphics and Performance THISISOBSOLETE to Old Orxonox tickets

Milestone Graphics and Performance THISISOBSOLETE deleted

Note: See TracTickets for help on using tickets.