Jump to content

Out of ideas..... BIG PROBLEMO.


Go to solution Solved by masodikbela,

Recommended Posts

Hello guys. For the last 3 days I've been looking through my source files in order to fix this problem but I'm completely stuck. I'm literally out of ideas, so I thought maybe someone had a problem like mine and could help me. So here it is..

 

I'm working on mainline_sg.

 

The problem is that whenever I use mob id in my quests (for example when kill with npc.get_race() == 101 begin) I get this..

SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0
SYSERR: Mar  6 22:41:34 :: Dead: QUEST no such pc id : 0

I think that the game somehow things that every mob has id 0.

 

I've done a lot to my game before I've realized this issue so there is no really going back I have to found the cause.

 

Any help will be appreciated, even a very stupid suggestion. 

 

PS. This is 100% game/db issue.

Link to comment
Share on other sites

  • Premium
  • Solution

I think the problem caused by the dead event trigger (or the kill event trigger, but it is unlikely). Did you do anything whit it? (I think yes, because I didn't find any string like Dead: QUEST no such pc id or Dead:) This problem possibly caused by

void CHARACTER::Dead(LPCHARACTER pkKiller, bool bImmediateDead)

in char_battle.cpp but I'm not sure.

Another possibility: (questmanager.cpp)

void CQuestManager::Kill(unsigned int pc, unsigned int npc)

If you modified any of this, try to replace with the original.

I hope this will help a little ;)

  • Love 1

The one and only UI programming guideline

Link to comment
Share on other sites

I think the problem caused by the dead event trigger (or the kill event trigger, but it is unlikely). Did you do anything whit it? (I think yes, because I didn't find any string like Dead: QUEST no such pc id or Dead:) This problem possibly caused by

void CHARACTER::Dead(LPCHARACTER pkKiller, bool bImmediateDead)

in char_battle.cpp but I'm not sure.

Another possibility: (questmanager.cpp)

void CQuestManager::Kill(unsigned int pc, unsigned int npc)

If you modified any of this, try to replace with the original.

I hope this will help a little ;)

 

Good ideas, I have done some changes to those files. I've replaced them with "clean ones" (straight from kraizy.tgz) and re-compiled but unfortunately it didn't help.

Anyway thanks :)

 

edit : LOL you were actually right. The problem was in char_battle.cpp.

 

Thank you dude !

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.