Skip to content
View in the app

A better way to browse. Learn more.

HarpGamer

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ships magazines error

Featured Replies

6 hours ago, broncepulido said:

I'm not sure, do you mean from the next PE iteration it will not arbitrary changes on the scripted magazines from that point?

I did some tests last night and one thing I found was that the only time I tried to link to an existing pfdataxxx.mdb file it failed, I had to import from the commondb files.

I was able to import a known problem db and correct the magazines, export, test in GE, import and export again (to double check) and re test. All was good. I also did some new modifications of platforms and tested that their magazines were correct and that the magazine.csv files were unchanged if the magazines weren't altered and all good.

I can not think of a way of actually correcting a corrupted database other than going back to a good one and redoing the modifications. One of the problems is that the corruptions seems to have been random, so it's hard to know where to look.

Do you have a note of what changes / additions you've made? Are there many?

  • Replies 69
  • Views 8.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Looking deeper into my personnel db I have found some of my magazines have been scrambled or completely blank. The PE shows that there was something there but everything is totally empty.  

  • donaldseadog
    donaldseadog

    Time for bed, I'm getting a feeling the csv file is OK (it took a while to work out for each class the order of mag items in the csv is reverse to the PE). The move to the commondb file is gettin

  • 2024.001 posted, be extra cautious and careful, back up your files and tuck them away in case I accidentally introduced new issues.

Posted Images

On 10/21/2023 at 11:35 AM, eeustice said:

I have imported several of my backup db's into the PE. I am still getting the same results as above.

I created a new scenario in the SE and a ship that shows no magazine info in the PE iand have the same results

image.png.cc1be04f85ed29d6ee80e198b81c61d7.png

 

I am guessing that we need TonyE to investigate what has happened.

image.png

OK, this type of corruption I think I can capture as it it caused by a magazine item having a weapon ID = 0 (thus the unknown weapon), but there are other corruptions that place a valid magazine in the wrong place so catching only this type of corruption isn't sufficient. It probably shows up in TE's LazGUI export.dll.

 

On 10/21/2023 at 10:54 AM, eeustice said:

I have seen this happen with bases in my personal db too.

There is a limit of around 13,000 magazines available in HC.

You can find the number of magazines you have looking at tPlatformMagazine.

I have attached a screen shot to help you locate the annex where the magazines are located.

I use the full version of MS Access and am not sure if it is available to a player that uses the MS Access Runtime the comes with HC.

That would be a TonyE question.

 

 

image.thumb.png.797ace5be96220aecbc8123fe7eef55a.png

 

the MS access runtime won't let yo ulook at that much detail (Mine won't anyway), but most of it you can see in the annex_mags.csv file in commondb/res folder

image.thumb.png.a4b3b7ee40d763a4321925a96a2dce16.png

  • Author
11 hours ago, donaldseadog said:

Do you have a note of what changes / additions you've made? Are there many?

Yeah, almost everything!!!

But many thanks!!!

  • Author
15 hours ago, TonyE said:

Correct, upon first export with the updated PE you may find the magazines assigned to a platform may be sorted differently than before but after that the ordering should be consistent and of course assigned to the correct platform in the game as in the PE.

Great, many thanks!!!

2024.001 posted, be extra cautious and careful, back up your files and tuck them away in case I accidentally introduced new issues.

  • Author
6 hours ago, TonyE said:

2024.001 posted, be extra cautious and careful, back up your files and tuck them away in case I accidentally introduced new issues.

Tested, both Database remading some magazine entries and tested in some small scenarios.

Apparently everything is OK again!

Eric is looking at the magazines on bases, are base magazines exporting and importing correctly for the rest of you in 2024.001?  Again, any existing corruption would remain.

6 hours ago, TonyE said:

Eric is looking at the magazines on bases, are base magazines exporting and importing correctly for the rest of you in 2024.001?  Again, any existing corruption would remain.

If the order of magazines is now correct I think bases should be good also. I did check sum type tests comparing the magazine.csv file before and after a import/export/import cycle (with no edits) and it passed while before this new PE the same test would fail.

But the test doesn't pickup correct magagazines assigned to the wrong platfroms/bases.

To me the biggest problem in correcting DB is that the errors were random, so could be anywhere. I pondered using LazGUI to run thru the DB loaded into the game and look for weapons in magazines not used by mounts of that platform, but kind of hoped people with th eproblem would nut out something else

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.