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!

[Source] Memory Allocation

Experienced Elementalist
Joined
Dec 8, 2012
Messages
265
Reaction score
41
Hi Guys Today I'll Be Sharing Memory Allocation For Server

This is not yet complete but working 80% I'm still hooking it on asm.

Source
int totalAllocMemory;

__declspec(naked) void NKD_PUSH02()//0x442E72
{
__asm
{
PUSH totalAllocMemory
PUSH 0x0C4C

MOV jmp_addr, 0x442E79
JMP jmp_addr
}
}

JMP_NEAR(0x442E72, NKD_PUSH02, 2);



Hook
int totalPlayers = 0;
int i = 0;
for(; i < MAX_PLAYER; i ++)
{
if(cUser.Status != OFFLINE) //offline = 0
totalPlayers++;
}

if(totalPlayers <= 0 || totalPlayers > MAX_PLAYER)
Log("An Error Has Occured While Allocating The Memory", "-DLL", FALSE);

totalAllocMemory = totalPlayers++;
JMP_NEAR(0x442E72, NKD_PUSH02, 2);


Function
totalAllocMemory --;
 
Experienced Elementalist
Joined
Dec 8, 2012
Messages
265
Reaction score
41
it depends on how many players can handle in your DDS / VPS
 
Newbie Spellweaver
Joined
Jan 22, 2013
Messages
42
Reaction score
1
oh ok thanks... working 100%

hope you finish it done hooking in asm.. so it can work perfectly smooth man :)

anyway... thanks for this source
 
Experienced Elementalist
Joined
Dec 8, 2012
Messages
265
Reaction score
41
yeah sure.. i'll finish it.. but need alot of time and days hahaha =))
 
Newbie Spellweaver
Joined
Jan 22, 2013
Messages
42
Reaction score
1
would you mind if you share your other sources too??

because i see alot of cool stuffs in your source last time XD
 
Experienced Elementalist
Joined
Dec 8, 2012
Messages
265
Reaction score
41
would you mind if you share your other sources too??

because i see alot of cool stuffs in your source last time XD

maybe next time.. because last time i already gave 1 person my whole source and now he's selling it hahahahahah =))

and he really fucked me up TROLOLOLOLOLOLOLOL :/:
 
Newbie Spellweaver
Joined
Jan 22, 2013
Messages
42
Reaction score
1
maybe next time.. because last time i already gave 1 person my whole source and now he's selling it hahahahahah =))

and he really fucked me up TROLOLOLOLOLOLOLOL :/:

AW THAT GUY IS SO STUPID.. YOU EVEN SHARE YOUR SOURCE AND NOW HE'S SELLING IT AHAHAHA :lol:

Where Can we put this?

on source of course XD
 
Newbie Spellweaver
Joined
Jan 22, 2013
Messages
42
Reaction score
1
yeah its so annoying.... and now he's selling it for high cost money

any source to be share? what's your next plan?

share your source of memory heap too ! puh-leaaase! .. i'm begging for that one..

its good even 1gb vps can handle ep8 server if have memory heap ,, i already saw it on other players who have source
 
Experienced Elementalist
Joined
Dec 8, 2012
Messages
265
Reaction score
41
any source to be share? what's your next plan?

share your source of memory heap too ! puh-leaaase! .. i'm begging for that one..

its good even 1gb vps can handle ep8 server if have memory heap ,, i already saw it on other players who have source

well its true.. but its not yet time to share that source..
 
Newbie Spellweaver
Joined
Jan 22, 2013
Messages
42
Reaction score
1
well its true.. but its not yet time to share that source..

how about a trade?

my dark lunar files and other files from ranworld to your memory heap source?

well anyway.. still you got cool stuffs XD ... i already heard you need other files from ran world..

well anyway can you teach me hooking in asm? cause your pro hahaha .. you are really really nice in hooking in ASM XD
 
Experienced Elementalist
Joined
Dec 8, 2012
Messages
265
Reaction score
41
how about a trade?

my dark lunar files and other files from ranworld to your memory heap source?

well anyway.. still you got cool stuffs XD ... i already heard you need other files from ran world..

well anyway can you teach me hooking in asm? cause your pro hahaha .. you are really really nice in hooking in ASM XD

nah i'll just wait till someone share that files here .. i know you are good leecher when it comes to files in ran world.. but no thanks i don't negotiate that thing for files.. i will share my sources soon , but for now .. not .. because i have trauma already ahhaha =))

like what you seen in my signature I'M NOT GOOD IN SOURCES and I'M JUST NOOB DEVELOPER hhahahah =)) , i just study them because i bought plenty of books all about VISUAL C++ and ASM
 
Experienced Elementalist
Joined
Oct 24, 2012
Messages
207
Reaction score
36
maybe next time.. because last time i already gave 1 person my whole source and now he's selling it hahahahahah =))

and he really fucked me up TROLOLOLOLOLOLOLOL :/:
share me your source man :lol:
you know you can trust me haha :blushing:
 
Back
Top