Is it normal that it doesn't compile?
New AI for Mobs
|
12-04-2013, 02:06 AM
You may not have the full thing. SOme of the stuff is just in my local copy right now. What errors are you getting?
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
12-04-2013, 02:48 AM
Ah. Yeah. Try it now.
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)
12-04-2013, 04:33 AM
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. Thanks given by: NiLSPACE
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:
12-04-2013, 06:50 AM
(This post was last modified: 12-04-2013, 06:55 AM by SamJBarney.)
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?
Yea and it keeps getting smaller. from -1 to -188720. After that I stopped it.
12-04-2013, 07:25 AM
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); |
« Next Oldest | Next Newest »
|
Users browsing this thread: 6 Guest(s)