[kinda solved] Can't load plugin<dsacesrv.dll></dsacesrv.dll>
-
Heyho fellow Freelancers :),
yesterday i stumbled upon the newest rev (249) of flhookplugin at the svn forge. Compiled it with visual studio 2013 and everything went fine
Unfortunately the given dsacesrv.dll seems to not work properlyā¦
Does somebody know a resolution for this?
-
If you head over Discoās forums and ask around, you might get one of the guys with access to the source to port it to 2013. No guarantee though, otherwise itās back to 2008.
-
Thx for your advice
Now that i have recompiled it via vs 2008 it can be loaded again
But I just ran into new struggles:
[05.07.2014 18:21:45] ERROR: Exception in plugin 'hookext' in HkIServerImpl::CharacterSelect [05.07.2014 18:21:45] ERROR: Exception in HkIServerImpl::CharacterSelect [05.07.2014 18:21:45] Code=c0000005 Offset=7ed1 Module="D:\Spiele\Freelancer\EXE\flhook_plugins\ahookext.dll" [05.07.2014 18:21:45] eax=324b9c ebx=0 ecx=6d90260 edx=0 edi=324c9a8 esi=324c9a8 ebp=324b008 eip=2f97ed1 esp=324abec [05.07.2014 18:21:45] ERROR: Time lag detected seconds=1.341148 ticks_delta=4736465 [05.07.2014 18:23:13] ERROR: Exception in PlayerCntl::UserCmd_Process(iClientID=1, wscCmd=/restart pvpeagle) [05.07.2014 18:23:13] ERROR Exception in UserCmd_Process [05.07.2014 18:23:13] Code=c0000005 Offset=1d33d Module="C:\Windows\syswow64\msvcrt.dll" [05.07.2014 18:23:13] eax=0 ebx=324c4dc ecx=e8fd9d45 edx=0 edi=324af08 esi=324b9c ebp=324a7e0 eip=75a2d33d esp=324a7e0
I noticed that the server doesnt recognize the player ids ā¦ :S
(f.e. a client logs in and types ā/idā and gets his ID as a response, but if want to f.e. add cargo or kill him/her the server responses with āERR Invalid client idā ā¦ )I didnt change any code for this testruns :S
-
Look at the dependencies by dependency walker, etc of dsacesrv.dll - ex. msvcp90.dll, msvcr90.dll
then recompile it with proper VC version - choose it somewhere at the Project Properties of 2013 GUI
or yes, by vs 2008 you may try start to rebuild from ahookext - check itās properties too. -
Hm did the rebuilding & just in case reinstalled vc redist 2008 sp1, still the same errorsā¦.
Where do i find the option to change it to the proper VC version Helloween?
(Iām using vs 2008 as for now) -
If it compiles, itās already the right version.
However, Iām not sure dsace was built with SP1, which changes the STL headers and thus is likely a breaking change.
-
The problem is that youāre using a version of Hook thatās more recent than the one dsaceserv.dll was built against. The libs changed, the definitions changed, so all plugins must be recompiled.
The only fix is to go back revisions until you find the one dsaceserv.dll was built with.
-
yeah i see alot of your points, but the problems described here still occur even without dsacesrv plugin ā¦.
Now Iām just trying to get the āvanilla versionā from the forge to work properly ā¦ which unfortunately still leads to the errors
maybe the forum topic is misleading
-
Itās possible that hookext didnāt like some of the changes made to Hook as well. Itās hard to test those plugins since they do nothing by themselves.
-
@Starworld: THX iāll try that
But still I got problems with unmodified newest rev
Maybe i should open a new thread for thatā¦.At the first glance the clients are registred by flhook again (with rev241; checked via getplayers command)
Itās a bummer that it dont work with the newest rev for me :S