Ground supply bug - Landsverk II

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
Mojko
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 580
Joined: Thu Aug 14, 2014 8:04 am

Ground supply bug - Landsverk II

Post by Mojko »

I have found a very serious bug. In the Finnish campaign (Someri scenario). Landsverk II unit becomes available in this scenario. It's AA / AT gun. The problem is that it has 4 supply when in AA mode and 3 supply in 3 AT mode. Interesting feature of this misconfiguration is the ability to permanently change total ground supply.

If you want to permanently gain 1 supply do this:

- deploy in AA mode
- switch to AT mode
- undeploy unit

You can add arbitrary amount of supply.

If you want to permanently lose 1 supply do this:

- deploy in AT mode
- switch to AA mode
- undeploy unit

You can lose arbitrary amount of supply.

Cool bug, no?

Image

Game version: 2.6.7c / Steam
Author and maintainer of Unit Navigator Tool for Order Of Battle (http://mfendek.byethost16.com/)
Uhu
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1480
Joined: Fri Nov 04, 2011 9:16 pm
Location: Hungary

Re: Ground supply bug - Landsverk II

Post by Uhu »

Of course it's not our job to repair, but it can be easily fix in the units.csv file. I'm already modifiing it, changing the lot of unhistorical availability data.
If you open it with for example Notepad plus, there are the line for the AT mode of the Landsverk II:
Landsverk_AntiII_AT;3087;finland,;land;anti_tank;Landsverk_AntiII_AT 0 0,;Landsverk_AntiII_AT;;;alhalftrack;rotalhtracks;at_37mm_02_case;;;;track;8/5/1942;;;80;3;;4;1;1;;100;;4;;;;;;;;;anti_air:Landsverk_AntiII_AA,;;;mechanical;mechanical;13-9;7-10;;;;;;10;8;10;10;10;;;rmPurchase,slowRepair,lightTreaded,
The highlighted number has to changed to 4.
Mojko wrote:I have found a very serious bug. In the Finnish campaign (Someri scenario). Landsverk II unit becomes available in this scenario. It's AA / AT gun. The problem is that it has 4 supply when in AA mode and 3 supply in 3 AT mode. Interesting feature of this misconfiguration is the ability to permanently change total ground supply.

If you want to permanently gain 1 supply do this:

- deploy in AA mode
- switch to AT mode
- undeploy unit

You can add arbitrary amount of supply.

If you want to permanently lose 1 supply do this:

- deploy in AT mode
- switch to AA mode
- undeploy unit

You can lose arbitrary amount of supply.

Cool bug, no?

Image

Game version: 2.6.7c / Steam
Image
Image
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Ground supply bug - Landsverk II

Post by Erik2 »

If you use a spreadsheet to open the units.csv file you get the benefit of label headers, it is easier to spot bugs and editing is somewhat safer.

I use OpenOffice since my Office 365-Excel won't open the file properly formatted.
Attachments
unit editing.jpg
unit editing.jpg (119.97 KiB) Viewed 1517 times
Uhu
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1480
Joined: Fri Nov 04, 2011 9:16 pm
Location: Hungary

Re: Ground supply bug - Landsverk II

Post by Uhu »

I used it too, but it saves somehow bad, because after that, the game cannot read the file. So I just look the data in it.
Erik wrote:If you use a spreadsheet to open the units.csv file you get the benefit of label headers, it is easier to spot bugs and editing is somewhat safer.

I use OpenOffice since my Office 365-Excel won't open the file properly formatted.
Image
Image
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Ground supply bug - Landsverk II

Post by Erik2 »

You made sure you saved the file using the exact same filename?
I have not had any problem with saving, but I haven't tested this since v2.48.
Uhu
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1480
Joined: Fri Nov 04, 2011 9:16 pm
Location: Hungary

Re: Ground supply bug - Landsverk II

Post by Uhu »

It seems to working now. I'm not familiar, not used many times Open Office, so experience with it's using has to be gathered. :)
Erik wrote:You made sure you saved the file using the exact same filename?
I have not had any problem with saving, but I haven't tested this since v2.48.
Image
Image
Post Reply

Return to “Order of Battle : World War II - Tech Support”