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

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 08-28-2009 , 02:47   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #161

New Linux+Windows builds for testing

It contains lots of debug messages..

edit: there is a new version available.

Last edited by sfPlayer; 08-30-2009 at 18:34.
sfPlayer is offline
busy.orange
Member
Join Date: May 2009
Old 08-30-2009 , 04:11   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #162

10,0 MB (10*543*967 bytes). you have incude windows kernel into so file?
sfPlayer can you write debug messages into one file (socket.log)?
first socket.ext.so have size 56kb

Last edited by busy.orange; 08-30-2009 at 04:13.
busy.orange is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 08-30-2009 , 04:19   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #163

It contains several large libraries to avoid external dependencies and it's a debug build, release is about 1.6 MB.

The debug messages won't stay long, just for the first bug reports if there will be any.
sfPlayer is offline
Kigen
BANNED
Join Date: Feb 2008
Old 08-30-2009 , 05:35   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #164

I will be testing out your debug build.

Your latest stable one is giving my plugin errors.

Code:
L 08/30/2009 - 00:55:25: [SM] Native "CloseHandle" reported: Handle 176e0387 is invalid (error 1)
L 08/30/2009 - 00:55:25: [SM] Displaying call stack trace for plugin "kigen-ac.smx":
L 08/30/2009 - 00:55:25: [SM]   [0]  Line 1612, kigen-ac.sp::OnSocketError()
L 08/30/2009 - 00:55:32: [SM] Native "CloseHandle" reported: Handle 14060387 is invalid (error 1)
L 08/30/2009 - 00:55:32: [SM] Displaying call stack trace for plugin "kigen-ac.smx":
L 08/30/2009 - 00:55:32: [SM]   [0]  Line 1612, kigen-ac.sp::OnSocketError()
L 08/30/2009 - 00:56:32: [SM] Native "CloseHandle" reported: Handle 249603e4 is invalid (error 1)
L 08/30/2009 - 00:56:32: [SM] Displaying call stack trace for plugin "kigen-ac.smx":
L 08/30/2009 - 00:56:32: [SM]   [0]  Line 1612, kigen-ac.sp::OnSocketError()
L 08/30/2009 - 00:58:13: [SM] Native "CloseHandle" reported: Handle 3f3003e4 is invalid (error 1)
L 08/30/2009 - 00:58:13: [SM] Displaying call stack trace for plugin "kigen-ac.smx":
L 08/30/2009 - 00:58:13: [SM]   [0]  Line 1612, kigen-ac.sp::OnSocketError()
But the again so is SourceMod.

Code:
L 08/30/2009 - 01:46:44: [SM] Native "GetEventInt" reported: Invalid game event handle ffed84f8 (error 4)
L 08/30/2009 - 01:46:44: [SM] Displaying call stack trace for plugin "kigen-ac.smx":
L 08/30/2009 - 01:46:44: [SM]   [0]  Line 1960, kigen-ac.sp::EventNameChange()
L 08/30/2009 - 01:46:44: [SM] Native "GetEventInt" reported: Invalid game event handle ffed84f9 (error 4)
L 08/30/2009 - 01:46:44: [SM] Displaying call stack trace for plugin "kigen-ac.smx":
L 08/30/2009 - 01:46:44: [SM]   [0]  Line 1960, kigen-ac.sp::EventNameChange()
L 08/30/2009 - 01:46:44: [SM] Native "GetEventInt" reported: Invalid game event handle ffed84f7 (error 4)
L 08/30/2009 - 01:46:44: [SM] Displaying call stack trace for plugin "kigen-ac.smx":
L 08/30/2009 - 01:46:44: [SM]   [0]  Line 1960, kigen-ac.sp::EventNameChange()
That be some WTF errors right there.

I'ma be updating SourceMod and Sockets on all n00bSalad servers soon.

Last edited by Kigen; 08-30-2009 at 07:08.
Kigen is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 08-30-2009 , 05:40   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #165

The stable version is using a _completely_ different codebase. I've rewritten the whole backend so it's likely that the old issues don't exist anymore.
sfPlayer is offline
Kigen
BANNED
Join Date: Feb 2008
Old 08-30-2009 , 09:46   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #166

Does your current debug only log socket creations?

Hrm, some socket errors.

Code:
L 08/30/2009 - 06:34:02: [SOCKET] [Debug] SocketCreate: Socket created (handle -707788148)
L 08/30/2009 - 06:34:12: [SOCKET] [Debug] SocketCreate: Socket created (handle -688389479)
L 08/30/2009 - 06:34:22: [SOCKET] [Debug] SocketCreate: Socket created (handle -670825850)
L 08/30/2009 - 06:34:22: [kigen-ac.smx] Socket Error: eT: 6, eN, 1236, c, 10
L 08/30/2009 - 06:34:32: [SOCKET] [Debug] SocketCreate: Socket created (handle -653524328)
L 08/30/2009 - 06:34:42: [SOCKET] [Debug] SocketCreate: Socket created (handle -639171963)
L 08/30/2009 - 06:34:42: [kigen-ac.smx] Socket Error: eT: 6, eN, 1236, c, 12
L 08/30/2009 - 06:34:52: [SOCKET] [Debug] SocketCreate: Socket created (handle -623246724)
L 08/30/2009 - 06:35:02: [SOCKET] [Debug] SocketCreate: Socket created (handle -606141872)
L 08/30/2009 - 06:35:12: [SOCKET] [Debug] SocketCreate: Socket created (handle -582614421)
L 08/30/2009 - 06:35:22: [SOCKET] [Debug] SocketCreate: Socket created (handle -562363759)
L 08/30/2009 - 06:35:32: [SOCKET] [Debug] SocketCreate: Socket created (handle -541588847)
L 08/30/2009 - 06:35:42: [SOCKET] [Debug] SocketCreate: Socket created (handle -525663599)
L 08/30/2009 - 06:36:12: [SOCKET] [Debug] SocketCreate: Socket created (handle -468843892)
L 08/30/2009 - 06:36:22: [SOCKET] [Debug] SocketCreate: Socket created (handle -442039675)
L 08/30/2009 - 06:36:32: [SOCKET] [Debug] SocketCreate: Socket created (handle -422509973)
L 08/30/2009 - 06:39:02: [SOCKET] [Debug] SocketCreate: Socket created (handle -118947202)
L 08/30/2009 - 06:39:03: [kigen-ac.smx] Socket Error: eT: 6, eN, 1236, c, 6
L 08/30/2009 - 06:40:02: [SOCKET] [Debug] SocketCreate: Socket created (handle -7339381)
L 08/30/2009 - 06:41:02: [SOCKET] [Debug] SocketCreate: Socket created (handle 108790437)
L 08/30/2009 - 06:41:32: [SOCKET] [Debug] SocketCreate: Socket created (handle 173933138)
L 08/30/2009 - 06:43:12: [SOCKET] [Debug] SocketCreate: Socket created (handle 367919785)
L 08/30/2009 - 06:43:22: [SOCKET] [Debug] SocketCreate: Socket created (handle 389612171)
L 08/30/2009 - 06:43:32: [SOCKET] [Debug] SocketCreate: Socket created (handle 410387096)
L 08/30/2009 - 06:44:22: [SOCKET] [Debug] SocketCreate: Socket created (handle 502989459)
eT: 6, eN, 1236, c, 10
Mind explaining to me those errors?

They don't appear to be WinSock2 error numbers.

Last edited by Kigen; 08-30-2009 at 09:54.
Kigen is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 08-30-2009 , 18:26   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #167

It doesn't log, it'll just push messages to the console window.

1236 seems to be connection aborted. The next build will handle it as a disconnect instead of an error.
sfPlayer is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 08-30-2009 , 18:33   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #168

New debug build (testing only)

- fixed connection_aborted (1236) issues

Last edited by psychonic; 03-05-2011 at 23:29. Reason: removed attachment due to no source code being available
sfPlayer is offline
Kigen
BANNED
Join Date: Feb 2008
Old 08-31-2009 , 12:12   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #169

Quote:
Originally Posted by sfPlayer View Post
It doesn't log, it'll just push messages to the console window.

1236 seems to be connection aborted. The next build will handle it as a disconnect instead of an error.
It logs the Socket creation stuff into SourceMod's error logs. Which is getting fairly annoying at this point.

I am planning a rework of KAC that will also be focusing on using Sockets for a lot of work. I am planning to move it over to UDP on KAC's side of things for the benefit of a connectionless state.
Kigen is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 08-31-2009 , 19:26   Re: [EXTENSION] Socket (2.4.0beta+2.1)
Reply With Quote #170

I'll remove the logging.

I don't think you want to use UDP, you'll either have to care about resending lost packets yourself or it must not be critical to transmit/receive everything.
sfPlayer is offline
Reply


Thread Tools
Display Modes

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 01:49.


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