DLL Code for "Private server"

Page 1 of 2 12 LastLast
Results 1 to 25 of 27
  1. #1
    Account Upgraded | Title Enabled! FeN$x is offline
    MemberRank
    Sep 2005 Join Date
    you care?Location
    313Posts

    DLL Code for "Private server"

    Well i get this has a request from camus, he was asking:

    "i got a private server of payment, and i need some way to update the connectmember list every 1 hour".

    So after think a little i find how in a DLL caused on SQL i dont know and also its very easy to config the time in this code, it should work for every server owner than dont want to be pressing the button for reload all options, also this reload ONLY ConnectMember.txt and not the rest of files. :busted_re

    Here source:
    Code:
    .386
    .Model flat, StdCall
    Option CaseMap:none
    Include	\masm32\include\windows.inc
    Include	\masm32\include\user32.inc
    Include	\masm32\include\kernel32.inc
    Include	\masm32\include\masm32.inc
    IncludeLib	\masm32\lib\user32.lib
    IncludeLib	\masm32\lib\kernel32.lib
    IncludeLib	\masm32\lib\masm32.lib
    
    MemberReload Proto :DWord, :DWord, :DWord, :DWord
    
    .Const
    IDC_TIMER Equ 3
    
    .Data
    ConnectMember DB "ConnectMember.txt", 0
    GetNewPath DD 0040332DH
    LoadMemberList DD 004040EDH
    
    .Code
    DllEntry Proc hInstDLL:HINSTANCE, reason:DWord, reserved1:DWord
     Mov Eax, TRUE
     Ret
    DllEntry EndP
    Loaded Proc
     Local GShWnd:DWord
     Mov Eax, DWord Ptr Ds:[6D5F50CH]
     Mov GShWnd, Eax
     Invoke SetTimer, GShWnd, IDC_TIMER, 60000, Addr MemberReload
    	Ret
    Loaded EndP
    
    MemberReload Proc hwnd:DWord, uMsg:DWord, idEvent:DWord, dwTime:DWord
     Push Offset ConnectMember
     Mov Ecx, 61D4FC0H
     Call GetNewPath
     Push Eax
     Mov Ecx, 3A67980H
     Call LoadMemberList
     Ret
    MemberReload EndP
    End DllEntry
    Compiled and 100% working, also i will explain the only important part:

    Code:
     Invoke SetTimer, GShWnd, IDC_TIMER, 60000, Addr MemberReload
    the GShWnd its the hWnd of father window, the IDC_TIMER is the producer wich cant not be 0 and the important part its the 60000 ms, wich means 1 minute and MemberReload is the fuction when it will jump once than timer has over.

    Well this update the ConnectMember list, very usefull for some guys of payment server.

    Way to compile it:

    1.- Download MASM
    2.- Open ML.exe and set:

    ML.EXE /c /Cp /coff MyDLL.asm

    3.- .obj file will be generated
    4.- Open notepad and set this:

    LIBRARY MyDLL
    EXPORTS Loaded


    5.- Save file has Mydefile.def
    6.- Open Link.exe and set:

    LINK.EXE /SUBSYSTEM:WINDOWS /DLL /DEF:Mydefile.def /LIBPATH: MyDLL.obj


    Coded by FeN$x :kwasny(1)
    Requested by Camus

    Mission finished.

    Good luck my brothers of coding and ciao.
    Last edited by FeN$x; 17-09-06 at 02:37 AM.


  2. #2
    Member Asafchik is offline
    MemberRank
    Apr 2005 Join Date
    MoscowLocation
    55Posts
    Respect!
    Thank you a lot =)

  3. #3
    Valued Member lalaru is offline
    MemberRank
    Sep 2005 Join Date
    philippinesLocation
    133Posts
    this is great tnks alot

  4. #4
    urvoice.info andsnake is offline
    MemberRank
    Feb 2005 Join Date
    NicosiaLocation
    398Posts
    Nice :) ! thanks!!!

  5. #5
    Apprentice fleischwurstsep is offline
    MemberRank
    Sep 2006 Join Date
    7Posts
    man man u just advetice with all ur pictures take them out

  6. #6
    Account Upgraded | Title Enabled! Camus_anth is offline
    MemberRank
    Oct 2005 Join Date
    www.muonline.frLocation
    300Posts
    DLL compiled attached

    Enjoy and thanks fen$x help me in my projet ;)
    Attached Files Attached Files

  7. #7
    Valued Member mig1st4ck is offline
    MemberRank
    Jan 2006 Join Date
    PortugalLocation
    118Posts
    great.
    Fenix correct me if i am wrong but in 1.02d server there was a limit in this file connectmember.txt the limit was 60 accounts.
    now in 00.99.60 is there ant limit? and if it as can u remove it?

  8. #8
    Novice PimpinStylez is offline
    MemberRank
    Jun 2006 Join Date
    1321321Location
    4Posts
    just a bit of a noob question, where can i find a guide on how to hook a dll to the gameserver?

  9. #9
    Account Upgraded | Title Enabled! Camus_anth is offline
    MemberRank
    Oct 2005 Join Date
    www.muonline.frLocation
    300Posts
    Fen$x told me that he will add a guide to make the Gs read the dll ;)

  10. #10
    i haz skillz Xeron is offline
    MemberRank
    Jul 2005 Join Date
    United StatesLocation
    384Posts
    Code:
    C:\MASM32\BIN>link /subsystem:windows /dll /def:mydefile.def /libpath:mydll.obj
    Microsoft (R) Incremental Linker Version 5.12.8078
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
    
    LINK : warning LNK4001: no object files specified; libraries used
    LINK : warning LNK4068: /MACHINE not specified; defaulting to IX86
    LINK : fatal error LNK1159: no output file specified
    Not understanding what I'm doing wrong...I have the .obj in the same folder

  11. #11
    Valued Member limpamesa is offline
    MemberRank
    Nov 2005 Join Date
    BrazilLocation
    148Posts
    Quote Originally Posted by mig1st4ck View Post
    great.
    Fenix correct me if i am wrong but in 1.02d server there was a limit in this file connectmember.txt the limit was 60 accounts.
    now in 00.99.60 is there ant limit? and if it as can u remove it?
    I have seeing this limit to 60 players in connectmember.txt is for all versions. Just put more than 60 and you will have an error mesage in any version. I dont have idea how global use a vip server to hold thousands users but it will be amazing to remove this 60 players limit.

  12. #12
    Account Upgraded | Title Enabled! Camus_anth is offline
    MemberRank
    Oct 2005 Join Date
    www.muonline.frLocation
    300Posts
    omg :(

    if someone can check how to remove this limit...it would be nice

    thanks by advance

  13. #13
    Account Upgraded | Title Enabled! ca_ale_16 is offline
    MemberRank
    May 2006 Join Date
    MONTEVIDEO URUGUAYLocation
    835Posts
    nice i have a request.... a program (not a web!) with all the things that has a web.... create account,erase pk, add stats, reset... etc... but... for the 0.99.6xt with md5.... thx... i hope it can be done...

  14. #14
    Account Upgraded | Title Enabled! Camus_anth is offline
    MemberRank
    Oct 2005 Join Date
    www.muonline.frLocation
    300Posts
    Hi, i think there is not the right section to talk about websites...

  15. #15
    Account Upgraded | Title Enabled! whwwhw is offline
    MemberRank
    Mar 2006 Join Date
    MapNumber = 2Location
    246Posts
    This .DLL might be a way to remove 60 ppl Limit..
    It was just like taking off OLD 20 player On-limit

  16. #16
    Valued Member mig1st4ck is offline
    MemberRank
    Jan 2006 Join Date
    PortugalLocation
    118Posts
    Quote Originally Posted by whwwhw View Post
    This .DLL might be a way to remove 60 ppl Limit..
    It was just like taking off OLD 20 player On-limit
    well i think there is no limit in server 00.99.60.

    i tryed to load the connectmember.txt with 80+ accounts and no error.

    well if there is any limit is not 60.

  17. #17
    Apprentice randall is offline
    MemberRank
    May 2008 Join Date
    BelarusLocation
    10Posts

    Re: [Release] DLL Code for "Private server"

    Quote Originally Posted by Xeron View Post
    Code:
    C:\MASM32\BIN>link /subsystem:windows /dll /def:mydefile.def /libpath:mydll.obj
    Microsoft (R) Incremental Linker Version 5.12.8078
    Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
    
    LINK : warning LNK4001: no object files specified; libraries used
    LINK : warning LNK4068: /MACHINE not specified; defaulting to IX86
    LINK : fatal error LNK1159: no output file specified
    Not understanding what I'm doing wrong...I have the .obj in the same folder
    I'm too got this error. help us please

  18. #18
    Proficient Member D4NyZ is offline
    MemberRank
    Aug 2008 Join Date
    192Posts

    Re: [Release] DLL Code for "Private server"

    /respect
    Thanks!

  19. #19
    Big Butto For Ur Puki teroare is offline
    MemberRank
    Jan 2007 Join Date
    RomaniaLocation
    416Posts

    Re: [Release] DLL Code for "Private server"

    the last 3 posters are totaly idiots .... reviving a 2-years-old thread ... guys ur brain is missing faggets

  20. #20
    Apprentice randall is offline
    MemberRank
    May 2008 Join Date
    BelarusLocation
    10Posts

    Re: [Release] DLL Code for "Private server"

    Shut-up. lol. I need help, but i'm not need you stupid topic.

  21. #21
    Big Butto For Ur Puki teroare is offline
    MemberRank
    Jan 2007 Join Date
    RomaniaLocation
    416Posts

    Re: [Release] DLL Code for "Private server"

    you stupid idiot ... how could u get help if this thread is from 2006 ?

  22. #22
    Enthusiast 0204great is offline
    MemberRank
    Aug 2007 Join Date
    45Posts

    Re: [Release] DLL Code for "Private server"

    Great code

    i need it thanks

  23. #23
    Account Upgraded | Title Enabled! Just_Rytis is offline
    MemberRank
    Oct 2006 Join Date
    PUSH main.00754EDCLocation
    561Posts

    Re: [Release] DLL Code for "Private server"

    Hi, can someone hook what .dll into my gs? I read a guide how to hook, but when I'm hooking isn't all good right where writing. Thx!
    Attached Files Attached Files

  24. #24
    Account Upgraded | Title Enabled! Just_Rytis is offline
    MemberRank
    Oct 2006 Join Date
    PUSH main.00754EDCLocation
    561Posts

    Re: [Release] DLL Code for "Private server"

    Please help me someone!!! Thx!

  25. #25
    Retired Old Man Shatter is offline
    MemberRank
    Jun 2008 Join Date
    NowhereLocation
    1,884Posts

    Re: [Release] DLL Code for "Private server"

    anyone have C++ version of this?



Page 1 of 2 12 LastLast

Advertisement