Topic: Hey Bonk: About that DV shift for PvP  (Read 2142 times)

0 Members and 1 Guest are viewing this topic.

Offline GDA-S'Cipio

  • Brucimus Maximus
  • Captain
  • *
  • Posts: 5749
  • Gender: Male
  • If I took the bones out, it wouldn't be crunchy.
Hey Bonk: About that DV shift for PvP
« on: February 10, 2006, 12:44:00 am »

You may have already tested this in your work, but I was just wondering:

Suppose you have DV shifts set to 1 in the gf files, and PvP DV shifts set to 5 with your serverkit fix.  Then someone works a hex down to 1, and gets drafted by a human.

What happens to the hex if he wins?

-S'Cipio
"I cannot undertake to lay my finger on that article of the Constitution which granted a right to Congress of expending, on the objects of benevolence, the money of their constituents."  - James Madison (chief author of the Constitution)

-----------------------------------------
Gorn Dragon Alliance member
Gorn Dragon Templar
Coulda' used a little more cowbell
-----------------------------------------


Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Hey Bonk: About that DV shift for PvP
« Reply #1 on: February 10, 2006, 09:44:44 am »

You may have already tested this in your work, but I was just wondering:

Suppose you have DV shifts set to 1 in the gf files, and PvP DV shifts set to 5 with your serverkit fix.  Then someone works a hex down to 1, and gets drafted by a human.

What happens to the hex if he wins?

-S'Cipio

This would need testing, but the way I have it setup is that it should behave exaclty as if normal DV shifts were set to 5 and there was no PvP DV shift code... make sense? (i.e. the hex would flip)

MagnumMan is incorporating that code into the test build (if he gives it the OK) so we can test that out as part of the next MySQL load test. (hopefully tomorrow night).

Offline Riskyllama

  • D.Net Beta Tester
  • Lt.
  • *
  • Posts: 748
  • Gender: Male
  • Risky
Re: Hey Bonk: About that DV shift for PvP
« Reply #2 on: February 10, 2006, 04:42:13 pm »
By the same token, a hex at 19 just goes to 20 from a positive PVP shift, correct?
Everything is sweetened by risk. ~Alexander Smith

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Hey Bonk: About that DV shift for PvP
« Reply #3 on: February 10, 2006, 05:11:43 pm »
If 20 is its maximum DV, yes.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Hey Bonk: About that DV shift for PvP
« Reply #4 on: February 12, 2006, 09:50:10 pm »
After observations tonight...

The current settings we use to have a hex pass through zero with DV shifts of 1 (hexhealthresetratio=0.02) will result in a hex flipping to the winner at a DV of zero regardless of if it was a PvP battle or not, all other PvP DV shifts will result in a shift of 3 (if the PvP DV shift setting in the gfs is 3). I'm OK with this as it is a bit of a compromise. It would take more radical modification of the serverkit code to achieve PvP DV shifts at the hex flip, considering these kind of modifications are not our current mandate (which is just to establish stability on MySQL) I think the current situation is workable, one could always adjust the hex health reset ratio to a larger percentage, but that would result in DV shifts greater than one at the hex flip regardless of PvP... (generally not desired)

Clear as mud?

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Hey Bonk: About that DV shift for PvP
« Reply #5 on: February 13, 2006, 08:12:30 am »
When I was going to sleep last night, it occurred to me that I might be able to add a PvPhexhealthresetratio gf setting with minimal perturbation to the exisiting code... and a PvPhexhealthresetratioiffirstfullmoonafterwintersolstice too if need be... hehe.

Offline NuclearWessels

  • Evil Dave
  • Serverkit Development Team
  • Lt. Commander
  • *
  • Posts: 1249
  • Scripter and general nuisance
    • NukeDocs
Re: Hey Bonk: About that DV shift for PvP
« Reply #6 on: February 13, 2006, 09:39:37 am »
Heh, how about a modified API so scripts can return a "HitRock" result, and include a JinnShift gf setting?  ;D

dave

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Hey Bonk: About that DV shift for PvP
« Reply #7 on: February 13, 2006, 09:46:32 am »
 :lol:

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Hey Bonk: About that DV shift for PvP
« Reply #8 on: February 13, 2006, 11:16:53 am »
PvPHexHealthResetRatio now implemented on The Forge and the UAW test server as well. Also incorporated in the debug build for the next run.

Settings as follows, in MetaMap.gf:
Code: [Select]
[Battle]
MinVictoryPointsForPlayerVictory=0.02
MinVictoryPointsForAIVictory=0.01
HexHealthResetRatio=0.02
PvPHexHealthResetRatio=0.1
FriendlyPassThroughHex=3
AllowAIToTakeHexes=0

[VictoryPointModifier]
Easy=1
Med=1
Hard=1
PureAI=0.2
PvP=3
(PvPHexHealthResetRatio set to 0.2 on the UAW and debug servers because of the map DVs being generally lower)

And in Score.gf:
Code: [Select]
[Hex]
WinThreshold =0.02

However, I'm not sure how this will affect the funky and poorly understood interaction of these settings with the [Hex] WinThreshold setting in Score.gf...

762_XC

  • Guest
Re: Hey Bonk: About that DV shift for PvP
« Reply #9 on: February 16, 2006, 08:48:39 am »
Heh, how about a modified API so scripts can return a "HitRock" result, and include a JinnShift gf setting?  ;D

dave


Snicker

Offline Dizzy

  • Captain
  • *
  • Posts: 6179
Re: Hey Bonk: About that DV shift for PvP
« Reply #10 on: February 16, 2006, 08:55:28 am »
Heh, how about a modified API so scripts can return a "HitRock" result, and include a JinnShift gf setting?  ;D

dave


 :rofl: