Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

Commit

Permalink
Last commit
Browse files Browse the repository at this point in the history
To be honest, I upset how ppl reacts to this version of extension:
https://i.imgur.com/j090Zy0.png
https://i.imgur.com/wyngjPc.png
etc...

No one believes this can be useful, so, I'm stop developing this version of extension. If somebody want to continue developing, he can do it.
  • Loading branch information
CurTInq authored Jan 18, 2019
1 parent f62b1c3 commit 1b6e50d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
Binary file modified addons/sourcemod/extensions/sendproxy.ext.2.csgo.dll
Binary file not shown.
Binary file modified addons/sourcemod/extensions/sendproxy.ext.2.csgo.so
Binary file not shown.
Binary file modified addons/sourcemod/extensions/sendproxy.ext.2.tf2.dll
Binary file not shown.
Binary file modified addons/sourcemod/extensions/sendproxy.ext.2.tf2.so
Binary file not shown.
6 changes: 3 additions & 3 deletions extension/extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@

/*
TODO:
Implement interface for prop change hooks
Split extension.cpp into modules: natives.cpp, interface.cpp & extension.cpp
Implement interface for prop change hooks & add natives
Allow multiple hooks for prop on same entity (probably use delegate for this?)
More optimizations! =D
More optimizations (maybe try to fix crashes and use threads?) if possible! =D
*/

#include "smsdk_ext.h"
#include "convar.h"
#include "dt_send.h"
#include "server_class.h"
#include <string>
#include <stdint.h>
Expand Down
2 changes: 1 addition & 1 deletion extension/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class SendProxyManagerInterfaceImpl : public ISendProxyManager
virtual bool IsProxyHookedArray(const char *, CBaseEntity *, int);
virtual bool IsProxyHookedArrayGamerules(SendProp *, int);
virtual bool IsProxyHookedArrayGamerules(const char *, int);
//TODO: same for the change hooks wtf
//TODO: same for the change hooks wtf, somebody else can do this if he want, it's pretty easy
};

#endif
12 changes: 12 additions & 0 deletions extension/natives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,5 +601,17 @@ const sp_nativeinfo_t g_MyNatives[] = {
{"SendProxy_UnhookArrayPropGamerules", Native_UnhookArrayPropGamerules},
{"SendProxy_IsHookedArrayProp", Native_IsHookedArray},
{"SendProxy_IsHookedArrayPropGamerules", Native_IsHookedArrayGameRules},
/*TODO: add more natives:
Native_HookPropChangeArray
Native_UnhookPropChangeArray
Native_HookPropChangeArrayGameRules
Native_UnhookPropChangeArrayGameRules
Native_IsPropGhangeHooked
Native_IsPropGhangeHookedGameRules
Native_IsPropGhangeArrayHooked
Native_IsPropGhangeArrayHookedGameRules
and...
Probably add listeners for plugins?
*/
{NULL, NULL},
};

0 comments on commit 1b6e50d

Please sign in to comment.