Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/20/2020 in Posts

  1. The code snippet I mentioned is in lines 887-915 in src/client/cl_main.c in et legacy source code. In The cl_main.c from et vanilla this part is non existent // Game started as a custom protocol handler for et://<ip>[:port][/password][?session] if (!Q_stricmpn(server, "et://", 5)) { char *address = strlen(server) > 5 ? &server[5] : NULL; char *password = address ? strstr(address, "/") : NULL; if (password > address) { *password++ = '\0'; } else { password = NULL; } if (address) { server = address; } if (password) { if (strlen(password) + 1 > MAX_CVAR_VALUE_STRING) { Com_Error(ERR_DROP, "CL_Connect_f: MAX_CVAR_VALUE_STRING exceeded"); } Cvar_Set("password", password); } }
    1 point
×
×
  • Create New...