Jump to content
  • Advertisement

rjhwinner03

Member
  • Content count

    76
  • Joined

  • Last visited

Community Reputation

-6 Poor

About rjhwinner03

  • Rank
    Member

Personal Information

  • Role
    Programmer
  • Interests
    Programming
    QA

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have almost completed a single player RTS game and a multiplayer FPS game. And I have worked on around 40+ different projects. This project is just me trying to expand my RTS project to multiplayer, which I am currently incapable of doing.
  2. I do know how to use C++, I am just used to the Visual Studio 2003 compiler. I just want to know how I can do this so I can just keep developing.
  3. So is my driver bad? Also, what are the free non GNU GPL sources so I can use something that works while not having to give away my source code?
  4. I did and I get same errors or I get a return 1 error It says the dlls in the call stack and sometimes says Game.exe returned 1
  5. I was running it in the debugger. I got that from the call stack...
  6. I created a multiplayer RTS game with DirectX 9 and DirectPlay 8. When I start the game after both players have connected, the game crashes on both sides. I checked the call stack and got this: > nvd3dum.dll!62cd0867() Unknown [Frames below may be incorrect and/or missing, no symbols loaded for nvd3dum.dll] nvd3dum.dll!62db38b1() Unknown nvd3dum.dll!62d36092() Unknown ntdll.dll!77c4fa78() Unknown ntdll.dll!77c292ac() Unknown ntdll.dll!77c28cca() Unknown ntdll.dll!77c287d5() Unknown ntdll.dll!77c275b4() Unknown ntdll.dll!77c1f6aa() Unknown KernelBase.dll!751fba7d() Unknown nvd3dum.dll!62d4f327() Unknown nvd3dum.dll!62fd9948() Unknown kernel32.dll!74ea8484() Unknown ntdll.dll!77c42fea() Unknown ntdll.dll!77c42fba() Unknown Feel free to ask me any questions you might have if they will help me in fixing this issue! Thanks!
  7. The game crashes now when I start the multiplayer game, though. This is the second problem I run into. The call stack gives me this: > nvd3dum.dll!62cd0867() Unknown [Frames below may be incorrect and/or missing, no symbols loaded for nvd3dum.dll] nvd3dum.dll!62db38b1() Unknown nvd3dum.dll!62d36092() Unknown ntdll.dll!77c4fa78() Unknown ntdll.dll!77c292ac() Unknown ntdll.dll!77c28cca() Unknown ntdll.dll!77c287d5() Unknown ntdll.dll!77c275b4() Unknown ntdll.dll!77c1f6aa() Unknown KernelBase.dll!751fba7d() Unknown nvd3dum.dll!62d4f327() Unknown nvd3dum.dll!62fd9948() Unknown kernel32.dll!74ea8484() Unknown ntdll.dll!77c42fea() Unknown ntdll.dll!77c42fba() Unknown
  8. The player id is not an integer... it is a DPNID, which is a DWORD defined in DirectPlay source code (dplay8.h to be exact)
  9. 1. Vectors cannot erase individual values anymore, and only can get rid of stupid iterators. 2. Delete deallocates the memory from the class, that was the closest thing that I thought would work, and it did, for a while... 3. It would probably get rid of some of the memory that was kept inside of the class, but some of it would stay. When I revised the program, I got rid of the vector line all together from both chunks of code. I have been using Visual Studio 2003 on a Windows XP machine with a Nvidia graphics card, and when I moved to Windows 10, I was unable to use my game programs anymore, and was also blocked from using Visual Studio 2003. Yes, I had newer computers than the XP, but that was the one that supported all of the applications that I was comfortable with using.
  10. Update- I now have crashes whenever I try to connect my clients. I get the error Debug Assertion Failed. File: f:\dd\vctools\crt\crtw32\misc\dbgdel.cpp Line 52 Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) Is there any way that I could make my original VS 2003 project work in Windows 10 without crashes?? If there is, can someone please tell me? When I try to install VS 2003 on Windows 10, I get an error that states that some of the net framework things are missing... When I did it on a Windows XP, Vista, or 7 machine, it worked perfectly.
  11. I just used delete playerToErase; and delete player; The clients now connect and the game starts, but while the game itself is loading, it crashes and when I debugged the application, I got the error > d3dx9d_30.dll!0105575d() Unknown [Frames below may be incorrect and/or missing, no symbols loaded for d3dx9d_30.dll] d3dx9d_30.dll!010558f3() Unknown d3dx9d_30.dll!0105c6df() Unknown d3dx9d_30.dll!0105805c() Unknown EmpireWarsMultiplayer.exe!00af6b41() Unknown EmpireWarsMultiplayer.exe!00abb4c8() Unknown EmpireWarsMultiplayer.exe!00b071ae() Unknown EmpireWarsMultiplayer.exe!00ae1341() Unknown dpnet.dll!7268ecd6() Unknown dpnet.dll!726823d6() Unknown dpnet.dll!72686630() Unknown dpnet.dll!72696e16() Unknown dpnet.dll!726965ca() Unknown ntdll.dll!77c4a25c() Unknown mswsock.dll!73a72f72() Unknown dpnet.dll!726ada4a() Unknown dpnet.dll!726a6a05() Unknown dpnet.dll!726a6841() Unknown dpnet.dll!7269c5c5() Unknown dpnet.dll!7269c3c7() Unknown kernel32.dll!74ea8484() Unknown ntdll.dll!77c42fea() Unknown ntdll.dll!77c42fba() Unknown This is from the call stack by the way... In advance, thanks to those who will respond and those who have responded to my questions. It means a lot!
  12. I just need to know how to fix it. All of my plans have given me crashes... std::vector<DP_PLAYER> players; Declaration of Players. The rest is on the earlier pages. issue 1 case DPN_MSGID_DESTROY_PLAYER: //Player has left the game { PDPNMSG_DESTROY_PLAYER msg = (PDPNMSG_DESTROY_PLAYER)pMessage; DP_PLAYER *player = network.FindPlayer(msg->dpnidPlayer); if (player != NULL) { MSG_PLAYER play(*player, 1); network.Send(&play, true); network.players.erase(player); } break; } else if (playerMessage->operation == 1) //Remove Player { DP_PLAYER *playerToErase = network.FindPlayer(playerMessage->player.id); network.players.clear( playerToErase); }
  13. On the erase line I have to erase a single variable to delete the player from the multiplayer server.
  14. case DPN_MSGID_DESTROY_PLAYER: //Player has left the game { PDPNMSG_DESTROY_PLAYER msg = (PDPNMSG_DESTROY_PLAYER)pMessage; DP_PLAYER *player = network.FindPlayer(msg->dpnidPlayer); if (player != NULL) { MSG_PLAYER play(*player, 1); network.Send(&play, true); std::vector<DP_PLAYER *> pTE; pTE.push_back(player); std::vector<DP_PLAYER *>::iterator pTV = pTE.begin(); network.players.clear( player); } break; } I now get a vector iterator error. It worked in VS 2003, but since VS 2005, I get an Iterator Error
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!