Cabal Realm EP33 Source Source 

1>GameVersion.cpp
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(360,23): warning C4838: conversion from 'float' to 'D3DCOLOR' requires a narrowing conversion
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(360,23): warning C4244: 'initializing': conversion from 'float' to 'D3DCOLOR', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(361,31): warning C4838: conversion from 'float' to 'D3DCOLOR' requires a narrowing conversion
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(361,31): warning C4244: 'initializing': conversion from 'float' to 'D3DCOLOR', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(362,32): warning C4838: conversion from 'float' to 'D3DCOLOR' requires a narrowing conversion
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(362,32): warning C4244: 'initializing': conversion from 'float' to 'D3DCOLOR', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(363,40): warning C4838: conversion from 'float' to 'D3DCOLOR' requires a narrowing conversion
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(363,40): warning C4244: 'initializing': conversion from 'float' to 'D3DCOLOR', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(384,80): warning C4244: 'argument': conversion from 'LONG' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(384,59): warning C4244: 'argument': conversion from 'LONG' to 'float', possible loss of data
1>GenericButton.cpp
1>C:\Cabal Source\CabalEP33\GameCustom\UserDataContextMapping\UserDataContext.cpp(35,56): warning C4244: 'return': conversion from 'double' to 'INT64', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\UserDataContextMapping\UserDataContext.cpp(42,22): warning C4244: 'initializing': conversion from 'INT64' to 'double', possible loss of data
1>Logs.cpp
1>C:\Cabal Source\CabalEP33\BM3Sinergy\BM3Sinergy.cpp(136,28): warning C4018: '>=': signed/unsigned mismatch
1>Main.cpp
1>C:\Cabal Source\CabalEP33\EventAlert\EventAlert.cpp(226,28): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>C:\Cabal Source\CabalEP33\EventAlert\EventAlert.cpp(227,28): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>C:\Cabal Source\CabalEP33\EventAlert\EventAlert.cpp(228,28): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>C:\Cabal Source\CabalEP33\EventAlert\EventAlert.cpp(231,31): warning C4244: '=': conversion from 'float' to 'DWORD', possible loss of data
1>C:\Cabal Source\CabalEP33\BM3Sinergy\BM3Sinergy.cpp(196,47): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>Game.cpp
1>C:\Cabal Source\CabalEP33\DLLSec\DLLSec.cpp(86,9): warning C4858: discarding return value: The result of 'std::async' should be stored in a variable. If the return value is discarded, the temporary 'std::future' is destroyed, waiting for an async result or evaluating a deferred result, thus defeating the purpose of 'std::async'.
1>C:\Cabal Source\CabalEP33\DLLSec\DLLSec.cpp(112,8): warning C4858: discarding return value: The result of 'std::async' should be stored in a variable. If the return value is discarded, the temporary 'std::future' is destroyed, waiting for an async result or evaluating a deferred result, thus defeating the purpose of 'std::async'.
1>C:\Cabal Source\CabalEP33\DLLSec\DLLSec.cpp(141,8): warning C4858: discarding return value: The result of 'std::async' should be stored in a variable. If the return value is discarded, the temporary 'std::future' is destroyed, waiting for an async result or evaluating a deferred result, thus defeating the purpose of 'std::async'.
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(276,167): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(276,123): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(276,80): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(276,39): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(312,42): warning C4474: 'printf' : too many arguments passed for format string
1> C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(312,42):
1> placeholders and their parameters expect 0 variadic arguments, but 1 were provided
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(340,183): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(340,135): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(340,88): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(340,43): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>PacketManager.cpp
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(993,17): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(995,19): warning C4244: 'initializing': conversion from 'float' to 'int', possible loss of data
1>Proc.cpp
1>C:\Cabal Source\CabalEP33\GameCustom\MacroBM3\BM3Macro.cpp(142,110): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation
1>C:\Cabal Source\CabalEP33\GameCustom\MacroBM3\BM3Macro.cpp(968,27): warning C4018: '>': signed/unsigned mismatch
1>Screen.cpp
1>Slot.cpp
1>WndProc.cpp
1>CabalEP33.vcxproj -> C:\Cabal Source\Release\libicore.dll



Does anyone know how to remove these errors from the source when compiling?
 
1>GameVersion.cpp
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(360,23): warning C4838: conversion from 'float' to 'D3DCOLOR' requires a narrowing conversion
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(360,23): warning C4244: 'initializing': conversion from 'float' to 'D3DCOLOR', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(361,31): warning C4838: conversion from 'float' to 'D3DCOLOR' requires a narrowing conversion
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(361,31): warning C4244: 'initializing': conversion from 'float' to 'D3DCOLOR', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(362,32): warning C4838: conversion from 'float' to 'D3DCOLOR' requires a narrowing conversion
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(362,32): warning C4244: 'initializing': conversion from 'float' to 'D3DCOLOR', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(363,40): warning C4838: conversion from 'float' to 'D3DCOLOR' requires a narrowing conversion
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(363,40): warning C4244: 'initializing': conversion from 'float' to 'D3DCOLOR', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(384,80): warning C4244: 'argument': conversion from 'LONG' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\DirectX\DirectX.cpp(384,59): warning C4244: 'argument': conversion from 'LONG' to 'float', possible loss of data
1>GenericButton.cpp
1>C:\Cabal Source\CabalEP33\GameCustom\UserDataContextMapping\UserDataContext.cpp(35,56): warning C4244: 'return': conversion from 'double' to 'INT64', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\UserDataContextMapping\UserDataContext.cpp(42,22): warning C4244: 'initializing': conversion from 'INT64' to 'double', possible loss of data
1>Logs.cpp
1>C:\Cabal Source\CabalEP33\BM3Sinergy\BM3Sinergy.cpp(136,28): warning C4018: '>=': signed/unsigned mismatch
1>Main.cpp
1>C:\Cabal Source\CabalEP33\EventAlert\EventAlert.cpp(226,28): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>C:\Cabal Source\CabalEP33\EventAlert\EventAlert.cpp(227,28): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>C:\Cabal Source\CabalEP33\EventAlert\EventAlert.cpp(228,28): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>C:\Cabal Source\CabalEP33\EventAlert\EventAlert.cpp(231,31): warning C4244: '=': conversion from 'float' to 'DWORD', possible loss of data
1>C:\Cabal Source\CabalEP33\BM3Sinergy\BM3Sinergy.cpp(196,47): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>Game.cpp
1>C:\Cabal Source\CabalEP33\DLLSec\DLLSec.cpp(86,9): warning C4858: discarding return value: The result of 'std::async' should be stored in a variable. If the return value is discarded, the temporary 'std::future' is destroyed, waiting for an async result or evaluating a deferred result, thus defeating the purpose of 'std::async'.
1>C:\Cabal Source\CabalEP33\DLLSec\DLLSec.cpp(112,8): warning C4858: discarding return value: The result of 'std::async' should be stored in a variable. If the return value is discarded, the temporary 'std::future' is destroyed, waiting for an async result or evaluating a deferred result, thus defeating the purpose of 'std::async'.
1>C:\Cabal Source\CabalEP33\DLLSec\DLLSec.cpp(141,8): warning C4858: discarding return value: The result of 'std::async' should be stored in a variable. If the return value is discarded, the temporary 'std::future' is destroyed, waiting for an async result or evaluating a deferred result, thus defeating the purpose of 'std::async'.
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(276,167): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(276,123): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(276,80): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(276,39): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(312,42): warning C4474: 'printf' : too many arguments passed for format string
1> C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(312,42):
1> placeholders and their parameters expect 0 variadic arguments, but 1 were provided
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(340,183): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(340,135): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(340,88): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(340,43): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>PacketManager.cpp
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(993,17): warning C4244: '=': conversion from 'float' to 'int', possible loss of data
1>C:\Cabal Source\CabalEP33\GameCustom\MyDraw\Objects.cpp(995,19): warning C4244: 'initializing': conversion from 'float' to 'int', possible loss of data
1>Proc.cpp
1>C:\Cabal Source\CabalEP33\GameCustom\MacroBM3\BM3Macro.cpp(142,110): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation
1>C:\Cabal Source\CabalEP33\GameCustom\MacroBM3\BM3Macro.cpp(968,27): warning C4018: '>': signed/unsigned mismatch
1>Screen.cpp
1>Slot.cpp
1>WndProc.cpp
1>CabalEP33.vcxproj -> C:\Cabal Source\Release\libicore.dll



Does anyone know how to remove these errors from the source when compiling?
The warning messages can be ignored.
 
do you success compile for worldsvr?
yeah its WorldSvr.so needed to inject

1745807334230 - Cabal Realm EP33 Source - RaGEZONE Forums
 
C#:
#include "Base.h"
#include "Game/Game.h"
#include "PacketManager/PacketManager.h"
#include "GameVersion/GameVersion.h"
#include "Basic/Basic.h"
#include "Discord/Discord.h"
#include "DLLSec/DLLSec.h"
#include "Screen/Screen.h"
#include "WndProc/WndProc.h"
#include "Proc/Proc.h"
#include "GameCustom/MacroBM3/BM3Macro.h"
#include "GameCustom/BattleMode/Battlemode.h"
#include <iostream>
#include <windows.h>

// Example exported function
extern "C" __declspec(dllexport) void Episode33()
{
    std::cout << "Exported function called!" << std::endl;
}

void InitAll()
{
    // Existing initialization logic
    VM_STARTU(__FUNCTION__);
    g_Procedures->SetHooks();
    g_pBM3Macro->Init();

    WindowProc::InitHooks();
    Game::MemoryChecks::InitMemoryChanges();
    DirectX::InitHooks();
    GameVersion::SetHooks();
    PacketManager::SetHooks();
    Basic::SetHooks();
    Discord::SetHooks();
    DLLSec::SetHooks();
    Screen::InitHooks();
    BattleMode::SetHooks();



    VM_END;
}

#ifdef DEV_MODE
void allocConsole()
{
    AllocConsole();

    freopen("CONIN$", "r", stdin);
    freopen("CONOUT$", "w", stdout);
    freopen("CONOUT$", "w", stderr);

    std::wcout.clear();
    std::cout.clear();
    std::wcerr.clear();
    std::cerr.clear();
    std::wcin.clear();
    std::cin.clear();
}
#endif

BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
#ifdef DEV_MODE
        allocConsole();
#endif
        InitAll();
        break;
    }
    return TRUE;
}



Thats mine.

does macrobm3 works on you?
yes you need to inject also the worldsvr.so to both sync and work properly

can you give screenshot main.cpp?
check on this line


// Example exported functionextern "C" __declspec(dllexport) void Episode33(){ std::cout << "Exported function called!" << std::endl;}
 
C#:
#include "Base.h"
#include "Game/Game.h"
#include "PacketManager/PacketManager.h"
#include "GameVersion/GameVersion.h"
#include "Basic/Basic.h"
#include "Discord/Discord.h"
#include "DLLSec/DLLSec.h"
#include "Screen/Screen.h"
#include "WndProc/WndProc.h"
#include "Proc/Proc.h"
#include "GameCustom/MacroBM3/BM3Macro.h"
#include "GameCustom/BattleMode/Battlemode.h"
#include <iostream>
#include <windows.h>

// Example exported function
extern "C" __declspec(dllexport) void Episode33()
{
    std::cout << "Exported function called!" << std::endl;
}

void InitAll()
{
    // Existing initialization logic
    VM_STARTU(__FUNCTION__);
    g_Procedures->SetHooks();
    g_pBM3Macro->Init();

    WindowProc::InitHooks();
    Game::MemoryChecks::InitMemoryChanges();
    DirectX::InitHooks();
    GameVersion::SetHooks();
    PacketManager::SetHooks();
    Basic::SetHooks();
    Discord::SetHooks();
    DLLSec::SetHooks();
    Screen::InitHooks();
    BattleMode::SetHooks();



    VM_END;
}

#ifdef DEV_MODE
void allocConsole()
{
    AllocConsole();

    freopen("CONIN$", "r", stdin);
    freopen("CONOUT$", "w", stdout);
    freopen("CONOUT$", "w", stderr);

    std::wcout.clear();
    std::cout.clear();
    std::wcerr.clear();
    std::cerr.clear();
    std::wcin.clear();
    std::cin.clear();
}
#endif

BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
#ifdef DEV_MODE
        allocConsole();
#endif
        InitAll();
        break;
    }
    return TRUE;
}



Thats mine.


yes you need to inject also the worldsvr.so to both sync and work properly


check on this line


// Example exported functionextern "C" __declspec(dllexport) void Episode33(){ std::cout << "Exported function called!" << std::endl;}

how to inject worldsvr.so?
 
Back