[Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

Page 1 of 2 12 LastLast
Results 1 to 25 of 29
  1. #1
    Darkness Member Kiosani is offline
    MemberRank
    Oct 2007 Join Date
    ArgentinaLocation
    1,276Posts

    thumbs up [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Well, as lately I was learning a new thing or two, I want to leave the full source code of my model of a DLL to extend the limit of items (Weapons / Sets) and also the limit of textures (Weapons / Sets) + offsets for the main Japanese version 1.03k (Season 4.6)

    Items.cpp file:

    Code:
    #include "StdAfx.h"
    #include "Items.h"
    #include "Utils.h"
    
    extern "C" _declspec(dllexport) void Items()
    {
        DWORD OldProtect;
        if(VirtualProtect(LPVOID(0x401000),4310016,PAGE_EXECUTE_READWRITE,&OldProtect))
    {	
    	//Items
    	//Main.exe support to: C8 = 200
    	//Main Offsets version: 1.03k (JPN)
    
      	*(BYTE*)(0x005D6C8C+3)  = 0xC8; //Helms
      	*(BYTE*)(0x005D6CD6+3)  = 0xC8; //Armor, Pants, Glowes, Boots  
      	*(BYTE*)(0x005D81DD+3)  = 0xC8; //Swords
      	*(BYTE*)(0x005D82B0+3)  = 0xC8; //Axes
      	*(BYTE*)(0x005D82ED+3)  = 0xC8; //Maces
     	*(BYTE*)(0x005D8343+3)  = 0xC8; //Scepters
      	*(BYTE*)(0x005D8399+3)  = 0xC8; //Spears
      	*(BYTE*)(0x005D83EF+3)  = 0xC8; //Shields
      	*(BYTE*)(0x005D845E+3)  = 0xC8; //Staffs
      	*(BYTE*)(0x005D84E6+3)  = 0xC8; //Sticks
      	*(BYTE*)(0x005D8523+3)  = 0xC8; //Bows
      	*(BYTE*)(0x005D8560+3)  = 0xC8; //Crossbows
    
    	//Textures
    	//Main.exe support to: C8 = 200
    	//Main Offsets version: 1.03k (JPN)
    
      	*(BYTE*)(0x005D80BE+3)  = 0xC8; //Helms
      	*(BYTE*)(0x005D8109+3)  = 0xC8; //Armor, Pants, Glowes, Boots
      	*(BYTE*)(0x005DA753+3)  = 0xC8; //Swords
      	*(BYTE*)(0x005DA8F1+3)  = 0xC8; //Axes
      	*(BYTE*)(0x005DA92E+3)  = 0xC8; //Maces
      	*(BYTE*)(0x005DA96B+3)  = 0xC8; //Scepters
      	*(BYTE*)(0x005DA9A7+3)  = 0xC8; //Spears
      	*(BYTE*)(0x005DAA02+3)  = 0xC8; //Shields
      	*(BYTE*)(0x005DAA3F+3)  = 0xC8; //Staffs
      	*(BYTE*)(0x005DAB6B+3)  = 0xC8; //Sticks
      	*(BYTE*)(0x005DACD4+3)  = 0xC8; //Bows
      	*(BYTE*)(0x005DAD11+3)  = 0xC8; //Crossbows
    }
    }
    Items.h file:

    Code:
    #ifdef _DLL_H_
    #define _DLL_H_
    #include <stdio.h>
    #include <windows.h>
    //extern "C" __declspec(dllexport) void Items();
    #endif
    NOTE: The others are the files in Winrar to herein below.

    DOWNLOAD FULL SOURCE

    Items.dll Compiled from shows & 100% functional

    DOWNLOAD FULL DLL COMPILED

    Credits: RMST, chris05 & Nemesis(Me).
    Last edited by Kiosani; 03-04-11 at 08:54 PM.


  2. #2
    IGCN Co-Founder drakelv is offline
    MemberRank
    Jun 2006 Join Date
    IGCN HQLocation
    1,002Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Quote Originally Posted by mauro07 View Post

    PS: I did this, because for example in the case of the main.exe 1.03k Japanese version.. when he wants to make the arrangement to extend the limit load of items / textures (with OllyDbg) breaks to put a value like: 7F = 127 (the maximum that supports any main.exe when it is changing with olly) but through the DLL can be placed without any kind of problem C8 = 200, and the main.exe not break or make Crash while loading...
    it crash because signed char is from -127 - 127, if u overpass it it will start count from -127 again and u cant have negative items , thats why main crash. to fix it you must change the data type in main.exe to unsigned char not signed. good luck

  3. #3
    Darkness Member Kiosani is offline
    MemberRank
    Oct 2007 Join Date
    ArgentinaLocation
    1,276Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    In Assembly Lenguaje:

    Signed char: 0 - 127

    Unsigned char: 0 - 512 (This method used by zemmatana with ENCClient.dll)

    Thanks drakelv :)

    ps: too must remove in main.exe with ollydbg some checks! ^^

    eg:

    Memory map of a Char

    (9) How char data type is represented in the memory?
    Ans:
    char data type may be signed or unsigned .Both has different memory representation.Both are 8 bit data type.
    unsigned char:
    All 8 bit is used as data bit.
    e.g memory representation of unsigned char a= 7;
    Binary equivalent of 7 is 111
    For 8 bit we will add 5 zero in the left side i.e 00000111
    In the memory:

    http://3.bp.blogspot.com/_uIwyaTjqYY...igned+char.bmp

    Here MSD is most significant digit and LSD is list significant digit.
    signed char:
    1 bit: signed bit
    7 bit: data bit
    Note: In C, negative number is stored in the 2’s complement format.
    Signed bit is 0: Number is positive.
    Signed bit is 1: Number is negative.

    e.g memory representation of char a=7;
    Binary equivalent of 7 is 111
    For 8 bit we will add 5 zero in the left side i.e 00000111
    Memory representation:

    http://3.bp.blogspot.com/_uIwyaTjqYY...gne+p+char.bmp

    It's easy, but for DLL method is better for the main.exe charge
    Last edited by Kiosani; 04-04-11 at 10:15 PM.

  4. #4

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Hello , if you somenoe will start flaming or / and spamming this thread i will start giving infractions.

    thanks for understanding

    KarLi*

  5. #5
    IGCN Co-Founder drakelv is offline
    MemberRank
    Jun 2006 Join Date
    IGCN HQLocation
    1,002Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    unsigned char is max 255 not 512 lol.. 1 byte max value = 0xFF (max value for 8 bits and 1 byte = 8 bits), for 512 it iwll be 0x200 10 bits. so first learn basics before trying to write things u dont understand
    Last edited by drakelv; 04-04-11 at 10:32 PM.

  6. #6
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Better read some documentation before you post something, some new coders may read your post and they got a wrong information.
    Here is a documentation of all data types available in windows systems for c++ Windows Data Types (Windows) .

    Also 8 bits can hold a maximum values of 11111111 which equals in hex 0xFF and in decimal 255.
    512 will require 2 bytes to be represented.
    (if you put 512 value in 8 bits you get crash)

  7. #7
    Account Upgraded | Title Enabled! juajua123 is offline
    MemberRank
    Aug 2010 Join Date
    203Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    does anybody know the offset for extending wings limit?, great job.

  8. #8
    Valued Member zemattana is offline
    MemberRank
    Jan 2008 Join Date
    BrasilLocation
    149Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    I free 512 items rewriting items load function doing all respective calls for all new item...

    In other words, I create a new loop to load new items, not just up the original loops limit.


    ====

    signed char = -127 - 127
    unsigned char = 0 - 256

    signed word = -32767 - 32767
    unsigned word = 0 - 65535

    signed dword = -2147483647 - 2147483647
    unsigned dword = 0 - 4294967295


    ====

    To create new wings, you have to create new CharSet, compatible with GameServer, not just free the slot for it.
    The new CharSet is for dont have any visual bug, the same for new pets.
    Last edited by zemattana; 08-04-11 at 03:13 PM.

  9. #9
    Account Upgraded | Title Enabled! boncha is offline
    MemberRank
    Oct 2008 Join Date
    254Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Quote Originally Posted by zemattana View Post
    I free 512 items rewriting items load function doing all respective calls for all new item...

    In other words, I create a new loop to load new items, not just up the original loops limit.


    ====

    signed char = -127 - 127
    unsigned char = 0 - 256

    signed word = -32767 - 32767
    unsigned word = 0 - 65535

    signed dword = -2147483647 - 2147483647
    unsigned dword = 0 - 4294967295


    ====

    To create new wings, you have to create new CharSet, compatible with GameServer, not just free the slot for it.
    The new CharSet is for dont have any visual bug, the same for new pets.
    you can share the code for gs 90 to fix new wings and pets ?

  10. #10
    Account Upgraded | Title Enabled! RIMBROS is offline
    MemberRank
    Apr 2008 Join Date
    Cd. Obregon Sonora (MEXICO)Location
    265Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Interesting, if you can call with me to make tests to added new pets and wings i have, one think can be usefully its make a optional player.bmd to load in game. cause something animations of the player in pets can be altered here, if its posible choose from 2 player.bmd files its posible choose not only the pet type, its posible also choose the pj size, and this give more options to the game.

  11. #11
    Valued Member dolhaps2000 is offline
    MemberRank
    Sep 2010 Join Date
    149Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    thats is also my problem...can you post some dll...i want to install the 4th wing on my server^^...

  12. #12
    Apprentice aecrimch is offline
    MemberRank
    Dec 2007 Join Date
    842Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    mauro, can u upload MSVCR90D.dll version="9.0.21022.8"? i need this ...

  13. #13
    Valued Member LoveBol is offline
    MemberRank
    Jul 2008 Join Date
    126Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    What's about 1.07V?

  14. #14

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Please reupload. :)

  15. #15
    Apprentice JoaoNetoADM is offline
    MemberRank
    Jan 2012 Join Date
    16Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Link off... Reupload Please. :D

  16. #16
    Apprentice aecrimch is offline
    MemberRank
    Dec 2007 Join Date
    842Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Quote Originally Posted by JoaoNetoADM View Post
    Link off... Reupload Please. :D
    here it is:
    Items.dll Source Offset 1.03k.rar | Game Front

  17. #17
    Enthusiast jambovt05 is offline
    MemberRank
    Jun 2011 Join Date
    34Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Quote Originally Posted by aecrimch View Post
    Mediafire please :(

  18. #18
    ^_^ ashlay is offline
    MemberRank
    Jun 2010 Join Date
    BrazilLocation
    888Posts
    Quote Originally Posted by jambovt05 View Post
    Mediafire please :(
    http://www.mediafire.com/?82kf2tcwdwgcgo8

  19. #19
    Enthusiast jambovt05 is offline
    MemberRank
    Jun 2011 Join Date
    34Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    Quote Originally Posted by ashlay View Post
    http://www.mediafire.com/?82kf2tcwdwgcgo8
    Thank very much :)

  20. #20
    Member SaintZeus is offline
    MemberRank
    Sep 2006 Join Date
    89Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    offser for fix textures for main 1.03K? plz

  21. #21
    Member SaintZeus is offline
    MemberRank
    Sep 2006 Join Date
    89Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    offser for fix textures for main 1.03K? plz

  22. #22
    Member SaintZeus is offline
    MemberRank
    Sep 2006 Join Date
    89Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    offser for fix textures for main 1.03K? plz

  23. #23
    Member strdekliko is offline
    MemberRank
    Apr 2014 Join Date
    59Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)


  24. #24
    Darkness Member Kiosani is offline
    MemberRank
    Oct 2007 Join Date
    ArgentinaLocation
    1,276Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    This source is old... and I think that maybe not work at 100%, now exists better methods ^^

  25. #25
    Valued Member ikenylee is offline
    MemberRank
    Apr 2011 Join Date
    145Posts

    re: [Release] Items.dll Source Codes + Offset Main 1.03k (JPN)

    @mauro07 Can you help me offset limit item
    Main: http://www.mediafire.com/?8yd3y7tke2cc5cy
    thanks!



Page 1 of 2 12 LastLast

Advertisement