- May
- Threads
- 31
- 86
- 1,533
- 83
Hello, I don't know if every file has this problem, but it's been a problem for a long time and I just had a look.
In some files, they turned this syserri directly into a comment line and turned it off, but I didn't feel comfortable with it.(see: overfall)
To summarise the problem; When you open the game in debug mode, when a market enters your line of sight, it gives the following error hundreds of times in a row on the debug screen:
Code:
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
The error comes from(GameLib/ActorInstanceMotion.cpp):
At first I solved this error by providing a fix via C++, but after the fix, the real underlying cause of the problem was revealed.
The real reason is that the privateshopwait.gr2 file, which is defined in the 00.msa file of the market, is nowhere in the pack.
In this case, to solve the problem radically:
Go to the /npc2/privateshop/ directory in the pack, open the 00.msa file and change privateshopwait.gr2 to wait.gr2 (there is already wait.gr2 in the same directory).
Do the same for the folder npc2/privateshop2/.
-> If you are using cashmere, you don't need to modify the files belonging to cashmere.
In some files, they turned this syserri directly into a comment line and turned it off, but I didn't feel comfortable with it.(see: overfall)
To summarise the problem; When you open the game in debug mode, when a market enters your line of sight, it gives the following error hundreds of times in a row on the debug screen:
Code:
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
SYSERROR: CActorInstance::GetMotionDuration - Invalid Motion Key : 1, 1, 0
The error comes from(GameLib/ActorInstanceMotion.cpp):
Code:
if (0 == pMotion->GetMotionCount())
{
#ifdef _DEBUG
Tracenf("CActorInstance::GetMotionDuration - Invalid Motion Key : %d, %d, %d",
GET_MOTION_MODE(dwMotionKey), GET_MOTION_INDEX(dwMotionKey), GET_MOTION_SUB_INDEX(dwMotionKey));
#endif
return 0.0f;
}
At first I solved this error by providing a fix via C++, but after the fix, the real underlying cause of the problem was revealed.
The real reason is that the privateshopwait.gr2 file, which is defined in the 00.msa file of the market, is nowhere in the pack.
In this case, to solve the problem radically:
Go to the /npc2/privateshop/ directory in the pack, open the 00.msa file and change privateshopwait.gr2 to wait.gr2 (there is already wait.gr2 in the same directory).
Do the same for the folder npc2/privateshop2/.
-> If you are using cashmere, you don't need to modify the files belonging to cashmere.
Last edited by a moderator:
