Argonath RPG - A World of its own

GTA:IV => IV:MP - Liberty City Multiplayer => IV:MP Ideas & Suggestions => Topic started by: Alexw on March 13, 2011, 08:20:17 pm

Title: Player Position onto a Map
Post by: Alexw on March 13, 2011, 08:20:17 pm
After a discussion with Tai:

Is it maybe possible that we update MySQL with player every 5-10 minutes.
Or are their better idea to get the info to display a map.
Let me known...

Thanks,
Alexw
(IV-MP Web Development Team)
Title: Re: Player Position onto a Map
Post by: Thomas 'Leroy' Crof on March 13, 2011, 08:49:01 pm
I don't understand what you are suggesting...
Title: Re: Player Position onto a Map
Post by: Void on March 13, 2011, 08:50:40 pm
A live map feed, showing the correct player positions?
Title: Re: Player Position onto a Map
Post by: Devin on March 13, 2011, 08:52:05 pm
A live map feed, showing the correct player positions?

That is what I have made out by what he said, if so, it seems good.
Title: Re: Player Position onto a Map
Post by: hAWK. on March 13, 2011, 09:46:17 pm
If it is live map with players it is better the refresh time to be decreased because 5min are too long.
I really don't know how the info is inserted into the MySQL. I think it is X and Y on every row (user). Am I right?
Title: Re: Player Position onto a Map
Post by: Alexw on March 13, 2011, 10:22:18 pm
At void and hawk, that is correct.
Im still thinking about a better way to get the info displayed on a page....

Maybe a module can help...
And that PHP interact with that module using sockets..
Title: Re: Player Position onto a Map
Post by: Myggen on March 13, 2011, 10:44:48 pm
I do not think its needed to spend your time coding a "live"-map that updates
every 5-10 min.. Thats not very live in my eyes and I personally would not use it
Title: Re: Player Position onto a Map
Post by: Alexw on March 13, 2011, 11:29:29 pm
If i get my idea to work with the module then it will be live....its like building a server inside the iv-mp that passes information to the website...
Title: Re: Player Position onto a Map
Post by: Thomas 'Leroy' Crof on March 14, 2011, 06:50:41 pm
If i get my idea to work with the module then it will be live....its like building a server inside the iv-mp that passes information to the website...
Which creates lag within the server? No thanks..
Title: Re: Player Position onto a Map
Post by: Alexw on March 14, 2011, 08:22:03 pm
So if it cause lag, then why we still use sockets to get for example the amount of players that is on a server?
My module will just add the extra functions to work with PHP sockets. It wont slow it down.

For now the only sockets function are:
IVMPi -> Info
IVMPr ->Rules
IVMPl -> Players
IVMPp -> Ping

With my modules il just add the follow for example:
ArgonathRPGxy -> Player positions
Title: Re: Player Position onto a Map
Post by: hAWK. on March 14, 2011, 08:55:02 pm
Well lets see. If it doesn't cause problems for proper gaming we'll keep it.

Edit: Alex will the map be visible for everyone or only administration?
Title: Re: Player Position onto a Map
Post by: Void on March 14, 2011, 09:04:58 pm
Alex will the map be visible for everyone or only administration?

I believe it will be visible for all? It should be, I mean.
Title: Re: Player Position onto a Map
Post by: Alexw on March 14, 2011, 09:10:34 pm
Yes it is visible for everyone.
The map will be on a separated page, so it only load on user request.
SimplePortal 2.3.7 © 2008-2025, SimplePortal