Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
Quote:
Originally Posted by
mauro07
beyond gObjCreatePet you do something more for the image of the pets appear on the doll?
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
Quote:
Originally Posted by
NaveMu
beyond gObjCreatePet you do something more for the image of the pets appear on the doll?
yes, I have decompiled: 20% from main code to make this :P gObjCreatePet is only to make a Temp view from every Pet on Viewport using.. Item inventory id.. I say on the first post, that to make a complete work with this is necesary decompile: gObjMakePreviewCharSet function from your main.exe and anothers like: Pet Follow Character, Pet HP Bar Interface, Pet Walk on the Map (for: Fenrir Style Pets), and etc.
https://www.youtube.com/watch?v=e0HK...ature=youtu.be
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
Quote:
Originally Posted by
mauro07
yes, I have decompiled: 20% from main code to make this :P gObjCreatePet is only to make a Temp view from every Pet on Viewport using.. Item inventory id.. I say on the first post, that to make a complete work with this is necesary decompile: gObjMakePreviewCharSet function from your main.exe and anothers like: Pet Follow Character, Pet HP Bar Interface, Pet Walk on the Map (for: Fenrir Style Pets), and etc.
https://youtu.be/e0HKIgEyh3Y
mano video is private as could release him?
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
I could not make it work in the main 1.05D, the pets are static, are not walking around the character ... thank you.
http://i.imgur.com/3Vp1M89.jpg
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
Quote:
Originally Posted by
Sunligth
You need to create a function to follow the player, i mean make a function to pet work.
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
@SmileYzn, I've done a search for a pet id and could not find any ... you can tell me the offset of some main? thank you.
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
im try make pet follow player but have problem :(. someone can help
https://www.youtube.com/watch?v=M6KMHvS-WTc
Quote:
Naked(PetMovement) {
DWORD Adr1,Adr2;
_asm
{
CMP DWORD PTR SS:[EBP-0x124],0x1D33
JLE SHORT Here
CMP DWORD PTR SS:[EBP-0x124],Skeleton
JE SHORT Here
MOV Adr2, 0x004A9CBA
JMP Adr2
Here:
MOV Adr1, 0x004A845B
JMP Adr1
}
}
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
Quote:
Originally Posted by
Saitama
bump!!!!!!
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
i have to try add new fenrir, but not good ;)
http://i.imgur.com/HJtephm.jpg
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
Hi, here I leave another pet function decompiled from my main.exe 1.03.11 (JPN) on this case is to make that your added pets (Dissapear) when you remove item from your Inventory.
Pets.cpp file:
Code:
bool cPets::ResetPetPreviewEx(int ItemId)
{
bool Result;
// ----
if (ItemId)
Result = *(WORD*)ItemId == ItemId(13,0) //Angel
|| *(WORD*)ItemId == ItemId(13,1) //Satan
|| *(WORD*)ItemId == ItemId(13,2) //Unicorn
|| *(WORD*)ItemId == ItemId(13,3) //Dinorant
|| *(WORD*)ItemId == ItemId(13,4) //Dark Horse
|| *(WORD*)ItemId == ItemId(13,5) //Dark Raven
|| *(WORD*)ItemId == ItemId(13,37) //Fenrir
|| *(WORD*)ItemId == ItemId(13,97) //Dark Wolf
|| *(WORD*)ItemId == ItemId(13,98) //Fang Sable
|| *(WORD*)ItemId == ItemId(13,99) //Mistic Tiger
|| *(WORD*)ItemId == ItemId(13,106) //Unicorn Pet
|| *(WORD*)ItemId == ItemId(13,109) //Pegasus Pet
|| *(WORD*)ItemId == ItemId(13,110) //Dragon Pet
|| *(WORD*)ItemId == ItemId(13,123); //Skeleton Pet
else
Result = 0;
return Result;
}
void cPets::Load()
{
gToolKit.SetOp((LPVOID)0x00755C90,this->ResetPetPreviewEx,ASM::CALL);
}
Pets.h file:
Code:
#ifndef __PETS_H__
#define __PETS_H__
#define ItemId(x, y) ((x * 512) + y)
class cPets
{
public:
void Load();
// ----
static bool ResetPetPreviewEx(int ItemId);
};
extern cPets gPets;
#endif
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
Quote:
Originally Posted by
Kiosani
Hi, here I leave another pet function decompiled from my main.exe 1.03.11 (JPN) on this case is to make that your added pets (Dissapear) when you remove item from your Inventory.
Pets.cpp file:
Code:
bool cPets::ResetPetPreviewEx(int ItemId)
{
bool Result;
// ----
if (ItemId)
Result = *(WORD*)ItemId == ItemId(13,0) //Angel
|| *(WORD*)ItemId == ItemId(13,1) //Satan
|| *(WORD*)ItemId == ItemId(13,2) //Unicorn
|| *(WORD*)ItemId == ItemId(13,3) //Dinorant
|| *(WORD*)ItemId == ItemId(13,4) //Dark Horse
|| *(WORD*)ItemId == ItemId(13,5) //Dark Raven
|| *(WORD*)ItemId == ItemId(13,37) //Fenrir
|| *(WORD*)ItemId == ItemId(13,97) //Dark Wolf
|| *(WORD*)ItemId == ItemId(13,98) //Fang Sable
|| *(WORD*)ItemId == ItemId(13,99) //Mistic Tiger
|| *(WORD*)ItemId == ItemId(13,106) //Unicorn Pet
|| *(WORD*)ItemId == ItemId(13,109) //Pegasus Pet
|| *(WORD*)ItemId == ItemId(13,110) //Dragon Pet
|| *(WORD*)ItemId == ItemId(13,123); //Skeleton Pet
else
Result = 0;
return Result;
}
void cPets::Load()
{
gToolKit.SetOp((LPVOID)0x00755C90,this->ResetPetPreviewEx,ASM::CALL);
}
Pets.h file:
Code:
#ifndef __PETS_H__
#define __PETS_H__
#define ItemId(x, y) ((x * 512) + y)
class cPets
{
public:
void Load();
// ----
static bool ResetPetPreviewEx(int ItemId);
};
extern cPets gPets;
#endif
Can you share me main 1.03.11?
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
Quote:
Originally Posted by
BladeKnight109
Can you share me main 1.03.11?
Offsets:
Code:
for Cracks:
005FA1DF // -> mu.exe check bypass
005FA522 // -> MuJP.ini check bypass
005FA56B // -> gg init error check bypass
for Fixes:
008C2FC4 // -> cs.muonline.jp ip address
008D7D2C // -> 22656 hex version address
008D7D34 // -> Eqve7Lcvdhk3Rysq serial address
yes, bro here original (without modifications,fixes,crack or hooks) I mean totally clean: 1.03.11 MU Japan Main.exe:
https://mega.nz/#!bVg1EayQ!gvEytsgJcrvDbQ8BlsZRUf9C4fJjVQQT48VSY2UJckg
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
can u help me add new Fenrir to mu server? thanks
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
when i move pet hp bar rename to Guardian(default value) =/
Edit:
Fixed
Now i have problem with viewport, others player dont see pet when i put it
Re: Decompiled gObjCreatePet function from main.exe (1.03.15) eng
S6EP3 gmo 1.04D how to fix PetMovement???