Jump to content

Auntie Mangos

Moderators
  • Posts

    2446
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Auntie Mangos

  1. I dont know, but DiSlord made some changes to map format here and here which needs to be added to movemaps, and I think G3D lib has been updated.
  2. do you mean this here? http://getmangos.eu/community/viewtopic.php?id=4362 so he is on it to implement this? nice...
  3. "the straight dope": http://book.git-scm.com/ A very nice piece of Git documentation, it has even "Git on Windows" chapter ( http://book.git-scm.com/6_git_on_windows.html ), advanced work with object database, etc. You can use it to get additional information of some ways that Git work, to answer some questions, but probably not as the only one, see links in http://getmangos.eu/community/viewtopic.php?id=4159 as well. Short reference for basic git commands using can be found in site Git Reference also
  4. Oh really? Havn't used COBRA in a looong time. Whats its cross-platform support like?
  5. Revision of MaNGOS: 9763 Bug reported: http://getmangos.eu/community/showthread.php?13858-Damage-shield Damage Shield has proc event for blocks only, but in it's info it clearly says that it should proc every time the warrior takes any melee damage or blocks. FIX: UPDATE `spell_proc_event` SET `procEx` = `procEx`|3 WHERE `entry` IN (58872, 58874); written by me.
  6. Hey guys, Today I discovered what soap is, and how it should be used. I enabled my SOAP on my testing server right away and ran the PHP script described here: http://getmangos.eu/community/showthread.php?12712-[9466]-MaNGOS-SOAP-services&highlight=soap Now I am 100% sure my login information is 100% correct, although I get an error as output: Command failed! Reason: HTTP Error: 401 Unauthorized This is my PHP code: $username = 'darkmessiah'; $password = 'passwordhere'; $host = "192.168.0.113"; $soapport = 7878; $command = 'send items DarkMessiah "The Hungering Cold" "Hello DarkMessiah, here are your items. Have fun." 23577'; On MaNGOS Start it says: MaNGOSspak: bound to [url]http://0.0.0.0:7878[/url] Does anyone see what I am doing wrong?
  7. What bug does the patch fix? What features does the patch add? fixes reindeer mount spell applying For which repository revision was the patch created? 9020 Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread. http://getmangos.eu/community/viewtopic.php?id=11497 Who has been writing this patch? Please include either forum user names or email addresses. me diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 1577264..23e39b9 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2496,6 +2496,8 @@ void Spell::cast(bool skipCheck) AddPrecastSpell(23230); // Blood Fury - Healing Reduction else if(m_spellInfo->Id == 20594) // Stoneskin AddTriggeredSpell(65116); // Stoneskin - armor 10% for 8 sec + else if(m_spellInfo->Id == 62061) // Festive Holiday Mount + AddTriggeredSpell(25860); break; } case SPELLFAMILY_MAGE: diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 167d0e2..abeb53f 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2437,6 +2437,34 @@ void Aura::HandleAuraDummy(bool apply, bool Real) m_target->CastSpell(m_target, 47287, true, NULL, this); return; } + case 62061: // Festive Holiday Mount + { + float flyspeed = m_target->GetSpeedRate(MOVE_FLIGHT); + float speed = m_target->GetSpeedRate(MOVE_RUN); + + Unit *caster = GetCaster(); + + if (!caster) + return; + + //5 different spells used depending on mounted speed and if mount can fly or not + if (flyspeed >= 4.1f) + // Flying Reindeer + caster->RemoveAurasDueToSpell(44827); //310% flying Reindeer + else if (flyspeed >= 3.8f) + // Flying Reindeer + caster->RemoveAurasDueToSpell(44825); //280% flying Reindeer + else if (flyspeed >= 1.6f) + // Flying Reindeer + caster->RemoveAurasDueToSpell(44824); //60% flying Reindeer + else if (speed >= 2.0f) + // Reindeer + caster->RemoveAurasDueToSpell(25859); //100% ground Reindeer + else + // Reindeer + caster->RemoveAurasDueToSpell(25858); //60% ground Reindeer + return; + } } if (m_removeMode == AURA_REMOVE_BY_DEATH) @@ -4279,13 +4307,17 @@ void Aura::HandleAuraModIncreaseSpeed(bool /*apply*/, bool Real) m_target->UpdateSpeed(MOVE_RUN, true); } -void Aura::HandleAuraModIncreaseMountedSpeed(bool /*apply*/, bool Real) +void Aura::HandleAuraModIncreaseMountedSpeed(bool apply, bool Real) { // all applied/removed only at real aura add/remove if(!Real) return; m_target->UpdateSpeed(MOVE_RUN, true); + + // Festive Holiday Mount + if (apply && GetSpellProto()->SpellIconID != 1794 && m_target->HasAura(62061)) + m_target->CastSpell(m_target, 25860, true, NULL, this); } void Aura::HandleAuraModIncreaseFlightSpeed(bool apply, bool Real) @@ -4313,6 +4345,10 @@ void Aura::HandleAuraModIncreaseFlightSpeed(bool apply, bool Real) // Dragonmaw Illusion (overwrite mount model, mounted aura already applied) if( apply && m_target->HasAura(42016,0) && m_target->GetMountID()) m_target->SetUInt32Value(UNIT_FIELD_MOUNTDISPLAYID,16314); + + // Festive Holiday Mount + if (apply && GetSpellProto()->SpellIconID != 1794 && m_target->HasAura(62061)) + m_target->CastSpell(m_target, 25860, true, NULL, this); } m_target->UpdateSpeed(MOVE_FLIGHT, true); hope its not too hacky
  8. I always wanted to know what variables affected latency, cpu usage and memory usage, so i thought why not make a post for this and with the community make a great research about what does what and how much does it affect this 3 problems, cpu usage, memory usage and network usage. So for this post we will be making a small guide about what variable does what and how can it improve the performance of the server. Please when you post your variables and give help about any of the posted variables here, if you want, you can also put the hardware you have in the following order (i will start with mine): OS: Linux Ubuntu 9.04 32Bit CPU: Core 2 Duo 8500 RAM: 4GB NET: Adsl 1024 (128KiBs Down / 64KiBs Up) Cases that should be studied here are: Case 1 - Player with no other players around Case 2 - Players in group doing instance (Max 5 to 10 players) Casting spells, etc Case 3 - Massive amount of players together (like a huge fight, 5vs5 arena, BG with 10vs10, etc) VARIABLES TO CHECK: MaxPingTime - ? UseProcessors - Use Multiple processor for better performance (Windows Only) ProcessPriority - Gives a higher priority to this process (Windows Only) Compression -Compression range from 1 (No Compression) to 9 (Full Compression). Consumes a little more CPU for smaller packets send. It "may" lower latency depending of where the latency is coming from. The LOWER the compression the less cpu is needed on serve. The HIGHER the compression the more cpu is needed but it will send less packets to client which means less bandwidth use from server. In some cases the latency number in the client will rise but the game will play smoothly. This depends on distance from client. Recommended setting is 4 which gives good performance with good compression. SaveRespawnTimeImmediately - ? MaxOverspeedPings - ? GridUnload - If enabled will consume very little memory usage but players will have little lag passing from one grid to another. If disabled memory usage will go higher but players will have less lag when passing from one grid to another. MapUpdateInterval - ? vmap.enableLOS - Consume an amount of cpu and memory for the calculations. vmap.enableHeight - Consumes a slight cpu and memory amount. vmap.ignoreMapIds - Depending on the maps put here, the amount of memory consume could lower or get higher. If more map ids are put here there is low memory usage, if less maps are put here there is higher memory usage. vmap.ignoreSpellIds - ? DetectPosCollision - Consumes more cpu and slight memory usage if enabled. Disable it and consumes less cpu and memory but positions for several spells, etc will not be 100% accurate. TargetPosRecalculateRange - The lower the value the more cpu it needs, the higher the value the less cpu it needs. Values range from 0.5 to 5. UpdateUptimeInterval - ? MaxCoreStuckTime - Detects if core is frozen. Higher numbers could help in having less crashes. Recommended by default is 10. FragFrog reports 120. Visibility.Distance.Continents, Visibility.Distance.Instances, Visibility.Distance.BGArenas - This variables create lag for players with slow connection and also makes their fps drop. The values go from 45 to 333. Recommended is between 66 and 90 (Thanks to Ambal). Visibility.Distance.Object - This variable creates small lag for players with slow connection and also makes their fps drop a little. The values go from 5 to 333. Should be pointed that if you make it very low (about 55 or less) players will not be able to see mineral veins, herb flowers, some house, etc unless they are exactly on top of the object or very close to it. So very low values for this variable is NOT recommended. Visibility.Distance.InFlight - This variable just works when flying on transport and it also makes lag to player and fps drop. Values go from 0 (can not see anything of ground or nearby) to 333 (can see even your grandmothers house) Visibility.Distance.Grey.Unit ? Visibility.Distance.Grey.Object ? Network.Threads - ? Network.OutKBuff - ? Network.OutUBuff - ? Network.TcpNodelay - Causes less latency to users far away but creates more latency to users closer. If you have many far away players then it is recommended to have it on 1, else if you are in lan it should be 0. + Network.TcpNoDaley updated thanks to sodbone http://getmangos.eu/community/showpost.php?p=85470&postcount=2 + Compression updated thanks to subhuman_bob http://getmangos.eu/community/showpost.php?p=85475&postcount=3 + MaxCoreStuckTime updated thanks to FragFrog http://getmangos.eu/community/viewtopic.php?id=10674 + Compression updated thanks to mfour http://getmangos.eu/community/showpost.php?p=91583&postcount=23 + Recommended settings for Compression added thanks to freghar http://getmangos.eu/community/showpost.php?p=91679&postcount=25
  9. found one http://getmangos.eu/community/viewtopic.php?id=4663&highlight=sendmail but the script is missing gen_item_instance() function
  10. What bug does the patch fix? What features does the patch add? fix compilation on Unices and MacOS For which SubVersion revision was the patch created? f93f85d. Who has been writing this patch? Please include either forum user names or email addresses. me I didn't find bugreport/submitted patch for zthread/Makefile.am but I'm pretty sure there is one [edit] it's here modified: sql/updates/Makefile.am removed 0.11 sql updates moved in comit f93f85d modified: dep/src/zthread/Makefile.am changed -I to -iquote for compatibility with MacOS 10.5 http://pastebin.ca/1229167
  11. i posted my fix in patches category: http://getmangos.eu/community/showthread.php?13967-FIX-Damage-Shield-proc-event&p=114835#post114835
  12. There is now a patch to enable server core support for race/faction change. Still a WIP, but very nicely done. You can find it in the under review section of the Patches sub-forum... [patch] Race/Faction change
  13. I made a more detailed report here. http://getmangos.eu/community/showthread.php?12720-%5Bcrash%5D-Waypoints It may be related to the database a little, but in any case, you might wanna look over the backtraces.
  14. http://getmangos.eu/community/viewtopic.php?id=6200&highlight=grip
  15. Here: http://getmangos.eu/community/viewtopic.php?id=20997
  16. Bump? dont see any problem with this, i test it and all fine also the other threats http://getmangos.eu/community/viewtopic.php?id=14876&highlight= and http://getmangos.eu/community/viewtopic.php?id=14922
  17. That topic is so old, I used this to do it originally:- http://getmangos.eu/community/showthread.php?13121-World-of-Warcraft-Server-for-Windows-Installation-Guide/page2 But I'll try and modify the min and max and see what happens.
  18. http://getmangos.eu/community/showthread.php?12148-[9219][patch]-Allow-configure-to-find-OpenSSL-if-pkg-config-fails&p=100858&viewfull=1#post100858
  19. After applying all the patches you should do a commit to save all the changes to your local copy. When you do a git pull that should merge the changes with your local copy. Of course any conflicts will still need to be fixed. I prefer Kdiff3 as my mergetool, but there are several others that will work just as well. If your mergetool is setup properly you can run "git mergetool" to go through and fix any conflicts. I found the post at http://getmangos.eu/community/viewtopic.php?id=4276 to be quite helpful in getting everything setup. Hope this helps.
  20. He was referring to http://getmangos.eu/community/viewtopic.php?id=4404 But they're out of date EDIT: I take that back.. http://github.com/CWN/mangos/tree/speed_cheat_fix I didn't look at the branches.
  21. Patch have some useful parts but in general wrong because as i think it wrongly use (ignore in fact) aura 288 More deep comments look in http://getmangos.eu/community/post/134937/#p134937
  22. http://getmangos.eu/community/showthread.php?4234-Windows-crash-dumps&p=118795&viewfull=1#post118795 Okay. I'm working with the 0.17 dev version, and I'm getting this crash when any of my toons tries to add an item to it's inventory. For example, purchasing an item from the vendor, or using the .additem command will both set this crash, however I may move items about and between the bags without error. I've worked with MaNGOS distributions in the past, but this is the first time I have compiled from the source. In all other ways, the program appears stable. I appreciate any assistance given, and many thanks. --Thunkus
  23. Still confirmed in 9182. I haven't been working on this, but MrLama tried to wrote a fix in [8734]Divine-Storm&highlight=divine+storm"]the other Divine Storm thread. That could be a starting point.
  24. There are a lot of magic based spells that profit from attackpower. Mostly for melee classes that use also magic spells (Paladin, Hunter). But that is not the generic case. For those cases we have the spell_bonus_data table (ok, an entry for ranged attackpower is missing currently (hunter) but that should not be a problem to implement). The Seal of Command proc is the only weapon based ability that profits from spell power (as far as I know). As this is an weapon based spell that uses Effect:WeaponDmg you anyway have to handle this seperatly (it is a part of the base damage, so you have to add it before apllying any percentage damage mods, what is already done in Effect:WeaponDmg) as it was already discussed here: http://getmangos.eu/community/viewtopic.php?id=6388 If you know any other weapon based spells tell me. But as there are anyway very less non - physical, weapon based spells, I think there aren't any more.
×
×
  • 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