D2MoMa Modules: Post here

oneyedMan

Member!
Joined
Sep 30, 2002
Messages
1,406
Reaction score
0
Website
Visit site
Hi all, Sincie Starfish put alot of time and effort into making his module maker for D2, it would be nice if everyone posted their modules made with it here ( Code / D2h module Only ) To show the progress of the D2MoMa :p

*Post any modules Even if they are newbie ones or already been made and released before*

Ill go first

/////////////////////////////////////
// Module made with D2MoMa - By Oneyedman
/////////////////////////////////////

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

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

// Clientinfo change things if you want
CLIENTINFO
(
0,1,
"Oneyedman",
"www.battleforums.com",
"Oneside module",
"Oneyedman@hotmail.com"
)

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

MODULECOMMANDSTRUCT ModuleCommands[]=
{
{
// The help command
"help",
OnGameCommandHelp,
"Displays help textÿc0"
},
{
// This is the "go" command which calles the function Set
"go",
OnGameCommandSet,
"Loads onesideÿc0"
},


////////// End of command list /////
{NULL}
};

//Ok now this is the part that sends the packet to go into oneside
BOOL PRIVATE OnGameCommandSet(char** argv, int argc)
{
//This is the packet used to go into oneside (770d) the number in the [ ] is the number of packets
BYTE pak[2] = {0x77, 0x0d};
server->GameSendPacketToGame(pak,2);
//This will print on your screen saying you are in oneside trade
server->GamePrintInfo("You have now exited trade, but the other person still has the trade screen up, hehe ");

// Add actions here, then close tag



////////// End of command //////////
return TRUE;
}
This is a oneside module i made with d2Moma :p
 

Starfish

Member!
Joined
Feb 23, 2003
Messages
3,594
Reaction score
0
/////////////////////////////////////
// Module made with D2MoMa - By SF
/////////////////////////////////////

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

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

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

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

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

{
// Custom command
"dupe",
OnGameCommandSet,
"Dupes itemÿc0"
},
////////// End of command list /////
{NULL}
};
BOOL PRIVATE OnGameCommandSet(char** argv, int argc)
{
// *** Add actions here, then close tag ***

BYTE pak[7] = {0x4f, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00};
server->GameSendPacketToServer(pak,7);

////////// End of command //////////
return TRUE;
}
Module that accepts trade if you type ".module dupe", can be used for scamming purpose :p
 

oneyedMan

Member!
Joined
Sep 30, 2002
Messages
1,406
Reaction score
0
Website
Visit site
A funny lil module here but pretty useless lol

If you die in a game type .revive dead when the " You have died" screen has come up and it will bring you character back to life ( Client side only your a ghost no1 can see you and monsters wont attack ) And you can run around watch other players with out them knowing you there, But if to replay in the game you have to exit and come back.

The module is attached if anyone wants to use it ( Needs to be varified by a mod before anyone can see it) . Heres the source code for those who want to learn.. its pretty much the same as oneside module just with a different packet

/////////////////////////////////////
// Module made with D2MoMa - By Oneyedman
/////////////////////////////////////

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

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

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

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

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

{
// Custom command
"dead",
OnGameCommandSet,
"Resurect me!ÿc0"
},
////////// End of command list /////
{NULL}
};
BOOL PRIVATE OnGameCommandSet(char** argv, int argc)
{
// *** Add actions here, then close tag ***

BYTE pak[17] = {0x18, 0x2c, 0x1f, 0xa7, 0xc2, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
server->GameSendPacketToGame(pak,17);

////////// End of command //////////
return TRUE;
}
 

Starfish

Member!
Joined
Feb 23, 2003
Messages
3,594
Reaction score
0
Hahaha damn that's actually usefull ... never seen a module for that idea before :D

[X] Validated your attachment
 

oneyedMan

Member!
Joined
Sep 30, 2002
Messages
1,406
Reaction score
0
Website
Visit site
Lol Revive version 2 here lol

Commands:

.revive dead

Will let you walk about when ur dead :p

And

.Revive Return

To return to your normal state and keep playing

I just stole someones shako and storm with this lol following them when i was Dead and they decided to drop items in act 1 lol
 

_CM

Respected Member
Joined
May 19, 2003
Messages
3,874
Reaction score
3
Location
Luxembourg
damn you oneyed ;) I wish i had such brilliant ideas :) very very good job!
 

oneyedMan

Member!
Joined
Sep 30, 2002
Messages
1,406
Reaction score
0
Website
Visit site
hehe lol thx :p i come up with the idea on accident though lol

no u cant.... u goto return . then u can :\
 

shadman87

Member!
Joined
Jul 28, 2003
Messages
134
Reaction score
0
Website
Visit site
Ya that would be a good idea being able to pick up items while your dead....i just tried a scam where i told this kid to drop his anni by my body when i was dead and i was invisable.....it would have been great if i could of picked it up.....

Starfish i got question......

I went to ur site recently when and i noticed a prog called npc dupe scam.....can u tell me what it does and what it is?

Thx
 

(oolspot1

Member!
Joined
Jun 3, 2003
Messages
139
Reaction score
0
when you compile it, make sure you have it set to release mode. then, under options, select multi-threaded dll under c++ menu.

should get the size down to 20kb
 

Starfish

Member!
Joined
Feb 23, 2003
Messages
3,594
Reaction score
0
I went to ur site recently when and i noticed a prog called npc dupe scam.....can u tell me what it does and what it is?
what it sounds like: dupe-scams ppl :]

you send it to them and tell them to trade with a npc + pickup item + type smth like ".npcd go" and the item they picked up will be sold to the npc + they'll get disconnected = you can buy the item back ;)
 

Starfish

Member!
Joined
Feb 23, 2003
Messages
3,594
Reaction score
0
nah I have to admit that I never actually tried to scam some1 using my module...it was my first module ever so I was just happy that it atleast worked :D
 

Sinisterbeef

Member!
Joined
Oct 7, 2003
Messages
126
Reaction score
0
Location
Cali
Website
Visit site
you know a good idea is when you enter a game for the text up top of the screen where it says your account and name to be invisible text so that no one would know you came in the game.
(or something along those lines if it is possible)
 

Starfish

Member!
Joined
Feb 23, 2003
Messages
3,594
Reaction score
0
Not sure if that is possible ... you can leave games without any1 noticing but I don't think you can connect to a server without letting the server know you connected
 

Jim07

Member!
Joined
Jul 14, 2003
Messages
260
Reaction score
0
Location
Michigan
Website
Visit site
that would be cool if someone could figure out how to make it revive where you are instead of going back to town.
 

NewPosts

New threads

Top