Raised This Month: $32 Target: $400
 8% 

[NATIVE] Server Queries


Post New Thread Reply   
 
Thread Tools Display Modes
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 11-12-2010 , 05:53   Re: [NATIVE] Server Queries
Reply With Quote #11

So, it can get another server player index ?
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-12-2010 , 14:24   Re: [NATIVE] Server Queries
Reply With Quote #12

Quote:
Originally Posted by K.K.Lv View Post
So, it can get another server player index ?
No. It only gets the players' name, frags, and time played.
If you try to use find_player() or get_user_index() with the name that you found, the player won't be found, or won't be the same player that's in the other server.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 11-12-2010 , 23:18   Re: [NATIVE] Server Queries
Reply With Quote #13

Thx Exolent !

I have a idea that read the player data you want and the upload it to the master server , and then ,the other server can read ! can it be done ?
your code only players' name, frags and time played.
hope add more function to get more player data from the other server !
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-13-2010 , 00:59   Re: [NATIVE] Server Queries
Reply With Quote #14

Quote:
Originally Posted by K.K.Lv View Post
Thx Exolent !

I have a idea that read the player data you want and the upload it to the master server , and then ,the other server can read ! can it be done ?
your code only players' name, frags and time played.
hope add more function to get more player data from the other server !
That is a completely different way than what mine does.
Mine basically makes it easier for coders to get this information rather than having to code something like in xRedirect does to get server/player information.
By getting other information would require a plugin on both servers that would communicate with each other through sockets.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 11-13-2010 , 05:02   Re: [NATIVE] Server Queries
Reply With Quote #15

It is hard for me write that code, because I have no more knowledge on socket,
I can't found any tutorials about the socket !
hope some one can make it !

anyway, thx for reply !
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-13-2010 , 05:08   Re: [NATIVE] Server Queries
Reply With Quote #16

Quote:
Originally Posted by K.K.Lv View Post
It is hard for me write that code, because I have no more knowledge on socket,
I can't found any tutorials about the socket !
hope some one can make it !

anyway, thx for reply !
This is actually an interesting idea and could be created with a whole API system for plugin writers to write simple code to request information about players between servers.
I'll get started on this and created a new topic about this when it is done.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 11-13-2010 , 13:31   Re: [NATIVE] Server Queries
Reply With Quote #17

Why don't you write it so you can call virtually any native on the other server?
Seta00 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-13-2010 , 15:17   Re: [NATIVE] Server Queries
Reply With Quote #18

Quote:
Originally Posted by Seta00 View Post
Why don't you write it so you can call virtually any native on the other server?
Essentially, it will do that.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 11-15-2010 , 16:45   Re: [NATIVE] Server Queries
Reply With Quote #19

So you released it. Good job.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 09-19-2011 , 16:07   Re: [NATIVE] Server Queries
Reply With Quote #20

in example plugin sq_players dont work

sq_server works well and sq_players not at all..
It makes lag = sys_ticrate goes to 10.0 server fps !!!! and I have 200+ ping.

whn I use sq_server only all works well.....
pls fix the sq_players in example plugin.
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne 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 23:19.


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