dkded error message

Issue #73 resolved
Martin Müller created an issue

Hello,

the linux build of dkded (Built Dec 30 2014 at 02:52:57) reported following error message:

[01/31/15 @ 07:38:42 PM] WARNING: No string for function at address 0xf6a12640 in func_list[]!
[01/31/15 @ 07:38:42 PM]    INFO: Function at address 0xf6a12640 is actually called winfoDroppedItemThink(edict_s*) !
[01/31/15 @ 07:38:42 PM]    INFO: That function is from /usr/local/games/daikatana/dlls/weapons.so
[01/31/15 @ 07:38:42 PM] !!! Please report this as a bug !!!

[01/31/15 @ 07:38:42 PM] Entity has been assigned an unregistered function ( think )

Cheers, Martin

Comments (6)

  1. Frank Sapone

    Do you have more detailed output? i.e. what map it was was there anyone playing, etc? This function is already registered so I'm not sure why you're seeing it.

  2. Daniel Gibson
        gstate->RegisterFunc("weaponTouchDefault",(void*)weaponTouchDefault);
        gstate->RegisterFunc("winfoDroppedItemThink",(void*)ammoTouchDefault);
        gstate->RegisterFunc("ammoTouchDefault",(void*)ammoTouchDefault);
    

    ok, the bug is kinda obvious, someone failed at copy&paste :D

  3. Daniel Gibson

    Fix RegisterFunc() calls with wrong function pointers, fixes #73

    aka Copy&Paste fails. I looked at all calls to RegisterFunc where the string wasn't the same as the function name and found one more where that actually was a bug.

    → <<cset e8c53df4d0c8>>

  4. Daniel Gibson

    The bug is fixed in the code and the fix will be in the next binary release.. which might not be immediately, as this bug is not super-annoying.

  5. Log in to comment