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] X-Team Sources (S4, S6, S8)

Newbie Spellweaver
Joined
Nov 5, 2009
Messages
42
Reaction score
152
Re: Source [MUEMU]

Hi,

Correction to avoid the client disconnection and keep running the anti-hack system

Change the ...\MHPServer\MHPServer.ini file
PHP:
CustomerName = muemu
CustomerHardwareId = 0
ClientVersion = 1.05.07
ClientSerial = TbYehR2hFUPBKgZj
MHPServerPort = 55999
MaxIpConnection = 10
DetectionLockTime = 300
EncDecKey1 = 4  // 1 to 255
EncDecKey2 = 6  // 1 to 255
EncDecSetNumber = 0
InternalVersion = 0
ReconnectSwitch = 1 
MemoryGuardSwitch = 1 
MemoryGuardNumber = 3
MacroProtectSwitch = 1
MacroProtectNumber = 6
MemoryAddress1 = 0x0118DB1A
MemoryAddress2 = 0x0118EF48
MemoryAddress3 = 0x0118EF50
MemoryAddress4 = 0x08B159F8
MemoryAddress5 = 0x08499DCC
MemoryAddress6 = 0x011C3E7C
MemoryAddress7 = 0xC4B01E2F
MemoryAddress8 = 0xC4B00209


The MHPServer.ini file is used by the gameserver and by the hackserver, because of this, the best approach is keep the file in the Data\Hack folder.

Move the ...\MHPServer\MHPServer.ini file to the ..\Data\Hack folder and change the "..Package [SOURCE] MuEmu\MHP\HackServer" project (MHPServer)
File HackServer.cpp
PHP:
...
if(InitInstance(hInstance,nCmdShow) == 0)
{
	return 0;
}
gServerInfo.ReadStartupInfo("MHPServerInfo","..\\Data\\Hack\\MHPServer.ini");
#if(PROTECT_STATE == 1)
	gAuthenticate.Check();
#endif
...

File ServerInfo.cpp
PHP:
...
void CServerInfo::ReadConfig() // OK
{
	this->ReadConfig("MHPServerInfo","..\\Data\\Hack\\MHPServer.ini");
	LogAdd(LOG_BLUE,"[ServerInfo] Config loaded successfully");
}
...


Enable antihack in the client and server


Change in the ..\GameServer\DATA\GameServerInfo - Common.dat file
PHP:
[GameServerInfo]
;==================================================
; Server Settings
;==================================================
ServerName = muemu
ServerCode = 1
ServerLock = 0
ServerPort = 55901
ServerVersion = 1.05.07
ServerSerial = TbYehR2hFUPBKgZj
ServerMaxUserNumber = 100
CustomerName = muemu
CustomerHardwareId = 0

Change in the stdafx.h from the GameServer Project
PHP:
...
#ifndef ENCRYPT_STATE
#define ENCRYPT_STATE 1
#endif
...

Change in Main.cpp from the Main_EX803 project
PHP:
...
	gCustomWingEffect.Load(gProtect.m_MainInfo.CustomWingEffectInfo);
	InitCommon();
	InitHackCheck();
	InitItem();
	InitJewel();
...

To correctly generate the main.emu and ah.emu files

Change in the ...\ToolsX803\MAIN_INFO\MainInfo.ini
PHP:
[MainInfo]
LauncherType = 0
CustomerName = muemu
IpAddress = your IP address or domaian // 15 bytes only 
IpAddressPort = 44405
ClientVersion = 1.05.07
ClientSerial = TbYehR2hFUPBKgZj
WindowName = MU
ScreenShotPath = ScreenShots\Screen(%02d_%02d-%02d-%02d)-%04d.jpg
ClientName = main.exe
PluginName = MHPClient.dll 
CameraName = Client.dll

Change in the ...\ToolsX803\AH_INFO\ClientInfo.ini
PHP:
[ClientInfo]
CustomerName = muemu
IpAddress = your IP address or domain // 15 bytes only 
ServerPort = 55999
ServerName = muemu
ClientName = main.exe
PluginName = Client.dll 
VerifyName = MHPVerify.dll


Steps to generate the main.emu and ah.emu files
  1. Copy main.exe, Main.dll, Client.dll and MHPClient.dll to the ...\ToolsX803\MAIN_INFO\ folder
  2. Run GetMainInfo.exe (Compiled from "...\Package [SOURCE] MuEmu\GetMainInfo")
  3. Copy main.emu (Generated by step 2), Main.dll, MHPClient.dll, MHPVerify.dll and Client.dll to the ...ToolsX803\AH_INFO\ folder
  4. Run GetClientInfo.exe (Compiled from "..\Package [SOURCE] MuEmu\MHP\GetClientInfo")
  5. Copy main.emu, ah.emu, Main.dll, MHPClient.dll, MHPVerify.dll and Client.dll to the client root folder

Note 1: Tested only Ex803
Note 2: Keep the port numbers of the gameservers between 55901 and 55950. Or change this on projects (Main, MHPDetect and MHPClient)
Note 3: The code base is the first post
 
Last edited:
Experienced Elementalist
Joined
Nov 19, 2007
Messages
213
Reaction score
95
Re: Source [MUEMU]

Works fine with Season 11.2
8dBJFGs - [Release] X-Team Sources (S4, S6, S8) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jun 8, 2014
Messages
84
Reaction score
1
Re: Source [MUEMU]

Works fine with Season 11.2
8dBJFGs - [Release] X-Team Sources (S4, S6, S8) - RaGEZONE Forums
You have to screen stones work in 8.3? We have for some reason they can not be used in subjects.
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Feb 11, 2013
Messages
18
Reaction score
9
Re: Source [MUEMU]

anyone able to adapt the main of s9.1 and connect Server ?
 
Experienced Elementalist
Joined
Nov 19, 2007
Messages
213
Reaction score
95
Re: Source [MUEMU]

Fixed Socket RF Claw creation GS/Main
uegcLkG - [Release] X-Team Sources (S4, S6, S8) - RaGEZONE Forums
11pEL9x - [Release] X-Team Sources (S4, S6, S8) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Mar 25, 2016
Messages
28
Reaction score
13
Re: Source [MUEMU]

how to change color text notice??
nah i don't know too may be somebody can release someday a customize version :)

here for GM online @ DSProtocol.cpp

find

Code:
gNotice.GCNoticeSend(lpObj->Index,0,0,0,0,0,0,gMessage.GetMessage(256),lpObj->Name);

and change to this

if( lpObj->Authority == 32)
        {
            gNotice.GCNoticeSendToAll(0,0,0,0,0,0,gMessage.GetMessage(492),lpObj->Name);
        }
        else
        {
            gNotice.GCNoticeSend(lpObj->Index,0,0,0,0,0,0,gMessage.GetMessage(256),lpObj->Name);
        }

add on C:\MuServer\Data\Message.txt

Code:
492       "Game Master %s is now Online"
 
Last edited by a moderator:
-( . ) ( . )-
Loyal Member
Joined
Mar 28, 2012
Messages
1,356
Reaction score
68
Re: Source [MUEMU]

How to change the offattack skill?
 
Experienced Elementalist
Joined
Dec 13, 2007
Messages
276
Reaction score
55
Re: Source [MUEMU]

Hegaton is 5 part 2nd lucky set for BK. you probably used it on MG or something. Use the npc in elveland if you wanna try it properly.
 
Newbie Spellweaver
Joined
Dec 7, 2015
Messages
13
Reaction score
0
Re: Source [MUEMU]

Any one can help me how to solve dark elf party bug in season 6 ep3?
 
Newbie Spellweaver
Joined
Feb 11, 2013
Messages
18
Reaction score
9
Re: Source [MUEMU]

Fix MiniMap EX401

Coloque esse Patch no client =

Abra a Source Client_EX401
->Minimap.ccp
-> Substitua tudo pela Source abaixo

Code:
#include "stdafx.h"#include "MiniMap.h"
#include "Offset.h"
#include "Util.h"


bool MiniMapTable[MAX_MINI_MAP];


void InitMiniMap() // OK
{
    memset(MiniMapTable,0,sizeof(MiniMapTable));


    MemorySet(0x0060139B,0x90,0x02);


    MemorySet(0x006C7F22,0x90,0x1E);


    SetCompleteHook(0xFF,0x005D768A,&MiniMapCore);


    SetCompleteHook(0xE8,0x006C7F22,&MiniMapLoad);


    SetCompleteHook(0xFF,0x006C5FCA,&MiniMapCheck);


    SetCompleteHook(0xFF,0x0071198A,&MiniMapCheck);
}


void MiniMapCore() // OK
{
    ((void(*)())0x005D2F16)();


    MiniMapLoad();
}


void MiniMapLoad() // OK
{
    if(*(int*)(MAIN_CURRENT_MAP) < MAX_MINI_MAP)
    {
        char buff[32];


        wsprintf(buff,"Minimap\\World%d\\Map1.jpg",(*(int*)(MAIN_CURRENT_MAP)+1));


        if(MiniMapFileCheck(*(int*)(MAIN_CURRENT_MAP)) != 0)
        {
            MiniMapTable[*(int*)(MAIN_CURRENT_MAP)] = 1;
            ((bool(*)(char*,DWORD,DWORD,DWORD,BYTE))0x006A92BE)(buff,0x7B69,0x2601,0x2900,1);
        }
    }
}


bool MiniMapCheck(int map) // OK
{
    if(map == 30 || (map < MAX_MINI_MAP && MiniMapTable[map] != 0))
    {
        return 1;
    }
    else
    {
        return 0;
    }
}


bool MiniMapFileCheck(int map) // OK
{
    if(map == 30){return 1;}


    char buff[64];


    wsprintf(buff,".\\Data\\Minimap\\World%d\\Map1.ozj",(map+1));


    FILE* file;


    if(fopen_s(&file,buff,"r") != 0)
    {
        return 0;
    }
    else
    {
        fclose(file);
        return 1;
    }
}

U5LRCCQ - [Release] X-Team Sources (S4, S6, S8) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
-( . ) ( . )-
Loyal Member
Joined
Mar 28, 2012
Messages
1,356
Reaction score
68
Re: Source [MUEMU]

Is it not the skill that you have currently selected?

there was a specific skill of the /offattack and i want to change that thing and i can't see where i can edit or change the specific skills
 
Newbie Spellweaver
Joined
Mar 25, 2016
Messages
28
Reaction score
13
Re: Source [MUEMU]

there was a specific skill of the /offattack and i want to change that thing and i can't see where i can edit or change the specific skills

change the skill

CustomAttack.cpp
CCustomAttack::GetAttackSkill
 
Newbie Spellweaver
Joined
Jun 8, 2014
Messages
84
Reaction score
1
Re: Source [MUEMU]

add item & CustomJewel ?? code help
Hello. we added them, as under number 14 300. They are in the game client, but for some reason they can not be used in . Someone was able to use them at all in season 8?
 
Back
Top