Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,574 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: Server > Unique Client - [Help] [Re: fastlane69] #224083
08/28/08 12:37
08/28/08 12:37
Joined: Oct 2003
Posts: 1,550
United Kingdom
indiGLOW Offline OP
Serious User
indiGLOW  Offline OP
Serious User

Joined: Oct 2003
Posts: 1,550
United Kingdom
I think one of the biggest problems is that I am now retro-fitting MP to my program, although I have replaced all template code and everything is written to be very modular.

Still that said, its difficult to get everything setup right.

Your reply is very useful, I appreciate the time you invested into this post. Thanks fastlane.

The comment you make about the term 'pointer' is very important, and I think this is mostly where I am falling down. Simply I am not sure what the SEND_*_TO function is expecting. I have taken a look at the latest AUM workshop, which has helped.

Still I have managed to get 'locally' several clients to connect, and for the server to update the positions of individual entities based on the local camera position from each client.

The server is able to seperate each client, based on the ID variable being passed from the server to the client, the wing and a prayer element comes here I think.

I am not getting a true handshake between client and server, and instead I am relying on operations taking a maximum of 2 seconds to complete, and then pushing ahead, presuming the information has been exchanged correctly.

So locally, with faster response times, this is maybe not an issue, however over the net 2 seconds might just not be enough time. More's the point, this is really bad code and both server and client should wait for each other until the exchange is complete, or indeed failed.

This is something I really need to re-write immediatly.

Your bang on about diagramming the code, laying out the exchange process is something I intend to invest considerable time in. This is something we are very thorough on at work and often the engineers are in meeting rooms re-drawing these connection diagrams.

Still, with my entire toolset to migrate to a client/server environment, my first step was simply to establish connection and simple avatar. This will allow the team to continue working with the tool and indeed share/discuss their work in a live environment.

With this in place I will then need to rip this baby apart and build her back up again smile Not the first or last time I will need to do this! lol - ripping out all the templates was fun smile

It sounds like you have already tackled many of the tough challenges ahead, for example, we will def want to include mySQL, we already have our servers in place and have committed to this route. (TBH Much based on your own posts about this over the past few years, as well as common trends and most importantly, accessibility.)

It's a great relief to know that someone has already walked this path and barring, d_play issues ;), I believe that we can achieve our ultimate goal.

Thanks for all your help and support fastlane.




The Art of Conversation is dead : Discuss
Re: Server > Unique Client - [Help] [Re: indiGLOW] #224160
08/28/08 20:19
08/28/08 20:19
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
You should know , if you're using A6 theres only one plugin for MySQL. And it is for MySQL 4 I think smile
It took me a week to figure out why it wasnt working with MySQL 5 :P


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: Server > Unique Client - [Help] [Re: EpsiloN] #224290
08/29/08 13:45
08/29/08 13:45
Joined: Oct 2003
Posts: 1,550
United Kingdom
indiGLOW Offline OP
Serious User
indiGLOW  Offline OP
Serious User

Joined: Oct 2003
Posts: 1,550
United Kingdom
I believe we will have to bite the bullet and upgrade. However there is a load of work to do before thats needed, it's just means mySQL is another thing we're going to have to push back until A7.

It is a little anoying that I bought A6 Pro and have only really began using its functions in this last 18 months, and just as we're getting a clear road ahead we have to migrate to A7. What on earth did I do with all that time frown

Still I hope that when we do upgrade it will be to deliver the extra layer of polish, oh and of course mySQL.

Thanks for the info Epsilon, just another unwanted suprise...


The Art of Conversation is dead : Discuss
Page 3 of 3 1 2 3

Moderated by  HeelX, Spirit 

Gamestudio download | 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