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

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
Kigen
BANNED
Join Date: Feb 2008
Old 09-01-2009 , 10:12   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #171

Indeed, I know the limitations of UDP.

But its either that or have 1000+ TCP connections. >.>

TCP is nice if you wanna make sure that everything got there. But I mean you could recreate a TCP like state in UDP to ensure packet delivery.

lol

I remember when you were trying to shove me towards using UDP instead of TCP in KAC's current version.
Kigen is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 09-01-2009 , 10:50   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #172

it always depends on how much time you have ;)

In a client-server environment with lots of client connections udp causes much less stress to the server operating system.
sfPlayer is offline
Kigen
BANNED
Join Date: Feb 2008
Old 09-02-2009 , 14:53   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #173

Indeed, which is why I've opted to switch to UDP in the next update to KAC which will be quite a huge one.

Also, one of my beta testers got this nice and weird error.

Quote:
L 08/31/2009 - 17:42:14: [SM] Native "SocketIsConnected" reported: Invalid handle: -1452359696
L 08/31/2009 - 17:42:14: [SM] Displaying call stack trace for plugin "kigen-ac-pub.smx":
L 08/31/2009 - 17:42:14: [SM] [0] Line 1295, kigen-ac-pub.sp::OnSocketConnect()
And hey, I wouldn't mind if you wanted access to the Beta section of my forums to see these bugs and give your input on them. Its up to you though.

Last I checked he was using the version you had posted at this post: http://forums.alliedmods.net/showthr...065#post915065
Kigen is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 09-03-2009 , 02:00   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #174

Will OnSocketConnect() be always called by my extension and not by something else in your script?

I created an account for your forums.
sfPlayer is offline
Puntje
Member
Join Date: May 2004
Old 09-03-2009 , 07:02   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #175

Meh!

I started using ircrelay2.0.0 on my server and it keeps on crashing each map change with the following error:
Quote:
L 09/02/2009 - 14:43:50: [irc-relay-core.smx] socket error 5 (errno 22) ./srcds_run: line 344: 17891 Segmentation fault $HL_CMD Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem Wed Sep 2 14:43:50 CEST 2009: Server restart in 10 seconds
Some server info:
Quote:
Originally Posted by meta version
Metamod:Source version 1.7.1
Build ID: 644:f526469efdeb
Loaded As: Valve Server Plugin
Compiled on: Feb 25 2009
Plugin interface version: 10:7
SourceHook version: 4
http://www.metamodsource.net/
Quote:
Originally Posted by sm version
SourceMod Version Information:
SourceMod Version: 1.2.1
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.2.1)
SourcePawn API: v1 = 4, v2 = 3
Compiled on: May 30 2009 18:18:23
Build ID: 2708:69195a250d70
http://www.sourcemod.net/
Quote:
Originally Posted by sm exts list
[SM] Displaying 5 extensions:
[01] Automatic Updater (1.2.1): Updates SourceMod gamedata files
[02] Webternet (1.2.1): Extension for interacting with URLs
[03] SDK Tools (1.2.1): Source SDK Tools
[04] BinTools (1.2.1): Low-level C/C++ Calling API
[05] Socket (2.4.0): Socket extension for SourceMod
Any ideas?
__________________
~ Nothing travels faster then the speed of light with the possible exception of bad news, which follows it's own laws! - Douglas Adams ~
Puntje is offline
Send a message via ICQ to Puntje
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 09-03-2009 , 07:14   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #176

Try the version I posted there: http://forums.alliedmods.net/showpos...&postcount=168
sfPlayer is offline
Puntje
Member
Join Date: May 2004
Old 09-03-2009 , 15:26   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #177

No crashes yet
__________________
~ Nothing travels faster then the speed of light with the possible exception of bad news, which follows it's own laws! - Douglas Adams ~
Puntje is offline
Send a message via ICQ to Puntje
Kigen
BANNED
Join Date: Feb 2008
Old 09-04-2009 , 10:40   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #178

Quote:
Originally Posted by sfPlayer View Post
Will OnSocketConnect() be always called by my extension and not by something else in your script?

I created an account for your forums.
Only thing that ever calls OnSocketConnect() is your extension. I ain't got any reason to call it from anywhere else.
Kigen is offline
KRosen
Junior Member
Join Date: Apr 2009
Old 09-05-2009 , 19:00   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #179

just watned to say thanks for this great tool, it is invaluable to our community! And thanks for the great examples and documentation!
KRosen is offline
IllegalGuy
Member
Join Date: Apr 2009
Location: Hamburg, Germany
Old 09-18-2009 , 12:29   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #180

Tried this extension earlier on our TF2-servers, but had some errors before .. (don`t know exactly what that was, it`s been some time ..). Now I gave it another try, and now this loads and works perfectly!
Just wanted to thank you for your good work and the ongoing developement!!
IllegalGuy 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:39.


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