Raised This Month: $51 Target: $400
 12% 

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
Corvette911
Junior Member
Join Date: Mar 2012
Old 05-24-2012 , 21:43   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #371

Steam update CSS Source on 22 May 2012 Appears to have broken this...when it loads i get the following error message:
cannot open shared object file no such file or directory

Last edited by Corvette911; 05-25-2012 at 18:39.
Corvette911 is offline
DaCoNDe
Junior Member
Join Date: Dec 2009
Location: Madrid
Old 06-30-2012 , 04:29   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #372

Socket works on CS:GO?
DaCoNDe is offline
Send a message via MSN to DaCoNDe Send a message via Skype™ to DaCoNDe
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 06-30-2012 , 04:39   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #373

yepp. your server is probably just hibernating - read this.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
AlanCrane
New Member
Join Date: Jul 2012
Old 07-06-2012 , 21:55   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #374

Hey Buddies

Is this extension up to date?

I'm wondering if there is a dependency from SourceMod. What, when SourceMods gets an update? Will this extension brake?

(Like if an CS:S update comes out and SourceMod has to be updated)
AlanCrane is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 08-10-2012 , 13:56   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #375

is it just me or the remoteIP is empty in the incoming callback on windows machines?

can anyone confirm this? if this is the case i would happily code an update to make it work with windows
__________________
Taking private C++/PHP/SourcePawn requests, PM me.

Last edited by Zephyrus; 08-10-2012 at 15:30.
Zephyrus is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 08-10-2012 , 19:31   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #376

it was indeed an error with the windows version.

i fixed it like this:

Code:
char client_ip[16];
strcpy(client_ip, ((typename SocketType::endpoint*)additionalData[1])->address().to_string().c_str());
socket->incomingCallback->PushString(client_ip);
it was

Code:
socket->incomingCallback->PushString(((typename SocketType::endpoint*)additionalData[1])->address().to_string().c_str());
before

ive posted dll and the changed cpp file
Attached Files
File Type: dll socket.ext.dll (312.5 KB, 504 views)
File Type: txt Callback.cpp.txt (6.6 KB, 431 views)
__________________
Taking private C++/PHP/SourcePawn requests, PM me.

Last edited by Zephyrus; 08-10-2012 at 19:33.
Zephyrus is offline
ispankyi
Junior Member
Join Date: Apr 2009
Old 08-17-2012 , 16:08   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #377

Yeah its not working on CSGO or im just stupid. All im trying to do is install it to use server hop plugin.
ispankyi is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 08-17-2012 , 22:13   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #378

its working on csgo as well
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
underclocked
Junior Member
Join Date: Sep 2010
Old 08-20-2012 , 15:01   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #379

where do you place the Callback.cpp.txt file?
underclocked is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 08-20-2012 , 16:04   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #380

Quote:
Originally Posted by underclocked View Post
where do you place the Callback.cpp.txt file?
you dont have todo anything with it, thats just the file ive changed in the code, i just have to share it cause of the license (gnu/gpl)
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus 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 18:34.


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