2010-05-20, 08:02 AM
Hello MyBB people:
I have been working in a old forgotten online music game
and we managed to add new items to client and itemdata.dat file
In the client works awesome
But we have a big problem
adding the items to the sql database
We use a beta unfinished admin tool (sadly we don't have source code)
This one usually works awesome when i import the dat file, and somehow, it writes a table in the sql db with the item data....
the common file size of normal item db is 669kb
our improved one is 682kb...
When i choose to import our new db file i get this error
(sorry if it haves spanish, but my windows is in spanish)
We have tried everything and our skills are not so big
So we are in a dead end
Does anyone knows how to fix it?
I have been working in a old forgotten online music game
and we managed to add new items to client and itemdata.dat file
In the client works awesome
But we have a big problem
adding the items to the sql database
We use a beta unfinished admin tool (sadly we don't have source code)
This one usually works awesome when i import the dat file, and somehow, it writes a table in the sql db with the item data....
the common file size of normal item db is 669kb
our improved one is 682kb...
When i choose to import our new db file i get this error
(sorry if it haves spanish, but my windows is in spanish)
Quote:System.OutOfMemoryException: Se produjo una excepción de tipo 'System.OutOfMemoryException'.
en System.IO.BinaryReader.ReadBytes(Int32 count)
en NewO2Jam.ConstData.ClassItemFileLoad.itemDataLoad()
en NewO2Jam.ConstData.ClassItemFileLoad.getItemDataAll(ClassItemData[]& itemDataArray, Int32& nCount)
en NewO2Jam.UserControls.UserControl_ItemPatch.button_ItemFileOpen_Click(Object sender, EventArgs e)
en System.Windows.Forms.Control.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ButtonBase.WndProc(Message& m)
en System.Windows.Forms.Button.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
We have tried everything and our skills are not so big
So we are in a dead end
Does anyone knows how to fix it?