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

Pages: [1] 2
1
Network / Re: Packet with fixed size
« on: February 23, 2013, 04:43:19 am »
I have hex code of this package can I convert it to string and send it?

2
Network / Packet with fixed size
« on: February 20, 2013, 12:39:56 pm »
Hello,
I want to send "Hello World" to UDP server but with fixed size so I did:
socket.send("Hello World",256,udpServer1,port);
 
It send packet with size 256 byte but it fill empty part with random character but I need blank with in hex show I get 0000.

I use winSniff to check packets structure.

3
Window / Re: Joystick problem?
« on: February 02, 2013, 04:50:15 pm »
It is ok.
Thanks.

Do we have any option for SerialPort and USB?

4
Window / Re: Joystick problem?
« on: February 02, 2013, 06:48:10 am »
I test my code on another computer and I have the same problem.
Also I change my joysticks and it doesn't worked for me.

5
General / Re: OpenGL VBO extention unaviliable
« on: February 01, 2013, 04:36:32 pm »

This OpenGL example.

6
General / Re: OpenGL VBO extention unaviliable
« on: February 01, 2013, 04:10:54 pm »
Now I get an empty page when I run SFGUI.

7
General / Re: OpenGL VBO extention unaviliable
« on: February 01, 2013, 02:33:57 pm »
I use uninstall wizard.

8
General / Re: OpenGL VBO extention unaviliable
« on: February 01, 2013, 01:08:12 pm »
Yes, When I use SFGUI I get this error.
For example Notebook example.

9
General / Re: OpenGL VBO extention unaviliable
« on: February 01, 2013, 12:06:40 pm »
Sorry image not attached.
Driver is update and it works fine after reinstall it stop working.

[attachment deleted by admin]

10
General / OpenGL VBO extention unaviliable
« on: February 01, 2013, 10:59:26 am »
Just I reinstall codeblocks and SFML after that I get VBO extention unaviliable.
This is my code and output attached.
//Normal include
#include <iostream>

//SFML include
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>

//GUI include
#include <SFGUI/SFGUI.hpp>

//Namespace define
using namespace std;
int main() {
        // Create the main SFML window
        sf::RenderWindow app_window( sf::VideoMode( 800, 600 ), "SFGUI Notebook Example", sf::Style::Titlebar | sf::Style::Close );

        return EXIT_SUCCESS;
}

 

11
Window / Re: Joystick problem?
« on: February 01, 2013, 09:57:17 am »
Yes it is ok and I can play other games with it.

How can I switch to SFML 2.0?(Maybe work on that)
Download:Windows 32 bits - GCC SJLJ (Code::Blocks) and after that I replace files with old version but compiler can not find include files.

[attachment deleted by admin]

12
Window / Re: Joystick problem?
« on: February 01, 2013, 09:47:37 am »
Sorry for editing.
This my code:
#include <SFGUI/SFGUI.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
using namespace std;
int main() {
    sf::Joystick::update();
    for(int i=0;i<=sf::Joystick::Count;i++) {
        cout << i << ":" << sf::Joystick::isConnected(i) << ":" << sf::Joystick::getButtonCount(i) << endl;
    }
        return 0;
}
Output:
Quote
0:0:0
1:0:0
2:0:0
3:0:0
4:0:0
5:0:0
6:0:0
7:0:0
8:0:0


13
Window / Re: Joystick problem?
« on: February 01, 2013, 09:44:25 am »
I add update function but not work for me.
Where can I find my recompiled source? I can not find it.

14
Window / Re: Joystick problem?
« on: February 01, 2013, 09:38:46 am »
I want to use SFML 2.0 because I don't need to update my codes when officially SFML 2.0 released.
This my new code:
#include <SFGUI/SFGUI.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
using namespace std;
int main() {
    sf::Joystick::update();
    for(int i=0;i<=20;i++) {
        cout << i << ":" << sf::Joystick::isConnected(i) << ":" << sf::Joystick::getButtonCount(i) << endl;
    }
        return 0;
}
Output:
Quote
0:0:0
1:0:0
2:0:0
3:0:0
4:0:0
5:0:0
6:0:0
7:0:0
8:0:0
9:0:0
10:0:0
11:0:0
12:0:0
13:0:0
14:0:0
15:0:0
16:12:4752
17:4:2555942
18:83:843995743
19:87:1446469459
20:102:1986622563
I download CMake 2.8.10.2 and also source https://github.com/SFML/SFML.
After I use CMake I get this page:


[attachment deleted by admin]

15
Window / Re: Joystick problem?
« on: February 01, 2013, 09:06:38 am »
This is my test code
#include <SFGUI/SFGUI.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
using namespace std;
int main() {
    for(int i=0;i<=20;i++) {
        cout << i << ":" << sf::Joystick::isConnected(i) << ":" << sf::Joystick::getButtonCount(i) << endl;
    }
        return 0;
}
I didn't make SFML and I use  http://sfml.my-gate.net/nightly/
I download MinGW32 GCC 4.7.2 and Now it work fine for me just I have problem with JoySticks.

Pages: [1] 2