Eintragsdetails ansehen

IDProjektKategorieSichtbarkeitZuletzt aktualisiert
0001120EresseaGeneralöffentlich2007-04-22 16:16
Reporterkhadar Bearbeitung durchEnno  
PrioritätnormalSchweregradschwerer FehlerReproduzierbarnicht getestet
Status geschlossenLösungerledigt 
Zusammenfassung0001120: Damaged ship didn't sail although load was exactly at capacity
Beschreibung

One of my boats, damaged 5%, capacity 47.5, was loaded with exactly 47.5 GE. Despite that, I got the following error message:

Captain (r238) in Glades' Well (0,-2): 'MOVE w w' - The ship is too heavily loaded to sail.

This caused silver to not show up for upkeep of units landing on enemy shores this turn, making them unable to fight and easy prey for our opponents.

Zusätzliche Informationen

RTS Riptide (bq3c), boat, 5% Beschädigung Captain (r238) Guards (r296)

TagsKeine Tags zugeordnet.
Parteireg
Spiel
Report509

Notizen / Dateien

khadar

khadar

2007-02-04 13:19

Reporter   ~0002501

This seems to be a problem with rounding/magellan. In the .nr the load/capacity is rounded at 48/47. In magellan it shows at 47.1/47.5...

Are shiploads and capacities always rounded?

Enno

Enno

2007-02-04 14:45

Administrator   ~0002504

Eressea does not use fractions of weight. Anything weighing a fraction of a unit of weight (like silver) gets rounded up to the next full unit.

khadar

khadar

2007-02-04 15:00

Reporter   ~0002505

I hate to disagree with you, but in this very same turn unit Captain (r217) carried 540 silver with a carrying capacity of 5.4... not a load of 6 GE with a capacity of 5... same works with units with carts and horses...

The rounding only happens with ships, then? Capacities are rounded down to the nearest whole number, and loads are rounded up?

Enno

Enno

2007-02-04 19:43

Administrator   ~0002513

This is only done for ships, not units in general. I honestly don't remember why, and I think that you're right, it's confusing. So I've now changed the code to handle fractions of weight units for ships properly, and not try anything funny. Should be in effect from next week on.

Eintrags-Historie

Änderungsdatum Benutzername Feld Änderung
2007-02-04 13:11 khadar Neuer Eintrag
2007-02-04 13:11 khadar Partei/Faction => reg
2007-02-04 13:11 khadar Report No. => 509
2007-02-04 13:19 khadar Notiz hinzugefügt: 0002501
2007-02-04 14:45 Enno Status neu => erledigt
2007-02-04 14:45 Enno Lösung offen => wird nicht behoben
2007-02-04 14:45 Enno Bearbeitung durch => Enno
2007-02-04 14:45 Enno Notiz hinzugefügt: 0002504
2007-02-04 15:00 khadar Status erledigt => Rückmeldung
2007-02-04 15:00 khadar Lösung wird nicht behoben => wiedereröffnet
2007-02-04 15:00 khadar Notiz hinzugefügt: 0002505
2007-02-04 19:43 Enno Status Rückmeldung => erledigt
2007-02-04 19:43 Enno Lösung wiedereröffnet => erledigt
2007-02-04 19:43 Enno Notiz hinzugefügt: 0002513
2007-04-22 16:16 Enno Status erledigt => geschlossen