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

Pages: [1] 2 3 ... 6
1
Network / Info to make a small OO game server
« on: July 08, 2012, 03:48:18 pm »
Hi, I'm just made half of a turns based game with SFML with server on local linux standard computer.
Now I want to understand how can I put server part on internet server to play with others players.
I can't found info about how to put my small game server on internet server.
<<How I have to develop server software so it can run on internet server.>>
Where can I find informations and small example?

If you know.. I finding also some example schema to organize well my game objects (software) between "pure logical" part for server and "logic+graph" part for client. How to organize basic objects and client object with graph. (Obj Inheritance)

Thanks -Fixus

2
Network / How to dev an online server for a simple game
« on: May 01, 2011, 02:02:47 am »
Thanks for your reply.
My experience in online gaming is 0.001 but I have some hope.
For now thanks.

3
Network / How to dev an online server for a simple game
« on: April 23, 2011, 02:37:48 pm »
I'm finding info about how to develop the online part of server for a simple 4players 2D  strategic game.

I find for hours but drop all times on sites and tread for a big games.

I just done 1/2game with client and server on my local net but
now I want to understand if is possible to put the server side of game on an online shared server.

I want to know if I can use SFML libs on a game server. And Graph-Lib?

This is a strategic game with a very small use of TCP pakets but I think that here we have a bad ADSL line to do that in home.

Where can I found info about small online server for my small game?

Thanks for any suggestions. -Fixus

4
SFML wiki / GatorQue GQE APP Example
« on: April 17, 2011, 07:34:23 pm »
He, I know SFML and do my Library with it but now I see GQE.
I like GQE project, I study it and I compiled it under Linux but..
Demo Example of GQE is like NULL.
I don't figure out how to use it in correct way.
I need a small but real example.
How can I construct my game?
I have to inherit App or add States and How.
I'm know OOP but I'm not an expert.
Many Thanks to GatorQue or good man of SFML for help.  -Fixus

5
I posted my first project using this libs:

Trasporter: Object Oriented project of a double conveyer AI

http://www.sfml-dev.org/forum/viewtopic.php?t=4058&start=0&postdays=0&postorder=asc&highlight=

Because was developed at birth of this libs it uses few functions/classes
but it is still compatible after 2 years.

One nice class of Flibs offer to this application
a convenient sprite trail effect to debug movements.

6
Hi. I just make my first review of my first project using: C++, OOP, SFML + Flibs

Trasporter screenshot thumbnail:

Trasporter screenshot: http://dl.dropbox.com/u/5385637/Dev/Trasporter%20screenshot.png

Trasporter Video: http://dl.dropbox.com/u/5385637/Dev/Trasporter.mpg

Trasporter classes chart:

Trasporter is a Object Oriented project of a double conveyer simulation with a double view for comparison.

Here I used Sprites with some effect to have many color from one image and to get a trail of movements to debug movements.
I used some simple graph function of SFML to trace scheduled moves.

Every conveyer have an integrated AI with:
2 automatic modes with different chassis precedence
1 convenient semi automatic mode
1 totally free manual mode for test porpoise
* anti Crash system that look around others conveyer moves intention also if other conveyer is in manual mode.

Plant is reconfigurable as hardware and setup.

Next I used View to separate screen and simulate 2 different plants.

This project was converted and now really work into a Simatic S7 PLC.

7
Yes, u r right! I'm working to clearing and fill English comments but I can't found time and capacity to do all.
but.. my libraries code isn't bad I think, I hope.
I'm  working to port here 1 semi complete project that use this libs and a video to see results.. thanks to SFML ^_^

retry to post libs link:
http://dl.dropbox.com/u/5385637/Flibs%2020110127%20Fixus%20SFML%20Libs%20Sys%20Res%20Video%20Gui%20NetServer%20NetClient.zip

8
Flibs 20110127 Fixus x SFML1.6 Libs: Sys Res Video Gui NetServer NetClient

http://dl.dropbox.com/u/5385637/Flibs%2020110127%20Fixus%20SFML%20Libs%20Sys%20Res%20Video%20Gui%20NetServer%20NetClient.zip

PS: my GUI library is a Helping interface versus CEGUI GUI.

Isn't professional version but is OOP and run well without problems.
I made this libs in 2 years working on 3 my projects..
Next I can take you my programs based on that libs.

Unfortunately I don't have time to complete all libs so
I want starting to share all that with SFML community that I love.
 
I want continue to grow this libs remaining at a simple level of integration for final programs.

Actually I have started a collaboration with GatorQue that made great Game Engine

Now I need your impression about this project..
 and if you like.. a support to publish well in wiki.

Have a great year, -Fixus971

9
General discussions / GQE on Linux (Ubuntu) NetBeans G++
« on: January 26, 2011, 01:28:44 am »
Hi. I converted and run GQE on Linux with NetBeans/G++
char updates[20];     -->  std::ostringstream updates;
_snprintf_s(updates.. -->  updates << "UPS: " << std::fixed ..

in IState.hpp:
Code: [Select]

    /**
     * Update is responsible for handling all State update needs for this
     * State when it is the active State.
     */
    virtual void Update(void) {
      //char updates[20];
 std::ostringstream updates;
 
      // Check our App pointer
      assert(NULL != mApp && "IState::Update() bad app pointer");
 
      // Increment our update counter
      mUpdates++;
      if(mUpdateClock.GetElapsedTime() > 1.0f)
      {
        // Update our UPS string to be displayed
        //_snprintf_s(updates, 20, 20, "UPS: %4.2f", (float)mUpdates / mUpdateClock.GetElapsedTime());
        updates << "UPS: " << std::fixed << std::setprecision(2) << std::setw(7)
<< (float)mUpdates / mUpdateClock.GetElapsedTime();
        mUPS.SetText(updates.str());
 
        // Reset our Update clock and update counter
        mUpdates = 0;
        mUpdateClock.Reset();
      }
    };
 
    /**
     * Draw is responsible for handling all Drawing needs for this State
     * when it is the Active State.
     */
    virtual void Draw(void) {
      //char frames[20];
   std::ostringstream frames;

      // Check our mApp pointer
      assert(NULL != mApp && "IState::Draw() invalid app pointer provided");
 
 
      // Increment our frame counter
      mFrames++;
      if(mFrameClock.GetElapsedTime() > 1.0f)
      {
        // Get our FramesPerSecond value
        //_snprintf_s(frames, 20, 20, "FPS: %4.2f", (float)mFrames / mFrameClock.GetElapsedTime());
        //mFPS.SetString(frames);
        frames << "FPS: " << std::fixed << std::setprecision(2) << std::setw(7)
<< (float)mFrames / mFrameClock.GetElapsedTime();
        mFPS.SetText(frames.str());
 
        // Reset our Frames clock and frame counter
        mFrames = 0;
        mFrameClock.Reset();
      }
 
      // Draw the Frames Per Second debug value on the screen
      mApp->mWindow.Draw(mFPS);
 
      // Draw the Updates Per Second debug value on the screen
      mApp->mWindow.Draw(mUPS);
    };

10
General / How to compile SFML 1.5 on Linux Ubuntu: packages
« on: June 23, 2009, 12:00:16 pm »
Hi, Hiura. I'm sorry but I know "source.list" and I don't touch that file on this distro and I have same result on a semi-fresh installation too.

11
General / How to compile SFML 1.5 on Linux Ubuntu: packages
« on: June 22, 2009, 11:15:25 am »
Code: [Select]
fixus@fixus-LM7 ~ $ sudo LANG="C" apt-get build-dep libsfml
[sudo] password for fixus:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: You must put some 'source' URIs in your sources.list

This is from other PC with same configuration - same result

12
General / How to compile SFML 1.5 on Linux Ubuntu: packages
« on: June 21, 2009, 11:52:37 am »
On my Linux Mint Gloria I tried "apt-get build-dep libsfml"
but don't understand it's results
PS: Now I have all working in my project but always get:

Code: [Select]
fixus@fixus-lm7 ~ $ sudo apt-get build-dep libsfml
[sudo] password for fixus:
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso      
Lettura informazioni sullo stato... Fatto        
E: Bisogna inserire alcuni URI di tipo 'source' in sources.list

13
General / How to compile SFML 1.5 on Linux Ubuntu: packages
« on: June 21, 2009, 11:46:22 am »
Hi I'm completed my complete setup instructions to:
 compile and use SFML & CEGUI with Netbeans in Italian Language:

http://www.fixweb.it/info/come-compilare-sfml-cegui-netbeans

If someone wants to convert in English I can help but now is too work for me and text is just very simple to understand locking codes

14
General / How to compile SFML 1.5 on Linux Ubuntu: packages
« on: June 19, 2009, 02:50:43 am »
I'm compiled SFML v1.5 on a fresh Linux Mint(Ubuntu)
finding needed: libraries, packages, include files .h, lib files.so
using this Ubuntu web tool: http://packages.ubuntu.com/  ("Search the contents of packages")

I spent 2 hours to do this starting from SFML compile errors so now I write here my work result for all others and Ask if someone found some alternative mode to setup all.

build-essential
mesa-common-dev
libxrandr-dev
libgl1-mesa-dev
libglu1-mesa-dev
libfreetype6-dev
libopenal-dev
libsndfile1-dev

To compile simly go in SFML dir and type "make"

15
General / MS VisualStrudio9 C++ SFML: How to port exe on others PC?
« on: October 15, 2008, 01:27:40 pm »
Is equal. I tried Release version without D etc.etc. but get very similar result.
I get more fortune with mini application(console) explained in my forum post but crash when I insert into it code instruction to activate a window.
Now I have 0.1h/day to work on in workdays.

Pages: [1] 2 3 ... 6