Level Extension level 1 ~ 255

Page 1 of 2 12 LastLast
Results 1 to 25 of 47
  1. #1
    Sorcerer Supreme Darn is offline
    Member +Rank
    Mar 2009 Join Date
    GermanyLocation
    429Posts

    Level Extension level 1 ~ 255

    as the title says this is a level extension (Server and Client side)
    ive used the methode from strik3r

    Spoiler:

    ServerSide dll can be loaded with a dll loader.
    ClientSide dll is using "version.dll" so search it with a hexeditor and replace it 2 times with "LunaC.dll" or use the engine i upload together with the dll

    ServerSide code:
    Code:
    void LevelExtension::Load()
    {
    	IMemory Memory;
    	Server::Console::WriteBlue("Reading [LevelExtension] . . .");
    	Server::Console::WriteBlue("(C) Darn, Strik3r");
    	DWORD* ExpPtr = (DWORD*)_ExpTable;
    	DWORD Exptr2;
    	DWORD ExpAdr1[] = {0x004592A6,0x004592BE,0x0046337A,0x0046440F,0x00415649,0x0041566F,0x004156B8,0x00415737};
    	DWORD ExpAdr2[] = {0x00459289,0x004592CB,0x00463387,0x00464407,0x00415650,0x00415667,0x004156B0,0x0041572F};
    	for(int i = 0;i<sizeof(ExpAdr1)/4;i++) 
    		Memory.Copy((void*)ExpAdr1[i], (void*) &ExpPtr, 4);
    		Memory.Copy((void*)&Exptr2,(void*)0x00415737,4);
    
    	Exptr2 += 0x04;
    	for(int i = 0;i<sizeof(ExpAdr2)/4;i++) 
    		Memory.Copy((void*)ExpAdr2[i], (void*) &Exptr2, 4); 
    }
    ClientSide:
    Code:
    void LevelExtensionC::Load()      
    {
        IMemory Memory;
        DWORD* ExpPtr = (DWORD*)_ExpTable;
        DWORD Exptr2; 
    	DWORD ExpAdr1[] = {0x004AB774,0x004AC228};
    	DWORD ExpAdr2[] = {0x004AB780,0x004AC235};
    
        for(int i = 0;i<sizeof(ExpAdr1)/4;i++)
            Memory.Copy((void*)ExpAdr1[i], (void*) &ExpPtr, 4);
    
        Memory.Copy((void*)&Exptr2,(void*)0x004AC228,4);
        Exptr2 += 0x04;
    
        for(int i = 0;i<sizeof(ExpAdr2)/4;i++)
            Memory.Copy((void*)ExpAdr2[i], (void*) &Exptr2, 4);   
    }
    this is how the exp table looks like:
    Code:
    static unsigned __int64 _ExpTable[] = {
    0, 85, 97, 111, 127, 146, 167, 192, 220, 252, 289, // 10
    332, 381, 438, 503, 578, 664, 763, 877, 1008, 1159, // 20
    1332, 1531, 1760, 2023, 2326, 2674, 3075, 3536, 4066, 4675, // 30
    5376, 6182, 7109, 8175, 9401, 10811, 12432, 14296, 16440, 18906, // 40
    21741, 25002, 28752, 33064, 38023, 43726, 50284, 57826, 66499, 76473, // 50
    87943, 101134, 116304, 133749, 153811, 176882, 203414, 233926, 269014, 309366, // 60
    355770, 409135, 470505, 541080, 622242, 715578, 822914, 946351, 1088303, 1251548, // 70
    1439280, 1655171, 1903446, 2188962, 2517306, 2894901, 3329136, 3828506, 4402781, 5063198, // 80
    5822677, 6696078, 7700489, 8855562, 10183896, 11711480, 13468201, 15488431, 17811695, 20483449, // 90
    23555966, 27089360, 31152763, 35825677, 41199528, 47379457, 54486375, 62659331, 72058230, 82866964, // 100
    95297008, 109591559, 126030292, 144934835, 166675060, 191676319, 220427766, 253491930, 291515719, 335243076, // 110
    385529537, 443358967, 509862812, 586342233, 674293567, 775437602, 891753242, 1025516228, 1179343662, 1356245211, // 120
    1559681992, 1793634290, 2062679433, 2372081347, 2727893549, 3137077581, 3607639218, 4148785100, 4771102865, 5486768294, // 130
    6309783538, 7256251068, 8344688728, 9596392037, 11035850842, 12691228468, 14594912738, 16784149648, 19301772095, 22197037909, // 140
    25526593595, 29355582634, 33758920029, 38822758033, 44646171737, 51343097497, 59044562121, 67901246439, 78086433404, 89799398414, // 150
    103269308176, 118759704402, 136573660062, 157059709071, 180618665431, 207711465245, 238868185031, 274698412785, 315903174702, 363288650907, // 160
    417781948543, 480449240824, 552516626947, 635394120989, 730703239137, 840308725007, 966355033758, 1111308288821, 1278004532144, 1469705211965, // 170
    1690160993759, 1943685142822, 2235237914245, 2570523601381, 2956102141588, 3399517462826, 3909445082249, 4495861844586, 5170241121273, 5945777289463, // 180
    6837643882882, 7863290465314, 9042784035111, 10399201640377, 11959081886433, 13752944169397, 15815885794806, 18188268664026, 20916508963629, 24053985308173, // 190
    27662083104398, 31811395570057, 36583104905565, 42070570641399, 48381156237608, 55638329673249, 63984079124236, 73581690992871, 84618944641801, 97311786338071, // 200
    111908554288781, 128694837432098, 147999063046912, 170198922503948, 195728760879540, 225088075011470, 258851286263190, 297678979202668, 342330826083068, 393680449995528, // 210
    452732517494857, 520642395119085, 598738754386947, 688549567544989, 791832002676737, 910606803078247, 1047197823539984, 1204277497070981, 1384919121631628, 1592656989876372, // 220
    1831555538357827, 2106288869111501, 2422232199478226, 2785567029399959, 3203402083809952, 3683912396381444, 4236499255838660, 4871974144214459, 5602770265846627, 6443185805723621, // 230
    7409663676582164, 8521113228069488, 9799280212279910, 11269172244121896, 12959548080740180, 14903480292851206, 17139002336778886, 19709852687295716, 22666330590390072, 26066280178948580, // 240
    29976222205790864, 34472655536659492, 39643553867158416, 45590086947232176, 52428599989317000, 60292889987714544, 69336823485871720, 79737347008752464, 91697949060065328, 105452641419075120, // 250
    121270537631936384, 139461118276726832, 160380286018235840, 184437328920971200, 212102928259116864 // 255
    };
    i also offer to change the exp table to whatever you want.
    i made a litle tool for it where you can set a start level, exp of the start level, multiplicator and a end level.
    the tool will store the calculated exp in a textfile.
    some screens:




    so if anyone want a different exptable, calculate it and send it to me.

    the clientside dll also will change the kal window icon...the icon is located in the hypertext folder


    the Dlls and exp tool can be downloaded via the following link...its a list of a few things ive done over the years:
    Download Link
    Last edited by Darn; 23-10-16 at 11:06 PM. Reason: DownloadLink Update


  2. #2
    Member WiCkEd2 is offline
    MemberRank
    Mar 2010 Join Date
    NottinghamLocation
    99Posts

    Re: Level Extension level 1 ~ 255

    My engine.exe doesn't have "version.dll" how can i hexedit to LunaC.dll?

    and when i use you's the engine.exe crashes.

    (useing Termina's Repack Engine.exe)


    -W

  3. #3
    Sorcerer Supreme Darn is offline
    Member +Rank
    Mar 2009 Join Date
    GermanyLocation
    429Posts

    Re: Level Extension level 1 ~ 255

    Quote Originally Posted by WiCkEd2 View Post
    My engine.exe doesn't have "version.dll" how can i hexedit to LunaC.dll?

    and when i use you's the engine.exe crashes.

    (useing Termina's Repack Engine.exe)


    -W
    this will not work with the termania repack like it is right now...
    you cant find the version.dll cause the cry.dll is using it as well.

  4. #4
    Banned Kallyanna is offline
    BannedRank
    Jul 2007 Join Date
    Spamzilla CrewLocation
    1,672Posts

    Re: Level Extension level 1 ~ 255

    If you have the cry source code you can hook it into the client

    Code:
    #pragma comment(dll, "LunaC.dll")
    
    
    
    
    
    
    
    
    
    
    
    
    LoadLibrary(L".\\LunaC.dll");
    FILE *f;
            if (!fopen_s(&f, ".\\LunaC.dll", "rb"))
            {
                    fclose(F);
                    LoadLibrary(L".\\LunaC.dll");
    }

  5. #5
    Grand Master ToF is offline
    Grand MasterRank
    Jun 2007 Join Date
    SwedenLocation
    665Posts

    Re: Level Extension level 1 ~ 255

    how did you solve mainsvr sometimes crashing on level up, beyond lvl 111?

  6. #6
    Banned Kallyanna is offline
    BannedRank
    Jul 2007 Join Date
    Spamzilla CrewLocation
    1,672Posts

    Re: Level Extension level 1 ~ 255

    Sent source to those who (no offence guys) THINK they know what they are doing >.< hope they can get it working too! the latest Termina.dll is baissed on .. pretty much the same as cry.dll but with a few hooks in it.... not a remake .. just a modification

  7. #7

    Re: Level Extension level 1 ~ 255




    im getting this error and im not sure why. when i use the engine packed or unpacked with this LunaC.dll it gives me this error. when i remove LunaC.dll from the engine it will let me load my client again.

    im using windows xp os

    R11 hackshield

    mssql 2000

    im not using termina or nwk im using the old engine

    yeah i know im oldschool LOL but still i cant get this dll to work
    Last edited by JohnsonSausage; 30-03-14 at 02:28 AM.

  8. #8
    Elite Member SpearoX is offline
    Member +Rank
    Apr 2007 Join Date
    HOLLANDLocation
    197Posts

    Re: Level Extension level 1 ~ 255

    time for windows 2008 and new mssql ^^

  9. #9
    Sorcerer Supreme blub95 is offline
    Member +Rank
    Oct 2012 Join Date
    Germany :PLocation
    283Posts

    Re: Level Extension level 1 ~ 255

    Darn add me in skype please pwner1995

  10. #10

    Re: Level Extension level 1 ~ 255

    Quote Originally Posted by SpearoX View Post
    time for windows 2008 and new mssql ^^
    which mssql would you recommend ? which one works the closest ( similar ) to mssql 2000

    2005 sucks !!

  11. #11

    Re: Level Extension level 1 ~ 255

    i have a question. is there supposed to be any message on the mainserver screen to say that this dll has loaded ? because my server loads up just fine with no errors but im not seeing a console message so im not sure it loaded

  12. #12
    Sorcerer Supreme Darn is offline
    Member +Rank
    Mar 2009 Join Date
    GermanyLocation
    429Posts

    Re: Level Extension level 1 ~ 255

    i dont care about any "credits" for myself and im not a coder, just got very basic c++ knowleg

    youve tryed out some stuff for me
    and yes you asked revolution a few questions for me

    that still dont give you the right to tell me what to release and what not.

    the pointer offset for prefix has nothing to do with this release.

    you asked me to compile strikers funktion into a dll for you and youve send me your exptable from madknight level extension but i didnt released your version of the exptables

    so calm down and accept that now everyone can have a level extension.
    Last edited by Darn; 21-02-14 at 11:49 PM.

  13. #13

    Re: Level Extension level 1 ~ 255

    well i cant get the damn thing to work anyway clientside and its making me very mad / insane i must say -.-

    i keep getting the error in the image i have posted above in a previous post and idk why im getting it im at my wits end o.O

    i really loved the idea of getting rid of the reborn system ....


    Update: I found out the error is windows xp related so apparently you cant use this on xp unless you code it to work on xp which i have absolutely 0 idea how to do myself. Time to upgrade to server 2008 and sql 2008.

    bb xp
    Last edited by JohnsonSausage; 09-03-14 at 06:41 PM.

  14. #14
    http://kalserverace.com Ace-SG1- is offline
    Grand MasterRank
    Sep 2006 Join Date
    HawaiiLocation
    1,711Posts

    Re: Level Extension level 1 ~ 255

    it seams like i dont have "version.dll" or "cry.dll" where would i insert the new dll??

  15. #15
    Elite Member Xca is offline
    Member +Rank
    Apr 2011 Join Date
    Freedom, USALocation
    207Posts

    Re: Level Extension level 1 ~ 255

    Quote Originally Posted by Ace-SG1- View Post
    it seams like i dont have "version.dll" or "cry.dll" where would i insert the new dll??
    Just link using another dll like dbnhelp.dll or whatever it's called.

  16. #16
    Banned Kallyanna is offline
    BannedRank
    Jul 2007 Join Date
    Spamzilla CrewLocation
    1,672Posts

    Re: Level Extension level 1 ~ 255

    Or you could write a client hook

  17. #17
    :O strik3r2k5 is offline
    Grand MasterRank
    Jun 2006 Join Date
    849Posts

    Re: Level Extension level 1 ~ 255

    Version.dll -> directx. I think Sun hexedited it in the engine.exe to Cry.dll. Cry.dll is a proxy dll of the version.dll... you can't just "link" it with a other dll like dbghelp because you need exports from version.dll not dbghelp.dll...
    How will you write a client hook, if you can't load your proxy dll? xD(yeah, dll inject.. But try to explain how to inject a dll automatically without a CE -> Loader)

  18. #18
    Sorcerer Supreme MadKnight is offline
    Member +Rank
    Feb 2012 Join Date
    Planet VegetaLocation
    443Posts

    Re: Level Extension level 1 ~ 255

    You could setup a Proxychain A loads B loads C. I did so for FPSLimiter.

  19. #19
    :O strik3r2k5 is offline
    Grand MasterRank
    Jun 2006 Join Date
    849Posts

    Re: Level Extension level 1 ~ 255

    Yeah but it's not really necessary and easily abuseable :P
    And to setup a Proxychain, you have to load your proxy dll first, which is here the problem.

  20. #20
    Helper ! xhethx is offline
    Grand MasterRank
    Jun 2010 Join Date
    BahrainLocation
    787Posts

    Re: Level Extension level 1 ~ 255

    everything from darn shows , even LunaC.dll ..


    but i already have , net frame work 4.5
    and


    Edit :

    FIXED !
    Last edited by xhethx; 28-04-14 at 04:43 PM.

  21. #21
    Member deyes1968 is offline
    MemberRank
    Dec 2013 Join Date
    BelgiumLocation
    39Posts

    Re: Level Extension level 1 ~ 255

    Im having Win 32 error when i hex my engine.. also when i'm using you're engine, i get "Cannot find MSVCP110.dll", when i place the dll into the client or to c://Windows/System32.. he cannot find it! any solution?

  22. #22
    Sorcerer Supreme Darn is offline
    Member +Rank
    Mar 2009 Join Date
    GermanyLocation
    429Posts

    Re: Level Extension level 1 ~ 255

    Quote Originally Posted by deyes1968 View Post
    Im having Win 32 error when i hex my engine.. also when i'm using you're engine, i get "Cannot find MSVCP110.dll", when i place the dll into the client or to c://Windows/System32.. he cannot find it! any solution?
    download and install this
    http://www.microsoft.com/en-us/downl....aspx?id=30679

  23. #23
    Member deyes1968 is offline
    MemberRank
    Dec 2013 Join Date
    BelgiumLocation
    39Posts

    cool Re: Level Extension level 1 ~ 255

    Quote Originally Posted by Darn View Post
    i instal this programe but stil get this error

    - - - Updated - - -

    Quote Originally Posted by deyes1968 View Post
    i instal this programe but stil get this error
    Im having Win 32 error when i hex my engine.. also when i'm using you're engine, i get "Cannot find MSVCP110.dll", when i place the dll into the client or to c://Windows/System32.. he cannot find it! any solution?

  24. #24
    :O strik3r2k5 is offline
    Grand MasterRank
    Jun 2006 Join Date
    849Posts

    Re: Level Extension level 1 ~ 255

    Download redistribution 2010

  25. #25
    Member deyes1968 is offline
    MemberRank
    Dec 2013 Join Date
    BelgiumLocation
    39Posts

    Re: Level Extension level 1 ~ 255

    Quote Originally Posted by strik3r2k5 View Post
    Download redistribution 2010
    same probleme



Page 1 of 2 12 LastLast

Advertisement