Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 662 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
ANet 1.4.0.0 public Beta #379547
08/04/11 09:08
08/04/11 09:08
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
Hello multiplayer developers,

I proudly present the new public ANet Beta (1.4.0.0). A lot of time has passend since the last update of ANet (I think it's already a year). This was due to the fact that I had nearly no free time because of another very important project. But in the last month I had enough time to finish all features I wanted to see in the new update. I also totally reworked some parts of ANet.

Here a small overview of the highlights:
* C-Script is not support anymore which leads into a much better interface
* UPnP functions for automatic portmapping (special thanks to JustSid who shared his project with me!)
* totally rewritten VoIP feature (now Peer-2-Peer based, new features like AGC, input threshold, denoiser,...)
* totally rewritten socket functions (now also tcp sockets can be created)
* now it's also possible to use different scripts for client and server WITHOUT producing additional traffic (variable names are not sent anymore in this mode)
* new internet and lan serverlist template
* ...

Please notice that you can also try this Beta without owning a full version of ANet. ANet will automatically start in Demo Mode.

For those who already worked with ANet, read the updates/changes section of the manual, please. There have been a lot of changes.

The examples and workshops of the homepage have not been updated to the new version yet.

Please download the new ANet version here: Download ANet 1.4.0.0
If you find any bugs or have wishes for changes, improvements or new features feel free to send me a message or post in this thread!

Have fun while testing! laugh


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: ANet 1.4.0.0 public Beta [Re: Dark_samurai] #379556
08/04/11 10:59
08/04/11 10:59
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Thanks! IŽll test it now laugh


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: ANet 1.4.0.0 public Beta [Re: alibaba] #379557
08/04/11 11:02
08/04/11 11:02
Joined: Feb 2005
Posts: 3,687
Hessen, Germany
T
Tempelbauer Offline
Expert
Tempelbauer  Offline
Expert
T

Joined: Feb 2005
Posts: 3,687
Hessen, Germany
cool, thanks

Re: ANet 1.4.0.0 public Beta [Re: Tempelbauer] #379570
08/04/11 11:44
08/04/11 11:44
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Hmm.. iŽve got some problems with the enet_sendto function.

before i could send arrays like this: enet_send_array("points",sender,sender,BROADCAST);

but how do i do it now?
like this?
enet_sendto(points,sizeof(double)*sender,BROADCAST);

And is it possible to tell the meaning of playerstring and playervar?


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: ANet 1.4.0.0 public Beta [Re: alibaba] #379572
08/04/11 11:59
08/04/11 11:59
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
The "arrayname" thing was because of C-Script and is now not needed anymore. Thus you only have to pass the address of the thing you want to send, second parameter is the size in byte you want to send.

Example:
Code:
double TestArray[10];

void send()
{
   //Sends all 10 elements of TestArray
   enet_sendto(TestArray, sizeof(double) * 10, BROADCAST);

   //Send only element 4:
   enet_sendto(&(TestArray[4]), sizeof(double) * 1, BROADCAST);
}




ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: ANet 1.4.0.0 public Beta [Re: Dark_samurai] #379573
08/04/11 12:04
08/04/11 12:04
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Ah okay, so when i want to sendn just the only part of an array then it would look like this?

Example:

Code:
var points[12];

void bla()
{
      enet_sendto(&(points[enet_get_clientid()]), sizeof(var) * 1, BROADCAST);
}



And is it possible to tell the meaning of playerstring and playervar?

Last edited by alibaba; 08/04/11 12:05.

Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: ANet 1.4.0.0 public Beta [Re: alibaba] #379575
08/04/11 12:13
08/04/11 12:13
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
It's something like global variables for every client (can be used for health, armor, ammo,...). But I'm currently thinking about removing this feature because you can easily do the same with a global array.

My plans for ANet are to make things more simple and compact again. I don't think that playervars were ever used by users. That new mantra is also the reason why I introduced enet_sendto() (1 function for all so to say).

If nobody is using the playervar feature, I will delete it. So please tell me if any of you want this feature to stay laugh

Last edited by Dark_samurai; 08/04/11 12:14.

ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: ANet 1.4.0.0 public Beta [Re: Dark_samurai] #379576
08/04/11 12:16
08/04/11 12:16
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
I never used it until now wink


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: ANet 1.4.0.0 public Beta [Re: alibaba] #379596
08/04/11 15:44
08/04/11 15:44
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Mh if i remember correctly, i used Playervars in my Bombermanproject, because changing the Var for one client caused an autoupdate for all clients.(score, bombcount etc)

I'll take a look into it as soon as iam home today.

edit: by the way, is it possible to use Anet from C# or C/C++ too or is it absolutely LiteC only?

Greets
Rackscha

Last edited by Rackscha; 08/04/11 15:45.

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

Re: ANet 1.4.0.0 public Beta [Re: Rackscha] #379597
08/04/11 15:53
08/04/11 15:53
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
Yes but only in combination with Gamestudio, but I never tried it!


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Page 1 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