-
[Release] Change glow color? Piece of cake =)
[For moderatos] - It's release with explanations, so don't move it to the Guide section =)
Today we will edit glow color in main.exe. The main target is changing items glow(+7 - +13).
1. We will start from theory.
There is a function in main.exe that calcs glow color for most of items +7 - +13, and some mobs. For example, for wings, dinorant-model, darkhorse-model and for some other items this function isn't called, but i was wandering how to change glow color, not in making glow items that doesn't have this attribute ;) May be u'll find it out.
The prototype of this function in c++:
Code:
void __cdecl Glow(DWORD dwItemId, DWORD uk1, DWORD uk2, FRGB& cl, BYTE bUkn);
dwItemId - objectId or index, each object is loaded in a big array of objects, and each object has it's unique index =)
cl - it's a float RGB struct
Code:
struct FRGB
{
float r, g, b; // range of each color [0, 1]
};
in this variable glow function returns the result color, there are 30(2 equal blues O_o) default glow colors, but who cares? we will make any color
uk1 & uk2 - actually these two are floats, and they are used to calc glow color, but we won't use them :D
bUkn - do u remember 2 kind of balrogs, silver and red? this variable is used only to determine his glow and his bill glow =) silver or red.
If you've already guessed, we have to hook this function and return the color we want.
But u'll ask how to find out the real item's Id, because in function we have object's Id. It's simple, all items are displaced in array of objects on some value. Items Ids remain the same as in item.bmd and in item.txt(itemId = ItemType*MaxItemsInType+ItemIndex)
So if we have ObjectId and Offset of items in array of objects, we can simply calc item's id:
ItemId = ObjectId - Offset;
For Example, let's find the item with ObjectId=0x293 and Offset=0x285, with 512 max items in type:
ItemId = ObjectId - Offset = 0x293 - 0x285 = 0x0E(14)
ItemType = ItemId / MaxItems = 14 / 512 = 0 (integer division)
ItemIndex = ItemId % MaxItems = 14 % 512 = 14 (remainder of the integer division)
if you'll take a look in items.txt or .bmd,
you'll find that item with Type = 0 and Index = 14 is Lightning Sword
Later i'll tell you how to find the "Offset" =)
With these knowledges you can make your own DLL and change glow colors by yourselves, but I made a DLL that will be compatible for people who won't be able to make their own.
2. DLL
Here i'll describe the algorithm of the dll.
This dll supports 32 & 512 MaxItems.
So the best way for a dll, that will be compatible for all, is memory allocation for all the items -
Code:
struct ITEM
{
BYTE bChng; // i'll tell later
float r, g, b;
};
sizeof(ITEM) = 3*4 + 1 = 13 bytes
maxtypes = 16
memory = sizeof(ITEM)*maxtypes*maxitemindex = 208*maxitemindex
if maxitemindex = *** then memory = 208*32 = 6 656 bytes ~ 6,5 kb
if maxitemindex = 512, then memory = 208*512 = 106 496 bytes = 104 kb
For maxitemindex = 512 a lot of memory won't be used at all, but this method allows us to use direct addressing, so it is faster then if we had to find the item in the list of items by it's id; and also this method will help us later =)
remember ITEM::bChng? we will mark all changed items(i mean glow).
If item is changed we return our color, if not - we call default glow function.
Here is our new Glow Proc
Code:
void Glow(DWORD dwItemId, DWORD uk1, DWORD uk2, FRGB& fClr, BYTE bUkn)
{
int id = dwItemId - g_dwOffset; // calc item id
// if our object is an item and this item should use our glow and it's not a silver balrog :D
// then we return our color
// else call the default function
if( id >=0 && id < g_MaxItems*16 && Glows[id].bIsChanged && !bUkn)
fClr = Glows[id].fClr;
else
fnOldGlow(dwItemId, uk1, uk2, fClr, bUkn);
}
The Glow Colors dll reads from "glow.gld".
Format of *.gld files:
File header:
Code:
struct GLOW
{
DWORD signature; // = 0x574F4C47
BYTE bType; // represents max items, 0 - *** else - 512
};
Further, to the end of file, follows items glow info:
Code:
struct ITEM
{
USHORT usItemId; // item id
FRGB fClr; // glow color
};
So we've hooked glow function, we can now force main.exe to use our colors.
3. Glow Editor Tool.
404 Not Found
Glow Editor allows you:
-Edit glow color of the items u want,
since it uses Microsoft Jet(.MDB) database u'll be able to add or remove items, it's simple with MS Access.
-Load and Save *.gld files for 32 and 512 maxitems versions of main.exe
-Patch DLL for you main.exe, because function calls and items offset are different
-DLL's shared memory, using File Mapping, + direct addressing( remember?:) ) allows Glow Editor change colors directly in game.
4. DLL Patch.
Glow function calls and items offset are different in different mains, so we have to change these values.
I'll tell you how to find them using ollydbg, but with 1 condition - main.exe must be unpacked.
1. Launch main.exe in ollydbg.
2. Right Button(RB)-> Search for -> all referenced text strings.
404 Not Found
http://jpegshare.net/images/76/ac/76...f09be3e91d.jpg
3. In the appeared window RB -> search for text
404 Not Found
http://jpegshare.net/images/eb/ed/eb...2bc575644c.jpg
4. Type "sword"; Uncheck "Case sensitive" and Check "Entire scope"
http://img262.imageshack.us/img262/4...chswordlu8.jpg
http://jpegshare.net/images/b0/d2/b0...87c6b2d924.jpg
5. Search "Sword" like on the picture using CTR+L(search next)
http://img187.imageshack.us/img187/6563/03swordvx8.jpg
http://jpegshare.net/images/81/33/81...3f94ea1ff5.jpg
6. When you'll find it, double-click or press ENTER on it, and in the main window u should see smth like
on the picture, the srtring below "Sword" must be "Data\Item" or may be just "Item".
http://img186.imageshack.us/img186/9215/04foundnr6.jpg
http://jpegshare.net/images/b9/07/b9...63845bc176.jpg
7. Above the function call first push command pushes in stack ObjectId. Items types begin from Swords(Type = 0),
so when main.exe loads models or textures for swords it adds to the item's id the Offset of beginning sword's type section, and if sword's type is the first type of items,
this offset is the Offset of items in array of objects
http://img214.imageshack.us/img214/1222/05offsetyq2.jpg
http://jpegshare.net/images/07/ce/07...ec105bf9ad.jpg
8. Let's find glow function calls. RB ->search for -> all constants
http://img262.imageshack.us/img262/7...llconstbh3.jpg
http://jpegshare.net/images/45/bb/45...a6ebbeca63.jpg
9. We will search for ObjectId of the Lightning Sword(remember how to calc itemid or object id?)
ObjectId = Offset(value that you have found) + ItemdId(0*512+14 = 14(0x0E))
for Offset = 0x285, ObjectId = 0x293
http://img218.imageshack.us/img218/7...ngswordhr9.jpg
http://jpegshare.net/images/ea/d5/ea...50a9925c2e.jpg
10. In the appeared window find 2 Compare Commands
http://img214.imageshack.us/img214/2...onstantma9.jpg
http://jpegshare.net/images/5c/cd/5c...3b15dbbc10.jpg
11. Double-click or ENTER on the FIRST command, and you'll be redirected to it
http://img262.imageshack.us/img262/7...toconstgq7.jpg
http://jpegshare.net/images/70/3b/70...a51826cba4.jpg
12. This is our glow proc, scroll up and find the beginning of it
http://img214.imageshack.us/img214/4...lowprocsv7.jpg
http://jpegshare.net/images/c6/8e/c6...33e8285901.jpg
13. Select first command, then RB -> Go to, and you will see 2 calls for glow function
http://img262.imageshack.us/img262/5467/11callskr8.jpg
http://jpegshare.net/images/42/49/42...86134f2d86.jpg
if u don't have "CALL from X", then RB -> Analyse-> Analyse code, and trye again step 13
http://img214.imageshack.us/img214/2...analysedz0.jpg
http://jpegshare.net/images/94/40/94...763fa2b760.jpg
now with Offset and 2 func Calls you can patch DLL =)
glowed items
http://img97.imageshack.us/img97/6546/glowed.jpg
default glow
http://img233.imageshack.us/img233/650/unglowed.jpg
Default Glows [id - R, G, B preview]:
00 - 1.00, 0.50, 0.00 http://img151.imageshack.us/img151/8288/00ax5.jpg
01 - 1.00, 0.20, 0.00 http://img151.imageshack.us/img151/1716/01md4.jpg
02 - 0.00, 0.50, 1.00 http://img151.imageshack.us/img151/693/02go6.jpg
03 - 0.00, 0.50, 1.00 http://img151.imageshack.us/img151/693/02go6.jpg
04 - 0.00, 0.80, 0.40 http://img81.imageshack.us/img81/9130/04dh0.jpg
05 - 1.00, 1.00, 1.00 http://img81.imageshack.us/img81/2693/05oo4.jpg
06 - 0.60, 0.20, 0.40 http://img86.imageshack.us/img86/7563/06yh3.jpg
07 - 0.90, 0.80, 1.00 http://img208.imageshack.us/img208/3373/07yp5.jpg
08 - 0.80, 0.80, 1.00 http://img205.imageshack.us/img205/9941/08ut2.jpg
09 - 0.50, 0.50, 0.80 http://img404.imageshack.us/img404/8607/09kd8.jpg
10 - 0.75, 0.65, 0.50 http://img187.imageshack.us/img187/9000/10wz6.jpg
11 - 0.35, 0.35, 0.60 http://img185.imageshack.us/img185/7017/11nl3.jpg
12 - 0.47, 0.67, 0.30 http://img205.imageshack.us/img205/7330/12hk1.jpg
13 - 0.00, 0.30, 0.60 http://img262.imageshack.us/img262/7458/13yo5.jpg
14 - 0.65, 0.65, 0.55 http://img404.imageshack.us/img404/1964/14us2.jpg
15 - 0.20, 0.30, 0.60 http://img214.imageshack.us/img214/3042/15io4.jpg
16 - 0.80, 0.46, 0.25 http://img208.imageshack.us/img208/3078/16vn6.jpg
17 - 0.65, 0.45, 0.30 http://img205.imageshack.us/img205/1149/17he8.jpg
18 - 0.50, 0.40, 0.30 http://img404.imageshack.us/img404/2445/18ps6.jpg
19 - 0.37, 0.37, 1.00 http://img187.imageshack.us/img187/7092/19lo3.jpg
20 - 0.30, 0.70, 0.30 http://img185.imageshack.us/img185/3805/20yd3.jpg
21 - 0.50, 0.40, 1.00 http://img205.imageshack.us/img205/9804/21ho9.jpg
22 - 0.45, 0.45, 0.23 http://img214.imageshack.us/img214/4053/22sa3.jpg
23 - 0.30, 0.30, 0.45 http://img208.imageshack.us/img208/489/23my8.jpg
24 - 0.60, 0.50, 0.20 http://img205.imageshack.us/img205/8799/24xf5.jpg
25 - 0.60, 0.60, 0.60 http://img404.imageshack.us/img404/8000/25xd5.jpg
26 - 0.30, 0.70, 0.30 http://img187.imageshack.us/img187/2576/26xd7.jpg
27 - 0.50, 0.60, 0.70 http://img185.imageshack.us/img185/9435/27oh0.jpg
28 - 0.45, 0.45, 0.23 http://img214.imageshack.us/img214/7489/28nx7.jpg
29 - 0.45, 0.45, 0.45 forgot to make screen :D
may be later i will add them to the glow editor
Glow Editor:
Glow Editor
Fixed DLL patcher
Glow.dll:
Glow.dll
Fixed DLL
Glow.dll goes to MuOnline client's folder
Glow.gld goes to MuOnline client's Data\ folder
Don't forget to hook DLL in main.exe
to create glow.gld, just open the tool then File->Save it will create .gld for you
not tested with 32 max items, but should work
Credits:
1. Hybrid - me, it's my original nick, not [CzF]Hybrid :D
2 .Fiuz - for me it's problem running server and client on 1 machine, so he made for me items =)
3. For those who will make mirrors
Report bugs, errors, mistakes etc...
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
NIce, pretty full guide
The first who i know played with glow was sobeih, in his sources... (when he loaded models from la2, he also added them glows...
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
Sorry for my stupid question, but can we change glow for new items From L2 :punch:
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
i've been waiting for this for years now... this is one great help for the mu community.
thank you very very much.
-
Re: [Release]Change glow color? Piece of cake =)
wow,
we still have some good ppl who share their knowledge with us
thanks !!!
-
Re: [Release]Change glow color? Piece of cake =)
Man you are incredible !!!
-
Re: [Release]Change glow color? Piece of cake =)
10/10, seems like the l2 items etc get a unique glow now ^^
-
Re: [Release]Change glow color? Piece of cake =)
PPL don't forget to hook the DLL, i was in a hurry and forgot it =)
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
2 and a half years later and it's finally done :mrgreen:
Such a small thing but makes a big difference for modders! Thanks dude! :thumbup:
-
Re: [Release]Change glow color? Piece of cake =)
nice job XD... its abt time some1 figured it out
-
Re: [Release]Change glow color? Piece of cake =)
Dude, this is fantastic, it's being a long time since this was requested by half the Mu Online community, I love you! xD
-
Re: [Release]Change glow color? Piece of cake =)
it's niceee..
thx for share.. 100/10
-
Re: [Release]Change glow color? Piece of cake =)
This is the best release on last months
Thanks for share =)
-
Re: [Release]Change glow color? Piece of cake =)
wow amazing job thank you so much
-
Re: [Release]Change glow color? Piece of cake =)
It'll be very Useful for Lineage Items for Example ;D
Years and Finally it was Released ;P
Nice Job! 10000000000/10!
-
Re: [Release]Change glow color? Piece of cake =)
Thank you very much. Great guide. 10/10. :thumbsup:
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Gembrid
Ok Everything is ok but can someone tell me what to do after Last step i cant understatnd " Now with Offset and 2 func Calls you patch the DLL =) " any help. Sorry for my noobish question . And RESPECT FOR GOOD WORK !
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
_Shotlandetsa_
Ok Everything is ok but can someone tell me what to do after Last step i cant understatnd " Now with Offset and 2 func Calls you patch the DLL =) " any help. Sorry for my noobish question . And RESPECT FOR GOOD WORK !
Run Glow Editor -> Options -> Patch DLL =)
-
Re: [Release]Change glow color? Piece of cake =)
About the hook. Is it like this?
Code:
00753F90 . 47 6C 6F 77 2E 64 6C 6C 00 ASCII "Glow.dll",0
00753F99 00 DB 00
00753F9A 00 DB 00
00753F9B 00 DB 00
00753F9C 00 DB 00
00753F9D 00 DB 00
00753F9E 00 DB 00
00753F9F 00 DB 00
00753FA0 > 68 903F7500 PUSH MainGlow.00753F90 ; /FileName = "Glow.dll"
00753FA5 . E8 CDDD0A7C CALL kernel32.LoadLibraryA ; \LoadLibraryA
-
Re: [Release]Change glow color? Piece of cake =)
yeah tell more about the hook. Make little guide :) 10x in advance
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
_Gabriel_
About the hook. Is it like this?
Code:
00753F90 . 47 6C 6F 77 2E 64 6C 6C 00 ASCII "Glow.dll",0
00753F99 00 DB 00
00753F9A 00 DB 00
00753F9B 00 DB 00
00753F9C 00 DB 00
00753F9D 00 DB 00
00753F9E 00 DB 00
00753F9F 00 DB 00
00753FA0 > 68 903F7500 PUSH MainGlow.00753F90 ; /FileName = "Glow.dll"
00753FA5 . E8 CDDD0A7C CALL kernel32.LoadLibraryA ; \LoadLibraryA
search for Name(label) in current module
find there LoadLibraryA, begin typing the name, you will find it faster
press enter, it will search all references
When search will end follow any call command, not jmp
Then press space(assemble) and copy the command, and use it for loadlibrarya call, it looks like CALL [DWORD DS:X] =)
-
Re: [Release]Change glow color? Piece of cake =)
Isn't there a function that we should call? Cause it doesn't work for me. No color is changed.
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
_Gabriel_
Isn't there a function that we should call? Cause it doesn't work for me. No color is changed.
just hook, all initialization in dll is done when dll attaches to process, also you will need an empty glow.gld
if u've done all of this give me main.exe, i'll test it
-
Re: [Release]Change glow color? Piece of cake =)
Can't attache dll to 1.04x+minimap =(
-
Re: [Release]Change glow color? Piece of cake =)
Nicolai =) need mini guide , how to hook your dll in main )
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
LordMoRidin
Can't attache dll to 1.04x+minimap =(
what's the problem?
-
Re: [Release]Change glow color? Piece of cake =)
Can't find sekond call for glow function... or can't find calls =(
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
LordMoRidin
Can't find sekond call for glow function... or can't find calls =(
give me main
-
2 Attachment(s)
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
LordMoRidin
Call1 - 0x005218e9
Call2 - 0x005dcc4b
Offset - 0x2cd
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
hot fix
Glow Editor:
RapidShare: 1-Click Webhosting
Fixed DLL patcher
Glow.dll:
RapidShare: 1-Click Webhosting
Fixed DLL
PS can't edit thread, always error =\
-
Re: [Release]Change glow color? Piece of cake =)
Nice 10/10 =)
Quote:
Originally Posted by
[FIUZ]
Nicolai =) need mini guide , how to hook your dll in main )
[Released] Hook your own DLL
-
Re: [Release]Change glow color? Piece of cake =)
Could you pls add to this editor items from dragonmu patch?
-
Re: [Release]Change glow color? Piece of cake =)
Edit Items.mdb. Use MS Access...
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Gembrid
Thanks a lot! :eek:
It works excellent now. :notworthy:
-
Re: [Release]Change glow color? Piece of cake =)
Don't all items change there color when you change one?
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
gnomiux
Don't all items change there color when you change one?
each item has it's own glow
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
Gembrid, could you tell me what am I doing wrong? I mean I don't want you to fix it but tell what did I do wrong.
I hooked DLL, changed the offsets, put the files into correct locations and nothing happenes.
My code:
Code:
00754F1E . 47 6C 6F 77 2E>ASCII "Glow.dll",0
00754F27 00 DB 00
00754F28 00 DB 00
00754F29 00 DB 00
00754F2A 00 DB 00
00754F2B 00 DB 00
00754F2C 00 DB 00
00754F2D 00 DB 00
00754F2E 00 DB 00
00754F2F 00 DB 00
00754F30 00 DB 00
00754F31 00 DB 00
00754F32 00 DB 00
00754F33 00 DB 00
00754F34 . 68 1E4F7500 PUSH Main.00754F1E ; /FileName = "Glow.dll"
00754F39 . FF15 04527500 CALL DWORD PTR DS:[<&KERNEL32.LoadLibraryA>] ; \LoadLibraryA
00754F3F .^E9 A45EFEFF JMP Main.0073ADE8
And here's the main.
Send big files the easy way. Files too large for email attachments? No problem!
Please reply and thank you in advance.
-
Re: [Release]Change glow color? Piece of cake =)
where do i get those call offsets :(? plz help i soooo wanna use this program this is best program ever :) thx 10/10 Main.rar - FileFront.com this is my main :(
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
żulik
Gembrid, could you tell me what am I doing wrong? I mean I don't want you to fix it but tell what did I do wrong.
I hooked DLL, changed the offsets, put the files into correct locations and nothing happenes.
My code:
Code:
00754F1E . 47 6C 6F 77 2E>ASCII "Glow.dll",0
00754F27 00 DB 00
00754F28 00 DB 00
00754F29 00 DB 00
00754F2A 00 DB 00
00754F2B 00 DB 00
00754F2C 00 DB 00
00754F2D 00 DB 00
00754F2E 00 DB 00
00754F2F 00 DB 00
00754F30 00 DB 00
00754F31 00 DB 00
00754F32 00 DB 00
00754F33 00 DB 00
00754F34 . 68 1E4F7500 PUSH Main.00754F1E ; /FileName = "Glow.dll"
00754F39 . FF15 04527500 CALL DWORD PTR DS:[<&KERNEL32.LoadLibraryA>] ; \LoadLibraryA
00754F3F .^E9 A45EFEFF JMP Main.0073ADE8
And here's the main.
Please reply and thank you in advance.
Cnahge entry point from 0x0073ADE8 to 0x00754F34
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
tauio111
where do i get those call offsets :(? plz help i soooo wanna use this program this is best program ever :) thx 10/10
Main.rar - FileFront.com this is my main :(
calls: 0x0052800D, 0x006229DF
offset: 0x285
but dll already has these values by default, so for you there is no need to patch it, just hook it
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
żulik
your main already has a hooked dll, so u have to place your "hook" after the hook-code of this dll
-
Re: [Release]Change glow color? Piece of cake =)
Hi Gembrid,
I try to find "Offset of items in array of objects" in main for 1.02K, but i stuck on this because, i don't have that the "call" or someting else (i'm noob in asm) let see:
ImageShack - Hosting :: gagaqx0.jpg
I found another "sword" in main, but all of them is same...
I uploaded main:
Main
Thanks for your help, this release is awsome
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Mr.Says
Hi Gembrid,
I try to find "Offset of items in array of objects" in main for 1.02K, but i stuck on this because, i don't have that the "call" or someting else (i'm noob in asm) let see:
ImageShack - Hosting :: gagaqx0.jpg
I found another "sword" in main, but all of them is same...
I uploaded main:
Main
Thanks for your help, this release is awsome
look at the beginning of the loop
MOV ESI, 212
212 - it's your offset
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Crystal-X
lol link is dead.
i killed it, search on 2nd page 2 links of fixed editor and dll, i can't edit thread, because always get error
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
how do u unpack main.exe ??? tryed program called "StripperX" but that just says that didnt create unpacked file :( and my olly doesnt look at all like that on those pics :(
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
tauio111
how do u unpack main.exe ??? tryed program called "StripperX" but that just says that didnt create unpacked file :( and my olly doesnt look at all like that on those pics :(
give me main, i'll try to unpack it if it's packed
-
Re: [Release]Change glow color? Piece of cake =)
Main.rar - FileFront.com thats the main :/ btw i dont even know if it is packed ...
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
tauio111
it's not packed, and offset and calls are those that are initialy coded in dll, so u just have to hook the DLL in main.exe
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
tauio111
if i open main.exe and then i get to the place where i need tosearch for sword but it doesnt find it and alot of disassemlbys are like PUSH ntdll.# theres no PUSH main :(
Options -> Debugging Options -> Events
Make First Pause at:
Entry point of main module
check boxes below must be unchecked
then restart
-
Re: [Release]Change glow color? Piece of cake =)
can someone please hook the dll to main exe? i have no idea how to do this but dll i patched sucessfully! mainglow_dll_patched.rar - FileFront.com
-
Re: [Release]Change glow color? Piece of cake =)
cooL! that's really nice!10/10!
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
tiger234
mainglow_dll_patched.rar - FileFront.com
use default glow.dll
-
Re: [Release]Change glow color? Piece of cake =)
omg this is awesome! great job Gembrid!
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
[Request]
You might have heard about the Czt MuServer v1.0.Well,I need your help.
I changed the plate set into dragon set and dragon set into plate set,so that NPC guards are equipped with dragon armor(which I renamed dargonmaster armor).
But when the dragon set has the blue plate glow when its +7 and higher and looks like an ancient set.
Similarly,the plate armor has the red dragon's glow.
Do you think you could fix that?ie the dragon glow,you make blue like for plate,and the plate glow you make red like for dragon.
If you do this then Credits will partly go to you for client side patch v1.1
Thanks in advance! :winky:
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Crystal-X
[Request]
You might have heard about the Czt MuServer v1.0.Well,I need your help.
I changed the plate set into dragon set and dragon set into plate set,so that NPC guards are equipped with dragon armor(which I renamed dargonmaster armor).
But when the dragon set has the blue plate glow when its +7 and higher and looks like an ancient set.
Similarly,the plate armor has the red dragon's glow.
Do you think you could fix that?ie the dragon glow,you make blue like for plate,and the plate glow you make red like for dragon.
If you do this then Credits will partly go to you for client side patch v1.1
Thanks in advance! :winky:
so u just want to change glow for rd & plate?
and what about changing guard's set without switching items bmd's?
for example for elf soldier:
http://img134.imageshack.us/img134/9...soldiertv5.jpg
is this what u want to do with guard? it's without switching items bmd's
http://img149.imageshack.us/img149/1420/snap2er8.jpg
-
Re: [Release]Change glow color? Piece of cake =)
http://img149.imageshack.us/img149/1420/snap2er8.jpg
Yup,that is what I did,but by switching the BMD files in Client>Data>Player.
Well,the Czt server has been released in release section.Think you can have a look?
It would be greatly appreciated if you could help me out.
Client credits for patch v1.1 will go to you also :xmas:
-
Re: [Release]Change glow color? Piece of cake =)
we have a idea on changing weapon glows,
i think well be needing at least one guide on changing armor / set glows.
;)
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Crystal-X
http://img149.imageshack.us/img149/1420/snap2er8.jpg
Yup,that is what I did,but by switching the BMD files in Client>Data>Player.
Well,the Czt server has been released in release section.Think you can have a look?
It would be greatly appreciated if you could help me out.
Client credits for patch v1.1 will go to you also :xmas:
i read your thread with realesed server, may be it's really great, but i won't be able to test it, because for it's problem running a server on my PC, even not speaking about client + server =)
about Guard, later i'll try to write a simple guide how change his appearance, it's realy simple, but i'd like to include in guide additional info, so just w8
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
[hidden]
we have a idea on changing weapon glows,
i think well be needing at least one guide on changing armor / set glows.
;)
your Posts: 666 :D
I didn't get it, about changing armor / set glows, what do you mean, if you know how to change weapon glows, what's the problem in changing armor / set glows?
-
Re: [Release]Change glow color? Piece of cake =)
offtopic:
^^ 667 now, (i better delete other posts to retain 666 =P)
ontopic:
well we already have an example with swords thats why i understand the concept with
changing weapon glows,
but i haven't encountered any guide with changing armor / set glows yet.
a simple guide about it can basically be applied to all other sets which will
come in handy for the rest of the mu community also. ;)
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
[hidden]
offtopic:
well we already have an example with swords thats why i understand the concept with
changing weapon glows,
but i haven't encountered any guide with changing armor / set glows yet.
a simple guide about it can basically be applied to all other sets which will
come in handy for the rest of the mu community also. ;)
the guide in changing armor / set glows is by running my program and change it =) run your main.exe, run my tool, select one of the item in the list, press ADD button(arrows up image) and change the glow =)))
"sword" in my thread - is the key to find the offset in array of objects, because each main version has it's own offset, once you have found the offset patch the dll, and now you can change glow for 16*512 or 16*32 items(open item.txt and you'll understand it) =)
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Gembrid
i read your thread with realesed server, may be it's really great, but i won't be able to test it, because for it's problem running a server on my PC, even not speaking about client + server =)
about Guard, later i'll try to write a simple guide how change his appearance, it's realy simple, but i'd like to include in guide additional info, so just w8
Oki :smilie_tu I will wait.
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Shagoon
your a awesome file uploader person :)
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
redpenguin90
your a awesome file uploader person :)
use links with fixes =) this wasn't updated =)
-
Re: [Release]Change glow color? Piece of cake =)
This guide just ownz ! 1000000000000000/10
-
Re: [Release]Change glow color? Piece of cake =)
This is beyond me even with guides.... my brain hurts lol.
I know absolutely nothing about coding, even trying to follow guides i fail :( I freely admit that i'm stupid when it comes to that stuff.
Can anyone please upload a 1.04j main with hooked dll? If so, many thnx.
Malice
-
Re: [Release]Change glow color? Piece of cake =)
wow will try it right now
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Malice2010
This is beyond me even with guides.... my brain hurts lol.
I know absolutely nothing about coding, even trying to follow guides i fail :( I freely admit that i'm stupid when it comes to that stuff.
Can anyone please upload a 1.04j main with hooked dll? If so, many thnx.
Malice
give me the main.exe
-
Re: [Release]Change glow color? Piece of cake =)
Here are the 2 mains i use - main.exe is 1.04j non-3d and the 3dmain is 1.04d with 1.04j serial.
Thank you so much... i tried to follow guides and got nowhere - but i think you need at least a little coding knowledge to follow them.
http://www.frozenhellmu.com/ftp/mymains.rar
Malice
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Malice2010
Here are the 2 mains i use - main.exe is 1.04j non-3d and the 3dmain is 1.04d with 1.04j serial.
Thank you so much... i tried to follow guides and got nowhere - but i think you need at least a little coding knowledge to follow them.
http://www.frozenhellmu.com/ftp/mymains.rar
Malice
for 3d main use default glow.dll
for main patch glow.dll:
Offset:0x289
Calls: 0x0052870B, 0x0062346B
RapidShare: 1-Click Webhosting
-
Re: [Release]Change glow color? Piece of cake =)
i have alot proplems and im asking if someone can do this cool thing for me?
im using 2 diffirent mains n my test server.
1.04D + 3D + New items by DragonMU
and
1.04J + 3D + New items by DragonMU
they dont give me Calls or Offsets...
and i dunno how to hook .dll >.<
so im asking if someone can give me patch
wich is just ready to play...
millions of thxs for
that who can help me out with this :/
its nice release, but im too noob and dun understand it 100% :(
Mains here...
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
Gembrid
Many thanks! This helps me out big time.
Malice
-
Re: [Release]Change glow color? Piece of cake =)
everything worked out fine for me like a charm, but for the benefit of all those who want to hook the dll on future or other mains not included here, i strongly suggest a principle / guide on (how exactly) hooking dll to main be made / posted.
-
Re: [Release]Change glow color? Piece of cake =)
-
Re: [Release]Change glow color? Piece of cake =)
Hello, I tried to hook dll to my main for hours, but ive got zero knowledge with this theme, so it isnt working.
I wrote Gembrid and he told me that my main is packed... I tried to unpack it with stripper, but it says that cannot made the unpacked file...
Please can somebody help me to unpack my main and hook dll to it?
here is a link to my main and dll
http://rapidshare.com/files/103574546/Main.rar
Many thanks to anybody who will help me!!
-
Re: [Release]Change glow color? Piece of cake =)
I have the same issue, my main seems to be packed >.< Any help would be greatly appreciated!
Main+dll
-
Re: [Release]Change glow color? Piece of cake =)
like i mentioned in my earlier post, a guide on hooking dll onto main would save a lot of requests / questions / problems.
the existing guide is for hooking dll onto a gameserver, which is not really helpful or non-experts.
;) hope someone breaks the ice.
-
Re: [Release]Change glow color? Piece of cake =)
Hi .
Can anyone give me offset and Calls for 1.04j luciano main ?
Link -> RapidShare: 1-Click Webhosting
Thanks
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
MrIster
here you go
-> RapidShare: 1-Click Webhosting
main with hooked and patched Glow.dll
enjoy it ^^
-
Re: [Release]Change glow color? Piece of cake =)
Gembrid pls tell me in my main.exe what is the offset?
i hook dll but i don't know offsets to patch dll
Main.exe - FileFront.com
-
Re: [Release]Change glow color? Piece of cake =)
Can anyone help me to hook Glow.dll for this main? I don't know how to hook it. Thx.
RapidShare: 1-Click Webhosting
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
arodvi
Gembrid pls tell me in my main.exe what is the offset?
i hook dll but i don't know offsets to patch dll
Main.exe - FileFront.com
offset : 285
call 1:0052800d
call2:006229df
-
Re: [Release]Change glow color? Piece of cake =)
Quote:
Originally Posted by
codename
ok here you go btw you should take a look at your 3dmain it seems like its wrong hooked ;)
RapidShare: 1-Click Webhosting
-
Re: [Release] Change glow color? Piece of cake =)
-
Re: [Release] Change glow color? Piece of cake =)
yup you just need change dll and hook it =)