EFFACÉ

Here you can report all bugs you find

EFFACÉ

Postby Ozserf » Sun Feb 17, 2013 1:29 am

EFFACÉ
Last edited by Ozserf on Wed Nov 12, 2014 1:35 am, edited 1 time in total.
Ozserf

 
Posts: 4226
Joined: Fri Dec 02, 2011 12:01 am

Re: Proposition for Lopdo

Postby Tensegravz » Sun Feb 17, 2013 3:51 am

Ozserf wrote:Lopdo, would you please play 5 games a day seven days in a row on XXL maps or 250 regions HC FULLMAP borders, using Frankenstein and tell me if you don't find a recurrent weakness with their attack?

:D



5 Games per race each Day !!! :P same thing for dragons XD


lopdo if i understand.....The code its the same for all Race.... so if Terminator Vs Reptile get both a roll of 40 in ur formula.....the Reptile add +5% of this roll as a BONUS so terminator stay at 40 and reptile get 42 ?

could it change something if each race have his own roll code ?
The Fourth Rider....Death : Nothing Satisfies Me But Your Soul
*Death is likely more powerful than the other Horsemen, having been present since the beginning of time itself, and being one of the only constants in the Universe
User avatar
Tensegravz

 
Posts: 791
Joined: Thu Jun 14, 2012 1:54 am
Location: Quebec (Canada)

Re: Proposition for Lopdo

Postby BeatlesFan » Sun Feb 17, 2013 4:09 am

lopdo: I understand the concept that the code is similar for all races, so you don't believe it is bugged. Or if it is bugged, it is the "same bug" for all races so it evens out. That may even be true.

I suspect there is an issue with dragons in HC mode.

I know that there are different modes of calculating the dice roll and then determining if there is a win or not. Two scenarios:

A) 1v1 or 1v1 Quick modes: The dice fight individually, not as a group total in a sense. How is the dragon bonus applied in this situation - to each die roll? My suspicion is that dragons have a similar issue in HC mode - they are not calculating the totals and then adding the 5% bonus. Somehow each die roll is being compared and due to rounding there is no bonus. You don't seem to get a "total" plus 5% in HC mode.

B) Attrition: Dragons seem to work fine'/great in attrition mode - so when each player (potentially) loses something, individual rolls or however it is counted, cause the other player to "be reduced".

Bringing me to the thought I have about dragons in HC mode - If you don't get the bonus on individual rolls added up - when you play HC it adds up to no benefit.

Can you take a look at this possibility? I agree that it is likely that dragons are not glitched, but the problem lies in when and how the bonus is applied (individual dies or total combined roll) in HC mode.

Further, I would not even have an issue if there were no benefit (after all 5% is very tiny - adds a 1 to a roll of 20) - but my dragons fail in attacks more often than other races I use - but in HC mode.

The issue may be the calculation for HC mode, not the dragons themselves.
In Vortex Wars: 50% of the game is luck. 50% is skill. The other 50% is math.
User avatar
BeatlesFan

 
Posts: 3576
Joined: Thu Jan 12, 2012 7:13 am
Location: USA - USA - USA

Re: Proposition for Lopdo

Postby calleharnemark » Sun Feb 17, 2013 10:32 am

This sounds like fun to test. But according to Lopdo's profile he hasn't all races and according to forum not so much time. I don't know the time in Slovakia. But we have to work this out. I find myself unlucky with all races. Tried tannenbaums and didn't get the wins as Ryankill got. And they were very unlucky without boosts. Hmmm.
The guards gaze at you:"Prepare yourselves" If you get the game that is from you are awesome.
http:/us10.chatzy.com/12517185740288
Crystal Meth before: ( ͡° ͜ʖ ͡°) After: ( ͡O ͜ʖ ͡O)
Attention: the new and improved vortexwars chat!
User avatar
calleharnemark

 
Posts: 4011
Joined: Mon Sep 03, 2012 2:56 pm
Location: Inside your closet watching you undress.

Re: Proposition for Lopdo

Postby Lopdo » Sun Feb 17, 2013 10:49 am

attack/defense bonuses are not applied in 1v1 mode, it wouldn't make sense. Algorithm for throwing dice is same in HC as it is in Att, to be more specific:

Code: Select all
attackerThrow = 0;
defenderThrow = 0;
for (int i = 0; i < sourceDice; ++i) {
   attackerThrow += rand.Next(6) + 1;
}
for (int i = 0; i < targetDice; ++i) {
   defenderThrow += rand.Next(6) + 1;
}


after that, bonuses are applied

Code: Select all
double bonus = 1.0;
if (race == 102)
   bonus = 1.05;
if (race == 104)
   bonus = 1.05;
if (race == 105)
   bonus = 0.95;
if (race == 107)
   bonus = 1.05;
if (race == 108)
   bonus = 1.05;
if (race == 114 && attackerStrength < defenderStrength)
   bonus = 1.15;
if (race == 118)
   bonus = 0.95;
if (race == 115 && usingAttackBoost)
   bonus = 1.1;
if (race == 120) {
   if (strength <= 5)
      bonus = 1.15;
   else {
      int max = map.GetRegionCount() / 2;
      if (strength >= max)
         bonus = 1;
      else
         bonus = 1 + 0.15 - 0.15* (strength - 5.0) / (max - 5.0);
   }
}
if (race == 122) {
   bonus = hasDefenseBoost ? 1.2 : 1.0;
}

if (bonus == 1) return defaultAttack;

return bonus > 1.0 ? (int)Math.Floor(defaultAttack * bonus) : (int)Math.Ceiling(defaultAttack * bonus);


I know I should have used enum or constants for races, shut up :P This code is for attack bonus, defense bonus is more or less same, just different numbers.

That is all there is to calculating throws, not much space for race specific bug, is there? However if you find one, I would be more than happy to fix it
Quis custodiet ipsos custodes?

- Feel free to correct all my grammar mistakes -
User avatar
Lopdo
Site Admin
 
Posts: 2691
Joined: Sat May 28, 2011 3:14 pm

Re: Proposition for Lopdo

Postby Autumnwolf17 » Sun Feb 17, 2013 1:38 pm

calleharnemark wrote:This sounds like fun to test. But according to Lopdo's profile he hasn't all races and according to forum not so much time. I don't know the time in Slovakia. But we have to work this out. I find myself unlucky with all races. Tried tannenbaums and didn't get the wins as Ryankill got. And they were very unlucky without boosts. Hmmm.

I'm pretty sure he's allowed to get free races.
~ Wolf
User avatar
Autumnwolf17

 
Posts: 10764
Joined: Thu Aug 23, 2012 1:29 am

Re: Proposition for Lopdo

Postby >(FM)< » Sun Feb 17, 2013 3:19 pm

calleharnemark wrote:This sounds like fun to test. But according to Lopdo's profile he hasn't all races and according to forum not so much time. I don't know the time in Slovakia. But we have to work this out. I find myself unlucky with all races. Tried tannenbaums and didn't get the wins as Ryankill got. And they were very unlucky without boosts. Hmmm.

SAME HERE ZOMG
PREACH THE TRUTH
Angels forever. AoA - Don't follow me on Tumblr, Seriously
ImageImageImage
User avatar
>(FM)<

 
Posts: 3965
Joined: Thu Dec 06, 2012 2:37 am
Location: Cold Side Of The Pillow


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 14 guests