Nick Nitro
Members-
Posts
5 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Nick Nitro's Achievements
Newbie (1/3)
0
Reputation
-
not so diferent from what i've done
-
Maybe something like: float multiple = ap / 410 + m_spellInfo->DmgMultiplier[effect_idx]; if (m_caster->GetPower(POWER_ENERGY) >= 30) { damage += int32(30 * multiple); damage += int32(((Player*)m_caster)->GetComboPoints() * ap * 7 / 100); m_caster->SetPower(POWER_ENERGY, m_caster->GetPower(POWER_ENERGY) - 30); } else { damage += int32(m_caster->GetPower(POWER_ENERGY) * multiple); damage += int32(((Player*)m_caster)->GetComboPoints() * ap * 7 / 100); m_caster->SetPower(POWER_ENERGY, 0); } or float multiple = ap / 410 + m_spellInfo->DmgMultiplier[effect_idx]; damage += int32(min(m_caster->GetPower(POWER_ENERGY), 30) * multiple); damage += int32(((Player*)m_caster)->GetComboPoints() * ap * 7 / 100); m_caster->SetPower(POWER_ENERGY, max(m_caster->GetPower(POWER_ENERGY) - 30, 0);
-
and how to pull a specific revision from the 0.12 branch ??
-
Lag / Ace / Multithreaded - Help !
Nick Nitro replied to Auntie Mangos's topic in OldGeneral discussion
I'm still having this ACE problems with r6872... Could it be something regarding my OS (Ubuntu Server x64 8.04 LTS) do i need to download any new libraries (not listed on the linux compile guide) for compiling ?? Need help !! PS: 70 players online, 2gb RAM, AMD 3000+ (1.8GHz), 10mbps upstream connection Network.Threads = 2 Network.OutKBuff = 16384 Network.OutUBuff = 65536 Network.TcpNodelay = 1 -
Lag / Ace / Multithreaded - Help !
Nick Nitro replied to Auntie Mangos's topic in OldGeneral discussion
I'm having these problems also... I tested until rev6837 and i couldn't get things to work right. Using Ubuntu x64 8.04 LTS I have downgraded my mangos rev to 6750 (last one before ACE) and everything is fine, the problem is brought by ACE or its config for Ubuntu or something like that. Can anyone help ??
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®