Raxine
-
Posts
2 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Raxine
-
-
Ello i have create a .patch for 2.4.3 =>3.0.3 dont work to 3.0.8 Why ?
What is my error ?
+bool ChatHandler::HandleBoutique(const char *args) {
+
+ Player *player = m_session->GetPlayer();
+
+ // si aucun argument renvoie à l'aide
+ if (!*args)
+ {
+ SendSysMessage(LANG_BOUTIQUE_HELP);
+ return true;
+ }
This is the error after compilation
if
g++ -DHAVE_CONFIG_H -I. -I../../../src/game -I../.. -I/usr/include/mysql -I. ./../../dep/ACE_wrappers -I../../dep/ACE_wrappers -I../../src/shared -I../../.. /src/game -I../../../src/game/../../dep/include -I../../../src/game/../framework -I../../../src/game/../shared -I../../../src/game/../shared/vmap -I../../../src /game/../realmd -DSYSCONFDIR=\\"/home/MaNGOS/server/etc/\\" -DENABLE_RA -DENABLE _CLI -DDO_MYSQL -g -O2 -MT Level0.o -MD -MP -MF ".deps/Level0.Tpo" -c -o Level0. o ../../../src/game/Level0.cpp; \\
then mv -f ".deps/Level0.Tpo" ".deps/Level0.Po"; else rm -f ".deps/Level 0.Tpo"; exit 1; fi
../../../src/game/Level0.cpp:505:2: warning: no newline at end of file
../../../src/game/Level0.cpp: In member function 'bool ChatHandler::HandleBoutiq ue(const char*)':
../../../src/game/Level0.cpp:440: error: no matching function for call to 'Playe r::learnSpell(uint32&'
../../../src/game/Player.h:1442: note: candidates are: void Player::learnSpell(u int32, bool)
make[3]: *** [Level0.o] Erreur 1
make[3]: quittant le répertoire « /home/MaNGOS/sources/mangos/objdir/src/game »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/MaNGOS/sources/mangos/objdir/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/MaNGOS/sources/mangos/objdir »
make: *** [all] Erreur 2
Sry bad english i'm french .
Thx for help me
Herlp : My .patch
in OldCore modifications
Posted
This is the full .patch for item recuparation in game.
Whats is the probleme