SpeedSample Errors With "...Sequenced"

4 views
Skip to first unread message

Godot

unread,
Dec 22, 2010, 1:21:44 AM12/22/10
to lidgren-network
Hello,

I downloaded the gen3 code and was playing with the SpeedSample
example.

When I run the code and select either "sequenced" option on the client
and click "Connect", it throws an exception.

It displays a messagebox from Visual C# with some long text part of
which is:
"Entering break mode failed for the following reason: Source file
'[big honking path]\NetPeer.Internal.cs' does not belong to the
project being debugged.
Usually this condition occurs... project not rebuilt... assembly out
of date... source files moved..."

If I click "OK" I get the information below in the debugger.
Am I doing something wrong?

Thanks for any help.

-- Paul


====================
Here's the message:
====================

"ReliableSequenced failed! Expected 1826 received 1827"

====================
Here's the stack trace:
====================
" at SpeedTestServer.Program.Application_Idle(Object sender,
EventArgs e) in C:\\Documents and Settings\\Paul\\Desktop\\Dev Source\
\Networking\\lidgren-network-gen3\\Samples\\LibraryTestSamples\
\SpeedSample\\SpeedServer\\Program.cs:line 81\r\n at
System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32
grfidlef)\r\n at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)\r\n at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)\r\n at
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)\r\n at
System.Windows.Forms.Application.Run(Form mainForm)\r\n at
SpeedTestServer.Program.Main() in C:\\Documents and Settings\\Paul\
\Desktop\\Dev Source\\Networking\\lidgren-network-gen3\\Samples\
\LibraryTestSamples\\SpeedSample\\SpeedServer\\Program.cs:line 38\r
\n at System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
args)\r\n at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)\r\n at
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r
\n at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
\r\n at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)\r\n at
System.Threading.ThreadHelper.ThreadStart()"

lidgren

unread,
Dec 22, 2010, 3:09:00 AM12/22/10
to lidgren-network
Your code and binaries seems mixed up. This is the forum for gen2 of
the library; are you using gen2 binaries with gen3 source?

The best thing is to just include the project in your solution and
build the library with the application.

--michael

Godot

unread,
Dec 22, 2010, 10:47:50 AM12/22/10
to lidgren-network
Sorry, I got confused which forum was which.

I will transfer this thread to the proper forum.

Just so you know, I am using the gen3 code sample that's included with
the download which has all the projects in one solution (including the
library).

-- Paul
Reply all
Reply to author
Forward
0 new messages