free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]


Re: The Soprano Family | Royal Loyalty by Stefanrsb
[June 02, 2025, 03:00:31 am]


Re: The Gvardia Family || San Fierro's Main Power || Best criminal group of 09/10/11 by Stefanrsb
[June 02, 2025, 02:47:01 am]


Re: BALLAS | In memory of INFERNO 9 and NBA by Stefanrsb
[June 02, 2025, 02:31:29 am]


Re: Count to 1,000,000. by Stefanrsb
[June 02, 2025, 02:15:04 am]


Re: Stopping by by Traser
[June 01, 2025, 10:23:13 pm]


Re: Stopping by by Old Catzu
[May 18, 2025, 07:27:06 pm]


Re: Stopping by by TheRock
[May 18, 2025, 06:44:49 am]

* Who's Online

  • Dot Guests: 357
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

June 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 [24] 25 26 27 28
29 30

Player Position onto a Map

Alexw · 2185

0 Members and 1 Guest are viewing this topic.

Offline AlexwTopic starter

  • User
  • *
    • Posts: 105
  • "We prefer the term Mentally Hilarious"
  • With us since: 14/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • IV-MP :: Argonath RPG
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)



Offline Thomas 'Leroy' Crof

  • Regular
  • **
    • Posts: 1324
  • My disc-table dude!
  • With us since: 27/01/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #1 on: March 13, 2011, 08:49:01 pm
I don't understand what you are suggesting...

Thomas Crof
Quote
It's not bad to make a mistake. It's what you do after, that's important.
What is messed up is your perception of IV:MP. Probably because they do not allow guys without balls there.


Offline Void

  • Hero
  • ****
    • Posts: 7417
  • The Lost MC
  • With us since: 22/05/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #2 on: March 13, 2011, 08:50:40 pm
A live map feed, showing the correct player positions?

IV:MP - 95.141.36.204:9999


Offline Devin

  • Drained
  • Orc
  • *****
    • Posts: 13332
    With us since: 27/07/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: Devin Seville
Reply #3 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.



Offline hAWK.

  • IV:MP LCPD Chief
  • Regular
  • **
    • Posts: 324
  • NOOSE Cdr.
  • With us since: 22/11/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Official Website of NOOSE
Reply #4 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?



Offline AlexwTopic starter

  • User
  • *
    • Posts: 105
  • "We prefer the term Mentally Hilarious"
  • With us since: 14/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • IV-MP :: Argonath RPG
Reply #5 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..



Offline Myggen

  • Regular
  • **
    • Posts: 1186
  • Didrik
  • With us since: 24/06/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #6 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

Three Years Old Veteran !


Offline AlexwTopic starter

  • User
  • *
    • Posts: 105
  • "We prefer the term Mentally Hilarious"
  • With us since: 14/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • IV-MP :: Argonath RPG
Reply #7 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...



Offline Thomas 'Leroy' Crof

  • Regular
  • **
    • Posts: 1324
  • My disc-table dude!
  • With us since: 27/01/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #8 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..

Thomas Crof
Quote
It's not bad to make a mistake. It's what you do after, that's important.
What is messed up is your perception of IV:MP. Probably because they do not allow guys without balls there.


Offline AlexwTopic starter

  • User
  • *
    • Posts: 105
  • "We prefer the term Mentally Hilarious"
  • With us since: 14/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • IV-MP :: Argonath RPG
Reply #9 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



Offline hAWK.

  • IV:MP LCPD Chief
  • Regular
  • **
    • Posts: 324
  • NOOSE Cdr.
  • With us since: 22/11/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Official Website of NOOSE
Reply #10 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?



Offline Void

  • Hero
  • ****
    • Posts: 7417
  • The Lost MC
  • With us since: 22/05/2007
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #11 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.

IV:MP - 95.141.36.204:9999


Offline AlexwTopic starter

  • User
  • *
    • Posts: 105
  • "We prefer the term Mentally Hilarious"
  • With us since: 14/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • IV-MP :: Argonath RPG
Reply #12 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.



 


free
free
SimplePortal 2.3.7 © 2008-2025, SimplePortal