ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.7k stars 1.99k forks source link

[TF2] AskConnect Dialogue Box not appearing #457

Closed JoinedSenses closed 6 years ago

JoinedSenses commented 6 years ago

Based on a sourcemod function no longer working, SM dev, Psychonic , suggested there is an issue with IServerPluginHelpers::CreateMessage .

SM fuctions are DisplayAskConnectBox()/CreateDialog(), which seems to use this to open the "Accept Connection" dialogue window. This breaks plugins with this feature, such as Server Hop.

Resources: https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/mp/src/public/engine/iserverplugin.h#L150

https://github.com/alliedmodders/sourcemod/blob/95afe72307ca429db1c899f773b370c727a9356f/plugins/include/halflife.inc#L633 https://github.com/alliedmodders/sourcemod/blob/44c744b8fd4da788c02275599136ae3ffa0af58d/core/smn_halflife.cpp#L284

Example plugin that no longer works: http://ecj.tf/sourcemod/scripting/vhop.sp