GithubHelp home page GithubHelp logo

asherkin / connect Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 6.0 162 KB

Home Page: https://forums.alliedmods.net/showthread.php?t=162489

Python 56.18% Batchfile 0.18% SourcePawn 2.10% C 6.68% C++ 34.86%

connect's People

Contributors

asherkin avatar batfoxkid avatar drifter321 avatar kenzzer avatar natanel-shitrit avatar psychonic avatar sapphonie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

connect's Issues

[Any/all] No detours getting hit + OnClientPreConnectEx not firing

After the new TF2 update, this extension causes an error in the console:
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils 004 before SteamAPI_Init succeeded.

The server continues to work, but when connecting, the error "Steam validation rejected" appears

Clients get no SteamID in TF2

Verified all the gamedata myself, it's all accurate. No idea why this happens, apparently valve removed SetSteamID? or rather, made it not do anything? No clue

How do you compile this?

Asking because I'd like to (attempt to) make a contribution, but I've no clue where to even start compiling this as configure.py throws something about mercurial not being installed.

Server reports maxplayers -1 on rare occasions

This is pretty rare, maybe 1 or 2 times a week. But there are times where the player count is 1 less than max players until someone disconnects. For example it will show 31/32 in the server browser, but players cannot join with the standard server full message.

This only started happening after the x64 update. I have confirmed with another host that uses the connect ext and they also have the problem, it goes away when the ext is removed.

Something to note, we do have sourcetv running all the time.

connect.ext - Failed to find CBaseClient__SetSteamID function.

L 04/19/2024 - 11:05:36: [SM] Unable to load extension "connect.ext": Failed to find CBaseClient__SetSteamID function.

Possible signature update required? for CBaseClient__SetSteamID

connect.games.txt

Windows TF2 server
Latest SM build 1.12.0.7116

It was working perfectly before the update of 18/04/2024.

I have attached the files for reference.

"Games"
{
	"#default"
	{
		"#supported"
		{
			"engine"    "dods"
			"engine"    "css"
			"engine"    "hl2dm"
			"engine"    "tf2"
		}

		"Offsets"
		{
			"ISteamGameServer__BeginAuthSession"
			{
				"linux"         "29"
				"mac"           "29"
				"windows"       "29"
			}

			"ISteamGameServer__EndAuthSession"
			{
				"linux"         "30"
				"mac"           "30"
				"windows"       "30"
			}
		}

		"Signatures"
		{
			"CBaseServer__CheckMasterServerRequestRestart"
			{
				"library"       "engine"
				"windows"       "\xE8\x2A\x2A\x2A\x2A\x83\x78\x04\x00\x74\x2A\xE8\x2A\x2A\x2A\x2A\x8B\x48\x04\x8B\x01\x8B\x40\x2C\xFF\xD0\x84\xC0\x74\x2A\x56"
			}

			"Steam3Server"
			{
				"library"       "engine"
				"linux"         "@_Z12Steam3Serverv"
				"mac"           "@_Z12Steam3Serverv"
			}
		}
	}

	"#default"
	{
		"#supported"
		{
			"engine"    "dods"
			"engine"    "css"
			"engine"    "hl2dm"
		}

		"Signatures"
		{
			"CBaseServer__ConnectClient"
			{
				"library"       "engine"
				"linux"         "@_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i"
				"mac"           "@_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i"
				"windows"       "\x55\x8B\xEC\x81\xEC\x04\x05\x00\x00\x56\x68\x2A\x2A\x2A\x2A\x8B\xF1"
			}

			"CBaseServer__RejectConnection"
			{
				"library"       "engine"
				"linux"         "@_ZN11CBaseServer16RejectConnectionERK8netadr_siPKc"
				"mac"           "@_ZN11CBaseServer16RejectConnectionERK8netadr_siPKc"
				"windows"       "\x55\x8B\xEC\x81\xEC\x04\x05\x00\x00\x56\x6A\xFF"
			}

			"CBaseClient__SetSteamID"
			{
				"library"       "engine"
				"linux"         "@_ZN11CBaseClient10SetSteamIDERK8CSteamID"
				"mac"           "@_ZN11CBaseClient10SetSteamIDERK8CSteamID"
				"windows"       "\x55\x8B\xEC\x8B\x55\x08\x8B\x02\x89\x41\x59\x8B\x42\x04"
			}

			"CBaseServer__CheckChallengeType"
			{
				"library"       "engine"
				"linux"         "@_ZN11CBaseServer18CheckChallengeTypeEP11CBaseClientiR8netadr_siPKcii"
				"mac"           "@_ZN11CBaseServer18CheckChallengeTypeEP11CBaseClientiR8netadr_siPKcii"
				"windows"       "\x55\x8B\xEC\x83\xEC\x14\x56\x57\x8B\x7D\x2A\x8B\xF1"
			}
		}
	}

	"#default"
	{
		"#supported"
		{
			"engine"    "tf2"
		}

		"Signatures"
		{
			"CBaseServer__ConnectClient"
			{
				"library"       "engine"
				"linux"         "@_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i"
				"mac"           "@_ZN11CBaseServer13ConnectClientER8netadr_siiiiPKcS3_S3_i"
				"windows"       "\x55\x8B\xEC\x81\xEC\x24\x05\x00\x00"
			}

			"CBaseServer__RejectConnection"
			{
				"library"       "engine"
				"linux"         "@_ZN11CBaseServer16RejectConnectionERK8netadr_siPKc"
				"mac"           "@_ZN11CBaseServer16RejectConnectionERK8netadr_siPKc"
				"windows"       "\x55\x8B\xEC\x81\xEC\x04\x05\x00\x00\x57"
			}

			"CBaseClient__SetSteamID"
			{
				"library"       "engine"
				"linux"         "@_ZN11CBaseClient10SetSteamIDERK8CSteamID"
				"mac"           "@_ZN11CBaseClient10SetSteamIDERK8CSteamID"
				"windows"       "\x55\x8B\xEC\x56\x57\x8B\x7D\x08\x8B\xF1\x8D\x4E\x04"
			}

			"CBaseServer__CheckChallengeType"
			{
				"library"       "engine"
				"linux"         "@_ZN11CBaseServer18CheckChallengeTypeEP11CBaseClientiR8netadr_siPKcii"
				"mac"           "@_ZN11CBaseServer18CheckChallengeTypeEP11CBaseClientiR8netadr_siPKcii"
				"windows"       "\x55\x8B\xEC\x83\xEC\x14\x53\x8B\x5D\x14"
			}
		}
	}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.