GithubHelp home page GithubHelp logo

srcdslab / sm-ext-connect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asherkin/connect

1.0 1.0 0.0 178 KB

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

C++ 54.96% Python 31.89% C 3.77% SourcePawn 1.94% Makefile 7.44%

sm-ext-connect's People

Contributors

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

Stargazers

 avatar

sm-ext-connect's Issues

bug: steam id pending due to players being connected two times

L 02/17/2024 - 16:41:23: [CONNECT] STEAM_0:1:810590606 ExistingStorageStored: 0, SteamAuthFailed: 0 (0), Async: 0
L 02/17/2024 - 16:41:23: [CONNECT] STEAM_0:1:810590606 SteamAuthFailed: 0 (0) | retVal = 1
L 02/17/2024 - 16:41:23: "freddyfichaux62<162><[U:1:1621181213]><>" connected, address "XXX"
L 02/17/2024 - 16:41:23: "freddyfichaux62<162><[U:1:1621181213]><>" connected, address ""
L 02/17/2024 - 16:41:23: [CONNECT] player_connect(user_id=162, networkid=[U:1:1621181213], bot=0)
L 02/17/2024 - 16:41:23: [CONNECT] STEAM_0:1:810590606 OnClientConnecting
Client "freddyfichaux62" connected (XXX:64748).
L 02/17/2024 - 16:41:23: [CONNECT] STEAM_0:1:810590606 ExistingStorageStored: 1, SteamAuthFailed: 1 (2), Async: 0
L 02/17/2024 - 16:41:23: [CONNECT] [TIMEOUT] STEAM_0:1:810590606 ExistingStorageStored: 1, SteamAuthFailed: 1 (2), Async: 0
L 02/17/2024 - 16:41:23: [CONNECT] [TIMEOUT] STEAM_0:1:810590606 0.060156

SteamID3ToSteamID: invalid argument throw

libstdc++.so.6!std::__throw_invalid_argument(char const*) + 0x82 
connect.ext.so!SteamID3ToSteamID(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [string_conversions.h:83 + 0xc]

bug: wrong steam id rendered in connectclient with big values

  • V_snprintf(szSteamID, sizeof(szSteamID), "STEAM_0:%u:%u", (m_steamid.m_comp.m_unAccountID % 2) ? 1 : 0, (int32)m_steamid.m_comp.m_unAccountID/2);

    This should be handled with strings instead of int32 because values overflow/underflow and puts wrong values.

Example with nosteam clients with big values:

  • [U:1:2806910508] gives STEAM_0:0:1403455254 everywhere except in this extension part

bug: legit steam id connected with already connected legit steam id

L 09/13/2023 - 18:14:15: [CONNECT] STEAM_0:1:197257004 ExistingStorageStored: 1, SteamAuthFailed: 0 (0), Async: 0
L 09/13/2023 - 18:14:15: [CONNECT] STEAM_0:1:197257004 SteamAuthFailed: 0 (0) | retVal = 1
L 09/13/2023 - 18:14:15: [CONNECT] player_connect(user_id=1253, networkid=[U:1:394514009], bot=0)
L 09/13/2023 - 18:14:15: [CONNECT] STEAM_0:1:197257004 OnClientConnecting
L 09/13/2023 - 18:14:15: [CONNECT] STEAM_0:1:197257004 SteamLegal: 1 (0)
L 09/13/2023 - 18:14:16: [CONNECT] STEAM_0:1:197257004 SteamClientGotValidateAuthTicketResponse: 1
L 09/13/2023 - 18:14:16: [CONNECT] STEAM_0:1:197257004 SteamClientAuthenticated: 1
L 09/13/2023 - 18:19:01: [CONNECT] STEAM_0:0:571268765 ExistingStorageStored: 1, SteamAuthFailed: 0 (0), Async: 0
L 09/13/2023 - 18:19:01: [CONNECT] STEAM_0:0:571268765 SteamAuthFailed: 0 (0) | retVal = 1
L 09/13/2023 - 18:19:01: [CONNECT] player_connect(user_id=1264, networkid=[U:1:1142537530], bot=0)
L 09/13/2023 - 18:19:01: [CONNECT] STEAM_0:0:571268765 OnClientConnecting
L 09/13/2023 - 18:19:01: [CONNECT] STEAM_0:0:571268765 SteamLegal: 1 (0)
L 09/13/2023 - 18:19:02: [CONNECT] STEAM_0:0:571268765 SteamClientGotValidateAuthTicketResponse: 1
L 09/13/2023 - 18:19:02: [CONNECT] STEAM_0:0:571268765 SteamClientAuthenticated: 1

AntiSpoof doesnt handle this situation and ends in this condition:

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.