Jump to content

Recommended Posts

Posted

Hey all,

 

I've been trying to make a simpel client and server to put it later in my game, but I've encountered some problems:

 

After checking the Wiki how and what, it said I had to use WaitNetwork, which isn't (according to MVS) an identifier.

So what should be correct identifier for WaitNetwork in C?

 

Also I've been looking at CreateHost, which unfortunately is in Lua. Is it possible to get this in C?

 

Thanks for helping :)

 

- Evayr

Using Leadwerks Professional Edition (Beta), mainly using C++.

Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz

Previously known as Evayr.

Posted

Thanks for the quick reply :)

 

After looking I saw the "TEvent *cevent", as here below.

inline int WaitNetEvent(THost host,    TEvent *cevent    , int timeout)

{

return leWaitNetEvent(host, cevent, timeout);

}

 

What does cevent do?

 

At last, I've heard of RakNet before, is there a diffrence in speed between RakNet and the Leadwerks functions?

 

Thanks for answering :)

Using Leadwerks Professional Edition (Beta), mainly using C++.

Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz

Previously known as Evayr.

Posted

I think it is the network event occurred, however I haven't tried the LE network functions but I tried Raknet and it is really easy to handle network with it so I suggest you that, expecially if you have to create a MMO with permanent world.

?? FRANCESCO CROCETTI ??

http://skaredcreations.com

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...