Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (EternallyCurious, Quad, vicknick), 700 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 7 1 2 3 4 5 6 7
Re: A real Networksolution for GS A6/A7 [Re: FlorianP] #233130
10/26/08 22:47
10/26/08 22:47
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline
User
Carlos3DGS  Offline
User

Joined: Oct 2008
Posts: 513
First of all I wanted to thank you for keeping us informed on the state of development and updates you are making for this tool.

After reding these quotes I was wondering... I think that the dedicated server mode for A7 is only available in the pro version, and I was wondering if the system you are designing to be able to run withought loading levels (video_mode=0) is independant from the gs version we have. Will the comercial edition also be able to use this feature of your plugin?

Originally Posted By: FlorianP
Originally Posted By: Puppeteer
Originally Posted By: Dark_samurai

One thing because of the "serverapplication" or the "no need of DX"-Feature:
I think I will implent it like this: If you want to create a serverapplication you set video_mode = 0; => no DX window but you can still use level_load, ent_create,...
Is that OK? Any objections?

I dont really understand what that means.. :-S :-D


video_mode=0 opens a -sv mode like console instead of creating a direct3d-rendering object.



"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1
Re: A real Networksolution for GS A6/A7 [Re: Carlos3DGS] #233207
10/27/08 13:42
10/27/08 13:42
Joined: Mar 2002
Posts: 1,774
Magdeburg
F
FlorianP Offline
Serious User
FlorianP  Offline
Serious User
F

Joined: Mar 2002
Posts: 1,774
Magdeburg
video_mode = 0 works with all editions, -sv - Engines Servermode works with com and pro only.

Could you maybe add a function that allows to drop a client by the server?
And are packets(like i described) sent in one engine-frame are got by the reciever(client or server) still one after another as single packets or just the last packet sent?
So older packets aren't overwritten if they arrive in one frame and trigger the recieve-function for any packet recieved?

Last edited by FlorianP; 10/27/08 13:52.

I <3 LINQ
Re: A real Networksolution for GS A6/A7 [Re: FlorianP] #233238
10/27/08 17:35
10/27/08 17:35
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
@Joozey: I know that I have to purchase a SDK license.
But thanks that you mentioned it!

If someone is selling his SDK license, contact me via PM, please!

Quote:
Could you maybe add a function that allows to drop a client by the server?


enet_disconnect_client() (listed in the documentation I posted in my first post)

Quote:
And are packets(like i described) sent in one engine-frame are got by the reciever(client or server) still one after another as single packets or just the last packet sent?
So older packets aren't overwritten if they arrive in one frame and trigger the recieve-function for any packet recieved?


Packets come in the order you send them. The easierst methode for your problem would be that you split your data yourselve in your script and send it partwise with enet_send_event().
This would be the best for both (me and you). First of all I don't have to implent another feature, and you can make this excactly how you want it.

But if you really want an implented feature, I still have to think and research how this is done the easiest way with enet or if there already is an implented function for this.

The best would be to wait until I release the demo. Than you can try out if you can handle this how you want it and if not I will try to implent something that supports you wink


Worked on the Manual... Still a lot of things to write down ^^
Sadly I don't have much time today and tomorrow so I think that there will come no new functions until wednesday.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: A real Networksolution for GS A6/A7 [Re: Dark_samurai] #233766
10/30/08 14:38
10/30/08 14:38
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
@FlorianP: Good news! I found out that enet automatically splits big packets => your requested feature is already implented!
I extended the limit of the max. message size of enet_send_event to 2048. Is this enough for you?

Ok I've added some new functions:
-enet_set_unreliable(var mode);
-enet_set_playername(STRING* playername);
-enet_get_playername(var clientid,STRING* playername);

The new playername system synchronizes the playernames on all clients.


Ok now it's time to think about how to name this plugin... any ideas?
The only idea I've got was "ackwire". What do you think?


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: A real Networksolution for GS A6/A7 [Re: Dark_samurai] #233788
10/30/08 17:29
10/30/08 17:29
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
how about: "acknet" or is this name already taken?

Re: A real Networksolution for GS A6/A7 [Re: Xarthor] #233793
10/30/08 17:58
10/30/08 17:58
Joined: Mar 2002
Posts: 1,774
Magdeburg
F
FlorianP Offline
Serious User
FlorianP  Offline
Serious User
F

Joined: Mar 2002
Posts: 1,774
Magdeburg
why has there to be a limit? i dont know how big theyll become - but probably bigger than 2048


I <3 LINQ
Re: A real Networksolution for GS A6/A7 [Re: FlorianP] #233816
10/30/08 20:08
10/30/08 20: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
Quote:
how about: "acknet" or is this name already taken?


I think so, but I'm not sure. I will search the forum...

Quote:
why has there to be a limit? i dont know how big theyll become - but probably bigger than 2048


Because the function uses strings and I have to init them with a fixed size. The problem is that if I use such big strings, the plugin will consume more RAM even if you don't need such big strings...
Or is there a way to generate a string in c++ with various lenght?


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: A real Networksolution for GS A6/A7 [Re: Dark_samurai] #233820
10/30/08 20:16
10/30/08 20:16
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Quote:

Or is there a way to generate a string in c++ with various lenght?

If your string is a char array, you could just create it with a length given by the user using new, or you could may even use the vector template for it, if you use the string template, I am sure that there is a way to use variable length as well...
Sorry, I can´t really tell you how as I have nearly no knowledge of stl yet, also it already was quite handy a few times for me, but I know that there are some ways wink

I btw wouldn´t buy the dll but just because I would prefer to get a little bit into the whole stuff by writing such a dll on my own :P

Re: A real Networksolution for GS A6/A7 [Re: Slin] #233827
10/30/08 20:34
10/30/08 20:34
Joined: Mar 2002
Posts: 1,774
Magdeburg
F
FlorianP Offline
Serious User
FlorianP  Offline
Serious User
F

Joined: Mar 2002
Posts: 1,774
Magdeburg
Of course there are many ways to create a data-struct of variable length.
One possibility is to create small structs and link them with pointers to the next struct.
Or look for malloc and calloc.


I <3 LINQ
Re: A real Networksolution for GS A6/A7 [Re: Dark_samurai] #233847
10/30/08 21:46
10/30/08 21:46
Joined: Apr 2008
Posts: 91
Canada
DC9 Offline
Junior Member
DC9  Offline
Junior Member

Joined: Apr 2008
Posts: 91
Canada
Originally Posted By: Dark_samurai
Quote:
how about: "acknet" or is this name already taken?


I think so, but I'm not sure. I will search the forum...


I searched google. Acknet, 3Dnet, gamenet, and gsnet are already used for unrelated things.

gs_wan is available though.


DC9
Page 5 of 7 1 2 3 4 5 6 7

Moderated by  adoado, checkbutton, mk_1, Perro 

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