dkded error message
Issue #73
resolved
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)
-
-
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
-
reporter So do you need additional information? I can upload the whole logfile if you want.
-
nope, I know how to fix it, thanks :)
-
- changed status to resolved
Fix RegisterFunc() calls with wrong function pointers, fixes
#73aka 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>>
-
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.
- Log in to comment
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.