Jump to content

belfedia

Members
  • Posts

    21
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by belfedia

  1. Nobody can say me if my patch is correct plz ?
  2. One more question ! Where i can change Bot number, i think 9 bots is too much for my server, 2 or 3 are more serious
  3. Thanks i give a try ! Edit : Compil and SQL work, i test in game I don't know if it is a good test, but mammoth working ! Edit2: Can't use vehicle with 2 or 3 player like mammoth.
  4. My [8994] patch is correct ? please ? git clone git://github.com/mangos/mangos.git cd mangos git checkout -b 8994 d04b1344d3a9f68614d71804aa988dc7bd120fe0 git checkout -b vehicle git pull git://github.com/Tasssadar/Valhalla-Project.git vehicle git diff -p 8994 vehicle > tassadar.patch
  5. Just a question Bot take quest but don't finish it (don't choose rewards) that correct ?
  6. Thanks to help skirnir I make that for [8994] AHbot : git clone git://github.com/Naicisum/mangos.git ahbot cd ahbot git checkout origin/ahbot git checkout -b ahbot git checkout d04b1344d3a9f68614d71804aa988dc7bd120fe0 git checkout master git checkout d04b1344d3a9f68614d71804aa988dc7bd120fe0 git diff master ahbot > auctionhousebot.patch of course "d04b1344d3a9f68614d71804aa988dc7bd120fe0" is hash for [8994] after i try a : git clone git://github.com/mangos/mangos.git cd mangos git checkout -b 8994 d04b1344d3a9f68614d71804aa988dc7bd120fe0 svn co -r1513 $SCRIPTDEV_SVN $SCRIPTDEV_PATH/ git am $SCRIPTDEV_PATH/patches/MaNGOS-* echo "test auctionhouse patch 8994" patch --dry-run -p1 < /home/mangos/sources/auctionhousebot.patch read -p "Press any key to apply patchs." patch -p1 < /home/mangos/sources/auctionhousebot.patch sleep 2 And i have : patching file README.AHBOT patching file sql/characters_auctionhousebot.sql patching file sql/characters_auctionhousebot_update.sql patching file src/game/AuctionHouseBot.cpp patching file src/game/AuctionHouseBot.h patching file src/game/AuctionHouseHandler.cpp patching file src/game/AuctionHouseMgr.cpp Hunk #1 FAILED at 463. 1 out of 1 hunk FAILED -- saving rejects to file src/game/AuctionHouseMgr.cpp.rej patching file src/game/AuctionHouseMgr.h patching file src/game/Chat.cpp Hunk #1 succeeded at 664 (offset -4 lines). patching file src/game/Chat.h patching file src/game/Level3.cpp patching file src/game/Mail.cpp Hunk #2 FAILED at 901. 1 out of 2 hunks FAILED -- saving rejects to file src/game/Mail.cpp.rej patching file src/game/Makefile.am Hunk #1 succeeded at 38 (offset 1 line). patching file src/game/Player.cpp Hunk #1 succeeded at 14312 (offset -115 lines). patching file src/game/Player.h Hunk #1 succeeded at 1423 (offset 4 lines). patching file src/game/World.cpp Hunk #1 succeeded at 62 (offset 1 line). Hunk #2 succeeded at 1520 (offset 247 lines). Hunk #3 succeeded at 1595 (offset 247 lines). patching file src/mangosd/mangosd.conf.dist.in Hunk #1 succeeded at 1342 (offset -7 lines). patching file win/VC100/game.vcxproj Hunk #2 succeeded at 499 with fuzz 2 (offset 1 line). patching file win/VC80/game.vcproj Hunk #1 succeeded at 1034 (offset -96 lines). patching file win/VC90/game.vcproj Hunk #1 succeeded at 1035 (offset -96 lines). Press any key to apply patchs. Just when i test the patch... any help ? ps : i don't know C or C++ !
  7. Nobody have a clue for maxmax27 problem ? I'm very interested by !
  8. Many many many many many many .... // .... many thanks blueboy ! That's work marvellous, is magic !!! Much players from my server thanks you also for long time ! Server is stable, i think i don't add sql for botguy and no problems Perhaps it is possible to add the NPChandler.cpp mod in 8965 patch, but i have not enough skill for that.
  9. yes i make git clone git://github.com/mangos/mangos.git // take mangos git reset --hard [8994] // make 8994 master svn co -r 1513 [url]https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2/[/url] src/bindings/ScriptDev2 // take scriptdev2 SVN git am [url]https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2//patches/MaNGOS-*[/url] // apply MaNGOS-8759-ScriptDev2.patch patch -p1 < /home/mangos/sources/playerbot.patch autoreconf --install --force ../configure --prefix=/home/mangos/serverbot/ --sysconfdir=/home/mangos/serverbot//etc --enable-cli --enable-ra --datadir=/home/mangos/serverbot/ make -j 2 make install and i have CXX NPCHandler.o ../../../src/game/NPCHandler.cpp: In member function ‘void WorldSession::HandleGossipSelectOptionOpcode(WorldPacket&)’: ../../../src/game/NPCHandler.cpp:317: error: ‘pCreature’ was not declared in this scope make[3]: *** [NPCHandler.o] Error 1 You want i remove all lines from #455 patch in 8965 patch ? I'm lilttle lost on a patch files, because i don't know C or C++
  10. Yes i have this error I don't need any bot guy, just need Bot command ! I have try #455 fix, but don't working with me.
  11. I'm very patient But you too with newb like me Many thanks ! Ps: I'm on lenny debian
  12. Only one error with your 8965 patch !!! Hunk #3 FAILED at 321. 1 out of 3 hunks FAILED -- saving rejects to file src/game/NPCHandler.cpp.rej patching file src/game/Player.cpp We are close to clue !
  13. You say last scriptdev2 patch don't work with mangos [8994] My server is ok, mobs move on it, i supose i have correct scriptdev2 version But if i use git checkout -b 8994 fe7a71ed73e7d5d61e5274b0e5334f2929f94c9c in place of git reset --hard [8994] I don't have right scriptdev2 version and can't compil it ! Why i can't use git reset --hard [8994] in blueboy repository ?
  14. My real script for compil Mangos [8994] without playerbot is git clone git://github.com/mangos/mangos.git // take mangos git reset --hard [8994] // make 8994 master svn co [url]https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2/[/url] src/bindings/ScriptDev2 // take scriptdev2 SVN git am [url]https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2//patches/MaNGOS-*[/url] // apply MaNGOS-8759-ScriptDev2.patch autoreconf --install --force ../configure --prefix=/home/mangos/serverbot/ --sysconfdir=/home/mangos/serverbot//etc --enable-cli --enable-ra --datadir=/home/mangos/serverbot/ make -j 2 make install If i use git checkout -b 8994 fe7a71ed73e7d5d61e5274b0e5334f2929f94c9c i'm on a new branch 8994 but scriptdev2 don't work ! I must use git reset --hard [8994] and i have a fully [8994] working With playerbot: git reset --hard [8994] don't work on git://github.com/blueboy/mangos.git, just working on git://github.com/mangos/mangos.git Note: read my code , i use 8759-scriptdev2 patch
  15. Hello I have try this : git clone git://github.com/blueboy/mangos.git // take mangos+playerbot git checkout -b 8994 fe7a71ed73e7d5d61e5274b0e5334f2929f94c9c // switch to 8994 branch with HASH svn co [url]https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2/[/url] src/bindings/ScriptDev2 // take scriptdev2 SVN git am [url]https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2//patches/MaNGOS-*[/url] // apply MaNGOS-8759-ScriptDev2.patch autoreconf --install --force ../configure --prefix=/home/mangos/serverbot/ --sysconfdir=/home/mangos/serverbot//etc --enable-cli --enable-ra --datadir=/home/mangos/serverbot/ make -j 2 make install Not good In file included from ../../../../src/bindings/ScriptDev2/include/precompiled.h:8, from ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:12: ../../../../src/bindings/ScriptDev2/include/../ScriptMgr.h:57: error: 'SpellEffectIndex' has not been declared ../../../../src/bindings/ScriptDev2/include/../ScriptMgr.h:58: error: 'SpellEffectIndex' has not been declared ../../../../src/bindings/ScriptDev2/include/../ScriptMgr.h:59: error: 'SpellEffectIndex' has not been declared In file included from ../../../../src/bindings/ScriptDev2/include/precompiled.h:8, from ../../../../src/bindings/ScriptDev2/ScriptMgr.cpp:5: ../../../../src/bindings/ScriptDev2/include/../ScriptMgr.h:57: error: 'SpellEffectIndex' has not been declared ../../../../src/bindings/ScriptDev2/include/../ScriptMgr.h:58: error: 'SpellEffectIndex' has not been declared ../../../../src/bindings/ScriptDev2/include/../ScriptMgr.h:59: error: 'SpellEffectIndex' has not been declared ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp: In member function 'virtual void npc_escortAI::EnterEvadeMode()': ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:195: error: 'CHASE_MOTION_TYPE' was not declared in this scope ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:206: error: 'CHASE_MOTION_TYPE' was not declared in this scope ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp: In member function 'virtual void npc_escortAI::MovementInform(uint32, uint32)': ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:337: error: 'class Creature' has no member named 'HasSplineFlag' ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:337: error: 'SPLINEFLAG_WALKMODE' was not declared in this scope ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:338: error: 'class Creature' has no member named 'RemoveSplineFlag' ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:339: error: 'class Creature' has no member named 'HasSplineFlag' ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:340: error: 'class Creature' has no member named 'AddSplineFlag' ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp: In member function 'void npc_escortAI::SetRun(bool)': ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:402: error: 'class Creature' has no member named 'RemoveSplineFlag' ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:402: error: 'SPLINEFLAG_WALKMODE' was not declared in this scope ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:409: error: 'class Creature' has no member named 'AddSplineFlag' ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:409: error: 'SPLINEFLAG_WALKMODE' was not declared in this scope ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp: In member function 'void npc_escortAI::Start(bool, bool, uint64, const Quest*, bool, bool)': ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:471: error: 'class Creature' has no member named 'RemoveSplineFlag' ../../../../src/bindings/ScriptDev2/base/escort_ai.cpp:471: error: 'SPLINEFLAG_WALKMODE' was not declared in this scope make[6]: *** [escort_ai.lo] Erreur 1 I will try next clue with your 8965 patch !
  16. Sorry just mistake, i want a 8994 i must use blueboy repository What do you think about my playerbot.patch maker ? i have some error in mangos compilation #!/bin/bash -x # create empty .git repository mkdir playerbot cd playerbot git init # pull mangos master branch git pull git://github.com/mangos/mangos.git master # change to mangos branch associated with hash git checkout -b mangos fe7a71ed73e7d5d61e5274b0e5334f2929f94c9c # add remote playerbot branch to compare with local mangos branch git remote add playerbot git://github.com/blueboy/mangos.git #merge remote branch with local branch git pull playerbot master # difference between merged local branch & mangos hash branch git diff fe7a71ed73e7d5d61e5274b0e5334f2929f94c9c > playerbot.patch Of course "fe7a71ed73e7d5d61e5274b0e5334f2929f94c9c" is 8994 An i compil with this script : SRC_DIRECTORY=/home/mangos/sources/ MANGOS_GIT=git://github.com/mangos/mangos.git SCRIPTDEV_SVN=https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2/ SCRIPTDEV_PATH=src/bindings/ScriptDev2 INSTALL_PREFIX=/home/mangos/server/ NUMCORE=2 cd $SRC_DIRECTORY if [ -d mangos/ ]; then rm -rf mangos/ else echo "Project folder empty. Let's start" fi sleep 5 echo "Getting Mangos up-to-date" sleep 2 git clone $MANGOS_GIT cd mangos/ echo "Switch to 8994 branch copy" sleep 2 git checkout -b 8994 fe7a71ed73e7d5d61e5274b0e5334f2929f94c9c echo "Getting SD2 up-to-date" sleep 2 svn co $SCRIPTDEV_SVN $SCRIPTDEV_PATH/ echo "Applying SD2 patch" git am $SCRIPTDEV_PATH/patches/MaNGOS-* sleep 2 echo "Merging playerbot source" patch -p1 < /home/mangos/sources/playerbot.patch sleep 2 echo "Autoreconf. Please wait" sleep 5 autoreconf --install --force echo "Creating new folder for compiling" mkdir objdir cd objdir echo "Configuring Mangos" ../configure --prefix=$INSTALL_PREFIX --sysconfdir=$INSTALL_PREFIX/etc --enable-cli --enable-ra --datadir=$INSTALL_PREFIX echo "Compliling Mangos. Go away and make cup of tea :)" read -p "Press any key to start compiling." make -j $NUMCORE read -p "Press any key to install." make install And i have this error : ../../../src/game/PlayerbotAI.cpp:866: error: no match for 'operator!=' in 'iter != ((const std::multimap<std::Pair<unsigned int, SpellEffectIndex>, Aura*, std::less<std::Pair<unsigned int, SpellEffectIndex> >, std::allocator<std::Pair<const std::Pair<unsigned int, SpellEffectIndex>, Aura*> > >*)((const Unit*)player)->Unit::GetAuras())->std::multimap<_Key, _Tp, _Compare, _Alloc>::end [with _Key = std::Pair<unsigned int, SpellEffectIndex>, _Tp = Aura*, _Compare = std::less<std::Pair<unsigned int, SpellEffectIndex> >, _Alloc = std::allocator<std::Pair<const std::Pair<unsigned int, SpellEffectIndex>, Aura*> >]()' /usr/include/c++/4.3/bits/stl_tree.h:289: note: candidates are: bool std::_Rb_tree_const_iterator<_Tp>::operator!=(const std::_Rb_tree_const_iterator<_Tp>&) const [with _Tp = std::Pair<const std::Pair<unsigned int, unsigned char>, Aura*>] ../../../dep/ACE_wrappers/ace/Time_Value.inl:328: note: bool operator!=(const ACE_Time_Value&, const ACE_Time_Value&) make[3]: *** [PlayerbotAI.o] Erreur 1
  17. I can't make a 3.3.2 server, i need to use compatible client with another server... I have found your previous post #394, and i'm little dubious, because you give linux scripts for playerbot repository [8898] version. I must use playerbot repository for [8894] or your ? Thanks to help
  18. Ok i try your repository and compiling is launch. I hope don't have new mistake ! Sorry i'm very newb in git usage but i'm skilling quickly EDIT: ------------------------------------------------------------------ Your repository force last source compilation, and don't use "git reset --hard [8994]" Have you a clue for have a working version 8994 ?
  19. Hello, Thanks for answer ! If i don't have good source [8894], where i can find it in your repository or playerbot repository ? I can use git reset --hard [8994] for have old version ?
  20. I use this script for compil mangos+scripts+playerbot RC_DIRECTORY=/home/mangos/sources/mangos/ MANGOS_GIT=git://github.com/mangos/mangos.git SCRIPTDEV_SVN=https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2/ SCRIPTDEV_PATH=src/bindings/ScriptDev2 INSTALL_PREFIX=/home/mangos/server/ NUMCORE=2 cd $SRC_DIRECTORY if [ -d mangos/ ]; then rm -rf mangos/ else echo "Project folder empty. Let's start" fi sleep 5 echo "Getting Mangos up-to-date" sleep 2 git clone $MANGOS_GIT cd mangos/ echo "Reset to old version" sleep 2 git reset --hard [8994] echo "Getting SD2 up-to-date" sleep 2 svn co $SCRIPTDEV_SVN $SCRIPTDEV_PATH/ echo "Applying SD2 patch" git am $SCRIPTDEV_PATH/patches/MaNGOS-* sleep 2 echo "Merging playerbot source" git pull git://github.com/playerbot/mangos.git master sleep 2 echo "Autoreconf. Please wait" sleep 5 autoreconf --install --force echo "Creating new folder for compiling" mkdir objdir cd objdir echo "Configuring Mangos" ../configure --prefix=$INSTALL_PREFIX --sysconfdir=$INSTALL_PREFIX/etc --enable-cli --enable-ra --datadir=$INSTALL_PREFIX echo "Compliling Mangos. Go away and make cup of tea :)" read -p "Press any key to start compiling." make -j $NUMCORE read -p "Press any key to install." make install But i don't have any bot commands. What's wrong ?
  21. Hello, Need bot on server 3.2.2 But when i try this like wiki : Merging Playerbot fork with Existing Mangos =========================================== git pull git://github.com/playerbot/mangos.git master I have a repository error ??? not a git repository ! EDIT: no more i'm just outside source build !!! sorry
×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use