[Ideas] Editting the Values of Dye Selections

10/12/2009 03:31 Dark Raccoon#16
Quote:
Originally Posted by rawk0r View Post
I thought we were talking about Regular Dyes? I might be getting some money shortly and we will see what happens with the dye
Thats what I meant, sorry, its pretty late at my place. :P
10/12/2009 04:59 lostmage333#17
If you need an uglyass fixed dye, I have some of those (also on tarlach, lostmage333, contact me).

I dont have non-fixed, though.
10/13/2009 00:01 krail#18
Well, I was thinking that maybe it would work if you changed a dye from a regular fixed dye ampule into one of those ones from gacha? (black or red) I think they have their own spot in the itemdb.xml
10/13/2009 00:04 rawk0r#19
Quote:
Originally Posted by krail View Post
Well, I was thinking that maybe it would work if you changed a dye from a regular fixed dye ampule into one of those ones from gacha? (black or red) I think they have their own spot in the itemdb.xml
I tried this about two patches ago, it did not work. It opens the item select, but then nothing happens (at least I think that is what happened, my memory isn't good as of late). Feel free to try this to verfiy.
10/13/2009 00:14 lostmage333#20
Quote:
Originally Posted by rawk0r View Post
I tried this about two patches ago, it did not work. It opens the item select, but then nothing happens (at least I think that is what happened, my memory isn't good as of late). Feel free to try this to verfiy.
You're completely right. This is my understanding of how use of dyes (among other items) works.

1) When you click "Use", the client generates the interface that is displayed. You can make it generate a different interface (eg, make "use" of a strawberry open up the dye item selection interface) by editing itemdb.xml.

2) You make a selection on said interface. For dyes, you pick an item. For stuff like holy water, you also pick an item. For stuff like adv feathers, you enter a name. For party feather, you click "yes", etc. This info is sent to the server.

3) The server returns some info. For dyes, it's the data that makes up your dye palette. If you do not have a dye, the server will return some type of rejection. The notable exception is friend summon capsules, which, I believe, send the request through the server to the other user's client. Should the other user accept, their client sends a move request to the server, which (for now), is granted, and hence the capsule works.

Therefore, editing itemdb.xml will not permit non-dyes to work as dyes, or non-fixed dyes to work as fixed dyes.

At least, that's how I see it.
10/13/2009 04:17 rawk0r#21
Very well stated. I believe you are one of the few who has a grasp on how some of the things work in Mabinogi.
10/15/2009 10:08 Sasorikun#22
Is that still going on?

You can't hack Fixed dyes coz 100% server.

Random dyes have, depending on the Dye and Item (Equipment Dye-> Leather, Fabric, AllColor; Metal Dye-> Handle, Blade), set pallettes which are serversided "twisted" each time you press the button. Everything hereafter is clientsided. There are five values in the Memory, each for one of the five crosshairs you use to pick your random color, which of those gets chosen will be decided serverside, but which color gets picked by each is I believe clientside.
The color values are written in hex #rrggbb. And respectivley stored in the memory.
The tool DyeHelper is able to read out the values and show them onscreen.

I don't know if it still works but it'd be a great help if trying to CE-Hack this.
10/17/2009 04:29 rawk0r#23
This is what this whole discussion has been about. I was interested in editting the colors that have been selected prior to hitting the dye button.
11/30/2009 07:16 IAmNoOneYouKnow#24
Quote:
Originally Posted by lostmage333 View Post
I've tried a bit with itemdb.xml, of course, no luck.

The way I suspect that minigame is played, though, the game generates 1 coordinate, and sends that one coordinate to the server, which picks the other 4 based on the one and randomly selects one to be the dyed color.

The reason why I think that is because I am yet to hear about any mods overseas that have been able to accomplish the type of result that you seem to be looking for.
Isn't it possible that the colors we see are client side, but only in appearance? It's like ordering food from a restaurant menu. You can see the pictures and even change them if you wanted, but in the end the restaurant has to acknowledge which one you picked based on the # next to the picture?

Does that make any sense?
11/30/2009 14:36 shzukahime#25
PMG swaps, is that what you are trying to say? The point of modding these colours is so that others could see it :D

Theres no point if the colours you see is only for your eyes.
11/30/2009 17:09 Infamy^^#26
Quote:
Originally Posted by shzukahime View Post
PMG swaps, is that what you are trying to say? The point of modding these colours is so that others could see it :D

Theres no point if the colours you see is only for your eyes.
That. Unless your circle of friends use the same mods =o
11/30/2009 21:14 rawk0r#27
All the color choices are stored client side (How dye lite picks them up) before you press the "Dye" button. I was interested in editing the selections prior to the dying process beginning.
11/30/2009 23:02 AKB990#28
Quote:
Originally Posted by rawk0r View Post
All the color choices are stored client side (How dye lite picks them up) before you press the "Dye" button. I was interested in editing the selections prior to the dying process beginning.
Dye Lite just finds the pixels and puts a box with the color code under them.
12/01/2009 19:14 rawk0r#29
Quote:
Originally Posted by AKB990 View Post
Dye Lite just finds the pixels and puts a box with the color code under them.
Exactly, that means that the colors are stored client side (or else you wouldn't be able to see them) meaning that it may be possible to change them prior to the game sending the information (when you hit the dye button).
12/01/2009 21:44 Infamy^^#30
But since the dye is being used on an item, and we all know items have unique ID's...

Oh well, that just means more testing to find the color info.