Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
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
1 registered members (AndrewAMD), 533 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 20 of 22 1 2 18 19 20 21 22
Re: Survive! 0.7 Update / online team survival game [Re: alibaba] #365568
03/27/11 15:44
03/27/11 15:44
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline OP
User
SchokoKeks  Offline OP
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
I'm using Dark_Samurai newest template, its in beta and can be found here:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=365567&

as you can see in that thread there are still issues with it, but its well documented and makes a perfect base. I'll have to add LAN support, but thats another story.

That templates uses a usual webserver with php and a mysql database backend to store all the server information (ip, port, name, number of players ...) and sends it directly to the clients which can display them in a list. sorting shouldn't be a big problem there, but i'm leaving it out for now.
Servers are sending a message to the webserver every 30 seconds, and if one doesn't do so for 180 seconds it will be deleted from the list.

However, one big problem remains:
There will be server on the list that won't be connectable because their owner didn't do port forwarding. I'm trying to counter this with UPnP for now, but there's a better method which is not included into this serverlist and is a bit more work to implement. Many commercial games like the half-life2 engine based titles are doing it this way:

The masterserver only saves the ip and port of the servers. The client will get a list of those and try to establish connections to them. The servers will answer with their name, number of players and the client can also calculate the ping-time.
If a server isn't connectable, it won't show up in the clients list. When using UDP for this, I'm not sure if this will pass the clients router, but it guess it would.

This is probably the best way, but it's a little more work and I'll go without it for now. For the LAN-mode, I've coded parts of this method already.

Re: Survive! 0.7 Update / online team survival game [Re: SchokoKeks] #365578
03/27/11 16:29
03/27/11 16:29
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline
Expert
Germanunkol  Offline
Expert

Joined: Jun 2006
Posts: 2,640
Earth
Uhm... the template from ANet that I have also features LAN. It's pretty straight forward and does pretty much the same thing that the internet template does. At least the way I use it is very similar.


~"I never let school interfere with my education"~
-Mark Twain
Re: Survive! 0.7 Update / online team survival game [Re: Germanunkol] #365583
03/27/11 16:42
03/27/11 16:42
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline OP
User
SchokoKeks  Offline OP
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
Yes, that's the older template you are referring too, its only available for anet professional users. My LAN serverlist is based on it, but I'm adapting it to work with the beta template I posted above.

Re: Survive! 0.7 Update / online team survival game [Re: SchokoKeks] #365606
03/27/11 19:59
03/27/11 19:59
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Schokokeks, why not: when setting up a server, a php script runs an checks if the port xy is open, if not, the server does not send its data to the mastersite.

So the check is done locally and if it fails your game "client" server does not send any data to the master. Instead it could display a warning.


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: Survive! 0.7 Update / online team survival game [Re: Rackscha] #365611
03/27/11 20:18
03/27/11 20:18
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Quote:
Yes, that's the older template you are referring too, its only available for anet professional users. My LAN serverlist is based on it, but I'm adapting it to work with the beta template I posted above.


My plans are to rewrite the lan template and merge both together to one template. But I hadn't much time since I released the new internet template.
Btw. I've uploaded a new version of the internet template. I think I solved the problems you had.

Also UPnP is already implemented in the new ANet version. But some other features I would like to add are not ready yet and my spare time is currently rare.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Survive! 0.7 Update / online team survival game [Re: Dark_samurai] #365625
03/27/11 22:04
03/27/11 22:04
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline OP
User
SchokoKeks  Offline OP
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
Is that Anet version already released? I guess not. I've now included JulzMightys UPnP plugin and it works really good.

My serverlist is nearly finished, I've created my own LAN implementation which is quick-and-dirty but works all right.

EDIT: @Raksha: good idea, going to think about it..

Last edited by SchokoKeks; 03/27/11 22:04.
Re: Survive! 0.7 Update / online team survival game [Re: SchokoKeks] #365663
03/28/11 12:25
03/28/11 12:25
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
No it's not released yet. There is still some work I will have to spend on it, but I'm not having much time currently.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Survive! 0.7 Update / online team survival game [Re: Dark_samurai] #365844
03/29/11 17:26
03/29/11 17:26
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline OP
User
SchokoKeks  Offline OP
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
Ok, I've released version 0.71, get it here:

Survive! 0.71 on my blog
Survive! 0.71 on indiedb.com


I'm not widly shouting out this version because its very very flawed.. the server list (which is the only real new thing) seems to be a mess.. you can try it out if you dare wink

Re: Survive! 0.7 Update / online team survival game [Re: SchokoKeks] #365852
03/29/11 18:11
03/29/11 18:11
Joined: Jan 2011
Posts: 797
Da wo du nicht bist! Muhahaha!
xxxxxxx Offline
User
xxxxxxx  Offline
User

Joined: Jan 2011
Posts: 797
Da wo du nicht bist! Muhahaha!
Ok...
Verbugt!
1. Beim starten -> msvcr100.dll ist entweder nicht für die ausführung unter windows vorgesehen oder enthält einen fehler 2x beim start!
2. ich kriege x-millionen random abstürze wenn ich da versuche einen neuen server hinzuzufügen von public zu lan mode wächsel usw.


Es ist immer wieder erstaunlich, dass Leute die riesen Scripte schreiben die einfachsten sachen nicht können zb. mich mit SIEBEN x zu schreiben! tongue
Re: Survive! 0.7 Update / online team survival game [Re: xxxxxxx] #365860
03/29/11 18:42
03/29/11 18:42
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline OP
User
SchokoKeks  Offline OP
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
Den 1. Fehler kann man zum glück beheben:
Lösche die msvcr100.dll datei aus dem verzeichnis und installiere das microsoft visual c++ 2010 redist von hier:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84

und dann sag mir, ob der 2. fehler immer noch auftritt.

Manchmal stürtzt das spiel auch beim laden der serverliste ab, ich weiß nicht genau woran das liegt, werds mir mal genauer anschauen.

Last edited by SchokoKeks; 03/29/11 18:42.
Page 20 of 22 1 2 18 19 20 21 22

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