Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

This version of LNP is out of date

Yes and it makes me sad :(
- 82 (40%)
Yes and it makes me mad/angry/frusrated >:(
- 29 (14.1%)
Yes and it's okay because there are other versions now :)
- 94 (45.9%)

Total Members Voted: 205


Pages: 1 ... 77 78 [79] 80 81 ... 137

Author Topic: Lazy Newb Pack - Very out of date :(  (Read 2006685 times)

TolyK

  • Bay Watcher
  • Nowan Ilfideme
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1170 on: January 18, 2012, 10:53:59 am »

Yeah. I'm talking about something like a temporary file or a 3d array including all the world's information, a list of the creatures/items, etc.
Logged
My Mafia Stats
just do whatevery tolyK and blame it as a bastard mod
Shakerag: Who are you personally suspicious of?
At this point?  TolyK.

orius

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1171 on: January 18, 2012, 11:18:17 am »

This is an excellent pack.  Lazy Newb is kind of a misnomer IMO.  The Newb part is partially accurate because it puts everything together for the novice, but it's great for all users because everything's potnetially in one easy to use package.
Logged
Quote from: ThatAussieGuy
That is an insane and dangerous plan.  I approve wholeheartedly. 


Fortressdeath

rmblr

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1172 on: January 18, 2012, 11:42:29 am »

Yeah. I'm talking about something like a temporary file or a 3d array including all the world's information, a list of the creatures/items, etc.

Yes, it's quite easy.

Check out all the methods defined in the Core interface: https://github.com/peterix/dfhack/blob/master/library/include/Core.h

Example - Get all items and do something with them:

Code: [Select]
// 'core' object is provided by the DFhack plugin handler

DFHack::Items * Items = core->getItems();

// populate a vector of all the items
vector <df_item*> p_items;
Items->readItemVector(p_items)

// loop through all items
for(std::size_t i=0; i< p_items.size(); i++) {
    df_item * itm = p_items[i];

    // do something with the item
}

However, this is using the DFhack plugin system, which is controlled via user typed commands. I'm not sure if peterix has created a system for communicating with DFhack from a standlone program.

Edit: from the #dfhack irc channel on freenode:

Code: [Select]
<peterix> well, the idea is there, floating around. and there's a cross platform IPC lib in dfhack along with a plugin that runs a trivial, hello world server that uses the lib
<peterix> on top of that, we need a bit more
<peterix> integrating google protobuf is one thing
<peterix> and writing a server that actually does something
<peterix> and a client that can connect to that
<peterix> ideally any number of clients
<peterix> that can connect to any number of servers

So, it looks like the basics are there.. they just are waiting on some application that actually needs it.

What were you thinking of using it for?
« Last Edit: January 18, 2012, 11:55:13 am by rmblr »
Logged

TolyK

  • Bay Watcher
  • Nowan Ilfideme
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1173 on: January 18, 2012, 11:49:55 am »

vectors, not c-style arrays?
You got me hooked.  :P
Logged
My Mafia Stats
just do whatevery tolyK and blame it as a bastard mod
Shakerag: Who are you personally suspicious of?
At this point?  TolyK.

rmblr

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1174 on: January 18, 2012, 12:04:32 pm »

On another note

I'm looking at creating some Linux distribution packages for LNP, so linux users can just call 'apt-get install lazy-newb-pack' or whatever.

Of course I need to bundle all the LNP data (Keybinds, Extras, Graphics, etc) with the package. Is there a canonical location for the latest up-to-date version of these files? I know they exist in the zip file in the main thread, but are they hosted anywhere else?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1175 on: January 18, 2012, 12:09:18 pm »

vectors, not c-style arrays?
You got me hooked.  :P

Everything DF uses vectors, with the exception of a couple maps here and there.
Logged

TolyK

  • Bay Watcher
  • Nowan Ilfideme
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1176 on: January 18, 2012, 12:19:40 pm »

I'm learning something new every day...
Logged
My Mafia Stats
just do whatevery tolyK and blame it as a bastard mod
Shakerag: Who are you personally suspicious of?
At this point?  TolyK.

Terra_Inc

  • Bay Watcher
  • insanity++;
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1177 on: January 18, 2012, 04:16:50 pm »

Sorry if this was already brought up, but when then tileset is changed, pretty much everything resets to default settings. This is just a little bit annoying, but I'd appreciate it if it could be fixed. I'd do it myself, but I have neither source nor time... you know, so many dwarves, so little time... :D

EDIT: (I'm running x64 Win7 btw, in case it makes a difference)
Logged
Men of broader intellect know that there is no sharp distinction betwixt the real and the unreal...

~HPL~

TolyK

  • Bay Watcher
  • Nowan Ilfideme
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1178 on: January 18, 2012, 05:02:53 pm »

That is an intended bug.
As in, we had no other way of doing it. With regex- or whatever-based stuff (or modloader-type things) it's possible to overcome this.
Logged
My Mafia Stats
just do whatevery tolyK and blame it as a bastard mod
Shakerag: Who are you personally suspicious of?
At this point?  TolyK.

Terra_Inc

  • Bay Watcher
  • insanity++;
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1179 on: January 18, 2012, 05:09:09 pm »

That is an intended bug.
As in, we had no other way of doing it. With regex- or whatever-based stuff (or modloader-type things) it's possible to overcome this.

Ah, I see. No offense meant, I just like to help where I can :D
Logged
Men of broader intellect know that there is no sharp distinction betwixt the real and the unreal...

~HPL~

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1180 on: January 22, 2012, 09:18:37 pm »

There is a way to fix it.

Rename all tilesets.png and .bmp to the same name.

Then, when you replace, lets say Phoebus with Ironhand, it replaces tileset.png with tileset.png. There is no need to replace the init.txt as well, because it will still point towards the correct file, since the name does not change. This way you can keep all the init settings intact.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Phoenyx

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1181 on: January 23, 2012, 11:21:18 am »

Better yet. Leave the distributed tilesets alone. However, set the init to load "active.png". That way, to change a tile set you copy the distributed to the active.png. That way, you leave a copy of the original at all times. Right?
Logged
When in danger or in doubt, run in circles, scream and shout.

daveralph1234

  • Bay Watcher
  • Likes Dwarf Fortress for it's complexity.
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1182 on: January 24, 2012, 06:08:01 am »

If possible, could you include an option to disble clothing (so that no one arrives with or wears it)?
we all know how much lag decaying clothing causes and it serves little purpose at current seeing as dwarves won't equip new clothing anyway.....

TolyK

  • Bay Watcher
  • Nowan Ilfideme
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1183 on: January 28, 2012, 01:03:25 pm »

And yes, Empirical, I am Nowan123 in minecraft. :P
Logged
My Mafia Stats
just do whatevery tolyK and blame it as a bastard mod
Shakerag: Who are you personally suspicious of?
At this point?  TolyK.

DolphinTuna

  • Escaped Lunatic
    • View Profile
Re: Lazy Newb Pack [0.31.25] [V9.3] UPDATES?! DFHack & Graphics
« Reply #1184 on: January 28, 2012, 04:20:08 pm »

I recently downloaded the pack, but after updating my save games with the new graphics sets, I noticed an oddity.



It appears that my old engravings seem to be like they were with the default graphics set (pictures on walls), but any new engravings I make are put in the new format of runes on walls. It doesn't appear to affect new save games, but is their any way to fix it in this game for the sake of aesthetics?

I sincerely apologize if this has been addressed already, or if I am in the wrong place to report this.

Logged
Pages: 1 ... 77 78 [79] 80 81 ... 137