Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 619 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 5 1 2 3 4 5
Re: ANet 1.5.2.0 Beta released [Re: Rackscha] #386089
10/28/11 01:52
10/28/11 01:52
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
i dont get enet_reg_ent fully; it says:
Originally Posted By: MANUAL
Through the parameter id, a unique number for identifying the entity type has to be set. This number has to be the same on all participants and must not be used twice

so if i do:

Code:
#define GRENADE 30


does that mean that i can only create one grenade at a time? or would have to use an array to manage grenade IDs and manage it myself ?

Re: ANet 1.5.2.0 Beta released [Re: darkinferno] #386112
10/28/11 17:56
10/28/11 17:56
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
no it measn that you cant do:

Code:
#define Grenade 30
#define Pistol 30



You use the same ID for 2 objecttypes.
The id is just to identoify the TYPE you want to create and NOT the created entity.

Last edited by Rackscha; 10/28/11 17:57.

MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

ANet 1.5.2.0 final release [Re: Rackscha] #386142
10/29/11 13:40
10/29/11 13:40
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline OP
Serious User
Dark_samurai  Offline OP
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
ANet 1.5.2.0 is now out of the beta phase and was finally released today!

A short overview of what have been changed since 1.4.4.0:
+ The function sock_recv() returns now also the destination port of the received data packet.
+ After every level change, enet_ent_sync() has to be called now (--> should be called in EVENT_LEVEL after the level was successfully loaded). This behavior is new since 1.5.0.0 but wasn't documented.
+ The player var and player string feature was removed. The player name feature was completly rewritten. The length of the player name is now unlimited.
+ The entity system was completly rewritten. The traffic consumption was greatly reduced which leads into much faster synchronisation. Entities now have to be registered by enet_reg_ent() like an event before they can be created. The function enet_ent_register() was removed. enet_send_flags() produces one Byte less traffic per call now. Instead of enet_ent_create(), enet_svent_create() and enet_clent_create() and instead of enet_ent_remove(), enet_svent_remove() and enet_clent_remove() have been added. enet_ent_synchronize() was renamed to enet_ent_sync().
+ Most of the overloaded functions of enet_sendto() have been removed because they have been wrong selected by the Lite-C compiler.

For updating, download the ANet Demo and follow the instructions in the readme file.

ANet Homepage: www.anet-plugin.com

Please notice, that all examples have been updated to the new version BUT not the tutorial of the 3d chat example (although the source code itself was updated). The reason is, that this tutorial will be soon replaced with a newer one.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Page 5 of 5 1 2 3 4 5

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1