Jump to content

Asheraf

Core Developers
  • Content Count

    252
  • Joined

  • Last visited

  • Days Won

    33

Posts posted by Asheraf


  1. Macro Detection Interface

     

    Four new client interfaces are getting implemented in Hercules:

    - Macro Register UI

    - Macro Detector UI

    - Macro Reporter UI

    - Captcha Preview UI

     

    Usable though the chat commands: /macro_register, /macro_detector, macro_preview for all clients starting 2016-06-30.

    Available for testing now at: https://github.com/HerculesWS/Hercules/pull/3051

     

    Some sample images

    image.png.6ab2228cb6f9775d27af6b5628a2c693.png

    image.png.f202eee4de459a0501d7bea682bd1afa.png


  2. The athena way is what aegis uses, it reads the 4th dword in the cell info struct and compares it with the map water level read from the RSW, the code roughly looks like this (quick draft so i apologize if it's not so clear).

    {
    	std::ifstream gat_fs(filename, std::ios::binary);
    
    	VALIDATE_MAGIC(gat_fs, "GRAT", 4);
    	gat_fs.read(reinterpret_cast<char *>(&m_verMajor), sizeof(char));
    	gat_fs.read(reinterpret_cast<char *>(&m_verMinor), sizeof(char));
    	gat_fs.read(reinterpret_cast<char *>(&m_width),  sizeof(int));
    	gat_fs.read(reinterpret_cast<char *>(&m_height), sizeof(int));
    
    	m_cells.resize(m_width * m_height);
    	gat_fs.read(reinterpret_cast<char *>(m_cells.data()), m_cells.size());
    
    	std::for_each(m_cells.begin(), m_cells.end(), [idx = 0](struct CAttrCell &cell) mutable {
    		if (cell.flag == 1 || cell.flag == 5)
    			m_TileInfo[idx] |= SVR_CELL_BLOCK;
    		if (cell.flag != 1)
    			m_TileInfo[idx] |= SVR_CELL_ARROW;
    		if (cell.h1 > m_waterLevel) // m_waterLevel from RSW
    			m_TileInfo[idx] |= SVR_CELL_WATER;
    		++idx;
    	});
    	return 0;
    }

     


  3. 2 hours ago, Orca said:

    whats this about recreating the specialeffects? id pay you just to respond 

     

    do you have access to effects that werent included in the data.grf? If so i guess you must have some sort of packet viewer or something if you gotta make all the textures by hand again? 

    Also you didnt post this on rathena ? 

    Sorry im just a potato! 

    The data available in the GRF files is just the resources, the actual animation is done by the client code (which isn't public), basically his project is to look into decompiled client code and try to emulate these animations in roBrowser.


  4. Well, in kRO they never use it in that way but rather the questinfo notification is shown when the player did not accept the quest yet or have requirements finished (ex: all items were gathered). regardless of that I believe we should give the ability to do whatever you want.


  5. 29 minutes ago, Myriad said:

    Yep I updated to GCC 7.3 and can't enable it. It is working in one of my servers but I can't use it cause it's live.

    The other servers I tried I just keep getting 

    
    ./configure --enable-sanitize=full
    .
    ..
    ...
    checking for library containing inflateEnd... no
    configure: error: zlib library not found or incompatible... stopping
    

     

    Then install zlib1g-dev library since it clearly states it's missing


  6. Hello everyone, small announcement.. as of 2018-07-04aRagexeRE release the official client started using 4 bytes to process the item id, this mean we had to update every packet to increase this size, Thanks to the great work of @4144 you can check that out in #2126, please consider testing the pull request and reporting anything that you find broken :).

     

    *This update apply (for now) to the RE type of clients ONLY.*


  7. Hello, I'm sure i have answered this somewhere else but basically, Ragexe, RagexeRE, Ragexe_zero these are the client releases used on the official Korean servers in general there is few user interface differences and few features that may exist in one and not the others but eventually all of them get the features in later releases. as for Hercules I'd suggest the use of Ragexe or Ragexe_zero (zero only if you want something that exist in it..) because those are the main servers (RagexeRE are for a test server so some features can be broken in early versions) last thing your server build (pre-re or re) doesn't matter to the client you can run any version for any build you want.

    for nemo fork secret's  one is discontinued you can use this instead: https://gitlab.com/4144/Nemo

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.