darkfr3ak
-
Posts
36 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by darkfr3ak
-
-
Its exactly like yours
I'm using Notepad++ as Editor... maybe i should try to patch under linux?
i hate patching
-
Thanks for this help, blueboy
thats the result of the first test, Mangos with applied Playerbot from Portal/Master:
error: patch failed: bot_readme.txt:27
error: bot_readme.txt: patch does not apply
error: patch failed: src/game/playerbot/PlayerbotAI.cpp:1006
error: src/game/playerbot/PlayerbotAI.cpp: patch does not apply
error: patch failed: src/game/playerbot/PlayerbotAI.h:1474
error: src/game/playerbot/PlayerbotAI.h: patch does not apply
and thats the result of a clean Mangos clone without Playerbot:
error: bot_readme.txt: No such file or directory
error: src/game/playerbot/PlayerbotAI.cpp: No such file or directory
error: src/game/playerbot/PlayerbotAI.h: No such file or directory
in both tests nothing was changed on any file.
Maybe i'm too tired to get this solved
-
By the way... are the Craft-Abilities only in the New-Ai-Branch? Or also in the master portal branch?
Can't wait to test them But i don't want to switch again Switched from the stable to portal a few hours ago
-
Edit 2: It seems i got it to work. I just removed the last argument in this line:
m_bot->GetMotionMaster()->MovePoint(wo->GetMapId(), x, y, z, false);
so that it suits the definition of MovePoint:
void MotionMaster::MovePoint(uint32 id, float x, float y, float z)
and it compiled without error. Now it should work again.
I have to correct myself... it only seems to compile, but mangosd.exe isn't generated. Oo
-
P.S. Your error say 'reqlevel', it's spelt wrong. You obviously applied the changes manually and it's a typo. It should be 'reqLevel'
Hey
Thanks for the reply, but i didn't apply the canges manually... i've used the wiki you provided to apply the Bot to mangos.
The only thing i had to correct was the revision_sql.h-error.
Edit: Damn, yoou were faster with your Edit
Edit 2: It seems i got it to work. I just removed the last argument in this line:
m_bot->GetMotionMaster()->MovePoint(wo->GetMapId(), x, y, z, false);
so that it suits the definition of MovePoint:
void MotionMaster::MovePoint(uint32 id, float x, float y, float z)
and it compiled without error. Now it should work again.
-
Thanks
But after testing I found a problem. I took a level 2 paladin to a trainer and was able to learn all spells upto 'Blessing of Kings', that requires level 22.
https://github.com/blueboy/portal/commit/ae1d5be88f6b3bd6a8bffbbee6d244d81c37c17c
I have pushed a revison to portal to test out. I checked my server and the paladin can now only learn 'Devotion of Aura' as expected.
Hope this helps
Now i've got new errors:
10>..\\..\\src\\game\\playerbot\\PlayerbotAI.cpp(5134) : error C2660: 'MotionMaster::MovePoint': Function doesn't accept 5 Arguments
10>..\\..\\src\\game\\playerbot\\PlayerbotAI.cpp(7606) : error C2065: 'reqlevel': undeclared identifier
I'm using the latest Mangos-Rev with the portal-repo.
-
Wow, that was fast
Thank you, sart!
-
With this help i got one of the errors solved, but now i forund another one:
9>..\\..\\src\\game\\playerbot\\PlayerbotAI.cpp(7555) : error C2660: 'Player::GetTrainerSpellState': Function doesn't accept 1 arguments
The error-message is freely translated, cause i'm german.
I hope you can help on this one.
I really love your work with the playerbot, and i really want it in my game
-
Hey blueboy
No, it crashes not only on Thorns. I have a Warrior, which can't learn skills. I've made it exactly like kennumen, and mangosd.exe crashed.
Playerbot
in OldCore modifications
Posted
OMG... i forgot the newline
as a linux-user i had to know this... damn
but now i know it, and it won't happen again
btw, did you saw the correction of PlayerbotAI.cpp in an older post? Theres the same mmaps-thing in the new-ai-branch.