EOSERV Forum > Client Editing > Looking to change guild chat color.
Page: << 1 >>
Looking to change guild chat color.
Author Message
Post #202720 Looking to change guild chat color.

Trying to change the color of guild chats because it current blends in with the background of my GUI. I've managed to change public chat and private message colors to silver but don't know the hex for guild chats.

Ideas?

Not a fan of using Sordie's addons for this.

2 years, 10 weeks ago
Post #202721 Re: Looking to change guild chat color.

How did you find the other chat colors? :P

---
Wish upon a star!
2 years, 10 weeks ago
Post #202723 Re: Looking to change guild chat color.
Plasmastar posted: (7th Mar 2017, 03:05 am)

How did you find the other chat colors? :P


Found a topic posted years ago here regarding those chat colors. Couldn't find guild through those though.

2 years, 10 weeks ago
Post #202724 Re: Looking to change guild chat color.

That crappy EOTextColour addon I quickly made for someone is also capable of dumping the address of every call to the WinAPI "SetTextColor" thus providing you with the address of everywhere the client sets a text colour if you'd like the addresses =P

Edit: Well, I'd have to unwind the caller stack frame but that's like a few lines of code to find the caller address =P



---
http://sordie.co.uk
http://twitter.com/@SordieEO
2 years, 10 weeks ago
Post #202725 Re: Looking to change guild chat color.

I'm fairly certain that Shayne will know.

---
Want to learn to pixel?
Pixelsource.org
2 years, 10 weeks ago
Post #202728 Re: Looking to change guild chat color.

Someone drag Shayne in here then, still can't find it out lol.

2 years, 10 weeks ago
Post #202732 Re: Looking to change guild chat color.

I can only give you a half answer. :(

This address sets the color of other guild members text, as well as the guild server messages text.
Search for the address 0042F2CF in OllyDbg, and replace the bytes after BA with your hex color.
Copy to Executable and Save File.

I have not been able to find any addresses that hold the black hex color.
They seem different then the addresses that hold white, or colored values.

Maybe Sordie knows how to individually find them.


---
EO Resources/Guides: ◄ eobud.boards.net ► ◄ eoguide.boards.net ►
2 years, 10 weeks ago
Post #202733 Re: Looking to change guild chat color.

Well that 'half answer' was a solution I certainly appreciate. Thank you. :-)

2 years, 10 weeks ago
Post #202735 Re: Looking to change guild chat color.
Destiny posted: (7th Mar 2017, 09:08 pm)

Well that 'half answer' was a solution I certainly appreciate. Thank you. :-)

No worries, if I figure out how to change black text, specifically 'your guild message color' I'll let you know.
---
EO Resources/Guides: ◄ eobud.boards.net ► ◄ eoguide.boards.net ►
2 years, 10 weeks ago
Post #202736 Re: Looking to change guild chat color.
shayne posted: (7th Mar 2017, 09:03 pm)


Maybe Sordie knows how to individually find them.


Here is a quick list of (probably)all calling addresses that have a unique caller/colour combo.

http://pastebin.com/raw/eVda5Nbm


---
http://sordie.co.uk
http://twitter.com/@SordieEO
2 years, 10 weeks ago
Post #202747 Re: Looking to change guild chat color.
Sordie posted: (7th Mar 2017, 10:03 pm)

shayne posted: (7th Mar 2017, 09:03 pm)


Maybe Sordie knows how to individually find them.


Here is a quick list of (probably)all calling addresses that have a unique caller/colour combo.

http://pastebin.com/raw/eVda5Nbm


Thank you very much, I'll take a look at this later for sure!
---
EO Resources/Guides: ◄ eobud.boards.net ► ◄ eoguide.boards.net ►
2 years, 10 weeks ago
Post #202753 Re: Looking to change guild chat color.

For the record, the caller address is just a ** unwind of the base pointer register. This is standard for WinAPI "stdcall" methods. Here is the code:


function Caller(const Level: Integer): Pointer;
function StackFrame(Level: Integer): Pointer;
begin
asm
push ebp
pop Result
end;
while Level > 0 do
begin
move(Result^, Result, 4);
dec(Level);
end;
end;
begin
try
move(Pointer(Cardinal(StackFrame(Level + 1)) + 4)^, Result, 4);
{
HorridHack: If dll's specify a non standard base address you could do
something nasty like this: (assuming you could sleep at night you monster!)
}
//dec(Cardinal(Result), Cardinal(GetModuleHandle(nil)) + $1000);
except
Result := nil;
end;
end;

 

---
http://sordie.co.uk
http://twitter.com/@SordieEO
2 years, 10 weeks ago
Post #202757 Re: Looking to change guild chat color.

I barely have assembly/programming knowledge, so I can't really do anything with your code, but I appreciate you posting it.
It will come in use in the future I'm sure.

Are there not any addresses that hold the actual hex colors you're talking about, like there is for the other addresses/colors?
If not, do you know exactly why that is?

I figured out a easy trick for finding most colors in the client including white, but I don't understand why it doesn't work for black.
Black text is the only thing I can't seem to find the actual color addresses for.
---
EO Resources/Guides: ◄ eobud.boards.net ► ◄ eoguide.boards.net ►
2 years, 10 weeks ago
Page: << 1 >>

EOSERV Forum > Client Editing > Looking to change guild chat color.