Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Cabal Online
You last visited: Today at 14:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



how to create a cabal trainer?

Discussion on how to create a cabal trainer? within the Cabal Online forum part of the MMORPGs category.

Reply
 
Old 09/08/2012, 09:30   #16
 
elite*gold: 0
Join Date: May 2012
Posts: 59
Received Thanks: 6
OMG What happend?

1>------ Build started: Project: Trainer, Configuration: Debug Win32 ------
1>Build started 9/8/2012 3:19:37 PM.
1>PrepareForBuild:
1> Creating directory "c:\users\admin\documents\visual studio 2010\Projects\Trainer\Debug\".
1>InitializeBuildStatus:
1> Creating "Debug\Trainer.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> stdafx.cpp
1> dllmain.cpp
1> Trainer.cpp
1>Trainer.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
1>c:\users\admin\documents\visual studio 2010\Projects\Trainer\Debug\Trainer.dll : fatal error LNK1169: one or more multiply defined symbols found
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:06.15
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========






Code:
// Trainer.cpp : Defines the exported functions for the DLL application.
//

#include "stdafx.h"

#define    ADDR_GM      0x1076C40
#define    ADDR_AOE     0x10C730C
#define    ADDR_RANGE   0x10C7308

void Start();

BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved)
{
    if (ulReason == DLL_PROCESS_ATTACH)
    {
        CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
    }

    return TRUE;
}

void Start()
{
    while (1)
    {
        if (GetKeyState(VK_F12) < 0) // Turn On
        {
            *(DWORD*)ADDR_GM = 2;
            *(DWORD*)ADDR_AOE = 100;
            *(DWORD*)ADDR_RANGE = 13;
        }
        
        if (GetKeyState(VK_F11) < 0) // Turn Off
        {
            *(DWORD*)ADDR_GM = 0;
            *(DWORD*)ADDR_AOE = 0;
            *(DWORD*)ADDR_RANGE = 0;
        }
        
        Sleep(1);
    }
}


What should I do?
roeben0143 is offline  
Old 09/08/2012, 10:23   #17
 
кev's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 130
Received Thanks: 184
Quote:
Originally Posted by roeben0143 View Post
1>Trainer.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
1>c:\users\admin\documents\visual studio 2010\Projects\Trainer\Debug\Trainer.dll : fatal error LNK1169: one or more multiply defined symbols found
You've got DllMain defined in trainer.cpp and dllmain.cpp. Like I said, don't jump the gun, take your time to learn the basics first - understanding what your compiler is telling you makes your life a lot easier.

Sorry if this sounds harsh but you won't learn anything copypasting. Next thing you're asking is why your pointers don't work or why your game crashes due to access violations.

Quote:
Originally Posted by skepjen View Post
yeeeeeeeeeeeeeeeeeeeeeeeeeeessssssssssssssssssssss ssssss!!!!!!!!!!!
atlast ive successfully create a working trainer wooooooooooo!
Just a suggestion; don't do that on your main, nor on public maps.
кev is offline  
Thanks
2 Users
Old 09/08/2012, 11:07   #18
 
genesisVI's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 796
Received Thanks: 434
yeah look at his char has +15 wep @_@ lol

maybe be more careful nxt tym
genesisVI is offline  
Old 09/08/2012, 16:07   #19
 
skepjen's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 147
Received Thanks: 10
Quote:
Originally Posted by кev View Post
You've got DllMain defined in trainer.cpp and dllmain.cpp. Like I said, don't jump the gun, take your time to learn the basics first - understanding what your compiler is telling you makes your life a lot easier.

Sorry if this sounds harsh but you won't learn anything copypasting. Next thing you're asking is why your pointers don't work or why your game crashes due to access violations.


Just a suggestion; don't do that on your main, nor on public maps.
yeah my mistake ^^
skepjen is offline  
Reply


Similar Threads Similar Threads
How create a trainer in cheat engine, and how to create autoassemble scripts [16 June
06/17/2012 - Facebook - 3 Replies
Many people asked me that... Maybe some of these people are from here.. or maybe not.. Anyway.. heres 25 minutes video ;D which should help? How create a trainer in cheat engine, and how to create autoassemble scripts - YouTube And yea.. I noticed that there 360p and 720p only.. no idea where the 460p gone... :x put 720p and full screen, otherwise in normal size its looks crappy
Want create a own trainer
07/26/2009 - Dekaron - 6 Replies
can some say me some progs to create a trainer???



All times are GMT +1. The time now is 14:00.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.