Page 2 of 5 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 41

Thread: Vhaeraun's Glorious PVP Bookkeeper

  1. #11

    Default

    May I suggest storing season data by adding the name of the character to the file? The problem is that I run a couple of different characters in pvp, and so
    the .dat file keeps being overwritten by each character.

    e.g. right now it's
    Code:
    string outputFileName = "pvp_season_"+visitInformationBooth() +".dat";
    changing it to this worked quite well (putting the player name into the file name):

    Code:
    string outputFileName = "pvp_season_"+visitInformationBooth() +"_" +my_name() +".dat";
    Thanks!
    Last edited by Captain Kirk; 07-24-2012 at 08:14 PM.

  2. #12

    Default

    1.6 Change Set
    Courtesy of Kirk's suggestion: player name is now in the .dat file.

  3. #13

    Default

    I'm SkyElf borrowing Captain Kirk's mafia forum account because I don't have my own mafia forum account. Captain Kirk downloaded this script for me, but when I run it on my KOL account, I get obviously incorrect information. It says my success ratio on offense is 0% in all categories and my success ratio on defense in all but one category is 100% when I win more than I lose in offense and I lose more than I win in defense. Also this is what my line for Prowess looks like for the last 1000 fights. Aside from the fact that it claims Prowess is being used on average 6 times in each pvp fight, I always use ballyhoo! when attacking, so it should be N/A for offense.
    Adventurer's Prowess 5864 57:5807 0% 3815 0:3815 0% 2049 57:1992 2%

    My total line looks like this for the last 1000 fights, indicating that I lost all of them.
    Whole Fights 1000 0:1000 0% 643 0:643 0% 357 0:357 0%

    However my swagger gain is 2.02 as my offensive average, which seems fairly accurate, but contradicts the previous indication that I never win fights.

    I am using mafia v15.3 r11320

    As a test, I tried attacking using backstab and got this result from KOL:

    Round 1: Adventurer's Prowess
    Who is the stat-iest? (Highest stance-specified stat)

    SkyElf out-stats AliRaza111 by 35%, and wins!


    Round 2: Least Boring Slideshow
    Whose travels are the most interesting? (Most zones visited in the past five days)

    A large screen descends from the ceiling, and a slideshow is displayed, featuring all the locations each contestant has visited in the past several days.


    Unfortunately for AliRaza111, the judges fall asleep during his slideshow and SkyElf wins the round.


    Round 3: Wine Tasting Contest
    Who appreciates the finest of wines? (Most different booze items drunk in the last 30 days (or since the start of the season))

    SkyElf's booze palate is 13400% more sophisticated than AliRaza111's, so she wins!


    Round 4: Mystery Contest
    It's a mystery!

    The judges smile, nod, and wink at SkyElf.


    Round 5: Who Runs Bordertown?
    Most adventures spent in the Thugnderdome this season.

    SkyElf is ∞% more familiar with the ins and outs of Thugnderdome than AliRaza111 is, so SkyElf wins!


    Round 6: Space Tripper
    Highest Space Trip score this season.

    The judges check the high scores, and the winner is SkyElf, by 10,219 points!


    Round 7: Spelunker
    Who's the best spelunker? (Most basement levels cleared this season)

    SkyElf has descended more levels into the Depths of Below Fernswarthy's Ruined Tower this season, and is declared the winner.


    And this result from your script:

    Displaying results from the last 1 fights.
    Name Total Offense Defense
    Times
    Occured Ratio % Times
    Occured Ratio % Times
    Occured Ratio %
    Adventurer's Prowess 7 0:7 0% 7 0:7 0% 0 N/A N/A
    Whole Fights 1 0:1 0% 1 0:1 0% 0 N/A N/A
    Last edited by Captain Kirk; 07-25-2012 at 06:01 AM.

  4. #14

    Default

    I recognize this bug. This is a failed Regular Expresion in the script. Unfortunately without more information I can do absolutely nothing for you.

    What I need is this:
    Right click on the "view" link, for the fight in question. Then into the CLI type visit_url("[paste that here]");

    If you PM or KMail me the massive HTML vomit (please don't try to post it, the forum may try to format it) I'll see if I can figure out the culprit.

  5. #15

    Default

    1.7 changeset

    Slightly more robust regex, for them what had some problems

  6. #16

    Default

    1.7 changeset

    Slightly more robust regex, for them what had some problems
    Originally Posted by InfernalRapture View Post
    This is SkyElf again.

    Thanks!

    It works now.

  7. #17

    Default

    1.8 changeset
    Added the self-gratification notifier feature
    Added a link back to the colosseum in the relay page.

  8. #18
    Senior Member
    Join Date
    Nov 2006
    Posts
    326

    Default

    I was gonna come in and see if losses (and wins on defense) could be delineated between losses and losses due to ties going to the defender?

    Edit to add, it might be fun to see how many 7-0 wins you have too.
    Last edited by kain; 08-13-2012 at 04:10 PM.

  9. #19
    Senior Member
    Join Date
    Nov 2006
    Posts
    326

    Default

    I recognize the lack of activity in this thread, but I had another suggestion:

    Tally up steals (because, really, the only thing you should be attacking for this season is loot, right?) and give a "biggest steal" (based on mall price) and a "total theft this season" total? And maybe for what was taken from us, too!

  10. #20

    Default

    Tally up steals (because, really, the only thing you should be attacking for this season is loot, right?)
    Originally Posted by kain View Post
    Attacking for loot means you can't hit someone in ronin, and it's possible that someone might have a better shot of beating someone in ronin than in aftercore, so not attacking for loot can be optimal for gaining swagger.

Similar Threads

  1. 13119: Add Glorious Blessing of the War Snapper.
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 11-09-2013, 05:21 PM
  2. Bug - Fixed Can't cast Song of the Glorious Lunch in mafia interface in 10758
    By Theraze in forum Bug Reports
    Replies: 4
    Last Post: 03-10-2012, 05:38 PM
  3. Bug - Fixed Steel Lasagna is not affected by Got Milk/Gourmand/Glorious Lunch
    By GValko in forum Bug Reports
    Replies: 1
    Last Post: 02-29-2012, 05:00 AM
  4. 10652: Check for Glorious Lunch before eating in Axecore
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 02-27-2012, 01:51 PM
  5. Replies: 1
    Last Post: 02-21-2012, 10:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •