Front Office Football Central

Front Office Football Central (https://forums.operationsports.com/fofc//index.php)
-   FOFC Archive (https://forums.operationsports.com/fofc//forumdisplay.php?f=27)
-   -   testing player file editor (https://forums.operationsports.com/fofc//showthread.php?t=16777)

lighthousekeeper 11-16-2003 02:03 AM

testing player file editor
 
could someone help test out this fof2004 player file editor? it's a small application i wrote to modify the players.fdt file. it works on my machine, but i'm not sure if the deployment file is correct.

you'll probably need .net framework installed on your machine for the app to work.

USE THIS AT YOUR OWN RISK! PLEASE BACKUP YOUR PLAYER.FDT FILE PRIOR TO USE.

FOF2004 Player Editor

lighthousekeeper 11-16-2003 02:07 AM

Here's a screenshot of how it should look:


3ric 11-16-2003 02:09 AM

Nice! I couldn't get the installer to start when clicking the link though. The error message says the package couldn't be opened.

lighthousekeeper 11-16-2003 02:15 AM

Maybe try right-mouse clicking on the link and choosing "save target as" ?

3ric 11-16-2003 02:19 AM

That worked, thanks.

3ric 11-16-2003 02:21 AM

I'm getting crashes when trying to read a file:

Quote:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at Microsoft.VisualBasic.FileSystem.FileGet(Int32 FileNumber, Int16& Value, Int64 RecordNumber)
at FOF2004Editor.Form1.Button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
FOF2004Editor
Assembly Version: 1.0.1415.5693
Win32 Version: 1.0.1415.5693
CodeBase: file:///C:/Documents%20and%20Settings/All%20Users/Start-meny/Program/FOF2004Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.3300.0
Win32 Version: 7.00.9502
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.3300.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Data
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.288
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

lighthousekeeper 11-16-2003 02:25 AM

Do you have .NET framework 1.0 installed?

http://msdn.microsoft.com/netframewo...0/default.aspx

3ric 11-16-2003 02:27 AM

It must have been some error in that file, I've now been able to open three other files without any problems.

One thing:
the path to the default player.fdt file isn't valid on my computer, I have "C:\Program\Solecismic Software\Front Office Football 2004\" instead, and this caused a crash when I clicked "Read file" with the wrong file path.

yabanci 11-16-2003 02:28 AM

that looks great! I can't wait to use it. Thanks,

3ric 11-16-2003 02:28 AM

Quote:

Originally posted by lighthousekeeper
Do you have .NET framework 1.0 installed?

http://msdn.microsoft.com/netframewo...0/default.aspx



Yes, I have - with the default file (and primelord's) it's working.

lighthousekeeper 11-16-2003 02:29 AM

So are you able to edit players and add new players and then save those changes?

3ric 11-16-2003 02:39 AM

Yes on all counts.

Some more suggestions - the player id must be unique - could you have that to be automatically generated and not editable?

When saving - can you get a dialog that lets you choose a new name to save it with?

Ben E Lou 11-16-2003 04:15 AM

As with all mods, tell me when this is ready for public consumption, so we can link to it on the main thread.


All times are GMT -5. The time now is 07:42 PM.

Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.