Skip to content

Conversation

@Aingar
Copy link
Collaborator

@Aingar Aingar commented Nov 25, 2023

-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

-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
<ClCompile>
<AdditionalOptions>-D_SCL_SECURE_NO_WARNINGS %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<Optimization>Disabled</Optimization>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this intentional?

CShip* cobj = reinterpret_cast<CShip*>(CObject::Find(iShip, CObject::CSHIP_OBJECT));
if (cobj)
{
cobj->Release();
Copy link
Member

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?

ReadProcMem(pAddress, szRepFreeFixOld, 5);
WriteProcMem(pAddress, szNOPs, 5);

// jump past a redundant XOR statement
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uh, what?


WriteProcMem(pAddress, szDivertJump, 1);

// jump out of the crash trap in TradeLane/SPObjUpdate related code
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants