Deleting all player history

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
Icetiger2011
Learning to skate
Posts: 4
Joined: Mon Jun 13, 2011 9:42 am

Deleting all player history

Post by Icetiger2011 »

Is there an easy way to delete all player´s history in my database ? Or do I have to do it for every player with the editor ?
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Deleting all player history

Post by archibalduk »

Yes, you can delete everything all in one go:

1) Go to your database folder and delete the staff_history.dat file.
2) Create a new blank txt file in your database folder and rename it staff_history.dat.
3) Download the Index Updater here: http://www.ehmtheblueline.com/forums/vi ... =88&t=8689
4) Place the Index Updater exe file in your database folder.
5) Double-click on the Index Updater exe file (right-click on the exe file and select the "Run as Admin" setting if you are using Windows Vista or 7).

This will remove all player histories and should work. However, double-check that you can create a new game okay once you have done this. I think I have tested this method before but cannot remember for sure.
Icetiger29
Junior League
Posts: 13
Joined: Thu Aug 28, 2008 10:16 am
Location: Germany

Re: Deleting all player history

Post by Icetiger29 »

Ok, thanks. I willt try that.
Post Reply