Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Addons for zClient (custom items, 3d fix, glow, fog, sky, minimap)

Experienced Elementalist
Joined
Nov 26, 2013
Messages
270
Reaction score
90
aecrimch, how do you fixed this visual bug after adding SmallHabbit's GLOW?
cyEaEfM - [Release] Addons for zClient (custom items, 3d fix, glow, fog, sky, minimap) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Apprentice
Joined
Dec 14, 2007
Messages
839
Reaction score
430
@quskevel,

thanks for this..
working perfect:
aecrimch - [Release] Addons for zClient (custom items, 3d fix, glow, fog, sky, minimap) - RaGEZONE Forums


can u or ur friend fix this classic dl cape?
download link:
thanks.
 
Newbie Spellweaver
Joined
May 6, 2014
Messages
8
Reaction score
0
Hello friends wanted to know why I get this when I try to log into the server

aecrimch - [Release] Addons for zClient (custom items, 3d fix, glow, fog, sky, minimap) - RaGEZONE Forums

aecrimch - [Release] Addons for zClient (custom items, 3d fix, glow, fog, sky, minimap) - RaGEZONE Forums


también me sale que el glow no anda o algo por el estilo pero ya instale el Direx que dajaste como arreglo eso?


desde ya gracias este era lo que yo buscaba sos un genio
 
Experienced Elementalist
Joined
Dec 2, 2004
Messages
225
Reaction score
30
Item no name

s6cVkz1 - [Release] Addons for zClient (custom items, 3d fix, glow, fog, sky, minimap) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Jan 28, 2013
Messages
275
Reaction score
52
Who fix wizardry damage above 155%?
if wizadry damage > 155, option reset and up again...(visual) on real we are have 189% wizadry damage for example in game we are see 34%
 
Newbie Spellweaver
Joined
May 6, 2014
Messages
8
Reaction score
0
Hi I have this dream server but I can not simply create the customer does not walk me
files and not as if like leave them in the folder to unzip or MuServer xD
Nor is it to put the files edit my sql pasword nor to put my ip


not if anyone is so generous and kind that alla been there myself and I want to help


also affects writing not speak English but I understand n fast


or could make a video please
 
Newbie Spellweaver
Joined
Mar 13, 2009
Messages
45
Reaction score
8
quskevel,

thanks for this..
working perfect:
aecrimch - [Release] Addons for zClient (custom items, 3d fix, glow, fog, sky, minimap) - RaGEZONE Forums


can u or ur friend fix this classic dl cape?
download link:
thanks.

Bro shared fix
aUcsRun - [Release] Addons for zClient (custom items, 3d fix, glow, fog, sky, minimap) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Apprentice
Joined
Dec 14, 2007
Messages
839
Reaction score
430
just bragging? or share something with us? if you just bragging, please start a new thread and show your skills there!
 
Joined
Oct 29, 2007
Messages
1,267
Reaction score
1,284
just bragging? or share something with us?

not only bragging xD.. I will share here my modifications on code :):

on: Camera.h from class put this:

Code:
class Camera
{
[COLOR=#ff0000]public:[/COLOR]
                Camera();
                ~Camera();
    // ----
    void        Init();
    void        Switch();
    void        Run(MOUSEHOOKSTRUCTEX * Mouse, WPARAM wParam);
    void        Rotate();
    void        Position();
    // ----
    [COLOR=#ff0000]bool        RestStop;[/COLOR]
    bool        IsActive;
    float        ZoomPercent;
    // ----
    DefaultData Default;
private:
    BYTE        RotateMode;
    bool        InMove;
    int            TempCursorX;
    int            TempCursorY;
    // ----
}; extern Camera gCamera;

PS 1: Is important that you include bool RestStop; like public acccess on class for later have access of this from anothers .cpp files.

on: Camera.cpp put this:

Code:
[COLOR=#ff0000]void Return(void *lpParam)[/COLOR]
[COLOR=#ff0000]{[/COLOR]
[COLOR=#ff0000]    while(*(float*)oCam_RotZ != -45.0f || *(float*)oCam_RotY != -48.5f || *(double*)oCam_PosZ != 150.0f || *(float*)oCam_Zoom != 35.0f)[/COLOR]
[COLOR=#ff0000]    {[/COLOR]
[COLOR=#ff0000]        gCamera.RestStop = true;[/COLOR]
[COLOR=#ff0000]        // ----[/COLOR]
[COLOR=#ff0000]        (*(float*)oCam_RotZ > -45.0f) ? *(float*)oCam_RotZ -= 1.0f : *(float*)oCam_RotZ += 1.0f;[/COLOR]
[COLOR=#ff0000]        if (*(float*)oCam_RotZ > -47.0f && *(float*)oCam_RotZ < -43.0f)[/COLOR]
[COLOR=#ff0000]            *(float*)oCam_RotZ = -45.0f;[/COLOR]
[COLOR=#ff0000]        (*(float*)oCam_RotY > -48.5f) ? *(float*)oCam_RotY -= 0.5f : *(float*)oCam_RotY += 0.5f;[/COLOR]
[COLOR=#ff0000]        if (*(float*)oCam_RotY > -50.5f && *(float*)oCam_RotY < -46.5f)[/COLOR]
[COLOR=#ff0000]            *(float*)oCam_RotY = -48.5f;[/COLOR]
[COLOR=#ff0000]        (*(double*)oCam_PosZ > 150.0f) ? *(double*)oCam_PosZ -= 5.0f : *(double*)oCam_PosZ += 5.0f;[/COLOR]
[COLOR=#ff0000]        if (*(double*)oCam_PosZ > 146.0f && *(double*)oCam_PosZ < 152.0f)[/COLOR]
[COLOR=#ff0000]            *(double*)oCam_PosZ = 150.0f;[/COLOR]
[COLOR=#ff0000]        (*(float*)oCam_Zoom > 35.0f) ? *(float*)oCam_Zoom -= 1.0f : *(float*)oCam_Zoom += 1.0f;[/COLOR]
[COLOR=#ff0000]        if (*(float*)oCam_Zoom > 33.0f && *(float*)oCam_Zoom < 37.0f)[/COLOR]
[COLOR=#ff0000]            *(float*)oCam_Zoom = 35.0f;[/COLOR]
[COLOR=#ff0000]        Sleep(10);[/COLOR]
[COLOR=#ff0000]    }[/COLOR]
[COLOR=#ff0000]    // ----[/COLOR]
[COLOR=#ff0000]    gCamera.RestStop = false;[/COLOR]
[COLOR=#ff0000]    // ----[/COLOR]
[COLOR=#ff0000]    _endthread();[/COLOR]
[COLOR=#ff0000]}

// ----------------------------------------------------------------------------------------
[/COLOR][COLOR=#ff0000]void FreeMemory(void *lParam)[/COLOR]
[COLOR=#ff0000]{[/COLOR]
[COLOR=#ff0000]    while (1)[/COLOR]
[COLOR=#ff0000]    {[/COLOR]
[COLOR=#ff0000]        Sleep(20000);[/COLOR]
[COLOR=#ff0000]        SetProcessWorkingSetSize(GetCurrentProcess(), -1, -1);[/COLOR]
[COLOR=#ff0000]    }[/COLOR]
[COLOR=#ff0000]}[/COLOR]

PS: Is important that you not include on: Camera class this function..

and put this Init from Camera.cpp class:

Code:
void Camera::Init()
{
    if( pPlayerState != GameProcess )
    {
        return;
    }
    // ----
    [COLOR=#008000]/*[/COLOR]
[COLOR=#008000]    SetFloat((LPVOID)oCam_Zoom,        this->Default.Zoom);[/COLOR]
[COLOR=#008000]    SetFloat((LPVOID)oCam_RotY,        this->Default.RotationY);[/COLOR]
[COLOR=#008000]    SetFloat((LPVOID)oCam_RotZ,        this->Default.RotationZ);[/COLOR]
[COLOR=#008000]    SetDouble((LPVOID)oCam_PosZ,    this->Default.PositionZ);[/COLOR]
[COLOR=#008000]    */[/COLOR]
    // ----
    [COLOR=#ff0000]_beginthread(Return, 0, NULL);[/COLOR]
    [COLOR=#ff0000]_beginthread(FreeMemory, 0, NULL);[/COLOR]
    // ----
    this->ZoomPercent = *(float*)oCam_Zoom / ((float)ZOOM_MAX / 100.0f);
}

on: Interface.cpp add this on DrawCameraUI proc and a New function for draw called: DrawPictureAlpha:

Code:
[COLOR=#ff0000]void Interface::DrawPictureAlpha(char Path[64], float X, float Y, float Width, float Height, int U1, int U2, float ScaleX, float ScaleY, int HL)[/COLOR]
[COLOR=#ff0000]{[/COLOR]
[COLOR=#ff0000]    pLoadImage(Path, 0x1B, 0x2601, 0x2900, 1, 0);[/COLOR]
[COLOR=#ff0000]    pDrawImage(0x1B, X, Y, Width, Height, U1, U2, ScaleX, ScaleY, HL, 1, 0);[/COLOR]
[COLOR=#ff0000]}[/COLOR]

void Interface::DrawCameraUI()
{
    float PosX = this->GetResizeX(eCAMERA_MAIN);
    // ----
    if( this->CheckWindow(CashShop)
        ||    this->CheckWindow(SkillTree)
        ||    this->CheckWindow(FullMap) 
        ||    this->CheckWindow(MoveList) 
        ||  (this->CheckWindow(Inventory) 
        && this->CheckWindow(ExpandInventory) 
        && this->CheckWindow(Store)) 
        ||  (this->CheckWindow(Inventory) 
        && this->CheckWindow(Warehouse) 
        && this->CheckWindow(ExpandWarehouse)) )
    {
        return;
    }
    // ----
    this->DrawGUI(eCAMERA_MAIN, PosX, 0);
    this->DrawGUI(eCAMERA_BUTTON1, PosX + 0.5, 1);
    this->DrawGUI(eCAMERA_BUTTON2, PosX + 18.5, 1);
    // ----
    if( gCamera.IsActive )
    {
        this->DrawColoredGUI(eCAMERA_BUTTON1, PosX + 0.5, 1, eShinyGreen);
    }
    // ----
    if( IsWorkZone(eCAMERA_BUTTON1) )
    {
        if( gCamera.IsActive )
        {
            this->DrawToolTip(PosX + 0.5 - 5, 25, "Zoom: %02.f%%", gCamera.ZoomPercent);
        }
        else
        {
            this->DrawToolTip(PosX + 0.5 - 5, 25, "3D Camera [On|Off]");
        }
        // ----
        if( this->Data[eCAMERA_BUTTON1].OnClick )
        {
            this->DrawColoredGUI(eCAMERA_BUTTON1, PosX + 0.5, 1, pMakeColor(40, 20, 3, 130));
            return;
        }
        // ----
        this->DrawColoredGUI(eCAMERA_BUTTON1, PosX + 0.5, 1, pMakeColor(152, 205, 52, 200));
    }
    else if( IsWorkZone(eCAMERA_BUTTON2) )
    {
        this->DrawToolTip(PosX + 18.5 - 5, 25, "3D Camera [Reset]");
        // ----
        if( this->Data[eCAMERA_BUTTON2].OnClick )
        {
            this->DrawColoredGUI(eCAMERA_BUTTON2, PosX + 18.5, 1, pMakeColor(40, 20, 3, 130));
            return;
        }
        // ----
        this->DrawColoredGUI(eCAMERA_BUTTON2, PosX + 18.5, 1, pMakeColor(255, 204, 20, 200));
    }
    [COLOR=#ff0000]if( gCamera.RestStop == true )[/COLOR]
[COLOR=#ff0000]    {[/COLOR]
[COLOR=#ff0000]        this->DrawColoredGUI(eCAMERA_BUTTON2, PosX + 18.5, 1, pMakeColor(255, 0, 0, 200));[/COLOR]
[COLOR=#ff0000]        this->DrawFormat(eOrange, PosX + 35.0, 25, 210, 3, "Restoring.. Camera");[/COLOR]
[COLOR=#ff0000]        this->DrawPictureAlpha("Custom\\Interface\\TimerClock.tga", PosX + 55.0, 15, 64, 64, 0, 0, 1.0f, 1.0f, 1);[/COLOR]
[COLOR=#ff0000]    }[/COLOR]
}

on Interface.h add this definition on Interface class:

Code:
[COLOR=#ff0000]void        DrawPictureAlpha(char Path[64], float X, float Y, float Width, float Height, int U1, int U2, float ScaleX, float ScaleY, int HL);[/COLOR]

on: Import.h add this:

Code:
#define pDrawImage                ((void(__cdecl*)(int ImageID, float PosX, float PosY, float Width, float Height, int Arg6, int Arg7, float ScaleX, float ScaleY, int Arg11, int Arg12, int Arg13)) 0x637C60)

and for that main.exe not makes crash add this on: dllmain.cpp

Code:
extern "C" __declspec(dllexport)void Init()
{
    //VMBEGIN
    // ----
    [COLOR=#ff8c00]DWORD OldProtect;[/COLOR]
[COLOR=#ff8c00]    // ----[/COLOR]
[COLOR=#ff8c00]    if(VirtualProtect(LPVOID(0x401000),0xD21FFF,PAGE_EXECUTE_READWRITE,&OldProtect))[/COLOR]
    {
                 gController.Load();
            gChatExpanded.Load();
            gItemPrice.Load();
            gItem.Load();
            gResetSystem.Load();
            gProtocol.Load();
            gCheatGuard.Load();
            gObjUser.Load();
            gOther.Load();
            gInterface.Load();
            gVisualFix.InitVisualFix();
            g_ItemModel.Load();
        }
}

PS 2: Is important add VirtualProtector of main.exe because now you not only using.. class on DLL.

PS 3: Here I leave my texture for Sand clock is a .tga file


 
Last edited:
Back
Top