![]() |
New AI for Mobs - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: New AI for Mobs (/thread-820.html) |
RE: New AI for Mobs - NiLSPACE - 12-04-2013 Is it normal that it doesn't compile? RE: New AI for Mobs - SamJBarney - 12-04-2013 You may not have the full thing. SOme of the stuff is just in my local copy right now. What errors are you getting? RE: New AI for Mobs - NiLSPACE - 12-04-2013 The MoveToPosition function in Zombie.h and Skeleton.h do not override any function. So I guess you removed it from the cMonster class. Also the server crashes after a mob spawns. I don't think that's normal either ![]() RE: New AI for Mobs - SamJBarney - 12-04-2013 Ah. Yeah. Try it now. RE: New AI for Mobs - NiLSPACE - 12-04-2013 Now I get: Code: 1>c1xx : fatal error C1083: Cannot open source file: '..\source\Mobs\PassiveMonster.cpp': No such file or directory fixed it and now I get Code: 1>Monster.obj : error LNK2001: unresolved external symbol "public: __thiscall cBehavior::cBehavior(class cMonster *)" (??0cBehavior@@QAE@PAVcMonster@@@Z) RE: New AI for Mobs - SamJBarney - 12-04-2013 Weird. I will take a look into it when I get the chance. I'm not too familiar with Windows compilation, though. But first I am going to get my repo back up to snuff so that I am no longer developing in the source folder. RE: New AI for Mobs - NiLSPACE - 12-04-2013 I found the problem. It's because the files are not added to MCServer.vcproj yet. I get allot of Code: 20:20:43] cChunk::UnboundedRelGetBlockType: requesting a block with a_RelY out of range: RE: New AI for Mobs - SamJBarney - 12-04-2013 That's weird. I don't get any of those errors on my machine. I wonder what the difference is... Is that all you get right now? Does it tell you what the relY is? RE: New AI for Mobs - NiLSPACE - 12-04-2013 Yea and it keeps getting smaller. from -1 to -188720. After that I stopped it. RE: New AI for Mobs - SamJBarney - 12-04-2013 I think that may have to do with the fact that the LOGWARNINGs in the unbounded functions are trying to print an int as a double. Code: LOGWARNING("%s: requesting a block with a_RelY out of range: %d", __FUNCTION__, a_RelY); |