Re: rec0's Devicator Server App for Halo CE 1.08
Quote:
Originally Posted by
Freelancer
"PInvokeStackImbalance was detected
Message: A call to PInvoke function 'DevicatorServer!Api::SendMessage' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature."
Api.cs:
Code:
[DllImport("user32.dll")]
public static extern int SendMessage(IntPtr _WindowHandler, int _cmd);
[DllImport("user32.dll")]
public static extern int SendMessage(IntPtr _WindowHandler, int _WM_USER, Keys _data);
[DllImport("user32.dll")]
public static extern int SendMessage(IntPtr _WindowHandler, int _WM_USER, char key, IntPtr wParam);
According to msdn http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
SendMessage has 4 parameters. So unless C# uses default parameters, only the last function header is correct.
So try changing all calls to it, to include a 4th parameter
Cmd.cs: line 37 Api.SendMessage(this.hProcess.MainWindowHandle, 0x100, Keys.Enter); ->
Api.SendMessage(this.hProcess.MainWindowHandle, 0x100, Keys.Enter, null);
Re: rec0's Devicator Server App for Halo CE 1.08
NEED HELP!
I run rec0's app on version 1.00, i am not sure if it possible
but my problem is - after some time haloceded_extended stop working, but serever still ok
Microsoft Studio has given the following report:
A buffer overrun has occurred in haloceded_extended.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program.
For more details please see Help topic 'How to debug Buffer Overrun Issues'.
i am running home server, without string that include gameserver folder
do i need to run string from gameserver folder..i just dont understand why do i need another string in gameserver folder;D
sorry for stupid questions..i am bad with all this stuff:P
Thanks:)
Re: rec0's Devicator Server App for Halo CE 1.08
You don't need the Strings.dll from the gameservers folder, that is only for gameservers.com hosted servers.
Rec0's app doesn't work with the 1.00 executable though, sorry.
Re: rec0's Devicator Server App for Halo CE 1.08
bad for me:S
maybe u can advice me good haloceded with app commands supported for version 1.00:P
Thanks:)
Re: rec0's Devicator Server App for Halo CE 1.08
I found it by myself, no help need;)
Re: rec0's Devicator Server App for Halo CE 1.08
Why does my haloceded_extended keep crashing? D:
Re: rec0's Devicator Server App for Halo CE 1.08
dude, no offense but this app became obsolete when 1.07 was updated and it has be unstable every sense. I would recommend using either geomitar's servertool, SAPP, phasor (scripting), or any other servertools i have not listed.
Re: rec0's Devicator Server App for Halo CE 1.08
Well, so you mean it was meant for 1.00?
Re: rec0's Devicator Server App for Halo CE 1.08
no i mean it was built for 1.07...?