Jump to content

cyberium

Members
  • Posts

    328
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by cyberium

  1. Spell "ice armor" called "armure de glace" in french. When i run "/cast armure de glace" the spell work but "/cast ice armor" didn't. As you pointed there is a problem to find the highest rank of a spell for one unit because all spell have different ID...
  2. Ok, the purpose is to make it applicable for another client language so if we need to add manually some new enum this would'nt be an issue. Tell me your way to avoid me work for nothing Do you plan to add this translated enum for different language? Is this the only slouttion to cast some spell? Use directly Id of the spell is not possible? ARCANE_MISSILES = ai->getSpellId("arcane missiles"); //ARCANE ARCANE_EXPLOSION = ai->getSpellId("arcane explosion"); COUNTERSPELL = ai->getSpellId("counterspell"); SLOW = ai->getSpellId("slow"); ARCANE_BARRAGE = ai->getSpellId("arcane barrage"); ARCANE_BLAST = ai->getSpellId("arcane blast"); ARCANE_POWER = ai->getSpellId("arcane power"); ... ... EVERY_MAN_FOR_HIMSELF = ai->getSpellId("every man for himself"); // human BERSERKING = ai->getSpellId("berserking"); // troll WILL_OF_THE_FORSAKEN = ai->getSpellId("will of the forsaken"); // undead }
  3. frFR, i plan olso to make some other text internationalisable. Thank's for your pointing, i know now where i can find.
  4. thank for this new feature. Anyway i didn't see any update related to mage class? I have tested it at low lvl (<5) and when combat start the mage do nothing exept if the target is near the bot use autoattack with his rod. Am i do something wrong?
  5. cyberium

    MMaps Redux

    Nice to see you back faramir I hope to see your core mod under "accepted" section soon.
  6. cyberium

    England

    Mmm i will definitly reconsidere my point of view of this region!
  7. Hello blueboy, i propose this little patch. Purpose : make aknoledgement to commands. Explanation : Actualy when you type command like ".bot co player tank" there is no confirmation from bot until we send it "orders" command. Patch : The patch just add these function and olso send us error message if we forget to target assist/protect characters. @@ -1866,12 +1866,15 @@ void PlayerbotAI::SetCombatOrderByStr( std::string str, Unit *target ) { } void PlayerbotAI::SetCombatOrder( CombatOrderType co, Unit *target ) { - if( (co == ORDERS_ASSIST || co == ORDERS_PROTECT) && !target ) + if( (co == ORDERS_ASSIST || co == ORDERS_PROTECT) && !target ) { + TellMaster("Erf, you forget to target assist/protect characters!"); return; + } if( co == ORDERS_RESET ) { m_combatOrder = ORDERS_NONE; m_targetAssist = 0; m_targetProtect = 0; + TellMaster("Orders are cleaned!"); return; } if( co == ORDERS_PROTECT ) @@ -1882,6 +1885,7 @@ void PlayerbotAI::SetCombatOrder( CombatOrderType co, Unit *target ) { m_combatOrder = (CombatOrderType)(((uint32)m_combatOrder&(uint32)ORDERS_SECONDARY)|(uint32)co); else m_combatOrder = (CombatOrderType)(((uint32)m_combatOrder&(uint32)ORDERS_PRIMARY)|(uint32)co); + SendOrders( *GetMaster() ); } void PlayerbotAI::SetMovementOrder( MovementOrderType mo, Unit *followTarget ) {
  8. Here is the patch for 10295 Hope it help.
  9. I wonder why i didn't see this. Thank anyway. Here is the updated patch ahbot for 10295 Hope it help
  10. cyberium

    Mangos Coding

    No tutoriel except this forum and some comment on the code. Like you see knowing some language like C++ is not enought to fast understaind large project like Mangos. But with some reading and testing you/we/i can understaind more everyday
  11. There is lotof method. First you need to know, you will need to learn at least how to resolve simple merge error. Cause patch are not always aviable and sometimes it's very easy to resolve some merge conflict. Now i will give you some little help I assume you have already created your local repository Download this patch (playerbot and ahbot for rev 10296 all in one) Place it on top of your repository dir. So you will get : Mangos subfolder and our patch. Now in batch console do cd mangos git apply ../ahbot_playerbot_10296.patch It's done you can now compile your patched mangos. Try do the same after with 2 separate patch after And yes there is some patch (like theses 2 before) modify same file and need to be adapted. Often it's only some line number adjustement but sometimes you need to modify some method... Hope it help
  12. No more info on how we can reproduct your crash? How many player?
  13. Erf no let them make their jobs while we drink our coffee... ironic of course
  14. No! Realy realy to much to say it. My main server : core 2 duo 6400, 5GbDDR2. My main os : 2008r2 server Database server is on my main OS where actual mangos server is in xp64bit virtualised by vmware.
  15. google translated -> I pay the first round of coffee Sorry the idea it's to be the first one who invite you to take a cup of coffee.
  16. I understaind you mrelfire. Anyway it's simple to get our local repository with working patch. It's not the best solution i assume it but who whant to improve something will not be limited by these little step. Public repository requiere more active update and i don't be sure to have time to do it just for resolve some line moved to get a working merge. Finaly one repository with more than one devellopers access will be the solution. Just in case all off these guy work together and in the same way. You always can initiate project like this? Open repository and invite only good devellopers to maintain it. branch like this ? master, ahbot, playerbot, pvpoutdoor,..., allmerged.
  17. What i do in my life? Nothing related to pc unfotunaly but yes i have a job Iam from Belgium 37 years old Iam just an pc addict since 1984 and my firs amstrad 80188 pc... I was playing official wow from 2005 - 2007... Erf Played too much on it. I will hide my playtime forever lol. Now i don"t realy play just i like to know what's new on it and visite some place. I know mangos recently because i never give attetion to such like emu. The open source side of the project is one of the best thing i have seen. Lotof thing to learn. I hope i can help sometime like this team helped me
  18. To every contributor to this awsome project!
  19. The best is post your patch directly under "under review" section you will have answer from mangos team asap. But i think you are right.
  20. Here is mine patched my way for 10271. It work like before 10254 with 3 factions auctionneer. Hope it help. Edit: Ooops made mistake with link... Sorry, corrected.
  21. Here is the patch file for 10252. There is some modification in function, i hope i choosed the good way... Anyway it works until now. AuctionHouseObject* auctionHouse = sAuctionMgr.GetAuctionsMap(config->GetAHFID()); replaced by AuctionHouseEntry const* ahEntry = sAuctionMgr.GetAuctionHouseEntry(config->GetAHFID()); AuctionHouseObject* auctionHouse = sAuctionMgr.GetAuctionsMap(ahEntry); Cheer Edit : oops Homeless posted before
  22. Here is the latest patch [10246] playerbot.patch Hope this help and i'am make it right way.
  23. cyberium

    MMaps Redux

    I hope Faramir have a good vacation and will be back in great shape to finish his project
×
×
  • 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