Jump to content

Auntie Mangos

Moderators
  • Posts

    2446
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Auntie Mangos

  1. What bug does the patch fix? What features does the patch add? Add use of SpellMod for melee spells, as needed ie for Zap, and rogue talents For which repository revision was the patch created? 11118 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. Bugreport by Feanordev @ http://getmangos.eu/community/post/131365/#p131365 Who has been writing this patch? Please include either forum user names or email addresses. me Tested by Feanordev (slightly different version) at http://getmangos.eu/community/post/131482/#p131482 diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index ed547cf..025b27f 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -5743,7 +5743,12 @@ SpellCastResult Spell::CheckRange(bool strict) return SPELL_CAST_OK; // with additional 5 dist for non stricted case (some melee spells have delay in apply - return m_caster->CanReachWithMeleeAttack(target, strict ? 0.0f : 5.0f) ? SPELL_CAST_OK : SPELL_FAILED_OUT_OF_RANGE; + float range_mod = strict ? 0.0f : 5.0f; + float base = ATTACK_DISTANCE; + if (Player* modOwner = m_caster->GetSpellModOwner()) + range_mod += modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_RANGE, base, this); + + return m_caster->CanReachWithMeleeAttack(target, range_mod) ? SPELL_CAST_OK : SPELL_FAILED_OUT_OF_RANGE; } break; // let continue in generic way for no target }
  2. Hi, I am providing server with own custom database, focused on roleplay, and we want to allow flying mounts for Storytellers. So, is there any chance to make flying mounts summonable in Azeroth? I mean all of them. I'm very grateful for any ideas. Thank you, Xmat edit: I've found this topic, http://getmangos.eu/community/topic/8521/flying-mounts-everywhere/ but there are a lot of ideas and i can't find any of them useful and functional.
  3. I think before implementing haste for periodic spells we should unify durations of auras from single spell by moving related code to aura holders and fix CalculateSpellDuration work for multiple effects. After that implementation won't look so ugly like in old patch. Also, I was thinking about splitting CalculateSpellDuration into two functions 1. CalculateSpellDuration that would calculate spell duration based on combo points, caster spell mods and haste. It can be also used with SendChannelStart for AoE channeled spells. For auras that don't have caster (e.g. loaded from *_addon) GetSpellDuration can be used. 2. CalculateAuraDuration that would calculate aura duration depending on target unit auras. Then we'll be able to fix http://getmangos.eu/community/topic/14726/10258-duration-diminishing/
  4. Yes, I know... Use patch from 86 post...
  5. Hello i use PvP and PvP announce system from Darkrulez - http://getmangos.eu/community/showthread.php?8952-PvPToken-System&p=115872&highlight=#post115872 I when compiling i have errors ... 2>..\\..\\src\\game\\Unit.cpp(692) : error C2065: 'player_tap' : undeclared identifier 2>..\\..\\src\\game\\Unit.cpp(692) : error C2227: left of '->getLevel' must point to class/struct/union/generic type 2> type is ''unknown-type'' 2>..\\..\\src\\game\\Unit.cpp(694) : error C2065: 'player_tap' : undeclared identifier 2>..\\..\\src\\game\\Unit.cpp(694) : error C2227: left of '->ReceiveToken' must point to class/struct/union/generic type 2> type is ''unknown-type'' 2>..\\..\\src\\game\\Unit.cpp(700) : error C2065: 'player_tap' : undeclared identifier 2>..\\..\\src\\game\\Player.cpp(21406) : error C2039: 'ReceiveToken' : is not a member of 'Player' 2> c:\\users\\glararan\\desktop\\new mangos\\9839\\src\\game\\Player.h(1022) : see declaration of 'Player' 2>..\\..\\src\\game\\Player.cpp(21413) : error C3861: 'InBattleGround': identifier not found 2>..\\..\\src\\game\\Player.cpp(21413) : error C3861: 'HasByteFlag': identifier not found 2>..\\..\\src\\game\\Player.cpp(21414) : error C3861: 'HasByteFlag': identifier not found 2>..\\..\\src\\game\\Player.cpp(21415) : error C3861: 'InBattleGround': identifier not found 2>..\\..\\src\\game\\Player.cpp(21422) : error C3861: 'CanStoreNewItem': identifier not found 2>..\\..\\src\\game\\Player.cpp(21425) : error C3861: 'SendEquipError': identifier not found 2>..\\..\\src\\game\\Player.cpp(21429) : error C3861: 'StoreNewItem': identifier not found 2>..\\..\\src\\game\\Player.cpp(21430) : error C3861: 'SendNewItem': identifier not found 2>..\\..\\src\\game\\Player.cpp(21432) : error C2673: 'ReceiveToken' : global functions do not have 'this' pointers 2>..\\..\\src\\game\\Player.cpp(21432) : error C2228: left of '.PSendSysMessage' must have class/struct/union i use 9839 rev Win 7 os -- Visual C++ 2008 all patches from his PvP and announce i use
  6. check http://getmangos.eu/community/viewtopic.php?id=8927 and see if it helps
  7. What bug does the patch fix? What features does the patch add? Fix to the Druid's Predatory Strikes Talent. It was only providing the lvl attack bonus (50/100/150%). Included weapon feral attack power % ( 7,14,20 ) bonus to it. For which repository revision was the patch created? 8440 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. I found this thread ( http://getmangos.eu/community/viewtopic.php?id=9062 ). There is a patch sugestion and it should work as well, but it seemed a little bit misplaced for, so I'd rather put alongside with the first parameter treatment. Who has been writing this patch? Please include either forum user names or email addresses. Me File: src/game/StatSystem.cpp @@ -292,38 +292,44 @@ void Player::UpdateAttackPowerAndDamage(bool ranged ) case CLASS_SHAMAN: val2 = level*2.0f + GetStat(STAT_STRENGTH) + GetStat(STAT_AGILITY) - 20.0f; break; case CLASS_DRUID: { //Check if Predatory Strikes is skilled float mLevelMult = 0.0; + uint16 mBonusWeaponAtt = 0.0; switch(m_form) { case FORM_CAT: case FORM_BEAR: case FORM_DIREBEAR: - case FORM_MOONKIN: +// case FORM_MOONKIN: { Unit::AuraList const& mDummy = GetAurasByType(SPELL_AURA_DUMMY); for(Unit::AuraList::const_iterator itr = mDummy.begin(); itr != mDummy.end(); ++itr) { // Predatory Strikes (effect 0) if ((*itr)->GetEffIndex()==0 && (*itr)->GetSpellProto()->SpellIconID == 1563) { mLevelMult = (*itr)->GetModifier()->m_amount / 100.0f; - break; } + // Predatory Strikes (effect 1) + else if ((*itr)->GetEffIndex()==1 && (*itr)->GetSpellProto()->SpellIconID == 1563) + { + mBonusWeaponAtt = (*itr)->GetModifier()->m_amount * m_baseFeralAP / 100.0f; + break; + } } break; } } switch(m_form) { case FORM_CAT: - val2 = getLevel()*(mLevelMult+2.0f) + GetStat(STAT_STRENGTH)*2.0f + GetStat(STAT_AGILITY) - 20.0f + m_baseFeralAP; break; + val2 = getLevel()*(mLevelMult+2.0f) + GetStat(STAT_STRENGTH)*2.0f + GetStat(STAT_AGILITY) - 20.0f + m_baseFeralAP + mBonusWeaponAtt; break; case FORM_BEAR: case FORM_DIREBEAR: - val2 = getLevel()*(mLevelMult+3.0f) + GetStat(STAT_STRENGTH)*2.0f - 20.0f + m_baseFeralAP; break; + val2 = getLevel()*(mLevelMult+3.0f) + GetStat(STAT_STRENGTH)*2.0f - 20.0f + m_baseFeralAP + mBonusWeaponAtt; break; case FORM_MOONKIN: val2 = getLevel()*(mLevelMult+1.5f) + GetStat(STAT_STRENGTH)*2.0f - 20.0f + m_baseFeralAP; break; default: val2 = GetStat(STAT_STRENGTH)*2.0f - 20.0f; break; }
  8. 6th October 2010 In the name of saving our users time, we now have a new feature. Enhancements You can not see if posts already have been reported. This now has changed. If a post has been reported, instead of displaying the "Report" link, the forum will now show an appropriate message indicating the existing report status. Feedback this way, please.
  9. http://getmangos.eu/community/viewtopic.php?id=7568
  10. i think it can be useful\\ screen partially on english - http://cs4559.vkontakte.ru/u15551257/92678536/x_29d703a9.jpg programm - http://getmangos.eu/community/viewtopic.php?id=10308&highlight=dbscript
  11. Similar patch in http://getmangos.eu/community/viewtopic.php?id=11315 without author. So possible author is you. In any case applied rewrited version.
  12. you can also use my easy gdb debugging guide if you are too lazy debugging manually http://getmangos.eu/community/viewtopic.php?id=10606&highlight=easy
  13. tested on 309 last bug mentioned in post 17 stell exist
  14. Life Tap triggers this spell, which is spell effect energize, so it's not related to this patch. I think I've fixed it here, same with potions. Edit: There seems to be a bug with druids when they cast cat form. When you use it, energy "ticks" (in increments of 20) for a while before it begins to regen smoothly. I think it's because the "five second rule" is being applied after casting cat form, causing the server to remove the regenerate flag incorrectly.
  15. 2 As of patch 3.0.9 Mutilate damage against poisoned targets was reduced to 20% down from 50% Sources: wiki, patchnotes Who wrote it? me, Tequila 2 diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 9f9505d..53a922d 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4357,7 +4357,7 @@ void Spell::EffectWeaponDmg(uint32 i) } if(found) - totalDamagePercentMod *= 1.5f; // 150% if poisoned + totalDamagePercentMod *= 1.2f; // 120% if poisoned (3.0.9) } break; } Other infos: Other mutilate bug is that it still requires you to be behind the target. A fix was posted here.
  16. Ok, added.
  17. good idea! make a intance template, and relate to player, then make a custom item with sd2 script (transfer player or his friends in/out instance, do like a ticket). you can make a custom box with sd2 script (can put in something or take out something). now have two problem: 1) The map ID of the instance_template is relative to map.dbc. if instance_template's record befitted your room environment. if you add record in map.dbc, maybe raise client exception. 2) now wow client (2.4.1 8125) can not support custom item http://getmangos.eu/community/viewtopic.php?id=24021&st=0 i am troubling the second problem recently ! hope your success!
  18. If this patch gets accepted, you may add this too: http://getmangos.eu/community/viewtopic.php?pid=127535#p127535 pretty similar to this...
  19. Use cyberium's patch from here.
  20. My fault, didn't really search. Sorry for this. I see Schmoozerd version is way more complete 3 versions for this...at least it shows the community is active! *Trying to save myself* So please ignore my patch (http://getmangos.eu/community/viewtopic.php?id=14555 is more interesting)
  21. try this: -Invisibility-remove-at-spell-cast"][patch] Invisibility remove at spell cast
  22. think this could help gms which have to restore deleted characters: Don't delete chars finally git pull git://github.com/DasBlub/mangos.git no_char_delete Description Don't delete chars finally Author DasBlub Forum topic http://getmangos.eu/community/viewtopic.php?id=4394 is in developement, the min-level flag has no effect but i'll implement it today
  23. something like this? <?php $reading = @fopen("config.php", 'r'); if ($reading) // if we can read the config.php file that's on the frontpage... of this thread: [url]http://getmangos.eu/community/viewtopic.php?id=11566[/url] include "config.php"; else // else, we define them here { $port = "3306"; $host = "localhost"; $user = "root"; $pass = "mangos"; $mangoscharacters = "characters"; $mangosrealm = "realmd"; } /* OPTIONS */ $gmonly = 1; /* End of OPTIONS */ $class = array(1=>"Warrior",2=>"Paladin",3=>"Hunter",4=>"Rogue",5=>"Priest",6=>"Death Knight",7=>"Shaman",8=>"Mage",9=>"Warlock",11=>"Druid"); $race = array(1=>"Human",2=>"Orc",3=>"Dwarf",4=>"Night Elf",5=>"Undead",6=>"Tauren",7=>"Gnome",8=>"Troll",10=>"Blood Elf",11=>"Draenei"); $map = array(0=>"Eastern Kingdoms",1=>"Kalimdor",33=>"Shadowfang Keep",34=>"Stormwind Stockade",35=>"Stormwind Prison",36=>"Deadmines",43=>"Wailing Caverns",44=>"Monastery",47=>"Razorfen Kraul",48=>"Blackfathom",70=>"Uldaman",90=>"Gnomeragon",109=>"Sunken Temple",129=>"Razorfen Downs",169=>"Emerald Dream",189=>"Monastery",209=>"Tanaris",229=>"Black Rock Spire",230=>"Black Rock Depths",249=>"Onyxia Lair",269=>"Caverns Of Time",289=>"School of Necromancy",309=>"Zulgurub",329=>"Stratholme",349=>"Mauradon",369=>"Deeprun Tram",389=>"Orgrimmar",409=>"MoltenCore",429=>"DireMaul",469=>"Blackwing Lair",509=>"AhnQiraj",530=>"Dalaran",531=>"AhnQiraj Temple",532=>"Karazahn",533=>"Stratholme",534=>"Hyjal Past",540=>"Hellfire Military",542=>"Hellfire Demon",543=>"Hellfire Rampart",544=>"Hellfire Raid",545=>"Coilfang Pumping",546=>"Coilfang Marsh",547=>"Coilfang Draenei",548=>"Coilfang Raid",550=>"Tempest Keep Raid",552=>"Tempest Keep Arcane",553=>"Tempest Keep Atrium",554=>"Tempest Keep Factory",555=>"Auchindoun Shadow",556=>"Auchindoun Demon",557=>"Auchindoun Ethereal",558=>"Auchindoun Draenei",560=>"Hillsbrad Past",562=>"Blades Edge Arena",564=>"Black Temple",565=>"Gruuls Lair",566=>"Netherstorm BG",568=>"ZulAman",571=>"Northrend",574=>"Valgarde 70",575=>"Utgarde Pinnacle",576=>"Nexus 70",578=>"Nexus 80",580=>"Sunwell Plateau",595=>"Stratholme COT",598=>"Sunwell 5",599=>"Ulduar 70",600=>"Drak Theron Keep",602=>"Ulduar 80",603=>"Ulduar Raid",604=>"GunDrak",607=>"Northrend BG",608=>"Violet Hold",609=>"Ebon Hold",615=>"The Obsidian Sanctum",616=>"The Eye of Eternity",617=>"Dalaran Sewers",618=>"The Ring of Valor",619=>"Ahn'kahet: The Old Kingdom",624=>"Vault of Archavon",628=>"Isle of Conquest",631=>"Icecrown Citadel Raid",632=>"Forge of Souls",649=>"Argent Tournament Raid",650=>"Argent Tournament Dungeon",658=>"Pit Of Saron",668=>"Halls of Reflection",723=>"Stormwind",724=>"The Ruby Sanctum"); $gender = array(0=>"Male",1=>"Female"); $host = $host.":".$port; $connection = mysql_connect($host, $user, $pass); if ($connection) $connected_db = mysql_select_db($mangoscharacters); if ($connection && $connected_db) { $getchars = mysql_query("SELECT * FROM `characters`;"); //query to get all the char fields from the DB if ($getchars) { echo ' <table border="0.5"> <tr> <th>Account</th> <th>Picture</th> <th>Name</th> <th>Race</th> <th>Class</th> <th>Level</th> <th>Map</th> <th>Gender</th> </tr> '; for($j = 0; $j < mysql_num_rows($getchars); $j++) // process all chars, one by one { $charinfo = mysql_fetch_assoc($getchars); // get all the fields from the query mysql_select_db($mangosrealm); $accountid = $charinfo['account']; $accountquery = mysql_query("SELECT `username`, `gmlevel` FROM `account` WHERE `id` = '$accountid';"); $accountinfo = mysql_fetch_assoc($accountquery); if ($gmonly == 1) { if ($accountinfo['gmlevel'] == 0) continue; } echo ' <tr> <td>'.$accountinfo['username'].'</td> <td>[img='.$charinfo['race'].] <td>'.$charinfo['name'].'</td> <td>'.$race[$charinfo['race']].'</td> <td>'.$class[$charinfo['class']].'</td> <td>'.$charinfo['level'].'</td> <td>'.$map[$charinfo['map']].'</td> <td>'.$gender[$charinfo['gender']].'</td> </tr> '; } echo '</table>'; } } ?>
  24. On offy rabbits run away if attacked with dots, lol.
  25. good screenshots, i dont know how create right documentation and screenshots on me project please say do you think about alterate on php ? http://getmangos.eu/community/viewtopic.php?id=10308&highlight=dbscript
×
×
  • 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