Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest and greatest video game news, strategies, discussions, and resources. Join over 60,000 like-minded gamers from around the world to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.



Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > Major Games > Diablo > Diablo Hacking

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 06-04-2005, 04:56 PM   #1 (permalink)
Mylictruan
 
The Voice Of God's Avatar
 
Join Date: Sep 2004
Posts: 280
Wtf!!!! why does it not work!

Code:
/////////////////////////////////////
// Module made with D2MoMa - By SF
/////////////////////////////////////

// Incudes the D2HackIt Source
#include "Source\ClientCore.cpp"

// Sets up the commands (only supports 4 commands so far)
BOOL PRIVATE OnGameCommandSet(char** argv, int argc);
/////////////////////////////////////

// Clientinfo change things if you want
CLIENTINFO
(
0,1,
"StarFish",
"www.battleforums.com",
"Test Module",
"myemail@meh.com"
)

// This defines the packet 'pack'
BYTE pack[5] = {0x3d, 0x00, 0x00, 0x00, 0x00};

// This will copy/paste bytes if something happens
DWORD EXPORT OnGamePacketBeforeReceived(BYTE* aPacket, DWORD aLen)
{
if ( aPacket[0] == 0x19)
{
// The next line is the function called 'memcpy'
memcpy(pack+1,aPacket+1,4);
server->GamePrintInfo("˙c8Item ID logged!");
}
return aLen;
}

/////////////////////////////////
// Commnads used in module
/////////////////////////////////

MODULECOMMANDSTRUCT ModuleCommands[]=
{
{
// The help command
"help",
OnGameCommandHelp,
"Displays help text˙c0"
},

{
// Custom command
"start",
OnGameCommandSet,
"Starts Module˙c0"
},
////////// End of command list /////
{NULL}
};

BOOL PRIVATE OnGameCommandSet(char** argv, int argc)
{
// *** Add actions here, then close tag ***

// This will drop the item whos ID was memcpy'ed
server->GameSendPacketToServer(pack,5);

////////// End of command //////////
return TRUE;
}
i cant get it too log the id.
is there something out of order?
__________________
keep your signatures within the limit, and have given you the dimensions. Now you get this for a signature.


Last edited by The Voice Of God; 06-04-2005 at 05:15 PM.
The Voice Of God is offline   Reply With Quote
Alt Heute
Advertising

Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
   
Old 06-04-2005, 10:47 PM   #2 (permalink)
Respected Member
 
Trojan's Avatar
 
Join Date: Jun 2004
Location: OG From '02
Age: 18
Posts: 3,548
Code:
/////////////////////////////////
// Commnads used in module
/////////////////////////////////

MODULECOMMANDSTRUCT ModuleCommands[]=
{
{
// The help command
"help",
OnGameCommandHelp,
"Displays help text˙c0"
},

{
// Custom command
"start",
OnGameCommandSet,
"Starts Module˙c0"
},
commnads? maybe thats your error idk.
Trojan is offline   Reply With Quote
Old 06-05-2005, 04:48 AM   #3 (permalink)
BattleForums Junior Member
 
binny's Avatar
 
Join Date: Apr 2005
Location: canaDa
Age: 22
Posts: 208
what mod is that / what does it do?
__________________

new forum, come join and become a reg while the site's still growing.
binny is offline   Reply With Quote
Old 06-05-2005, 05:27 AM   #4 (permalink)
_CM
Respected Member
 
_CM's Avatar
 
Join Date: May 2003
Age: 20
Posts: 3,783
Quote:
Originally Posted by Trojan Man
Code:
/////////////////////////////////
// Commnads used in module
/////////////////////////////////

MODULECOMMANDSTRUCT ModuleCommands[]=
{
{
// The help command
"help",
OnGameCommandHelp,
"Displays help text˙c0"
},

{
// Custom command
"start",
OnGameCommandSet,
"Starts Module˙c0"
},
commnads? maybe thats your error idk.
everything that is commented out (//) doesn't affect your actual code
__________________
Quote:
Originally Posted by _Ace
obviously, if your iq was 80 you would play the bass with your fist
Recently, in MSN:

_Ace: holy **** im gonna cum
©m: :umm
_Ace: stormshield from meph, mara's from countess
_Ace: if andy drops a soj then ill kill my parents
©m: LOL



_CM is offline   Reply With Quote
Old 06-05-2005, 10:44 AM   #5 (permalink)
Mylictruan
 
The Voice Of God's Avatar
 
Join Date: Sep 2004
Posts: 280
coolmission i know you!you're smart.
you even coded a module or two.
So what is wrong with my code?
__________________
keep your signatures within the limit, and have given you the dimensions. Now you get this for a signature.

The Voice Of God is offline   Reply With Quote
Old 06-05-2005, 11:14 AM   #6 (permalink)
Respected Member
 
Trojan's Avatar
 
Join Date: Jun 2004
Location: OG From '02
Age: 18
Posts: 3,548
Quote:
Originally Posted by coolmission
everything that is commented out (//) doesn't affect your actual code
well im not an expert coder ^^.
i just pointed out that he mispelled it .
Trojan is offline   Reply With Quote
Old 06-05-2005, 11:37 AM   #7 (permalink)
Mylictruan
 
The Voice Of God's Avatar
 
Join Date: Sep 2004
Posts: 280
no.d2moma mispelled it.
__________________
keep your signatures within the limit, and have given you the dimensions. Now you get this for a signature.

The Voice Of God is offline   Reply With Quote
Old 06-05-2005, 01:07 PM   #8 (permalink)
_CM
Respected Member
 
_CM's Avatar
 
Join Date: May 2003
Age: 20
Posts: 3,783
I didn't code any modules at all. Can't help ya.
__________________
Quote:
Originally Posted by _Ace
obviously, if your iq was 80 you would play the bass with your fist
Recently, in MSN:

_Ace: holy **** im gonna cum
©m: :umm
_Ace: stormshield from meph, mara's from countess
_Ace: if andy drops a soj then ill kill my parents
©m: LOL



_CM is offline   Reply With Quote
Old 06-05-2005, 01:08 PM   #9 (permalink)
Mylictruan
 
The Voice Of God's Avatar
 
Join Date: Sep 2004
Posts: 280
so it was coolmisson1 then.
__________________
keep your signatures within the limit, and have given you the dimensions. Now you get this for a signature.

The Voice Of God is offline   Reply With Quote
 
Reply

« godmode | jamb baal bot "unkown game version" ??? »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 12:31 AM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0