Jump to content


Photo

UNITREF.DAT check experience counters while running?


  • Please log in to reply
1 reply to this topic

#1 darkrayden

darkrayden

    Rookie

  • Forum Members
  • Pip
  • 0 posts

Posted 25 February 2011 - 08:21 AM

Hi,

I'd like to do a small program to see whether experience counts have already been maximized for the soldiers being in battle.
Unfortunately it seems the file will only be created and all further things are only present in the RAM.
Can anyone confirm?

Does anyone maybe know a possibility?

Thanks in advance.

Bye for now

Tobias

#2 NKF

NKF

    Commander

  • [Global Moderators]
  • PipPipPipPipPipPip
  • 4,798 posts

Posted 27 February 2011 - 04:44 PM

The unitref.dat files are only created when the map is generated in the Misdat folder and when you save the game.

To get the data during run-time, you might have to build something like Seb76's loader that works on top of the game ands works on the data in RAM.

Or perhaps just save the game whenever you want to check the experience data and alt-tab out to a separate program that reads and shows this data. It's not something that works at run-time, but I guess it's the next best thing.

- NKF

Edited by NKF, 27 February 2011 - 04:47 PM.

Lord High Generalissimo Ruler Supreme of Norm's Anti Pedant Society (NAPS).

Number of members: 1