Well, while waiting for you to re-get your hands on the working source (is there an eta for that?), I suppose I can ask something else. I have this issue where FLServer crashes on me whenever a player leaves (char select screen/logout), which is strange because it happened even before I started tinkering with FLHook's source. I got around it by commenting out this line:
Patch(piServerDLL);
from HkInit.cpp. However, this of course causes me to lose the server.dll hooks, which is kind of a bummer. Furthermore, the hooks themselves do work (for example, putting a ConPrint in ShipDestroyed reliably showed when ships were removed); this means that the addresses probably aren't getting messed up. What's especially odd is that the precompiled 1.5.5 FLHook.dll doesn't give me these issues. I was wondering if you ran into a similar problem (crashing on logout) and might have some insight on the issue.
Edit: so I went and registered at the FL Coder's forum, but didn't think to read the How To Register instructions until afterwards (specifically, I left the signature field blank). Sigh.
Edited by - Dev on 5/30/2007 8:12:28 PM
Patch(piServerDLL);
from HkInit.cpp. However, this of course causes me to lose the server.dll hooks, which is kind of a bummer. Furthermore, the hooks themselves do work (for example, putting a ConPrint in ShipDestroyed reliably showed when ships were removed); this means that the addresses probably aren't getting messed up. What's especially odd is that the precompiled 1.5.5 FLHook.dll doesn't give me these issues. I was wondering if you ran into a similar problem (crashing on logout) and might have some insight on the issue.
Edit: so I went and registered at the FL Coder's forum, but didn't think to read the How To Register instructions until afterwards (specifically, I left the signature field blank). Sigh.
Edited by - Dev on 5/30/2007 8:12:28 PM