« first day (499 days earlier)      last day (4440 days later) » 

12:00 AM
Is this question legit? I want to say "post the code", but maybe this is an actual well-known issue?
 
 
2 hours later…
1:38 AM
12 hours after hitting 20 rep and clearing cache and I can finally chat.
Wonder where that check is made.
 
user406009
Welcome here.
 
2:00 AM
@AnthonyReflected Hi.
 
2:18 AM
@Nawaz why did you delete your answer?
 
I have a 14 year old dwarf with a very long mustache and beard, who is married to a 40 year old miner dwarf, who knew?
oh god
 
3:10 AM
@SethCarnegie your answer still needs some fixing up :)
 
@RMartinhoFernandes Hello. I noticed that I have tons of DF-related questions when playing but I don't remember any of them!
 
Also I discovered rock pots.
 
What's that?
 
Rock equivalent of barrels. Apparently, I haven't yet tried.
 
3:15 AM
Oh, that's new.
 
Yeah, my reaction as well.
 
Does that mean trees are only essential for beds now?
 
I guess. Feels like cheating right?
On the other hand I've been using up so much wood for charcoal I don't care anymore, hah.
 
Trees are essential for pissing off elves.
 
That's a lot of stockpile space to piss off elves. I admire your dedication.
 
3:17 AM
Isn't it easy to just loot and murder their caravans?
 
It's a matter of principles.
 
That's not passive-aggressive though. Just aggressive-aggressive.
 
Deconstructing the trading post is passive-aggressive.
 
Uh, I thought they noticed.
 
It'd be hard not to notice.
 
3:20 AM
@CatPlusPlus Do they attack?
 
No.
They might invade later, but since I've never played with invasions, meh.
 
@CatPlusPlus So, that's an exploit.
@CatPlusPlus That's for sissies.
 
Yeah I don't think there's anything 'passive' about that when they can actually retaliate.
 
It was fun for me.
That and lava waterfalls in the middle of the fort.
 
I have a utility called decay_tuple. Should it be just decay?
@CatPlusPlus Oh, do you remember when you suggested I use deleter instead of with_deteleter as a parameter name?
 
3:26 AM
Ugh.
0
Q: ifstream and System.Runtime.InteropServices.SEHException

user1234697I am having some trouble when executing this piece of code: #include <iostream> #using <mscorlib.dll> #include <string> #include <fstream> #include <windows.h> using namespace std; using namespace System; void tokenizar(char *arquivo){ ifstream NTok(arquivo); of...

@LucDanton Yeah, deteleter sounds wrong.
 
@LucDanton Yes. No. Maybe. That was a long time ago.
Also what's with the C++ talk at 5AM.
 
@RMartinhoFernandes A horrid mess of C, C++, and C++/CLI.
 
It was. I rediscovered I have a named parameter called fail_with. How do you feel about that?
@CatPlusPlus What about it?
 
Lol, DX:HR doesn't allow you to use preset resolution in windowed mode.
That's a new one.
 
What did you expect for that price.
 
3:30 AM
Game developers just couldn't do proper windowed mode if their life depended on it.
Most games just happily place the window at (0, 0), and captures the input so you can't move it.
I mean COME ON.
But this one is even better, since it starts with 320x240 or something.
 
I wondered why made that comment about it being 5 in the morning, but I guess you're grumpy (grumpier?).
 
@RMartinhoFernandes is it fixed now?
 
I want to go to sleep, but I have to go to classes instead.
I might have played RotMG bit too long.
 
@SethCarnegie I think so.
 
3:33 AM
@RMartinhoFernandes thanks
My current rep is 23,654, my inner dyslexic OCD personality is crying
Also I just got the homework badge :(
 
Because homework isn't the best badge to have answered a lot of questions in :(
 
I don't see what the problem is.
 
I'd rather have it in a language
(a badge)
 
A badger is a badger.
 
3:36 AM
@SethCarnegie Well, I can see that you already have badges for C and C++. And that you don't answer many questions in other languages.
 
I wonder if there should be an SSCCE.StackExchange where you don't so much submit a question but something that actually compiles.
Well, not so useful in case where the compiler refuses valid code and you want to ask about that but still.
 
 string sentenca;
 string palavra_tok;
 char *sentenca1;
 sentenca1=new char[300];
I honestly don't get it.
 
"300 should be big enough!"
 
This person clearly knows about std::string, yet news a char array to use things like strcpy and gasp strtok.
 
user406009
strtok is pretty useful. Don't hate.
 
3:41 AM
@RMartinhoFernandes Can't use strtok with C++03 std::string. That's why!
 
@LucDanton Er, strtok(&my_string[0], whatever else strtok takes)?
This person also knows about string::find btw.
 
Contiguity requirement is from C++11 on. Not joking.
 
Not C++03 like vector?
 
Yep.
 
Well, I'd probably rely on it anyway.
No, I wouldn't even dare to use strtok.
 
3:43 AM
Which used to be sort of a running joke as the complexity requirements make it pretty obvious how to implement the average string. Not sure if std::deque<charT> is a good fit though.
 
@RMartinhoFernandes that doesn't make it any better :(
 
12 mins ago, by R. Martinho Fernandes
@SethCarnegie Well, I can see that you already have badges for C and C++. And that you don't answer many questions in other languages.
 
You already have all the language badges that you seem to answer on!
What else do you want? Free badges?
 
That's not true, I care about a lot of languages
that I don't know much about
 
3:58 AM
Note to self: your CPU can't handle both DF world gen and a build of clang simultaneously.
 
@RMartinhoFernandes btw, did you ever continue work on that bit-torrent client? ...just curious how big a of project that is (probably bigger than it looks from the surface)...
 
@kfmfe04 I started working on it again last week.
 
@RMartinhoFernandes coolios - definitely ping me if you get a working version up - do you intend it to be platform-independent?
 
Yes.
I'll probably end up using Qt for the UI, but for now I'll stick with the command-line. I want to get the important bits done first.
 
4:15 AM
nice - at one time, I got all curious about how microTorrent managed to create such a tiny binary... ...dug around a little myself, but didn't really pursue too much (found it interesting that they avoided stdlibs, and I think they may have even written their own GUI lib...)
 
It's not so tiny anymore. That thing is gone completely out of control.
 
hahaha - I didn't notice - wonder what happened!
maybe they should rename it macrotorrent
 
2.0 is a monstrosity. Now it even has some kind of "app store" in it.
@kfmfe04 It was bought by the mainline devs.
 
wtf - a monstrosity - app store?!?
it must be an aggressive attempt to monetize
 
4:19 AM
rofl
 
There's a paid version too. I don't want to know what else do they offer.
 
makes me want to revert to something like rtorrent...
 
4:32 AM
@RMartinhoFernandes I got the DF map working with the default graphics, I played through spring. If anyone does/has beat me through year 3 let me know
Unrelated: I just got my first gold badge! (Though not for anything to do with skill)
 
@MooingDuck Was the problem keeping the raws of the save game in sync with the raws that the player is using?
 
@LucDanton maybe? I dunno. Problem went away with default graphics though.
@RMartinhoFernandes yeah :(
 
Also, world gen finished. Gosh, this thing is so much more resource hungry than before.
 
How come you're genning in the first place?
(Wow, my spellchecker didn't trip on 'genning'. I must check what that means. Also, my spellchecker trips up on 'spellchecker'.)
 
cpx
4:35 AM
Latest version of utorrent bans the peers sending bad data, is this a bug?
 
@LucDanton My last fortress went belly up when goblins slaughtered my entire army.
@cpx No, that's a feature. (I'm being serious)
 
lol
 
@LucDanton Since it was a pocket world anyway, I'm genning a normal one.
 
@RMartinhoFernandes Oh hey, that reminds me, remember when you said 'training a good military will pay off'?
 
what is this "df" ?
 
4:36 AM
Yeah?
 
Well, goblins.
I kid, I kid. Still, half of my 10-dwarf strong squad died.
 
@kfmfe04 One of the best games ever! en.wikipedia.org/wiki/Dwarf_fortress
@LucDanton Equipment?
 
Apparently I cancelled the order to produce shields or something.
 
Metal or leather?
 
@LucDanton walls, fortifications, crossbows, and catapults
 
4:38 AM
mmorpg?
 
@MooingDuck That's cowardly!
 
@MooingDuck Self-imposed challenge.
 
@kfmfe04 sim city on crack
 
Were the goblins lashers?
 
@RMartinhoFernandes it's effective
 
4:38 AM
@MooingDuck And cowardly. It takes all the fun out of building an army.
 
@RMartinhoFernandes I don't think so. Lashers means they have some kind of beast with them, right?
 
@MooingDuck 8^O
 
Not, necessarily.
It means they use whips.
 
Oh. Well I think three of the five dead died instantly when running into a barrage of arrows.
 
But whips used to be way overpowered due to the way they were implemented. A simple whiplash could kill dwarves wearing metal without an issue.
@LucDanton Oh.
 
4:39 AM
 
One of them managed to fall unconscious right in the middle of them so for a good while the archers were beating on his metal helmet with their bows.
You were right, iron armor is effective. Against wooden bows.
 
You'll want to zoom in to examine the fine graphics of the game
 
Anyway, this time around I have metal shields, so we'll see how it goes. Also, admittedly I gave them a very, very bad order. I only meant for them to 'bait' the goblins into the traps, except the dorfs decided to charge. Whoops!
I really have no experience with the military besides marksdwarves. Those guys can disengage from combat.
 
is there an objective to DF or is it open-ended?
 
Open-ended.
 
4:42 AM
Yeah.
 
Hence why I mentioned a self-imposed challenge earlier. It's easy to 'beat' certain aspects of the game.
 
Try killing bronze colossi with arrows and fortifications.
 
@RMartinhoFernandes In any case those 5 deaths (plus a lot of vampire activity) has triggered a tantrum chain.
I'm at 160 dorfs so morale is yo-yoing like mad. Encrusting every piece of furniture with cheap gems to help with that.
 
@kfmfe04 basically, like cim city. There's up to 200 dwarves, and you give orders, and the dwarves proceed to ignore them.
 
Oh, my fort lost 20 of 60 dwarves to the goblins (civilians were caught very busy hauling tons of freshly chopped wood in) and no one tantrumed.
 
4:44 AM
@MooingDuck sounds a bit lemmings-like
 
@RMartinhoFernandes Haha, I think my very first invasion/encounter was one of those. After shooting a bit at it with no effect, I decided to use that trick (exploit?) where you put all your dorfs on one square and have them wrestle. That went pretty well.
 
@LucDanton I usually give everyone an individual room with chest and cabinet and send my master engraver to work on them. It keeps morale super high.
 
@RMartinhoFernandes Unfortunately I still have issues with food supplies management. I managed to ran out of booze and plump helmets somehow. No biggies (except for the booze, but nothing to be done with that), but less diversity.
@RMartinhoFernandes I can't get the heart to do it for 160 dorfs. Still, I only smoothed the one individual rooms I have, I could engrave those.
I guess I should smash fresh immigrants tbh. They're very, very useless.
 
Booze, dining in a royal dining room, and sleeping in royal quarters; what else could a dorf want?
@LucDanton Draft them. At the worse, they're meat shields.
 
I've never done that out of a self-imposed challenge. Immigrants bring chaos into your well-oiled plans.
@RMartinhoFernandes That doesn't sound like a good idea morale-wise.
Still have issues with troops morale, too.
I had one guy get ecstatic from bloodshed (the goblin encounter), but at the same time annoyed from long patrols, and annoyed from being relieved from duty. Wtf.
 
4:48 AM
@LucDanton So you plan to kill them off before they develop relationships?
@LucDanton Different personalities are awesome, ain't they?
 
@RMartinhoFernandes Dunno. It's too late for my current fortress and I have plans for my next one that make it incompatible.
 
hmm... ...I see the Years just fly by - am I supposed to do anything?
 
@RMartinhoFernandes It's the one dorf.
 
He probably only likes the bloody part of duty.
 
the Dead piling up 13k+
 
4:49 AM
@kfmfe04 You're genning a world? That's normal.
 
But I've gathered that 'best practices' for the micro-management obsessed that want a 'perfect' fortress is to effectively kill off useless immigrants.
 
Poor things.
 
That way you can deal with the demand for more rooms, more growing space, etc. And if someone actually is skilled, then bonus.
 
My fortresses have a place for anyone. Meatshield and hauler are two jobs always on demand.
 
@RMartinhoFernandes aye - I genned a world - am I supposed to pause/look-around/issue commands?
 
4:51 AM
@kfmfe04 It's dangerous to learn DF alone, take this.
2
 
What @Luc said.
 
cpx
It seems the very latest version 3.1.2 fixes that bug according to this change log I wonder why it cannot be a feature.
 
@LucDanton ty!
 
@kfmfe04 The wiki is very well done. I'm a second-time DF learner from one year ago, and I was very, very impressed by the quality of the quickstart guide. It's the strict minimum of information to start, read it carefully, every detail is planned.
 
@cpx "- Fix: fixed issue where peers sending bad data wouldn't get banned" The way I read it, this means that they are banned now, but weren't.
 
4:52 AM
The wiki in general is very, very good and doesn't 'spoil' the game experience. When it could, it warns you.
 
rofl - it even has a tech-tree?!
 
@kfmfe04 Detail is DF's middle name.
According to the author, the game is only 34% complete so far...
 
looks like you can generate an entire myth/tale out of one sim...
 
@RMartinhoFernandes As I said, up until now I've let the immigrants come in as a self-imposed challenge. However, I'm seeing the same patterns as when I used to play: spend time designing rooms (well this time I deliberately avoided that), spend time assigning labours, but at the end of the day one half of the fortress consists of useless loafers hanging in the meeting hall having parties until there's something to haul.
Considering that one quarter of the population is already made up of useless infants and children.
 
@kfmfe04 That's the ultimate idea behind the game.
 
4:55 AM
It's not that I've a fundamental problem with it, it's that I've done that too much. I'd like alternatives (to designing individual rooms all the time).
Next fortress is going to be a commune of hard-grit ranchers with a martial spirit.
 
@LucDanton Oh, I don't design individual rooms all the time. I use massive apartment blocks of 80 bedrooms that I can put up in 5 minutes.
 
cpx
@RMartinhoFernandes oh i see
 
Then when someone new comes up, all I need is to fire up the manager and request the number of missing beds/chests/cabinets.
 
@RMartinhoFernandes Still have to queue up 80 beds (which means 3 jobs of 30+30+20), ditto doors and at some point cabinets, chests, table etc.
Obviously it's not tedious like it used to be (put door+table+chest/bed on repeat) mechanics-wise. But it's still tedious as a gameplay element :(
 
@LucDanton Yeah, but then it's pretty much done (couples share rooms, so you have space for something between 80-160 dorfs).
 
4:58 AM
I dunno. Do you use a macro program to design the 80-room floor?
Or do you use the mouse for that?
 
I use a design that takes advantages of Shift+direction moving 11 squares.
 
@RMartinhoFernandes What size are the rooms?
 
I guess I could use macros, but I never cared much for it.
 
I guess I could spend the time to add such a floor. It'd be less time worrying about morale.
(I'm not in a hurry to start the next fortress, current one is nice.)
 
@LucDanton Five squares: door, bed, chest, cabinet, empty.
The empty one can be used for statues or something if someone needs a boost.
 
5:00 AM
I didn't remember how rooms went, so I put a table in your empty space.
Come to think of it, I have all those gems that I'm encrusting in all that high-quality furniture. This could be insane morale-wise.
 
I realised that with burrows, you can 'stage' qualities and end up percolating tons of insane furniture.
@RMartinhoFernandes So that trades pathfinding for ease of design, right?
Perhaps some of my anger towards putting down individual rooms is related to how it used to be important to have a 'compact' and fluid design. That's not an issue anymore these days, is it?
Pathfinding smarter, computers more performant?
 
I never had slowdowns due to pathfinding.
Most slowdowns I had were caused by pumps.
 
It's not necessarily slowdowns. But dorfs can crawl to a halt because they're dumb.
I.e. the game still runs smoothly, the dorfs don't.
 
That's the kind of slowdown I mean.
 
5:05 AM
Well how can pumps prevent the dorfs from moving about exactly?
 
@LucDanton It's not the pumps per se, but the game spends a lot of time "moving" the fluids around (I'm talking gigantic pump stacks that go down to the magma sea below).
The result is less game steps per second.
 
Well, I'm talking about how two dorfs can't 'walk' in the same square simultaneously.
 
But they can.
 
Ah, so that changed, didn't it?
 
I don't remember it being otherwise, but it could be just me not noticing that limitation.
 
5:07 AM
> Major hallways should be at least two tiles wide, maybe even three tiles. Otherwise your dwarves will be constantly running into each other and productivity will be slowed.
 
In any case that bedroom design has one corridor per 10-20 dorfs, and bedrooms are not high-traffic areas.
 
@RMartinhoFernandes The problem is bedroom area <-> meeting hall.
Or used to be.
 
@LucDanton Notice the 5-tile wide stairway in the middle? That can lead to large hallways.
 
weird - in the Wiki, it says NO aquifer - I really don't want one?
 
Hopefully the pathfinding algorithm is okay with that :|
@kfmfe04 You really, really, really don't want one.
 
5:10 AM
@kfmfe04 You don't. In two years of playing the game, I still can't handle one.
 
@LucDanton rofl - what's up with aquifers?
dwarves don't want water?
 
It's a big sheet of water below the ground. If you pierce it, it's going to flood things.
 
Well, they very closely simulate how an actual aquifer works, if I understand aquifers correctly.
Think of it as an underground waterline. Anything below that waterline gets flooded.
Aquifers are not underground lakes or streams or the like.
 
But if you don't pierce it, you're stuck with the layers above it, and those are mostly sediment layers: no metal for you. (note: you can find metal at the surface if you're lucky, though)
 
It's permeable rock sitting atop impermeable soil. The water has nowhere to go, so it doesn't.
And at the scale of a fortress there's no way 'around' the aquifer (I think). All of the fortress map is sitting on it.
 
5:12 AM
ouchies... ...ok - setting up find parameters now - no aquifers
 
@LucDanton You can find an embark with an aquifer biome and a non-aquifer one. That way you can go around it by digging in the right places..
 
The game strives to be a simulation so not everything is a gameplay element. Some of the things are here for verisimilitude, even if, well, they're not fun.
@RMartinhoFernandes Ah, I was wondering about that. The border between the two should be weird.
 
user406009
We should get rep for comments. Did someone make a Meta question about that yet?
 
@EthanSteinberg Yes. More than one.
 
@RMartinhoFernandes Have you used burrows to 'streamline' production of awesome furniture/things?
 
5:17 AM
@LucDanton Yes.
Also useful to pick specific items for moods.
 
No trick to it, right? The burrow extends from the living quarters to a part of the industry quarters that only have 'input' stockpiles with quality prerequites.
What happens in case of alerts? Does the civilian burrow override specific settings?
Do I have to reassign after the alert?
 
Hmm, not sure.
 
Searching across 160 dorfs to find those with the right labour isn't fun.
@ScottW 6:20
 
@LucDanton Rapist not working again?
 
@RMartinhoFernandes I can assign to burrows with it?
 
5:21 AM
No, but you can find the dorfs you want with it.
 
@RMartinhoFernandes No.
 
Select burrow, 'assign citizen to burrow', hello 160 dorf long list of names.
 
Ah, I thought you meant finding out which one had the right labour.
 
Some immigration wave colours are designed to make your eyes water, too.
 
5:23 AM
Yeah, the UI overall would benefit a lot from search facilities, like the job manager.
 
@RMartinhoFernandes Well sometimes Therapist gets a name wrong.
I.e. order by skill, 'oh, Urist McMason is my best mason, better do X with him', look huge list of names, nope, no Urist McMason.
However there will be a dorf with those skills, and if you change his labours then it changes in the game. It's just not the right name.
 
And when you look him up in the game he has a name that Therapist doesn't list.
 
Does it work if you nickname it from Therapist?
 
Haven't tried. Not in-game right now.
 
5:29 AM
Urist "Dorf-I'm-looking-for" McMason.
 
Unrelated, but I've had plenty of babies die of thirst. Not sure what's going on.
Is that what happens if the mother dies?
 
No water source?
 
Could be related to all those vampire murders then.
 
@LucDanton Oh, could be.
@LucDanton You haven't found the culprit yet?
 
@RMartinhoFernandes I actually went ahead and remade my meeting hall from my well instead of a table. I saw dorfs actually drinking from it.
@RMartinhoFernandes Nope. I have one guy that has been accused three times now, and accused someone else on one occasion, but he has food/drinks thoughts and preferences. So I don't know.
Perhaps one well is simply not enough?
 
5:32 AM
@LucDanton Nah, that should be fine. I've ran ~200-dorf fortresses of a single well.
They usually drink booze, so one should work fine.
 
Ah well. Vampire double-murders it is then.
 
If you have booze shortages though...
 
Yeah, my thoughts exactly.
 
> set labor list for migrants by default (can turn off in d_init)
Cool, Toady is working on nice fixes.
 
What does that mean? We can specify a list for them? They get a smarter list automagically?
 
5:34 AM
@LucDanton I assume it means they come with the labours where they have skills enabled.
 
Ah, that would be nice, I do that by default indeed.
It's not like it's going to cause a shortage of haulers.
 
> sterilized zombies and mummies
hehe lol
 
I'm definitively going to work my industry area around quality stages with burrows from now on, so that works nicely. Leave a set of workshops for unskilled workers, i.e. partition workshops across skill levels.
I forgot how the 'take from stockpile' option for stockpiles work though.
 
@LucDanton It's neat. You go to the destination pile, set "take from stockpile" and select the source.
 
I'd like to think that the way to go is to put a big stockpiles for all quality levels, and then put the 'staged' stockpile with quality restrictions to take from it.
 
5:37 AM
Then dorfs carry things from source to destination.
 
That way you don't waste time trying to gauge how big stockpiles for so-and-so quality is going to be. The quality stockpiles can be small and are just here to give burrowed, skilled workers their materials, haulers deal with the logistics.
Man, this makes me want to start a manufacturing fortress.
If I give merchants tons of free stuff, I export wealth and create interest from intruders right?
 
Yes. Immigrants too.
 
Well, shit. The immigrants I mean.
Add a 'meat shield' burrow separate from the rest so that they don't make friends with the rest of the fortress. Have them pump and train. Done deal!
 
OMG, you're evil.
 
Haha, I could see the fortress dystopia where the guards and military are drafted from the meat shields, so they have to deal with the tantrums internally. Meaning it can spiral out while the skilled workers are behind their (legendary) strong doors.
Well, a nice idea that requires a ton of micromanagement in the beginning though. I'll put it on the backburner, I want martial ranchers first.
Fuck this. I have to finish my code and get to DF.
 
5:44 AM
hehe
 
6:30 AM
So it has come to this.
 
6:43 AM
@StackedCrooked Yes ... yes it has !
Whats with the overtly encouraging chat room description ? :)
@ScottW Feeling masochistic are we ? :)
@ScottW True ... memory leaks can cause suicidal thoughts :D
 
"I enjoy killing time by myself." becomes "I enjoy killing myself." after leaking two words.
 
6:59 AM
he don't cares. it's our problems that we can't use the language properly
 

« first day (499 days earlier)      last day (4440 days later) »