Raised This Month: $ Target: $400
 0% 

Read Players and Maxplayer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-04-2013 , 12:56   Re: Read Players and Maxplayer
Reply With Quote #1

You need to do it with sockets.
TheDS1337 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-04-2013 , 13:02   Re: Read Players and Maxplayer
Reply With Quote #2

I know but sockets ask IP and port.
I would like to do only full IP
Can someone create get_serverplayers(IP) and get_servermaxplayers(IP)?
I know that would be hard work, but i think it would be usefull for many people, and much more easy then use sockets...
__________________
Jhob94 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-04-2013 , 16:40   Re: Read Players and Maxplayer
Reply With Quote #3

Quote:
Originally Posted by Jhob94 View Post
I know but sockets ask IP and port.
I would like to do only full IP
Can someone create get_serverplayers(IP) and get_servermaxplayers(IP)?
I know that would be hard work, but i think it would be usefull for many people, and much more easy then use sockets...
That will still require the use of Sockets and it will also need the Port. You cannot get around that.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-04-2013 , 16:56   Re: Read Players and Maxplayer
Reply With Quote #4

Quote:
Originally Posted by Clauu View Post
Doh so you want to query other servers? why don;t you use this https://forums.alliedmods.net/showthread.php?t=142858 ?
I already explain why dont want it...

Quote:
Originally Posted by YamiKaitou View Post
That will still require the use of Sockets and it will also need the Port. You cannot get around that.
Yeah i know but i would like to use IP+Port together and not individual like in sockets...
__________________
Jhob94 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-04-2013 , 17:03   Re: Read Players and Maxplayer
Reply With Quote #5

Quote:
Originally Posted by Jhob94 View Post
Yeah i know but i would like to use IP+Port together and not individual like in sockets...
Then parse the IP+Port so you can use them individually with sockets
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 06-04-2013 , 17:04   Re: Read Players and Maxplayer
Reply With Quote #6

Quote:
Originally Posted by Jhob94 View Post
I already explain why dont want it...


Yeah i know but i would like to use IP+Port together and not individual like in sockets...
How you can connect to Allied Modders without connection ?, it's the same how you can connect to the IPort without sockets ? -__-
TheDS1337 is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 06-04-2013 , 15:26   Re: Read Players and Maxplayer
Reply With Quote #7

Doh so you want to query other servers? why don;t you use this https://forums.alliedmods.net/showthread.php?t=142858 ?
Clauu is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-04-2013 , 17:40   Re: Read Players and Maxplayer
Reply With Quote #8

Lol are you serious? -.-
I mean i need it load IP+Port but with sockets i need it individual, but i dont want make it individual but IP+Port in the same thing.
__________________
Jhob94 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-04-2013 , 17:41   Re: Read Players and Maxplayer
Reply With Quote #9

Quote:
Originally Posted by Jhob94 View Post
Lol are you serious? -.-
I mean i need it load IP+Port but with sockets i need it individual, but i dont want make it individual but IP+Port in the same thing.
Explain better as it appears I'm not understanding you
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-04-2013 , 19:06   Re: Read Players and Maxplayer
Reply With Quote #10

If iam not wrong, with sockets i need to make something like:
namefunction(IP, Port, etc)

I would like to do like:
namefunction(Full Ip, etc)
__________________
Jhob94 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode