|
07/30/10 RakNet 4.0 beta 4 released.
|
| Pages: [1] 2 3 ... 10 |
|
1
on: Today at 03:25:50 PM
|
||
| Started by Doft - Last post by Doft | ||
|
About 5-6 weeks. Of course it wasn't "all-day-coding" weeks, and most of the time was spent learning/struggling with multiplayer mode. But once I got the hang of it it was really fun, and the tutorials helped A LOT.
|
||
|
2
on: Today at 01:42:20 PM
|
||
| Started by BrandonM - Last post by BrandonM | ||
|
I hadn't tried using RakNet in C++ in about 2 years, which is why I couldn't remember if it worked for me before or not, or if I had to do something special. However, everything is working properly now, although I couldn't tell you what I changed to fix it. I think it was a router issue, as my networking code hasn't changed (other than changing the server ip from 127.0.0.1 to my domain name)
Thanks, Brandon |
||
|
3
on: Today at 11:04:21 AM
|
||
| Started by BrandonM - Last post by Rak'kar | ||
|
Are you saying that it works when you use C++, but not C#?
|
||
|
4
on: Today at 11:03:35 AM
|
||
| Started by kegoru - Last post by Rak'kar | ||
|
5
on: Today at 06:35:12 AM
|
||
| Started by Andrei_KC - Last post by Andrei_KC | ||
|
Solved it. The RakNet Swig Project has _DEBUG preprocessor on Release Configuration! Removing that resolved the crashing on my release build.
-Edit- Thank you very much Tyler! |
||
|
6
on: Today at 05:05:42 AM
|
||
| Started by Andrei_KC - Last post by Andrei_KC | ||
|
I see one difference you just mentioned, x64 version of visual studio (I thought you were talking about the windows version earlier when you said "do you think it has to do with the fact I'm using x64 version?" as the VS description did not say it was the x64 version). Mine is x86. I would think setting an x86 target should take care of everything but sometimes visual studio has it's quirks. Yes my 64bit VS2008 is in Program Files not the Program Files (x86).So the path to your visual studio executable does not contain Program Files (x86) just to make sure right? The C# project is set to x86 as well right? Make sure all targets are x86. I just realized how to explicitly do this in C# project settings and it did the trick for the Debug build. I've set the target to x86 for all configurations. However release fails. Same PINVOKE problem. I recompiled release RakNet dll using Multi-threaded Debug DLL (I know it shouldn't be) but it suddenly worked that way. I know for a release build that is wrong option to have so I'm wondering now what's wrong for the relase build this time. |
||
|
7
on: Today at 04:49:44 AM
|
||
| Started by kegoru - Last post by kegoru | ||
|
That code compiles fine for me. Are you using RakNet 4.x? Oh My God! It works!!!Thanks a lot! :-) I've just tryied 4.x The thing is I spended 3 days on that. First I tryied to run 4.x betta 5. But everything was in vain that's why I tried 3.x (last version). And I don't know why But there were less error massages with 3.x that's why I tryied it. There's one more thing. When I'm trying to build my project I have a massage: 1> PacketOutputWindowLogger.cpp 1>d:\raknet4\source\packetoutputwindowlogger.cpp(23): error C2664: 'OutputDebugStringW' : cannot convert parameter 1 from 'const char *' to 'LPCWSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast If I go to PacketOutputWindowLogger.cpp and comments only one string // OutputDebugString(str2.C_String()); then my simple program works well: Is it ok? |
||
|
8
on: September 08, 2010, 10:19:23 PM
|
||
| Started by Andrei_KC - Last post by Tyler | ||
|
The C# project is set to x86 as well right? Make sure all targets are x86.
You could try installing http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en to see if it helps. I see one difference you just mentioned, x64 version of visual studio (I thought you were talking about the windows version earlier when you said "do you think it has to do with the fact I'm using x64 version?" as the VS description did not say it was the x64 version). Mine is x86. I would think setting an x86 target should take care of everything but sometimes visual studio has it's quirks. So the path to your visual studio executable does not contain Program Files (x86) just to make sure right? |
||
|
9
on: September 08, 2010, 07:58:13 PM
|
||
| Started by BrandonM - Last post by BrandonM | ||
|
Hello,
I'm having a problem with the C# verison of RakNet. I have a client/server system and everything works great on the internal network - either across machine or on the same machine if it's running both the client and server. I'm using port 60001 like the examples and I have that port forwarded on my router to the computer running the server. However, when I try to connect using my external ip, nothing happens. I've tried starting the server with various system addresses - the internal ip (192.168.x.x), as "0", and as the external ip (99.2.x.x). Nothing seems to work. I'm pretty sure when I was using it in C++ i simply port forwarded the right port. I've tried changing to different ports as well. Is that all I should have to do? (Port forward?) Thanks, Brandon |
||
|
10
on: September 08, 2010, 05:53:13 PM
|
||
| Started by Doft - Last post by Rak'kar | ||
|
How long did it take you to make?
|
||
| Pages: [1] 2 3 ... 10 |