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 - hacky

Pages: [1] 2
1
General discussions / Benchmark : SDL vs SFML
« on: January 16, 2010, 08:37:36 pm »
Quote
SFML is faster than SDL, so this benchmark proves that. I don't care about software or hardware. It's just SFML > SDL. No more.

this.

2
SFML projects / Simple Chess
« on: November 09, 2009, 03:23:17 pm »
hey, i added a mirror
its only bin

3
SFML projects / Simple Chess
« on: October 25, 2009, 08:18:35 pm »
i did another update.

4
Network / beginner questions =/
« on: October 23, 2009, 12:33:59 pm »
Quote from: "Tank"
Instead of a separate thread you can also set your socket to non-blocking and check for data at every loop cycle.

However using a separate thread has some benefits. So if you're not scared of using one, try it. :)

im a bit scared, but i will try it

Quote from: "Hiura"
Listen Function isn't a blocking one? If so you need one thread to listen to new clients call and one to send/receive data to/from the clients.
nah, the server is working fine! i mean the client where i have to loop the game and also recieve data from server

5
Network / beginner questions =/
« on: October 22, 2009, 10:59:28 pm »
hey guys
im making my first steps on network programming so please help me a bit :o

yeah i managed a server who can have more than 1 client and can recieve data via selector. is it possible with the selector to make my main ingame loops(like drawing graphics and gameplay) on the client and also recieving data from the server with the selector? or do i need threads?  :?

regards

6
Graphics / Font bugs
« on: October 21, 2009, 11:42:36 pm »
hey, i have the same problem here ;)

7
SFML projects / Simple Chess
« on: October 21, 2009, 11:37:12 pm »
i added the rochade now! =)
the graphics, except the board are not from me, but im allowed to use them!

8
SFML projects / Simple Chess
« on: October 18, 2009, 04:41:09 pm »
hey guys i wrote a simple chess program for 2 human players.
its not finish at all, but its playable!

i will maybe make a network mode.

Left click to choose a figure and right click to move =)

heres the link: http://rapidshare.com/files/297786437/chess.zip
mirror: http://dl.getdropbox.com/u/2681106/chess.zip

please write comments =)

screen:

e: Update 1: The rochade is working now!
e: Update 2: Now the lost Figures are drawn.

9
Network / ftp & renderwindow?
« on: May 20, 2009, 10:02:47 pm »
well i splitted the ftp part in an extra programm ..it works fine but thats not the best solution =/

10
Network / ftp & renderwindow?
« on: May 20, 2009, 02:30:35 pm »
still no changes =(((

11
Network / ftp & renderwindow?
« on: May 20, 2009, 12:40:02 pm »
the error still comes =/

12
Network / ftp & renderwindow?
« on: May 20, 2009, 12:34:17 pm »
codeblocks with this linker options:
-lsfml-graphics
-lsfml-window
-lsfml-system
-lsfml-network

and now i tried this..
Code: [Select]
#include <SFML/Graphics.hpp>
#include <SFML/Network.hpp>

using namespace std;
using namespace sf;

RenderWindow App;
Ftp server;


int main()
{
    return EXIT_SUCCESS;
}



adding the Ftp server also makes an runtime error here =/


13
Network / ftp & renderwindow?
« on: May 19, 2009, 08:36:38 pm »
Quote from: "Tank"
Code: [Select]
Event Event;
One of the main reasons NOT to import namespaces...


well that doesnt solve my problem

14
Network / ftp & renderwindow?
« on: May 19, 2009, 08:13:05 pm »
Code: [Select]
#include <SFML/Graphics.hpp>
#include <SFML/Network.hpp>

using namespace std;
using namespace sf;

Ftp Server;
RenderWindow App;

int main()
{
    App.Create(VideoMode(800, 600, 32), "SFML Window");
    App.SetFramerateLimit(60);

    while (App.IsOpened())
    {
        Event Event;
        while (App.GetEvent(Event))
        {
            // Window closed
            if (Event.Type == Event::Closed)
                App.Close();

            // Escape key pressed
            if ((Event.Type == Event::KeyPressed) && (Event.Key.Code == sf::Key::Escape))
                App.Close();

        }

        App.Display();


    }
    return EXIT_SUCCESS;
}


windows vista sfml 1.4

adding the "Ftp Server;" makes the runtime error but when i do it in a console application it works fine =/

15
Network / ftp & renderwindow?
« on: May 19, 2009, 07:53:16 pm »
when im using a renderwindow

RenderWindow App;

& adding

Ftp server;

i also get an runtime error =/

separately all work fine

Pages: [1] 2