About Store Forum Documentation Contact



Post Reply 
Esenthel Physics on Server
Author Message
RoH_James Proctor Offline
Member

Post: #1
Esenthel Physics on Server
Back last spring I was working with a team making a MMO and we gave Esenthel a try. We bought a license and we got a hold of the MMO Example. In it the Server uses parts of Esenthel to make the game work or that was my understanding... We never got too far before we moved on to try another engine.

Now I'm back on my own and I'm using the free license until I get paid so I can upgrade. I was wondering if it's possible to use Esenthel on the server with out rendering any graphics so that the Server can know about the world and the Physics can be run on the server as well as on the client? I will be using RakNet for the networking because I am MUCH more familiar with it then with Esenthel's Networking.
04-26-2012 07:13 PM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #2
RE: Esenthel Physics on Server
Currently I am considering the same issues. I am also more familiarized with Raknet, but I don't want to pay another license...

Here's how I'm using esenthel WITHOUT rendering(directx), only console:

stdafx.h

Code:
#define NOMINMAX
#include <windows.h>
#include <stdio.h>
#include <EsenthelEngine/EsenthelEngine.h>

Main.cpp

Code:
#include "stdafx.h"
#include "Server.h"

void InitPre()
{
    AllocConsole(); freopen("CONIN$","rb",stdin); freopen("CONOUT$","wb",stdout); freopen("CONOUT$","wb",stderr);
    
    App.flag=APP_EXIT_IMMEDIATELY;

    server.Init();

    while(server.Update()){};

    server.Shutdown();
}
/******************************************************************************/
Bool Init(){return false;}
/******************************************************************************/
void Shut(){}
/******************************************************************************/
Bool Update(){return false;}
/******************************************************************************/
void Draw(){}

Under linker->System, Subsystem must be /SUBSYSTEM:WINDOWS or Esenthel will not be initialized.

For Raknet you have a good base projects here (last reply for download):

http://www.esenthel.com/community/showth...ght=raknet

About the physics on the server, someone can help? I'm very interested too

IRC: irc.freenode.net
Channel: #Esenthel
04-27-2012 02:01 AM
Find all posts by this user Quote this message in a reply
RoH_James Proctor Offline
Member

Post: #3
RE: Esenthel Physics on Server
RakNet is free as long as you make under a certain amount of money per year (Something like $100,000 or something like that) or at least that's the way it's always been in the past.
04-27-2012 02:18 AM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #4
RE: Esenthel Physics on Server
Right, after $100k paid license is required.

http://www.jenkinssoftware.com/pricing.html

IRC: irc.freenode.net
Channel: #Esenthel
04-27-2012 02:40 AM
Find all posts by this user Quote this message in a reply
Post Reply