Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - timo777

Pages: 1 2 [3]
31
General / Re: Run-Time Check Failure #2
« on: December 22, 2012, 08:22:37 pm »
I use the default MS Visual Studio 2012 compiler. And I don't know what exact version of SFML 2.0 I am using but I also tried the latest nightly build now.

Edit: I will just try to not use the sf::Shape class and hopefully there wouldn't go anything else wrong... :)

32
General / Re: Visual Studio 2012 and SFML 2.0
« on: December 22, 2012, 05:03:00 pm »
I am new to the windows platform. My quick question is, how do you install the SFML for the VS2012 running on windows 8?
The same way as it's explained in the official tutorials for Visual Studio.

Also note that you'll have to build SFML on your own with VS 2012 (or use my nightly builds). ;)

Thank you for your nice nightly builds. :)

33
General / Re: Run-Time Check Failure #2
« on: December 22, 2012, 02:05:32 pm »
The point is I get this error when the window closes and I didn't mix up release and debug libraries. I will proberly compile SFML but it shouldn't be needed. I know I had it working some time ago on the same computer and things.

And I tought Google would display all posts... :)

34
General / Re: Run-Time Check Failure #2
« on: December 22, 2012, 01:47:09 pm »
Sorry, but I am new here.

I have an AMD Radeon graphics card, I don't know the exact number. I am using the static version of SFML. If the line of code given is not enough, look at the tutorial code. I only changed the constructor call of that line, not more. This is the call stack:

   Client.exe!main() Line 24   C++                                                             //Line 24 is end of main() function.
    Client.exe!__tmainCRTStartup() Line 536   C
    Client.exe!mainCRTStartup() Line 377   C
    kernel32.dll!749833aa()   Unknown
    [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]   
    ntdll.dll!77249ef2()   Unknown
    ntdll.dll!77249ec5()   Unknown

I am using the normal 2.0 RC version of SFML.

35
General / Run-Time Check Failure #2
« on: December 22, 2012, 12:38:07 pm »
I am using Windows 64 bit and SFML 2.0. Now, if I close the window on the normal way, i get the following error:

Run-Time Check Failure #2 - Stack around the variable 'window' was corrupted.

And randomly sometimes not that one but:

Run-Time Check Failure #2 - Stack around the variable 'shape' was corrupted.

I am trying to compile just the standard 'setting up' tutorial code so this shouldn't be a problem. I don't think I have used any release things. After commenting a bit the error doesn't appear without:

sf::CircleShape shape;

Does anyone know the answer?

Edit: so the error occurs at the end of the main() function but is somehow caused by that single line...

36
Network / Re: [SFML 2]Networking game
« on: December 18, 2012, 08:59:09 pm »
Thank you, so the best thing is to just start and look if it works? :)


37
Network / [SFML 2]Networking game
« on: December 18, 2012, 03:53:42 pm »
Hello,

This is not really a SFML specific question but I am curious what's the best way to program a multiplayer game structured? If you have a good OOP-based engine, how would you make it sync between server and client. Would you make dummy classes for everything except the player and let the server do all the calculations or not?

And where to use threads? For both server and client, or only the server?

A lot of questions... but last one: are there any good multiplayer tutorials out there (not too advanced)?

Thank for help, even if you can answer one question. :)

Pages: 1 2 [3]