* *

News

Nexon has recently updated Mabinogi to a 64 bit client. This update has broken many mods in memory patchers for the time being. The mod creators are working hard to essentially rebuild all mods from scratch, and this process will take some time. Please be patient, and stay tuned for more updates.

Keep in mind that you must register an account, and be logged in to view any content on this site.

Mabinogi Status

Erinn Timer

Time
Erinn Time 14:58
Local 01:34
Server 01:34
Moongate Prior G16 [ + / - ]
11:11 Tir Chonaill
12:22 Dunbarton
13:33 Emain Macha
14:44 Bangor
14:44 Emain Macha
16:66 Emain Macha

Ceo in days.

Price [ + / - ]
01:12 Emain Macha - Island in South Pathway
01:48 Sen Mag 5th house from West
Rua [ + / - ]
01:39 Resting
02:15 Resting

Themes





Author Topic: Doll Pickups  (Read 10265 times)

0 Members and 1 Guest are viewing this topic.

Offline Xcelled194

Doll Pickups
« on: April 30, 2015, 11:07:17 pm »
First, a disclaimer: This will NOT help you pick up girls. If you want to do that, try this link: http://amasick.net/files/stuff/pl_254image.jpg

So I'm sure we all know these adoribs little guys:


Yes, that's a Hatsune Miku doll. Now she and her fellow cuties generally run around causing chaos, and will occasionally grab gold for you. Sometimes, with the help of this mod, they do it faster. That's all fun and stuff, but then you have dolls like these which pick up items other than gold:


Well that's just fabulous, but what if you could make your dolls pick up other things... things they normally wouldn't soil their hands with? Like this: http://i.imgur.com/yNppm7x.gif.

For those of you who don't want to look at the beautiful gif I made, screw you it's a Mari doll picking up a Racoon Fomor Scroll and some small gems.

"Now how did you do this, after so many tried and failed?" I can hear you asking. Well sit down and listen, sugar, and I'll tell you!

You'll need the following:
  • Data unpacker
  • Decent Text Editor like Notepad++ or Sublime
  • Data packer or custom pack creator
  • A brain (this may be the hardest one for you to get. I recommend the black market in Germany)

If you're confused by any of this, STOP READING and go look at this.

So, ready to mod? Here's what you need to do:
1) Extract the LATEST itemdb.xml and race.xml to data\db. If you use a mod pack like Tiara, you already have them there.

2) Figure out what categories of items you want to pick up. To do this, open itemdb, find an example item, and look at it's "category" tag. Select the sub-categories you want. For example, if I wanted the doll to pick up all books, I'd open itemdb, find a book (In this case, the traveler's guide), and see the categories are:
Code: [Select]
/equip/usable/readable/book/manual01/not_enchantable/
So basically, the item is:
- Equipable
- Usable
- Readable
- A book
- A manual
- Not enchantable

We want all books, regardless of the other things. (Some books may not be equipable, enchantable, etc) so our category would be
Code: [Select]
/book/Easy as that. If we wanted only readable books (excluding skillbooks like fireball), we could use
Code: [Select]
/readable/book/
If you have multiple catagories of items, you can separate them with a ; character. So, if we wanted our doll to pick up books and food, we could use this:
Code: [Select]
/book/;/food/
3) Once you have your categories figured out, go to race.xml. You'll need to find the entry for each doll you want to modify. Doing a ctrl-f for "autobot" will pull you right to their entries - from there you have to look at the names to figure out who's who.

4) For each doll you want to modify, find the ExtraData entry for it. If it's a Kristell doll or one of the other ones that picks up items already, you'll see an entry "packableItemStringId" followed by some categories. If you don't want to lose what your doll already picks up, you'll need to also include these categories in your mod.

5) Add (or update) pickableItemsStringId to look like this:
Code: [Select]
pickableItemStringId="/YOUR/CATAGORIES/GO/HERE/"
So, to make our doll pick up books, it looks like this:
Code: [Select]
ExtraData="<xml pickableItems="2000" pickableItemStringId="/book/">"
If we had a Kristell doll and wanted her to retain her existing items, we'd do this:
Code: [Select]
ExtraData="<xml pickableItems="2000" pickableItemStringId="/book/;/tailor/;/spinning/;/weaving/">"
For those of you interested, ExtraData is xml-encoded xml. Running the last through an xml unescaper gives us this:
Code: [Select]
<xml pickableItems="2000" pickableItemStringId="/book/;/tailor/;/spinning/;/weaving/">
If you have problemns reading around the escape characters, you might want to make use of an escaper, like the one I linked.

Step.... 6? ...I've lost count) Save race.xml and use your preferred method to pack it back into the game. Restart Mabi and enjoy your new slave doll!

You can pick up specific item ids using "pickableItems" and formatting it the same way as you showed for "pickableItemStringId", without the slashes.
So...
Code: [Select]
pickableItems=&quot2000;90102&quot;would pick up gold and berries.

Some ideas to get you started:
- You could make any doll pick up items to help you with the life skills. Can't find a Kristell doll? No problem, just buy Mari!
- Make one doll pick up ALL life items. Why bother summoning 3 or 4 when one will do just fine?
- Never miss a dungeon key again with /key/ (Doesn't seem to work? Can someone confirm?)
- If you're SUPER lazy, /item/ will pick up pretty much every item
- If you're SUPER lazy with a LOT of inventory room, try /item/;/equip/;/food/;/metal/;/material/;/usable/;/*/;//;*;


Go forth and pick up the world! Also post any creative mods you make here.


Re: Doll Pickups
« Reply #1 on: April 30, 2015, 11:34:48 pm »
And so it took you guys...what, almost a year to figure this out? (thumbsup)


Why didn't you comment about pickableItems?
We know 2000 is "Gold"
 

Offline Noonehere

Re: Doll Pickups
« Reply #2 on: April 30, 2015, 11:47:01 pm »
Nice find!

You can pick up specific item ids using "pickableItems" and formatting it the same way as you showed for "pickableItemStringId"
So...
Code: [Select]
pickableItems=&quot/;/2000/;/90102/&quot;would pick up gold and berries.
▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄
/o/ r200 \o\
body -> chest -> leg1l -> leg1r -> leg2l -> leg2r -> head -> claviclel -> clavicler -> footl -> footr -> arm1l -> arm1r -> arm2l -> arm2r -> handl -> handr
Releases:
Vertical Bow Range Shot [.ani]
Everything I make is here
Flying Star Staff [.pmg]
Weapon Animation Translator Guide
Custom Animation on Clothing Guide
PMG Editor Guide

Offline Xcelled194

Re: Doll Pickups
« Reply #3 on: May 01, 2015, 12:03:47 am »
Of all the integer list formats, why'd they go with THAT one?


Offline Xcelled194

Re: Doll Pickups
« Reply #4 on: May 04, 2015, 12:58:54 am »
Looked into this a little more. Was able to replace the human AI/race entry with the doll pickup stuff. It works, except the server won't allow the item to actually be picked up, presumably because I have no master, and thus the server can't figure out where it goes.

However, this means that, in all likelihood, ANY summon can be enslaved to pick things up.


Offline Europe

Re: Doll Pickups
« Reply #5 on: May 04, 2015, 01:34:47 am »
And so it took you guys...what, almost a year to figure this out? (thumbsup)


Why didn't you comment about pickableItems?
We know 2000 is "Gold"

I know I don't come by that often, but when did this become Epvp?

Re: Doll Pickups
« Reply #6 on: May 04, 2015, 02:12:28 pm »
I know I don't come by that often, but when did this become Epvp?

DONT SAY THAT CURSED WEBSITE HERE
PLAYTIME WILL bash TO YOU AND USE test sword 2 ON YOUR ACCOUNT
BEWARE.
 

Offline Lady Playtime

Re: Doll Pickups
« Reply #7 on: May 04, 2015, 05:28:10 pm »
* Maharaja Playtime sits down in the middle of the thread
Join me on Twitch, I stream!
^ Click to join me ^




Contact me by email: [email protected]. by Skype: Playtime.xel, PM me here, or say my name in a post and I'll find you!
Quote from: Marck
[12:37:42 AM] Marck: ...
[12:37:44 AM] Marck: Adam
[12:37:50 AM] Marck: You can take over MM now, I'm freaking stupid

Offline NoLimit

Re: Doll Pickups
« Reply #8 on: May 04, 2015, 07:40:04 pm »
Anyone know the itemID or catergory for Large Nail?  I searched itemdb.xml but it doesn't seem to be listed there.

Offline Noonehere

Re: Doll Pickups
« Reply #9 on: May 04, 2015, 08:12:16 pm »
I think the itemID is 52003
▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄
/o/ r200 \o\
body -> chest -> leg1l -> leg1r -> leg2l -> leg2r -> head -> claviclel -> clavicler -> footl -> footr -> arm1l -> arm1r -> arm2l -> arm2r -> handl -> handr
Releases:
Vertical Bow Range Shot [.ani]
Everything I make is here
Flying Star Staff [.pmg]
Weapon Animation Translator Guide
Custom Animation on Clothing Guide
PMG Editor Guide

Offline NoLimit

Re: Doll Pickups
« Reply #10 on: May 04, 2015, 08:29:58 pm »
Thanks, I didnt know large nail is called spike in itemdb.  Btw the syntax for pickableItems is wrong, you do not need any '/'

Offline Xcelled194

Re: Doll Pickups
« Reply #11 on: May 04, 2015, 09:10:55 pm »
Thanks, updated first post.


Offline Forgotten Sidhe

Re: Doll Pickups
« Reply #12 on: May 05, 2015, 06:11:46 pm »
Thanks, I didnt know large nail is called spike in itemdb.  Btw the syntax for pickableItems is wrong, you do not need any '/'
You're supposed to use itemdb.english.txt for that, not itemdb.xml. You can find itemdb.english.txt in the local folders, search the english name of the item there and that name entry will be preceded by a number. Lets say the number is 1234, now go to itemdb.xml and search ".1234]" to look for all item entries with that item name. (You can also search by description using the same process but why would you want to.)

I wish people on mabimods would've explained things like this to me when I first joined instead of telling me to search better even though searching just leads you to over twenty other threads that all tell you to use the search bar. . .

Offline Lady Playtime

Re: Doll Pickups
« Reply #13 on: May 05, 2015, 08:18:10 pm »
I wish people on mabimods would've explained things like this to me when I first joined instead of telling me to search better even though searching just leads you to over twenty other threads that all tell you to use the search bar. . .

I wrote a massive like 50 page guide on all of that had it stickied, and forced through all accounts as "required reading" before posting was allowed, but nobody cares to read or do even anything in the slightest for themselves, if it's not spoonfed directly to them on a platter made of solid goshdarn gold, then it's not good enough.  Therefore the guide is now half-deleted, outdated, and has broken links all through it, and won't be updated.

I've left it open if anybody wants to add to it or do something with it (since it's basically a guide compilation of everything, or least is supposed to be) but nobody cares enough to do that either...

It's been there for 4 years now. People just don't read.
Join me on Twitch, I stream!
^ Click to join me ^




Contact me by email: [email protected]. by Skype: Playtime.xel, PM me here, or say my name in a post and I'll find you!
Quote from: Marck
[12:37:42 AM] Marck: ...
[12:37:44 AM] Marck: Adam
[12:37:50 AM] Marck: You can take over MM now, I'm freaking stupid

Re: Doll Pickups
« Reply #14 on: May 05, 2015, 09:51:46 pm »

It's been there for 4 years now. People just don't read.

Let's be honest
Who's going to read a 2011 guide.
 

Offline NoLimit

Re: Doll Pickups
« Reply #15 on: May 05, 2015, 11:03:15 pm »
You're supposed to use itemdb.english.txt for that, not itemdb.xml. You can find itemdb.english.txt in the local folders, search the english name of the item there and that name entry will be preceded by a number. Lets say the number is 1234, now go to itemdb.xml and search ".1234]" to look for all item entries with that item name. (You can also search by description using the same process but why would you want to.)

I wish people on mabimods would've explained things like this to me when I first joined instead of telling me to search better even though searching just leads you to over twenty other threads that all tell you to use the search bar. . .

Thanks for helping a pleb in modding!  You made the progress to setup this mod way easier.  Maybe Xcelled will add it to the 1st post.

Offline kirbysama

Re: Doll Pickups
« Reply #16 on: May 07, 2015, 10:30:31 pm »
Thank you, it was very informative. I like that it's not completely spoonfed either.
_.:|Life Librarian|:._

Offline ╰( ´◔ ω ◔ `)╯

Re: Doll Pickups
« Reply #17 on: May 08, 2015, 01:46:22 am »
I like that it's not completely spoonfed either.
Eh, no. It's pretty much completely spoonfed, but in a step-by-step format, rather than a single download.


Offline proxied

Re: Doll Pickups
« Reply #19 on: May 10, 2015, 12:07:14 pm »
Thank you for this. This is actually something a few friends and I have been interested in for a while, and as such, this has been greatly appreciated.

Now, I have a question about modifying something else.

Is it possible to set a minimum amount of gold that doll bags can pick up? Or, make lower quantities of gold not appear in general?

Addressing the second part of my question, my limited "experience" with modding in general comes from maplestory, where you can pretty much remove the images of some drops (including certain meso quantities. It's referred to as item filtering), and they don't show up for you client sided. As such, automatic pickup pets ignore picking these items up as well. I attempted to do this on mabinogi by editing something in itemdb.xml just to see what would happen, and the gold piles didn't show up, but the gold was still there. So yeah, I failed that, and don't know what else to try. So just going to ask if something like this is possible!

I don't know if this is the appropriate place to post something such as this, so if not, I apologize. However, I feel that it is at the very least, relevant to the topic of this thread.

Offline SaraBBrown

Re: Doll Pickups
« Reply #20 on: May 10, 2015, 12:45:28 pm »
and since you're already in the ai for them, you can change the time from 5000ms between items to oh let's say 1000ms... :3

lol and make them talk?

Offline ╰( ´◔ ω ◔ `)╯

Re: Doll Pickups
« Reply #21 on: May 10, 2015, 01:21:20 pm »
and since you're already in the ai for them, you can change the time from 5000ms between items to oh let's say 1000ms... :3

lol and make them talk?
Yes, you can.

Offline Xcelled194

Re: Doll Pickups
« Reply #22 on: May 11, 2015, 02:49:50 am »
Thank you for this. This is actually something a few friends and I have been interested in for a while, and as such, this has been greatly appreciated.

Now, I have a question about modifying something else.

Is it possible to set a minimum amount of gold that doll bags can pick up? Or, make lower quantities of gold not appear in general?

Addressing the second part of my question, my limited "experience" with modding in general comes from maplestory, where you can pretty much remove the images of some drops (including certain meso quantities. It's referred to as item filtering), and they don't show up for you client sided. As such, automatic pickup pets ignore picking these items up as well. I attempted to do this on mabinogi by editing something in itemdb.xml just to see what would happen, and the gold piles didn't show up, but the gold was still there. So yeah, I failed that, and don't know what else to try. So just going to ask if something like this is possible!

I don't know if this is the appropriate place to post something such as this, so if not, I apologize. However, I feel that it is at the very least, relevant to the topic of this thread.

It's not possible, not without heavy client memory patching (asm edits). The reason is that all gold stacks are the same "item". 1g is the same item class as 1000g. Stackable items, like gold, use a stat called "Count" to store how many of an item there are in a stack. So 1g is item class 2000 with a count of 1. 1000g is item class 2000 with a count of 1000. So, in order to make the client ignore smaller stacks, you'd have to write a memory edit that inspects the count of the item and acts based on that.

You'd then have to target the mod specifically to gold on the floor - you don't want 1g disappearing from your cursor when you try to enter a dungeon! This would be fairly complex. It's possible that someone like Step could find the function you'd need to patch to get the gold to vanish graphically, but I'm sure the doll wouldn't respect that.

Why do you want the doll to not pick up small amounts anyway?


Offline Sozen Cratos Focker

Re: Doll Pickups
« Reply #23 on: May 11, 2015, 03:57:21 am »
...
Is it possible to set a minimum amount of gold that doll bags can pick up? Or, make lower quantities of gold not appear in general?
...

This probably wouldn't work and might even break the client, but you could try seeing hat happens if you add a second, identical category list separated the same way invimage and fieldmesh file names are for gold in itemdb, then make up a category to add to the second category list and the doll AI.
Quote from: mabimods
<size=1000>Sozen Cratos Focker has no signature! Everybody point and laugh!!</size>
...Way to rub it in? lol

Offline ╰( ´◔ ω ◔ `)╯

Re: Doll Pickups
« Reply #24 on: May 11, 2015, 04:00:12 am »
This probably wouldn't work and might even break the client, but you could try seeing hat happens if you add a second, identical category list separated the same way invimage and fieldmesh file names are for gold in itemdb, then make up a category to add to the second category list and the doll AI.
What. No.