Get an Epic Experience with Premium
• Looks like the bot ban news has triggered a wave of scam mails. The mail I got is fairly convincing, only the header shows it came from what appears to be a private PC in china (probably from some poor guys infected home PC).
Posted in: News & Announcements
• posted a message on Old Post Comments
Looks like the bot ban news has triggered a wave of scam mails. The mail I got is fairly convincing, only the header shows it came from what appears to be a private PC in china (probably from some poor guys infected home PC).
Posted in: General Discussion
• posted a message on Problems with some C++ coding. =(
I think the assignment is meant to promote out of the box thinking. Making gigantic switch statements is the simplest to come up with, but also one of the worst solutions to the problem. What I hinted at was that you can use arithmetic to cause the input to always evaluate to 4 unique values depending on the input, that way you only need 4 switch statements. The arithmetic part is quite tricky though!

Since you already got a basic solution I'll give you a different and shorter one. You can create a lookup table, this way you don't need any switch statement at all! Create one char array for each message as well as an array of char arrays of size 256 (max size of unsigned char is 255). Then you can fill in the array of char arrays with your messages using 4x for loops. After this you simply write out the message at position c. Here is most of the code, you basically just need to add the remaining messages and for loops.
```char* msg1 = "The input is a special symbol";
char* evalArray[256];
for (int i=0; i<=255; i++) evalArray[i] = msg1;
unsigned char c = 0;
cin >> c;
cout << evalArray[c] << endl;```
Posted in: Off-Topic
• posted a message on Problems with some C++ coding. =(
This sounds suspiciously much like some sort of assignment, so not going to give you a full answer. You need to be a little bit creative here. A hint to hopefully get you start thinking in the right direction; all the input have numeric representation, math is awesome, try some before the switch statement!
Posted in: Off-Topic
• posted a message on [Patch 1.03] Analysis: Highest Attack Speed for Each Class
You haven't included the monks hidden attack speed bonus. Fist of Thunder has a hidden 50% bonus for instance (the other generators have hidden bonuses as well, but Fist of Thunder is by far the fastest). Not sure how the bonus stacks with other sources though so can't help you with the full speed calculation.
Posted in: Theorycrafting and Analysis
• posted a message on Computer security
People tends to be less careful when they download something that is supposed to increase their security when in fact you should be extra careful. It's not a uncommon strategy for hackers to infect security programs with keyloggers. Getting well known security programs from well known sites is a good idea, but be careful what you download and from where.
Posted in: Technical Support
• posted a message on Why Go For IAS on an Weapon?
First off, the IAS on the weapon modifies the base speed of the weapon and is actually multiplicative with other sources of IAS.

As for the DPS question; if you have a lot of other damage sources (off-hand, rings, amulet) a slightly lower but faster DPS weapon may end up giving you more DPS overall. The other benefit is if you want to proc something more often such as the passive Fetish Sycophants which has a chance per cast to proc. Of course, a faster weapon means you will spend resources faster as well.

A lower DPS slow weapon on the other hand could end up giving you more effective DPS by allowing you to cast expensive high DPS spells for longer.
Posted in: Theorycrafting and Analysis
• posted a message on Do Disintegrate + Venom Hydra benefit from Attack Speed % increases?
As a general rule (actually I think it's true for every skill in the game). The listed damage on a skill is based on your dps. Some spells does not tick faster with more IAS however, instead each tick does more damage when you get more IAS. Hydra and blizzard are examples of such spells (according to some discussion in the theorycraft forums)
Posted in: Wizard: The Ancient Repositories
• posted a message on Computer security
Quote from Xenogrand

1) Bliz authenticator.
2) keyboard scrambler: <link to random site, removed just in case>
3) saved passwords scrambler: <link to random site, removed just in case>
5) bookmarked account restore, so you can reset and lock them out in less time it takes them to make a game have buddy joins and strip your account: https://us.battle.ne...fy-account.html
I haven't checked what programs those are and I don't mean anything against Xenogrand, but downloading random "security" programs is a very quick way to get hacked. The OP could very well be a scam to get you hacked.
Posted in: Technical Support
• posted a message on Armor Calculation
The formula for calculating armor is quite simple.
( Sum_of_sources_with_flat_amount_of_armor )*( 1 + Sum_of_all_percent_bonuses )

What I mean by flat amounts of armor is the Armor shown on a piece of gear and strength (normally these are the only flat amounts). Another example of a flat amount is vitality if you have the barbarian passive Nerves of Steel. Then multiply by your % modifiers.

As an example:
You are a barbarian with the passive Tough as Nails (25% bonus), Nerves of Steel (each vitality = 1 armor) and you have the skill War Cry (20% bonus) active.
You equip a shoulder with 400 armor, 200 strength and 100 vitality