Jump to content

wongerlt

Members
  • Posts

    559
  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    0%

Everything posted by wongerlt

  1. http://prntscr.com/26puoez try open your compiled dll with cff explorer and check export table. https://drive.google.com/file/d/16aF3PkU738rtx-bia9O_rUATL6zwDFH8/view?usp=sharing this ex. For interlude
  2. you can do with dll. example: main.cpp (its good or no idk, but its working fine.) #include "main.h" #include "Winuser.h" #include <process.h> void TitleReplaceHookThread(void *param) { DWORD pid = 0; DWORD current_pid = GetCurrentProcessId(); while(true) { Sleep(50); HWND hWnd = FindWindow(NULL, "Lineage II"); GetWindowThreadProcessId(hWnd,&pid); if(hWnd&&current_pid==pid) { SetWindowText(hWnd, "My Server Name"); break; } } } extern "C" DLL_EXPORT BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) { case DLL_PROCESS_ATTACH: HANDLE hThread; hThread = (HANDLE)_beginthread(TitleReplaceHookThread, 0, NULL); CloseHandle(hThread); break; } return TRUE; } main.h #ifndef __MAIN_H__ #define __MAIN_H__ #include <windows.h> #ifdef BUILD_DLL #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT __declspec(dllimport) #endif #endif compile and put ur dll file to ur l2 system folder. to compile you can use simple tool `CodeBlocks` and then use CFF Explorer 1. Open window.dll 2. Click Import Adder 3. Add dll file. 4. Select Exported function `DllMain@` and click Import by Name and then click Rebuild Import table. 5. save window.dll done.
  3. little edit in interface.u and server side. http://prntscr.com/26o1gu5 just use unused variable to send aug. data to client and in interface.u set it as augment.
  4. Client it self change speed in water if character is in `running state`. Move speed difference is big (from 0 to 100+...) between client side/server side.. So for now temporary fix is just set character move state to `walk` in water. With it speed difference is only 0~5 max. Or maybe some one have better idea?
  5. really not small different after one minute of swimming http://prntscr.com/25qb8ex Just tested one thing, if i set char. to walk then while swimming char. uses running speed and when i set to run then char. uses walk speed for swimming. (in client side), weird thing
  6. Then how correct x,y without z in water? tell me
  7. I mean when i send ValidateLocation packet to client while character is under water changes only x,y and heading. Seems z coordinate didn't work under water. And if i send packet with z coordinate which are highter than water height then working fine.
  8. Hello, How validate location in water? Now when i send validatelocation packet with x/y/z/heading changes in client only x/y/heading. its interlude bug or what?
  9. Easy peasy i have one simple PHP script. <?php $acis = glob("acis/*xml"); // npc folder acis. $npcs = array(); function one($string,$one,$two){ $s = @explode($one,$string); $s = @explode($two,$s[1]); return @$s[0]; } if (is_array($acis)) { foreach($acis as $filename) { $file = file_get_contents($filename); $file = explode("<npc",$file); unset($file[0]); foreach ($file as &$value) { $value = "<npc".$value; $id = one($value,'id="','"'); $type = one($value,'name="type" val="','"'); $level = one($value,'name="level" val="','"'); $aggro = one($value,'aggro="','"'); $npcs[$id] = array("type"=>$type,"level"=>$level,'aggro'=>$aggro); } } } $file = file_get_contents("npcnames.txt"); $file = explode("\r\n",$file); $client = array(); foreach($file as $npc) { $ex = explode(" ",$npc); $client[$ex[0]] = $ex; } // 0 - id // 1 - name // 2 - title // 3 - r // 4 - g // 5 - b // 6 - reserved foreach($npcs as $id => &$npc){ if($npc['type'] == "Monster"){ $client[$id][2] = $npc['level']." Level"; if($npc['aggro']>0){ $client[$id][3] = "FF"; $client[$id][4] = "FF"; $client[$id][5] = "FF"; } } } // print npcnames.... CTRL+U in browser. foreach($client as &$val){ echo implode(" ",$val)."\r\n"; } ?> you can adapt for any pack.
  10. Delete from `droplist` where `mob_id` IN(select `mob_id` from `raidboss_table` where 1) Just change names..
  11. Any info about ur Big problem? I can fix it for u but it will cost for u.
  12. you can try edit it with Resource Hacker just open window.dll from system folder and change Icon image.
  13. If its acis then u need geodata.
  14. in this place about 2k mobs, ofc with Provoke skill i cant take all mobs. But anyway not big lag, not like in dextroy video.
  15. what u think, acis not have bugs and other s...?
  16. but still something is wrong in ur server side. MMO_MAX_SEND_PER_PASS = 12, must work without lag with only 10+ mobs. https://mega.nz/file/Gc13lC6T#2aZj_JYa-zyvjvRD07uCpED0fQ_ZGZvXmL6sD1ao2n4 1. run L2Phx as admin 2. run l2.exe 3. login to server. 4. and u will see in l2 phx all packets client/server.
  17. im using frozen older rev. and there no problem like this. Tried with more than 2k mobs in one place everything work fine. Try write to chat something when monster hp bar freezes and if message late that mean ur pc instance busy with something else, i think, maybe one of ur mod. or something like that and its happens with all mobs? tried other not dinosaurs?
  18. They dont care anything until you pay to them. Just avoid them.
  19. yeah... and i tried to understand what a point to select mob which have lowest distance between other mob but not player.. totally nonsense
  20. how this nonsense must work? var closestTarget = targets.stream().min((o1, o2) -> (int) MathUtil.calculateDistance(o1, o2, false)).get();
  21. I created interface control for this if someone interested just pm.
  22. if(p.getIPAddress().contains(player.getIPAddress()) & & p.getObjectId() != player.getObjectId()) {
  23. firstly check with phx multisell packet it is send correct item id
  24. hmm, i have only one easy idea: example: when u send karma to client in server side change karma variable int mobskills = 75; int karma = 8564; int karmaplusmobskills = karma<<16|mobskills; then in interface ui script: _karma = _KARMAFROMSERVER>>16; _mobskilled = _KARMAFROMSERVER-(_karma<<16); something like this
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..