Jump to content

kLabMouse

Advanced members
  • Content Count

    17
  • Joined

  • Days Won

    2

kLabMouse last won the day on August 27 2016

kLabMouse had the most liked content!

Community Reputation

7 Neutral

2 Followers

About kLabMouse

  • Rank
    Cabin Boy

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. That's true. But MTU has nothing to do with it. What kind you are interested in exactly? there is quite a lot of them. Also. I think we are way to Offtopic here.
  2. MTU is not the thing that you simply control from application. Be aware, that, while network is packet based, the TCP is "Stream" therefor You can not control fully how packets will be sent over wire. If GateServer is a mess, then should abandon it right away before you get to GameServer.
  3. Possible. But need to patch MidnPower Engine to support intermediate animation transitions. Else it just looks ugly.
  4. There is no such thing available. The most close you can get, is 2nd password dialog or GM Mail dialog. But to be honest, there is not such function for NPC.
  5. Same. But detours is mostly for C. There is a few other similar that can handle __thiscall (class member call). and the ASM version I shown, is very similar to what I used for years now.
  6. https://www.microsoft.com/en-us/research/project/detours/ http://stackoverflow.com/questions/11048176/detouring-a-member-function-via-an-injected-dll http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-and-programs/wow-memory-editing/389635-src-c-yet-another-detour.html And How I did to load luajit: https://mega.nz/#!cxsQhSzQ!Ya9YTqygbPoofFHfeSwSua_ysYMc9eZr7EGRK_OTwdE and to all function inside GameServer. use something like API.asm with code: __imp__??3@YAXPAX@Z: dd 005FFCE6h proc ??3@YAXPAX@Z jmp dword [__imp__??3@YAXPAX@Z] endp align 10h To make Binary load your DLL. use "CFF Explorer" and add the "dummy" import function to import list. P.S. Please note, that Above examples where made for NASM and our own (unpublished) binary. So the offsets and code may not work for you.
  7. There is. Exchange existing lua to luaJIT and use FFI Or you can just Enable loading 3rd party libs, and compile luaffi for lua 5.0 that GameServer uses.
  8. This is called "Splicing" or some call "detour". There is a Lib called detours that does exactly what you need. Normally it can wrap around only functions as whole piece. But you can also detour pieces of functions if you can force to use absolute address and __naked functions. I solved this problem long time ago, using an a DLL written in NASM. All it did, is detoured predefined address to my own defined function. But sometimes, to call original functions, all you need is a simple function with jump to absolute address.
  9. 1.x don't have EXTENDED attributes. But You can probably use some other item Attributes. Like "Evil Crystal" item
  10. 2.x servers have something called EXTENDED Attributes. They are Character attributes that are used for daily quests. You can use them for Daily rewards too.
  11. Yes. LUA locks all the other threads that will call LUA or work with Characters. That's why Server has FPS rate. And with each additional LUA code, or more complex lua functions, situation is getting more and more worth. This is just a small price to pay for modifying existing code. And Structures, that is even more easy. Just dump .pdb
  12. there is so called ESTOP functionality
  13. I would better use Launcher that integrates with Facebook, and use client TOM system that was specially build for this task. It requires a DLL on AccountServer side, to auth the token given by player.
  14. The LUA solution is BAD. because Lua is single threaded, and everything else just locks before LUA does it's job. On the other hand, just duplicating same function with patch, and redirecting Skill Upgrade to use patched functions should solve the problem Why not? There is no limitation for Injected DLL.
×
×
  • Create New...