Topic: Anyone free to help me run a couple of tests?  (Read 7679 times)

0 Members and 1 Guest are viewing this topic.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Anyone free to help me run a couple of tests?
« Reply #20 on: January 30, 2006, 10:46:51 am »
Logging in now...

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Anyone free to help me run a couple of tests?
« Reply #21 on: January 30, 2006, 11:39:10 am »
I guess mid-weekday is not exactly a good time... I'll leave it in test mode and try again tonight.

Offline GDA-S'Cipio

  • Brucimus Maximus
  • Captain
  • *
  • Posts: 5749
  • Gender: Male
  • If I took the bones out, it wouldn't be crunchy.
Re: Anyone free to help me run a couple of tests?
« Reply #22 on: January 30, 2006, 03:34:42 pm »

A question I should already know the answer to.....

Is The Forge running on flatfile or SQL?  (I'm remembering it as being SQL, but I'm not positive.)

-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 FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Anyone free to help me run a couple of tests?
« Reply #23 on: January 30, 2006, 03:39:42 pm »

A question I should already know the answer to.....

Is The Forge running on flatfile or SQL?  (I'm remembering it as being SQL, but I'm not positive.)

-S'Cipio

SQL
Who'd thunk that Star-castling was the root of all evil . . .


Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Anyone free to help me run a couple of tests?
« Reply #24 on: January 30, 2006, 05:16:41 pm »
Yup, SQL, but this code is indpendent of the database type.

Just as well I didn't get any testing done earlier today, I want to tweak the code a bit more to make it more efficient before I test it again in about an hour.

Offline FPF-DieHard

  • DDO Junkie
  • Captain
  • *
  • Posts: 9461
Re: Anyone free to help me run a couple of tests?
« Reply #25 on: January 30, 2006, 05:40:26 pm »
Yup, SQL, but this code is indpendent of the database type.


OMG!   You mean my hamster-in cage-run servers could have this feature?
Who'd thunk that Star-castling was the root of all evil . . .


Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Anyone free to help me run a couple of tests?
« Reply #26 on: January 30, 2006, 05:51:12 pm »
Yup, should work fine on the flatfile, I just happen to be testing it on an SQL server because it is convenient.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Anyone free to help me run a couple of tests?
« Reply #27 on: January 30, 2006, 06:31:26 pm »
Ready for more tests, I'll login in about 5 minutes.

It will only take a few minutes to run the necessary tests to find out if I've got it right and have the desired behaviour.
« Last Edit: January 30, 2006, 06:46:23 pm by Bonk »

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Anyone free to help me run a couple of tests?
« Reply #28 on: January 30, 2006, 07:52:06 pm »
Lepton and I just completed another succesful round of tests. (Thanks dude!  :thumbsup:)

The alliances/tensions approach I am using now seems to work fine and the code is more efficient, and will also allow for the possibilty of adding different DV shifts for 2vs1, 3vs2 etc... (with some effort). I'm happy with this for now. It will take some additional testing to be sure it is working consistently with various combinatons of empires and cartels at different tensions... Mandatories are back on but the PvP DV shift of three is still active on The Forge for additional testing.

Battle result logs below:

Allied races Coop:
Quote
19:20:03 Info: MC (3101:Bonk) hosted battle at hex(27,30) Processing...
19:20:03 Info: MC (3101:Bonk) hosted battle at hex(27,30) Updating character and AI teams
19:20:03 Info: MC (3101:Bonk) hosted battle at hex(27,30) =========== TEAMS ===========
19:20:03 Info: MC (3101:Bonk) hosted battle at hex(27,30) Team Slot: 0 ID: 3101
19:20:03 Info: MC (3101:Bonk) hosted battle at hex(27,30) Team Slot: 1 ID: 1429898
19:20:03 Info: MC (3101:Bonk) hosted battle at hex(27,30) Team Slot: 2 ID: 1429804
19:20:03 Info: MC (3101:Bonk) hosted battle at hex(27,30) Is a PvP battle result = 0
19:20:03 Info: Hex Race Battle. Player:Bonk, is a human=1, and race=7, had a result=1, the current high score is=0
19:20:03 Info: Hex Race Battle. Player:Brecht, is a human=1, and race=0, had a result=0, the current high score is=1
19:20:03 Info: Hex Race Battle. Player:J.S.Solo, is a human=0, and race=16, had a result=0, the current high score is=1
19:20:03 Info: Hex Race Battle. fHexRace= 0, and hexEmpire=0, and hexCartel=23
19:20:03 Info: NOT-Neutral Hex Race Battle. Player:Bonk, Race:=7Had Result:= 1
19:20:03 Info: NOT-Neutral Hex Race Battle. Player:Bonk, has been pegged as a hex defender.
19:20:03 Info: NOT-Neutral Hex Race Battle. Player:Bonk, is the HIGHEST hex defender.
19:20:03 Info: NOT-Neutral Hex Race Battle. Player:Brecht, Race:=0Had Result:= 0
19:20:03 Info: NOT-Neutral Hex Race Battle. Player:Brecht, has been pegged as a hex defender.
19:20:03 Info: NOT-Neutral Hex Race Battle. Player:J.S.Solo, Race:=16Had Result:= 0
19:20:03 Info: NOT-Neutral Hex Race Battle. Player:J.S.Solo, has been pegged as a hex attacker.
19:20:03 Info: NOT-Neutral Hex Race Battle. Player:J.S.Solo, is the HIGHEST hex Attacker.
19:20:03 Info: NOT-Neutral Hex Race Battle. Hex defenders win.
19:20:03 Info: Update Hex.  fHighestDefenderRace:= 7, fHighestAttackerRace:= 16
19:20:03 Info: Update Hex.  fHexRace:= 0
19:20:03 Info: Update Hex.  defenderlayer:= 0
19:20:03 Info: Update Hex.  attackerLayer:= -1
19:20:03 Info: Update Hex.  winnerLayer:= 0
19:20:03 Info: Update Hex.  An NPC is attacking an orion or empire hex.  Default to the defender's layer.
19:20:03 Info: Update Hex.  victoryPointModifier:=1
19:20:03 Info: Update Hex.  attackerRaceSameHexRace:= 0, delta:= 4
19:20:03 Info: Update Hex.  Attacker Lost
19:20:03 Info: Update Hex.  Done with switch on delta. victoryPointModifier:=1
19:20:03 Info: Update Hex.  turnoverVPsForAHex:=0
19:20:03 Info: Update Hex. Not an AI Solo Battle so setting current victory points
19:20:05 Info: MC (1429804:Brecht) reports battle at hex(27,30) Processing...
19:20:05 Info: MC (1429804:Brecht) reports battle at hex(27,30) Updating character

Same race Coop:
Quote
19:07:47 Info: MC (102183:Wexert) hosted battle at hex(35,20) Processing...
19:07:47 Info: MC (102183:Wexert) hosted battle at hex(35,20) Updating character and AI teams
19:07:47 Info: MC (102183:Wexert) hosted battle at hex(35,20) =========== TEAMS ===========
19:07:47 Info: MC (102183:Wexert) hosted battle at hex(35,20) Team Slot: 0 ID: 102183
19:07:47 Info: MC (102183:Wexert) hosted battle at hex(35,20) Team Slot: 1 ID: 1429732
19:07:47 Info: MC (102183:Wexert) hosted battle at hex(35,20) Team Slot: 2 ID: 545020
19:07:47 Info: MC (102183:Wexert) hosted battle at hex(35,20) Is a PvP battle result = 0
19:07:47 Info: Hex Race Battle. Player:Wexert, is a human=1, and race=1, had a result=1, the current high score is=0
19:07:47 Info: Hex Race Battle. Player:Lepton, is a human=1, and race=1, had a result=0.8, the current high score is=1
19:07:47 Info: Hex Race Battle. Player:H.B.Sslith, is a human=0, and race=5, had a result=0, the current high score is=1
19:07:47 Info: Hex Race Battle. fHexRace= 23, and hexEmpire=23, and hexCartel=23
19:07:47 Info: Neutral Hex Race Battle.  Player:Wexert, Race:=1 Had Result:= 1
19:07:47 Info: Neutral Hex Race Battle.  Hightest Race Is now: Wexert Which had result:= 1
19:07:47 Info: Neutral Hex Race Battle.  Player:Lepton, Race:=1 Had Result:= 0.8
19:07:47 Info: Neutral Hex Race Battle.  Player:H.B.Sslith, Race:=5 Had Result:= 0
19:07:47 Info: Update Hex.  fHighestDefenderRace:= 23, fHighestAttackerRace:= 1
19:07:47 Info: Update Hex.  fHexRace:= 23
19:07:47 Info: Update Hex.  defenderlayer:= -1
19:07:47 Info: Update Hex.  attackerLayer:= 0
19:07:47 Info: Update Hex.  winnerLayer:= 0
19:07:47 Info: Update Hex.  Someone is attacking a NPC hex or a NEUTRAL hex. Default to the attacker's layer.
19:07:47 Info: Update Hex.  victoryPointModifier:=1
19:07:47 Info: Update Hex.  attackerRaceSameHexRace:= 0, delta:= 1
19:07:47 Info: Update Hex.  Attacked
19:07:48 Info: Update Hex.  Done with switch on delta. victoryPointModifier:=-1
19:07:48 Info: Update Hex.  turnoverVPsForAHex:=0
19:07:48 Info: Update Hex. Not an AI Solo Battle so setting current victory points
19:07:49 Info: MC (545020:Lepton) reports battle at hex(35,20) Processing...
19:07:49 Info: MC (545020:Lepton) reports battle at hex(35,20) Updating character

Enemy races PvP:
Quote
19:00:28 Info: MC (3101:Bonk) hosted battle at hex(36,20) Processing...
19:00:28 Info: MC (3101:Bonk) hosted battle at hex(36,20) Updating character and AI teams
19:00:28 Info: MC (3101:Bonk) hosted battle at hex(36,20) =========== TEAMS ===========
19:00:28 Info: MC (3101:Bonk) hosted battle at hex(36,20) Team Slot: 0 ID: 3101
19:00:28 Info: MC (3101:Bonk) hosted battle at hex(36,20) Team Slot: 1 ID: 545020
19:00:28 Info: MC (3101:Bonk) hosted battle at hex(36,20) Team Slot: 2 ID: 1428928
19:00:28 Info: MC (3101:Bonk) hosted battle at hex(36,20) Is a PvP battle result = 1
19:00:28 Info: Hex Race Battle. Player:Bonk, is a human=1, and race=7, had a result=0, the current high score is=0
19:00:28 Info: Hex Race Battle. Player:Lepton, is a human=1, and race=1, had a result=1, the current high score is=0
19:00:28 Info: Hex Race Battle. Player:D.G.MitcoMaper, is a human=0, and race=14, had a result=0, the current high score is=1
19:00:28 Info: Hex Race Battle. fHexRace= 23, and hexEmpire=23, and hexCartel=23
19:00:28 Info: Neutral Hex Race Battle.  Player:Bonk, Race:=7 Had Result:= 0
19:00:28 Info: Neutral Hex Race Battle.  Player:Lepton, Race:=1 Had Result:= 1
19:00:28 Info: Neutral Hex Race Battle.  Hightest Race Is now: Lepton Which had result:= 1
19:00:28 Info: Neutral Hex Race Battle.  Player:D.G.MitcoMaper, Race:=14 Had Result:= 0
19:00:28 Info: Update Hex.  fHighestDefenderRace:= 23, fHighestAttackerRace:= 1
19:00:28 Info: Update Hex.  fHexRace:= 23
19:00:28 Info: Update Hex.  defenderlayer:= -1
19:00:28 Info: Update Hex.  attackerLayer:= 0
19:00:28 Info: Update Hex.  winnerLayer:= 0
19:00:28 Info: Update Hex.  Someone is attacking a NPC hex or a NEUTRAL hex. Default to the attacker's layer.
19:00:28 Info: Update Hex.  victoryPointModifier:=3
19:00:28 Info: Update Hex.  attackerRaceSameHexRace:= 0, delta:= 1
19:00:28 Info: Update Hex.  Attacked
19:00:28 Info: Update Hex.  Done with switch on delta. victoryPointModifier:=-3
19:00:28 Info: Update Hex.  turnoverVPsForAHex:=0
19:00:28 Info: Update Hex. Not an AI Solo Battle so setting current victory points
19:00:31 Info: MC (545020:Lepton) reports battle at hex(36,20) Processing...
19:00:31 Info: MC (545020:Lepton) reports battle at hex(36,20) Updating character

Solo vs AI battle:
Quote
18:55:14 Info: MC (3101:Bonk) hosted battle at hex(35,15) Processing...
18:55:14 Info: MC (3101:Bonk) hosted battle at hex(35,15) Updating character and AI teams
18:55:14 Info: MC (3101:Bonk) hosted battle at hex(35,15) =========== TEAMS ===========
18:55:14 Info: MC (3101:Bonk) hosted battle at hex(35,15) Team Slot: 0 ID: 3101
18:55:14 Info: MC (3101:Bonk) hosted battle at hex(35,15) Team Slot: 1 ID: 1429482
18:55:14 Info: MC (3101:Bonk) hosted battle at hex(35,15) Is a PvP battle result = 0
18:55:14 Info: Hex Race Battle. Player:Bonk, is a human=1, and race=7, had a result=1, the current high score is=0
18:55:14 Info: Hex Race Battle. Player:M.F.Zeruus, is a human=0, and race=6, had a result=0, the current high score is=1
18:55:14 Info: Hex Race Battle. fHexRace= 23, and hexEmpire=23, and hexCartel=23
18:55:14 Info: Neutral Hex Race Battle.  Player:Bonk, Race:=7 Had Result:= 1
18:55:14 Info: Neutral Hex Race Battle.  Hightest Race Is now: Bonk Which had result:= 1
18:55:14 Info: Neutral Hex Race Battle.  Player:M.F.Zeruus, Race:=6 Had Result:= 0
18:55:14 Info: Update Hex.  fHighestDefenderRace:= 23, fHighestAttackerRace:= 7
18:55:14 Info: Update Hex.  fHexRace:= 23
18:55:14 Info: Update Hex.  defenderlayer:= -1
18:55:14 Info: Update Hex.  attackerLayer:= 0
18:55:14 Info: Update Hex.  winnerLayer:= 0
18:55:14 Info: Update Hex.  Someone is attacking a NPC hex or a NEUTRAL hex. Default to the attacker's layer.
18:55:14 Info: Update Hex.  victoryPointModifier:=1
18:55:14 Info: Update Hex.  attackerRaceSameHexRace:= 0, delta:= 1
18:55:14 Info: Update Hex.  Attacked
18:55:14 Info: Update Hex.  Done with switch on delta. victoryPointModifier:=-1
18:55:14 Info: Update Hex.  turnoverVPsForAHex:=0
18:55:14 Info: Update Hex. Not an AI Solo Battle so setting current victory points

Looks good... Going to do a db clean on The Forge before I bring it back up.

Webmap logs of the above battles attached.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Anyone free to help me run a couple of tests?
« Reply #29 on: January 30, 2006, 09:31:47 pm »
It occurs to me it needs some 2vs1, 2vs2 (etc) tests.

Offline GDA-S'Cipio

  • Brucimus Maximus
  • Captain
  • *
  • Posts: 5749
  • Gender: Male
  • If I took the bones out, it wouldn't be crunchy.
Re: Anyone free to help me run a couple of tests?
« Reply #30 on: January 31, 2006, 09:57:20 am »
Yup, should work fine on the flatfile, I just happen to be testing it on an SQL server because it is convenient.

 :o

Bonk, you da man!   (I wonder if this is enough to get GDA-Keltset out of retirement?)

-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: Anyone free to help me run a couple of tests?
« Reply #31 on: January 31, 2006, 10:32:47 am »
I had some ideas this morning to refine it further (better integrate it into the existing code, and add the possibility for different DV shifts based on the number of players on each side of a mission). This change is not in our mandate for work on the serverkit, but I could not help myself, I saw a real need for this. I really should get back to work on what we're supposed to be doing with it but I think I will refine and test this a bit more before I do however... ;)

P.S. I think I found the info necessary to decode the current tensions in the db... its weird stuff.

Offline GDA-S'Cipio

  • Brucimus Maximus
  • Captain
  • *
  • Posts: 5749
  • Gender: Male
  • If I took the bones out, it wouldn't be crunchy.
Re: Anyone free to help me run a couple of tests?
« Reply #32 on: January 31, 2006, 10:42:27 am »
P.S. I think I found the info necessary to decode the current tensions in the db... its weird stuff.

You mean to allow racial tensions to shift up or down, depending upon what players do on the server?

-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: Anyone free to help me run a couple of tests?
« Reply #33 on: January 31, 2006, 11:06:43 am »
P.S. I think I found the info necessary to decode the current tensions in the db... its weird stuff.

You mean to allow racial tensions to shift up or down, depending upon what players do on the server?

-S'Cipio

No, I don't mean finishing/fixing the existing code in the kit that was supposed to do that, but rather just compile the information necessary for us to at least be able to read/edit the current political tensions in our webmap and db editor applications.

Offline Riskyllama

  • D.Net Beta Tester
  • Lt.
  • *
  • Posts: 748
  • Gender: Male
  • Risky
Re: Anyone free to help me run a couple of tests?
« Reply #34 on: January 31, 2006, 01:17:11 pm »
P.S. I think I found the info necessary to decode the current tensions in the db... its weird stuff.

You mean to allow racial tensions to shift up or down, depending upon what players do on the server?

-S'Cipio

No, I don't mean finishing/fixing the existing code in the kit that was supposed to do that, but rather just compile the information necessary for us to at least be able to read/edit the current political tensions in our webmap and db editor applications.
so not player on the fly changes, but admin on the fly(with reboot) changes?
Everything is sweetened by risk. ~Alexander Smith

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: Anyone free to help me run a couple of tests?
« Reply #35 on: January 31, 2006, 06:03:32 pm »
Yes (possibly no reboot needed on SQL), but we're not quite there yet, I think I have found the info to figure it out though.