Results 1 to 1 of 1
  1. #1
    Blashyrkh
    Blashyrkh is offline
    Guest
    Join Date
    2014 Jun
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    How to get structures for .data files (Angelica based games)

    First of all you need libtask.so and gs files (can be found in server package). Also you will need "gdb" for windows (or linux if you want work under linux).
    gdb have two usefull functions for that task - "ptype" and "info types".
    "info type" function is a search function. For example "info types GSHOP" result shows classes which contains "GSHOP" in name.
    "ptype" function shows full class information (from DWARF info of ELF file). For example "ptype _GSHOP_ITEM" shows full class
    Code:
    (gdb) ptype _GSHOP_ITEM
    type = struct _GSHOP_ITEM{
    unsigned int id;
    unsigned int num;
    char icon[128];
    struct{
    unsigned int price;
    unsigned int time;
    }buy[1];
    unsigned int props;
    int main_type;
    int sub_type;
    int local_id;
    int reputation_type;
    int reputation;
    unsigned short desc[512];
    unsigned short szName[32];
    }
    A small list of files struct names:
    • ATaskTempl - tasks.data dynamic data (libtask.so)
    • ATaskTemplFixedData - tasks.data fixed data (libtask.so)
    • elementdataman - elements.data (gs)
    • _GSHOP_ITEM - gshop.data (server side only) (gs)

    Try to find another structs for another files. Good luck.

Similar Threads

  1. [C#] Writing Bots for browser games based on http requests
    By Grooguz in forum Programming Tutorials
    Replies: 7
    Last Post: 2014-06-09, 04:38 PM
  2. [Help] Unpacking Codename data files
    By byflyer in forum General Game Research
    Replies: 0
    Last Post: 2014-01-06, 07:59 AM
  3. [Delphi] Update Files into Angelica pck
    By babaloveyou in forum Perfect World
    Replies: 0
    Last Post: 2013-09-05, 03:15 PM
  4. [Help] Unpacking data files
    By rsatdcms in forum General Game Research
    Replies: 0
    Last Post: 2013-05-04, 11:54 PM
  5. Phoenix Dynasty Data files modifying
    By Dwar in forum Other MMO
    Replies: 43
    Last Post: 2010-12-03, 06:01 AM
Visitors found this page by searching for:

Perfect world libtask.so dwarves

get structures for .data files Angelica based games

perfect world libtask structures

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •