GSTNet, Crude Shooter Code

Posted By: Damocles

GSTNet, Crude Shooter Code - 11/04/07 17:15

Here is a crude demo of a Deathmatch shooter.

http://www.wasteland.at/xspire_online.zip

Its targeted for 8 Players Max.

These things should work:

chat,
client list,
movement,
shooting (the shots dont harm the players yet, this will be added later)
animation (simple jump and run animations)

All Aliens are in the level, but stand still until a player takes over one.
The "moving platform" is not synced on the clients, so it
is probably seen on the wrong position.

the default port is 2300 it is running on.

When connecting to the server, you need to enter the name and
the Server-IP adress.
Only the clients can play. You have to start a seperate client on the server-machine
to play.

Would be nice to hear some feedback, and maybe someone can start an online session.
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/04/07 17:21

I started a server on the IP:

217.88.162.115

But I am not good in configuring my router, you might try to join tonight.
(you can also edit the ip text in the folder, so you dont need to enter the IP
everytime per hand)
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 11/04/07 17:26

nice to see you're still in
server up and running on 84.159.34.138
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/04/07 17:32

Not perfect, but runs basically

Did your server crash?
Maybe I send to many updates
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 11/04/07 17:41

neue ip: 84.159.25.59

einfach in der ip.txt als erste zeile eingeben

Posted By: SchokoKeks

Re: GSTNet, Crude Shooter Code - 11/04/07 19:08

Couldn't connect to your servers...

Played locally. The movement was quite behind my input. This should not happen because both the server and the client were on the same computer.
Other than that, no lag was noticeable, which is great! I would love to try this online. I would advise you to display the current ping somewhere. This helps debugging.

P.S.: Currently working on a small shooter using native 3DGS multiplayer. We could compare which system works better online .
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/04/07 19:18

To reduce the bandwith usage, I limided the updates to 16 per second.
Also, the camera is smoothed, and thus reacts slower than the actual player.
This can be left out on a local machine, but makes the movement smoother
on an internet game. (it should in the end, adapt itself to the ping/latency
to work best in all situations)
I joined a game with nfs, and it was running well, given the functionality
that is implemented to this state.

I use GSTNet, especially to not have to tangle with
the 3dgs multiplayer shortcomings, and its system, that dictates the multiplayer
in an unnessesary way.
With GSTNet I have full controll about the data send,
not with 3dgs-multiplayer.
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 11/04/07 19:37

sorry I've had to restart my router.
now you can connect via: gstools.servegame.com
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/04/07 20:11

I will add a functional weapon, so the testing will be more fun
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 11/04/07 20:46

nice
Posted By: EpsiloN

Re: GSTNet, Crude Shooter Code - 11/04/07 21:01

After trying the IP and the dns (neighter worked) I tryed localy , and after 5 mins of waiting for it to connect I gave up...

PS.: I tryed also setting -port 2331 to a shortcut , but didnt worked also (btw , you should put a black picture or something...without a camera active (and a level loaded) the screen started flickering after an ALT+TAB changing...)
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 11/04/07 21:24

server is still up and running on gstools.servegame.com.
4 users had succesfull connected.
try gstools.servegame.com

I will add a server list to client login
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/04/07 21:28

i have made a "functional" weapon,
a bit dirty work, but it serves its purpose.

When hit once (instagib) you get set to the starting position

same link:

http://www.wasteland.at/xspire_online.zip
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/04/07 22:00

die slotvergabe ist noch nicht ganz korrekt.

Es gibt probleme bei mehr als 2 clients, sollte ien c-skript problem sein
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/04/07 22:08

I am uploading a new version, that should handle the slotproblem
(I hope), wait some minutes
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/04/07 22:13

ok, new version online

There are still problems with more than 2 clients...
Updates come some other day.
Posted By: EpsiloN

Re: GSTNet, Crude Shooter Code - 11/06/07 15:52

I still cant connect I tryed again (this time only to gstools.servegame.com) but failed. It stays on "connecting.."
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 11/06/07 17:31

Server is not running currently, we have to fix some bugs, when connection more than 3 clients.
Posted By: testDummy

Re: GSTNet, Crude Shooter Code - 11/21/07 20:53

I was very interested in this, but now I'm (more) 'jaded'. I thought, just for kicks, I might try it on LAN with another machine running Win98, just to the left of this one. Of course, I discovered what others might have known, 3DGS 6.60 executables just seem to crash on Win98.
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 11/21/07 22:44

what is the error message ? Crash in GSTNet_ServerPoll()?
i have no win98 system anymore, so please try running with -diag and post me your acklog.txt

the original code from damocles produces real HIGH network traffic (a lot of packages were sent every frame). with some small changes I've got 8 clients running on one machine.
Posted By: testDummy

Re: GSTNet, Crude Shooter Code - 11/22/07 14:54

On the site (great site by the way), it is stated that the GSTNet plugin works with A6.xx. That might suggest that the plugin works with all versions of A6, but from experience with Conitec SDK changes, I assume it does not.

The issue with Win98 compatibility probably isn't related to the GSTNet plugin directly. It seems all engine versions after A6.40.5 may be incompatible with Win98 Systems.
No Win98 for 6.60, WHY? Thread
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 11/22/07 18:42

you are right, GSTNet is based on sdk for A6.50 and up.
i'll change this on the plugins info page. the manual is clear on this point.
Posted By: ISG

Re: GSTNet, Crude Shooter Code - 11/30/07 16:44

@Damocles

You think there is any open source portion of this crude shooter? I mean I would hate to just steal your resources and put them into my own level to get an online shooter. But maybe just even if you can describe a way (if you would like) where we can make our own personal game levels with this?

Thanks!
Posted By: Damocles

Re: GSTNet, Crude Shooter Code - 12/01/07 16:57

you can use the scripts if you wish
Posted By: ISG

Re: GSTNet, Crude Shooter Code - 12/01/07 23:06

Thanks. How do I do this? In the exactly same folder I created a simple level and applied the script to the level (xspire_online.WDL). Opening up the WED file next time I get 3 WDL errors

"Invalid Name: function_predefinitions.wdl"
"Invalid Name: client_server_communication.wdl"
"Invalid Name: client_server_weapon.wdl"

When I run the level, it opens the the main menu correctly. When I select to be the server I get these DLL errors:

"GSTNet_ServerInit not found in DLL"
"GSTNet_ServerPoll not found in DLL"
"GSTNet_Events not found in DLL"
"GSTNet_SendArray not found in DLL"

Then when I choose to be the client instead of the server from the Main Menu I get these DLL errors:

"GSTNet_ClientInit not found in DLL"
"GSTNet_ClientID not found in DLL"
"GSTNet_ClientPoll not found in DLL"
"GSTNet_Events not found in DLL"

Maybe my setup is wrong or something I should have done that I simply overlooked. Any insight would be helpful.

Thanks!
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 12/02/07 00:05

copy the GSTNet.dll in the acknex_plugins folder of your 3DGS installation
Posted By: ISG

Re: GSTNet, Crude Shooter Code - 12/02/07 00:23

No change.
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 12/02/07 11:51

please post your acklog.txt
Posted By: exile

Re: GSTNet, Crude Shooter Code - 12/21/11 15:44

Sorry to bring up a MEGA dead topic, I would message Damocles but he is over his message limit. I was wondering if anyone had xspire_online.zip still? I was going to look at it for some reference while I am building my own online solution, and I feel some of material in here could be of use.
Posted By: nfs42

Re: GSTNet, Crude Shooter Code - 12/22/11 22:39

xspire_online (c-script)
Posted By: exile

Re: GSTNet, Crude Shooter Code - 12/22/11 23:28

Thank you, and sorry again for the mega necro post. I'll be sure to pay it forward once my site goes up.
© 2024 lite-C Forums