Formal Release

11/30/2010 13:41 _tao4229_#16
Quote:
Originally Posted by Kiyono View Post
Did he do something to make it not run?
No, but the encryptions are different.
That should be enough to set off your garden variety idiots for a few weeks.
11/30/2010 13:44 Kiyono#17
Quote:
Originally Posted by _tao4229_ View Post
No, but the encryptions are different.
That should be enough to set off your garden variety idiots for a few weeks.
What if someone still has the old PM client and uploads it?
11/30/2010 14:07 InfamousNoone#18
That'd work assuming they inject the old HybridDefender.dll corresponding with it. And, I'm not sure about the whole ScriptingEngine issue I just uploaded what I still had.

Edit: Oh lol, I know what the problem is nvm. I'll fix it and re-release.
Read first post; Included the fixed ScriptingEngine project.
11/30/2010 14:34 Kiyono#19
Quote:
Originally Posted by InfamousNoone View Post
That'd work assuming they inject the old HybridDefender.dll corresponding with it. And, I'm not sure about the whole ScriptingEngine issue I just uploaded what I still had.

Edit: Oh lol, I know what the problem is nvm. I'll fix it and re-release.
Read first post; Included the fixed ScriptingEngine project.
That's what I'm doing, injecting every random HybridDefender that I can find.
Problem now is:
Code:
System.IO.FileLoadException was unhandled
  Message=Could not load file or assembly 'BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
  Source=ConquerServer_v2
  FileName=BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null
  FusionLog=""
  StackTrace:
       at ConquerServer_v2.Client.BlowfishCrypter..ctor()
       at ConquerServer_v2.Client.GameClient..ctor(NetworkClient Client) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\Client\Game Client.cs:line 156
       at ConquerServer_v2.Program.Game_Connect(NetworkClient nClient) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\Game Processor.cs:line 18
       at ConquerServer_v2.NetworkServerSocket.Accept(IAsyncResult res) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\NetworkServerSocket.cs:line 157
       at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
       at System.Net.ContextAwareResult.CompleteCallback(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.ContextAwareResult.Complete(IntPtr userToken)
       at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
       at System.Net.Sockets.Socket.AcceptCallback(Object nullState)
       at System.Net.Sockets.Socket.RegisteredWaitCallback(Object state, Boolean timedOut)
       at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)
  InnerException: System.Runtime.InteropServices.COMException
       Message=The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
       ErrorCode=-2147010895
       InnerException:
Oh well.

//edit Not to be nitpicking but in CompiledScript.cs it says:
Code:
public Assembly Assembly
        {
            get
            {
                return this.asm;
            }
        }
While the server source refers to CompiledAssembly.

//edit I just found out that going to to "status.cs" while the gameserver is running causes the blowfish not found thing.
11/30/2010 16:24 pro4never#20
Quote:
Originally Posted by InfamousNoone View Post
It contains some interesting things I've picked up over the months, and I've picked up some more interesting things in the year it's been since I coded this. It also highly abuses the concepts of queues and threads :P
Yah I noticed there were TONS of queues.... Something I'm definitely guilty of in my own proxy currently lol..

Queue for item removal, queue of packets to send to client, queue of packets to send to server, queue of packets to be processed..

It's kinda become my new addiction :P


Mostly I was really really interested in your mob/ai system. After only ever having seen such HORRIBLE mob systems as those in coemu/lotf and stuff it was refreshing to see how you wrote them. SO much better.
11/30/2010 16:30 Basser#21
Wish you hadn't done this.
11/30/2010 17:14 WarpGeorge#22
I have some questions coz im not very familiar with c# sources.

is this source enough stable to start coding on it?
it's a base with atleast connection on it working?
11/30/2010 17:38 -impulse-#23
Quote:
Originally Posted by _tao4229_ View Post
No, but the encryptions are different.
That should be enough to set off your garden variety idiots for a few weeks.
Already figured everything out, I believe I was the first one to connect lol.
Quote:
Originally Posted by Kiyono View Post
That's what I'm doing, injecting every random HybridDefender that I can find.
Problem now is:
Code:
System.IO.FileLoadException was unhandled
  Message=Could not load file or assembly 'BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
  Source=ConquerServer_v2
  FileName=BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null
  FusionLog=""
  StackTrace:
       at ConquerServer_v2.Client.BlowfishCrypter..ctor()
       at ConquerServer_v2.Client.GameClient..ctor(NetworkClient Client) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\Client\Game Client.cs:line 156
       at ConquerServer_v2.Program.Game_Connect(NetworkClient nClient) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\Game Processor.cs:line 18
       at ConquerServer_v2.NetworkServerSocket.Accept(IAsyncResult res) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\NetworkServerSocket.cs:line 157
       at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
       at System.Net.ContextAwareResult.CompleteCallback(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Net.ContextAwareResult.Complete(IntPtr userToken)
       at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
       at System.Net.Sockets.Socket.AcceptCallback(Object nullState)
       at System.Net.Sockets.Socket.RegisteredWaitCallback(Object state, Boolean timedOut)
       at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)
  InnerException: System.Runtime.InteropServices.COMException
       Message=The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
       ErrorCode=-2147010895
       InnerException:
Oh well.

//edit Not to be nitpicking but in CompiledScript.cs it says:
Code:
public Assembly Assembly
        {
            get
            {
                return this.asm;
            }
        }
While the server source refers to CompiledAssembly.

//edit I just found out that going to to "status.cs" while the gameserver is running causes the blowfish not found thing.

Well, that was a problem I got across this morning. I actually implemented the blowfish and dhkeyexchange that was released within my source(part of CoEMu v2 (Andy's), using Sparkie's managedopenssl.dll). Once I did that, it didn't pass the 'initializing bla bla' because I was using a 5095 client... ah well w/e.


Quote:
Originally Posted by WarpGeorge View Post
I have some questions coz im not very familiar with c# sources.

is this source enough stable to start coding on it?
it's a base with atleast connection on it working?
It's a full source, stable and ready for people with brains to be used.
11/30/2010 17:39 Basser#24
I've got the source working here (not this release, but its the same source), if anyone needs a certain file / wants to ask me a question, go a head and PM me.

Oh. I'm only going to help people who have at least a bit of knowledge of C#.
11/30/2010 19:50 KraHen#25
And when everything seems dead, Hybrid beats the dead horse :D Lots of thanks for this though, it should be a great asset to have :)
11/30/2010 19:55 BioHazarxPaul#26
hopefully this will push some more life into the forums as it seams to have been dying down over the years..
11/30/2010 20:24 Kiyono#27
Quote:
Originally Posted by Basser View Post
I've got the source working here (not this release, but its the same source), if anyone needs a certain file / wants to ask me a question, go a head and PM me.

Oh. I'm only going to help people who have at least a bit of knowledge of C#.
Well any idea on my problem? [Only registered and activated users can see links. Click Here To Register...]
11/30/2010 20:35 ~Falcon#28
Quote:
Originally Posted by Kiyono View Post
Well any idea on my problem? [Only registered and activated users can see links. Click Here To Register...]
Random Guess here;

You need the VC2008 debug libraries (MSVCR90d) etc. These are quite hard to get hold of (you'll need the manifest's too), unless you install vc++ 2008.

It should run in release though, if you have the vc2008 redistributes.

Source: I have a few painful memories of side by side errors, and that's a common cause :D
11/30/2010 20:39 Kiyono#29
Quote:
Originally Posted by ~Falcon View Post
Random Guess here;

You need the VC2008 debug libraries (MSVCR90d) etc. These are quite hard to get hold of (you'll need the manifest's too), unless you install vc++ 2008.

It should run in release though, if you have the vc2008 redistributes.
That's possible as Hybrid used Visual Studio 2008 to create this.
//edit Doesn't work on release either.
11/30/2010 20:54 ImmuneOne#30
You're all a bunch of lady ass kissers.. Hybrid's lady ass kissers that is.