Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 20 21 [22] 23 24 ... 27

Author Topic: LCS 4.07.0 Download (Sneak Attacks, April 2013)  (Read 256874 times)

FinetalPies

  • Bay Watcher
  • Even on the battlefield.
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #315 on: November 11, 2013, 03:49:13 am »

For starters it would do way more damage, since iirc/afaik sneak attacks roll damage based on your weapon skill but also your stealth skill. And maybe you would be able to get away with the first (set) of murders for free, criminal record-wise. Nobody would be exactly sure who done it, yeah?

Also the point of my system is also that sneak attacking with a firearm wouldn't be that much more advantageous. I don't want to break the game balance or anything. Also it would incentivize people to program silenced weapons =o
Logged

Hyo

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #316 on: November 12, 2013, 09:15:42 pm »

You know, it's really annoying when Liberal Indoctrinees change their name when joining the glorious revolution. WAD?
Logged

Veroule

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #317 on: December 21, 2013, 02:55:04 pm »

There are a few bugs that have existed since the original version of the game. The most critical is in creature.cpp function Creature::roll_check. The code reads:
Code: [Select]
      // Keep the top three dice
      if(i<3)
         roll[i]=newroll;
      else
         for(int j=0;j<3;j++)
            if(newroll>roll[j])
            {
               roll[j]=newroll;
               break;
            }
If you think about a sequence of 4 die rolls {3,5,1,6} you will find that when the 6 is rolled it replaces the 3 in the roll array leaving the final state of the array {6,5,1}. To correct this problem replace with code such as:
Code: [Select]
      // Keep the top three dice
      if(i<3)
         roll[i]=newroll;
      else
         for(int j=0;j<3;j++)
            if(newroll>roll[j])
            {
               int temp=roll[j];
               roll[j]=newroll;
               newroll=temp;
               break;
            }

A minor but irritating one is in activate.cpp in the second activate function. Way down during selection of what to teach other liberals:
Code: [Select]
               case CREATURE_VETERAN: // for fighting skills
                  cr->activity.type=ACTIVITY_TEACH_FIGHTING;
-                  choice='2';
+                  choice='3';

                  break;
               // this second block are creatures with Computers, Security, Stealth, Disguise, Tailoring, Seduction, Psychology, & Driving
...
              case CREATURE_WORKER_SWEATSHOP: // for Tailoring
                  cr->activity.type=ACTIVITY_TEACH_COVERT;
-                  choice='3';
+                  choice='2';
                  break;
               // this third block are creatures with Writing, Persuasion, Law, Street Sense, Science, Religion, Business, Music, & Art
Logged
"Please, spare us additional torture; and just euthanise yourselves."
Delivered by Tim Curry of Clue as a parody of the lead ass from American Idol in the show Psych.

Carlos Gustavos

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #318 on: December 26, 2013, 01:27:20 pm »

With the second thing, is it just that choice is given the wrong value in the context or something more? I can't find that giving choice any value will do anything.
« Last Edit: December 26, 2013, 01:29:44 pm by Carlos Gustavos »
Logged

Veroule

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #319 on: December 26, 2013, 02:30:04 pm »

In older code there was a bug where the user selection for what to teach would produce the wrong result. This little holdover bug from that is not very serious. The sequence to see it in action is:
1. Select to activate on a liberal of any of the professions that will default to teaching either fighting or infiltration.
2. Select 't' for Teach, note that it highlights a reasonable selection.
3. Press 't' again and note that it switches the selection.
Logged
"Please, spare us additional torture; and just euthanise yourselves."
Delivered by Tim Curry of Clue as a parody of the lead ass from American Idol in the show Psych.

Carlos Gustavos

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #320 on: December 27, 2013, 06:06:00 pm »

I'm sorry, I can not reproduce the bug from your instructions. Those two lines still look like they don't actually do anything to me.
Logged

Veroule

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #321 on: December 28, 2013, 02:27:00 pm »

You are right. I was looking around that section for a related bug that existed for many versions. Finding that the old bug has been corrected and spotting the other error I assumed it would be a problem. I didn't test it completely before reporting it and that was really bad of me.
Logged
"Please, spare us additional torture; and just euthanise yourselves."
Delivered by Tim Curry of Clue as a parody of the lead ass from American Idol in the show Psych.

Carlos Gustavos

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #322 on: December 30, 2013, 02:16:07 pm »

Mistakes happen. I have fixed the dice rolling so it keeps the three highest results and removed the unnecessary lines.
Logged

Yoink

  • Bay Watcher
  • OKAY, FINE.
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #323 on: January 19, 2014, 05:03:56 am »

OKAY EVERYONE BACK UP IT'S TIME TO PLAY SOME LCS
Logged
Booze is Life for Yoink

To deprive him of Drink is to steal divinity from God.
you need to reconsider your life
If there's any cause worth dying for, it's memes.

mosshadow

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #324 on: January 23, 2014, 11:49:42 pm »

I believe I found a bug with the justice system. When You have a person in the justice system you can get them out by making a new squad and selecting their name. They start off in the place they where, thus you end up with a one man squad inside a court house or prison.

The game even thinks their prison is a safe house. Must be conservative brainwashing!
Logged

tahujdt

  • Bay Watcher
  • The token conservative
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #325 on: January 24, 2014, 10:22:05 am »

I believe I found a bug with the justice system. When You have a person in the justice system you can get them out by making a new squad and selecting their name. They start off in the place they where, thus you end up with a one man squad inside a court house or prison.

The game even thinks their prison is a safe house. Must be conservative brainwashing!

Download a newer version, it should be fixed.
Logged
DFBT the Dwarf: The only community podcast for Dwarf Fortress!
Tahu-R-TOA-1, Troubleshooter
Quote
I suggest that we add a clause permitting the keelhauling of anyone who suggests a plan involving "zombify the crew".
Quote from: MNII
Friend Computer, can you repair the known universe, please?

mosshadow

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #326 on: January 24, 2014, 02:11:04 pm »


Download a newer version, it should be fixed.

But isnt the latest version 4.07.0? Its show in the screenshot
Logged

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #327 on: January 24, 2014, 09:16:52 pm »


Download a newer version, it should be fixed.

But isnt the latest version 4.07.0? Its show in the screenshot

Well, there are beta versions up to 4.07.4; I haven't stickied that thread because the new features aren't all there yet.

http://www.bay12forums.com/smf/index.php?topic=125452.0
Logged

mosshadow

  • Bay Watcher
    • View Profile
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #328 on: January 24, 2014, 09:25:06 pm »

Ah I see, I thought the BETA sign meant that it was considered a branch off for now.
Logged

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: LCS 4.07.0 Download (Sneak Attacks, April 2013)
« Reply #329 on: January 25, 2014, 03:22:15 am »

Ah I see, I thought the BETA sign meant that it was considered a branch off for now.

It is, it's just also newer, and so has some of the bugs fixed that this version doesn't.
Logged
Pages: 1 ... 20 21 [22] 23 24 ... 27