Raised This Month: $ Target: $400
 0% 

[sockets/callback] how to get callback from sockets server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dxteam
Senior Member
Join Date: Dec 2005
Old 08-13-2012 , 07:28   [sockets/callback] how to get callback from sockets server
Reply With Quote #1

I need to create something like "connect api".

I have structure:
hlds -> node.js -> mysql

when client connect to server i need to check his current name
in database. And i can`t to add mysql connection info into the plugin, bcs this plugin can use many peoples.
First of all i need to send connected player info into node.js server. after that check this name in mysql and if okay send back to node.js and hlds server something like that:
{ player:testplayer,status:true } and if okay, server allow connection to the server.

My questions are:
How can i get this callback from node.js server?
And after that i think needs to decrypt a json in hlds?

Last edited by dxteam; 08-13-2012 at 07:30.
dxteam is offline
Send a message via ICQ to dxteam
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-13-2012 , 09:40   Re: [sockets/callback] how to get callback from sockets server
Reply With Quote #2

Sockets
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 08-13-2012 at 09:40.
Exolent[jNr] 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 05:49.


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