-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FLHook core update #352
base: master
Are you sure you want to change the base?
FLHook core update #352
Conversation
-Fix CObject::Find reference counter remaining unreleased -Cross plugin structs are now initializing with default values -Apply a crash prevention patch to common.dll -Apply a minor optimization to server.dll -Unordered_map and _set are now included in FLCoreServer.h -Added missing dependency to HookExtension plugin for BountyHunt -FLHook core can now compile in debug mode. -Minor optimizations
@@ -68,7 +68,7 @@ copy /Y $(OutDir)$(TargetName).lib $(SolutionDir)\Source\FLHookPluginSDK\libs\ | |||
</CustomBuildStep> | |||
<ClCompile> | |||
<AdditionalOptions>-D_SCL_SECURE_NO_WARNINGS %(AdditionalOptions)</AdditionalOptions> | |||
<Optimization>Full</Optimization> | |||
<Optimization>Disabled</Optimization> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this intentional?
if (cobj) | ||
{ | ||
cobj->Release(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be called after we've got the result of GetOwnerPlayer and have actually stopped using the cobj
object?
@@ -305,6 +305,11 @@ bool InitHookExports() | |||
ReadProcMem(pAddress, szRepFreeFixOld, 5); | |||
WriteProcMem(pAddress, szNOPs, 5); | |||
|
|||
// jump past a redundant XOR statement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uh, what?
@@ -318,6 +323,11 @@ bool InitHookExports() | |||
|
|||
WriteProcMem(pAddress, szDivertJump, 1); | |||
|
|||
// jump out of the crash trap in TradeLane/SPObjUpdate related code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these tricks of our own or things we've gotten from adoxa/tsp friends?
-Fix CObject::Find-fetched object reference counters remaining unreleased once we're done with them
-Cross plugin structs are now initializing with default values
-Apply a crash prevention patch to common.dll
-Apply a minor optimization to server.dll
-Unordered_map and _set are now included in FLCoreServer.h
-Added missing dependency to HookExtension plugin for BountyHunt
-FLHook core can now compile in debug mode.
-Minor optimizations