Перейти к содержанию

PointerRage

Постоялец
  • Публикаций

    126
  • Зарегистрирован

  • Посещение

  • Победитель дней

    6
  • Отзывы

    0%

Весь контент PointerRage

  1. Из этого сообщения, я могу сделать вывод только один: Вы совершенно некомпетентны. Метод хранения геодаты в виде объектов, внутри которых примитивы, кушает где-то 3.8гб ОЗУ. Это факт и я его констатирую, для совсем уж "странных" людей. Все остальное может уходить на различные кеши для данных. Я напомню, что на скриншоте ТСа, мы видим онлайн 1 (это подразумевает далеко не лайв сервер, это опять же, замечание для "странных" людей) и полностью занятую ОЗУ. Причем тут мой "коллега" и как он связан с этим вопросом? Я говорю сейчас с Вами, а Вы со мной. Причем тут "переписывание всего с 0"? Держите глотание колес в секрете и не выносите на публику Вашу паранойю, в ином случае, Вам нужно будет принять пару кубиков эвтаназии. Никаких подсказок я не увидел, я увидел лишь некомпетентного человека, который попытался ввести в заблуждение топик-стартера, а так же, других людей, которые найдут этот топик поиском. За сим, я откланиваюсь, боюсь, что разговор окончен.
  2. А я вижу, что Вы несете полную херню, в которой сами не разбираетесь, вводя в заблуждение других людей и не более того. Бывает.
  3. А я вижу Вы любитель поспорить. Люблю обламывать людей, и так, поехали. Если под "не загружается на 100% ОЗУ" имелось ввиду кушанье памяти более чем 7** мб на геодату, то рекомендую пойти почитать, как минимум, спеку джавы и JVM, какой происходит оверхед при выделении памяти на объект и на массив примитивов. Это чтобы понимать хотя бы, о чем я говорил выше. Далее, очень желательно, прежде чем писать, хотя бы, ознакомиться с методом хранения данных в геодвижке. Не умеем и не можем? Нет проблем, я расскажу: 1. Выделяется 3х мерный массив блоков геодаты. 2. На каждый блок геодаты (их в одном регионе 65535 штук) создается объект определенного типа блока: - Flat, который содержит только два байта - Complex, который содержит 192 байта - Multilevel, который содержит от 192 байтов до 12 мб В каждом объекте блока хранятся уже готовые данные, которые не требуется собирать побайтово. И так, у нас имеется: Object[][][] pew = new... Для примера, в объекте представляющим complex-блок будет чето типа: short[] pew1 = new short[64]; byte[] pew2 = new byte[64]; Где же хранятся данные, если не в хипе? Мне правда очень интересно, может быть я пропустил один из JSR-ов новых и что-то изменилось? Или может быть была изменена JMM? Ах да, можете запустить у себя чето типа: MyClass[][][] test = new MyClass[83][83][65535]; for(int i = 0; i < 83; i++) { for(int j = 0; j < 83; j++) { for(int k = 0; k < 65535; k++) { test[i][j][k] = new MyClass(); } } } static class MyClass { short[] test1 = new short[65]; byte[] test2 = new byte[65]; } И посмотреть расход памяти после этого. Единственное, что, я выбрал довольно хороший размер массива, паддинга будет меньше, чем в реальной ситуации. Едем дальше. Если речь идет о мэппинге, то идем и курим чето типа этого и все станет сразу ясно на счет MappedByteBuffer, включая то что, данные могут содержаться в памяти, если это требуется, а так же, что это все говно может рефлектится на win в файл подкачки.
  4. Это не ошибка в коде, чуть выше есть мое сообщение, если что. Мэппинг можно производить только через MappedByteBuffer, но для хранения используется примитив. Вся геодата загружается в этой версии движка, в примитивный массив (i.e. byte[]). Если разговор о системе динамической выгрузке/загрузке, то оно вообще работает по иному и было выпилено, с хрен-его-знает-какой-версии, т.к. было довольно медленным.
  5. Этого не сделал еще никто из коммунити ладвы и тут фокстрот переписал l2pcinstance & l2character? Смешно, ей богу.
  6. Структура нормальная, просто кое-кто не смог правильно импортировать проект в свою IDE. Должно выглядеть так: Либо, если используется IDEA, то каждая сурс папка - отдельным модулем. АИ конечно же так трудно найти, невозможно, я бы сказал. Эпик боссы работают на свои контроллерах/менеджерах и находятся, как можно догадаться, в ядре.
  7. Это никак не экономит ФПС. Никакого снижения количества пакетов от этого нет, следовательно рендер все так же тупит из-за обработки пакетов. l2iteminstance @Override public L2GameServerPacket[] getInfoPacket(L2PcInstance requester) { L2GameServerPacket[] packets = new L2GameServerPacket[0]; if(dropper != null) packets = ArrayUtils.add(packets, new DropItem(this, dropper.getObjectId())); else packets = ArrayUtils.add(packets, new SpawnItem(this)); L2GameServerPacket[] low = super.getInfoPacket(requester); if(low != null && low.length > 0) packets = ArrayUtils.addAll(packets, low); return packets; }
  8. PointerRage

    ШАРА Lucera3

    Зачем врать? У них свой форк от первой люцеры.
  9. Да ладно? Открою инфу по секрету - итсу крутится на форке второй люцеры и ни о каких ncs.SpawN ребята там не слышали.
  10. PointerRage

    ШАРА Lucera3

    Я просто оставлю это тут. Это мое виденье ситуации, по большей части "дамп потока мыслей", поэтому не надо удивляться, что все немного скомкано. Ах да, я так же, я не имею намеренья вести дискас, прочем, как и обычно. Я знаю сколько зарабатывают на серверах, если это конечно не очередной говнопроект на локалочке. Негодовать на цену в 120 вечнозеленых? Lolwut? Эмуль - стоит намного больше, чем гребанные 120 баксов за покупку, и поверьте, я знаю о чем говорю, т.к. видел исходник Деза. Да, косяки мелкие есть, они есть у всех. Повторю, __у_всех__ и эмуль Деза - не исключение. Опять же, я не знаю, в каком мире надо жить (видимо в мире летающих пони и бесконечной радуги), чтобы отрицать это, но явно не в реальном. А теперь скажите мне, какой мразью надо быть, чтобы негодовать от цены в 120 баксов и при этом, зарабатывать на сервере деньги, которые на порядок выше озвученной цены на эмулятор? Яхз. Пасаны, то зажрались видимо. Называется - дожили, до момента, когда игроки выросли и решили открывать свои "крутые" сервера, бгг. Только, вот видимо, с возрастом ничего не меняется, а умение администрировать сервер - не появляется из воздуха, как показывает практика. Тех. поддержка? А она везде говно. Ни у кого нет желания нянчиться с псевдо-администраторами и участвовать в их становлении: "игрок->админ". И да, такие псевдо-администраторы, заведомо имеют фейловый сервер, т.к. у них обычно нет денег, не то что на рекламу, но и даже на нормальное оформление сайта. Вся суть таких серверов заключается в: подредактил конфиги на свой ыпышник, вставил юнитпей на стресс, слепил "нечто" в пеинте из рипов, проспамил ссылку на сервер на других серверах и топах - welcome, enjoy, труъ открытие. Противно. Я кончил, спасибо за чтение.
  11. Именно такой, свой датацентр, причем уже очень давно. Можете сходить и проверить, находится недалеко от датацентра укр телекома.
  12. PointerRage

    Lucera 2 r658 Source

    List of changes "RC9" Revison 658 to 739 (Unstable): Activity in the region are now separately for each instance. Changes on the use visible. not charging the double sorting. KnownListy drank. Remove some debris left by KnownList. Blocking version of the competitive card (analog L2Collection) Visibility range in size of the region, the client himself determines that shows the player. Implementation is not working EverybodyHasAdminRights (which is useful for debugging and testing). Rewritten decay-manager. Fixed bug with isAttackable. Debugged uploading region in the client. Mostly fixed jambs with AI. Removed a lot of unnecessary calls, with the addition of objects in the world. Small refactoring. Logic teleport to the point moved to the appropriate class L2TeleportLocation Some critical changes at the Olympics (in case it does not go down in the next release). Geoengine: failure at the ground - immediately teleport upstairs or in the city. The impossibility of matching cursed with open arms MANAGEMENT private buy / sell / crafting. Possible fix with teleportation from Cygnet / ground skills. Fixed take the player to the Target, if it is in Ebony (required for summons Friend, etc.) Correctly remove a player from the game, after he disconnect. New listener to the client - to change the status of the client to Fix visibility player. Removed calls reusable object removal of items from the region for. Removing the limiter only person on the sending DeleteObject in L2WorldRegion when removing the object from the region. Support for time adjustment spawn / respawn bosses. Of items are now also working on the system of regions, for nefig Fixed memory leak on login, you can put almost all server Lucera, with this bug. Fixed "flicker" NPC. Removed from RunnableImpl streams by default. Fixed quest Legacy of Insolence Drowned incomprehensible error when no character ai (and forcefully zanulleno). Geoengine: To switch routing points now uses the normal time, in milliseconds, that gives greater accuracy of routing. Geoengine: Removed restrictions on patchfind mobs. Geoengine: Removed general routing daemon handles. Geoengine: Added saving client coordinates for validation. Geoengine: Added for controlling the movement of a real player using client coordinates. All movement left for some demons and no longer stored in GameTimeController'e. Tiki is now considered as a separate task. Beautiful validation, if we cling to something. Dips are now generally should not be (well, as is now 100% teleports into town if fail). Remove the race condition on the logic authorization. Lag compensator in motion (for every action the player we pinging it, but no more than 5-seconds). Geoengine: Almost completely excluded from sticking to the walls (but still possible in some cases). Geoengine: Fixed magic attack / arrows through the wall (this bug only works when the distance was less than 64 points). Geoengine: divine test for achievement points at Roth. Geoengine: In moving now to consider the height Fixed Newbie buffer to summon. Removed tupnyak when picked object. Say "NO" dead mobs respawn after! Optimization of movement for the purpose of (now no wild pulling out of resources). The correct amount of Crystal at breakdown of weapon. Fix Target party type. Store at players - do not forget to clean their effects before pouring into the database. Status is now not always Broadcast state when changing the actual status. mobov need for which has not yet appeared in the world. The mode NO CARRIER, when the player disconected - his model left in the game on the server. In L2PcInstance added methods: kick (), logout (), restart (). Removed class Disconect. Moved config services.proerties, at the core of its configs transferred to ServiceConfig.java. Supports Ping compensator system NO CARRIER. Fixed wrong ID in hasta Newbie Buffer. Fixed an issue where mignon or leader agrilsya through RGM for the player, and the minions standing pillar until the player to make the first strike. Fractions for raid bosses and minions Fixed all the current problems with the offline-trader. Correction curve following (follou) Correction of calculating the minimum height Revison 739 to 840: More precise and correct definition of the desired layer geodata using the motion vector processing. Current formula laundered karma. Delivers the table multiplier washing karma to XML (using XStream). Delivers the table experience levels to XML (using XStream). Delivers the table experience levels to XML (using XStream). Priority launch systems server is moved to XML. Implemented abstractShutdown. Connected lombok Fixed bug with duplicate skill (when saving to the database). Removed object initialization of static. (Memory leaks) Fixed memory leaks on Olympus. Correction care invis (after logging in sight) Cancel Target when you remove the object. Fixed ignoring shield when attacking physical skills, U-turn on heading'u chars. Stir until the obstacles as Offe Geoengine: definition of diagonal points and check them for next lie in the same direction Geoengine: iterator line no longer starts from zero and is the first one. Geoengine: iterating the lines of geodvizhka module into the kernel (used for collision) Geoengine: Support collisions patchfindom Zone for crystals in the castle for "as Offe." Skill capture the castle Completely rewritten mechanism colisium doors. Completely rewritten doors and boot manager. Changed work with doors to the "big's Event" (siege, ki, etc.) on an individual menedzhement Written template loaders resources for xstream Moving past the new engines in packs ru.lucera 2 Individual management of doors for the clan hall. Crutch for captured KX who have no doors Optimization of the repository objects of the region (no dual search). Follow shall be divided into two types: the attacker and normal. When attacking, we turn off the call route, to achieve the objective. When curves teleport coordinates are not in the zero point, and the city. Correct message about closing the connection to the server when you exit the game. Correction overflow at Adena Trade. Do not handle conflict in the destruction / deco doors. Piece drank to init level doors. Rotate a character holding a blown gai update stage. Allow to drift mobs over longer distances. To mobs do not teleport, we send information about them in the transition to a different region, except our last. Now Ping is considered the average value of the last 10 and results. Fix bug "too crowded". Translation SkillHandler, UserCommandHandler, BypassHandler, RestartHandler under the general manager. Drank general manager updates the coordinates (700+ online at this translates into iterate over 20k objects). The system is now working on shatdauna WeakReference to enable Memory faces and situations where the object is no longer needed. A little drunk Trid pool manager (remove bicycles, etc.) Reducing the flow factor (and the processor context switch is engaged Trid, instead of real work). Fixed an exploit at auction for KX other currency Added lost clan halls for auction at their removal from the Clan Unpack the item is now using fractional chance Analysis of the Range and range of players receiving sending packets AOE now do not affect co-flagnutyh Allie If you cancel the action on the summons, he runs back to the owner Correction sepulchers. Correction delay (AI hampered, if not pursued when attacking mobs). Copying buffers search path at boot time, the creation of an adequate dynamic buffers. Correction second delays when trying to come to a standstill. Remove the lock on the vault door. It is not recommended to dynamically create an instance in the door (this applies to developers). Fixed problem with incredible load (AI constantly pulling on the return of the mob spawn point, thereby scoring AIshny Trid pool). Added option to disable the creation of dynamic buffers patchfinda. Errors in SkillHandler. Fixed jamb with the competitive objectives of the change in L2SiegeGuardAI. Die Unstable replaced by Stable. Revison 840 to 860: Thread-safe storage of Regions. Redesigned the process of removing an object from the world. Fixed friezes, finding ways in a place where there is no GEODATA. Fixed NPE in the Dimensional Rift Adjusted randomizer spawn points. Fixed configuration ForceUpdateRaidBossOnDB Removed reading interests package size of config Remove the mobs at the stage of activation of the region if they are in the textures. Game characters pursue the enemy without patchfinda Validation zone private trades when you click on the trade. Fixed sticking skills. Rewrote the quest [636] Truth Beyond in Java. Rewrote the quest [616] Magical Power Of Fire: Part 2 Fixed teleport dialogue in the quest [1630] Pagan Teleporters. The most important fix! Removed varnings of unused import in one of the custom scripts. Added coordinates missing seals. Fixed a bug stuck target with and with the inability to cast magic on himself after a teleport. Spawn statue Baium, if the server is already loaded with otresprelnnym Bai. Correction of the huge allocation for ERUs if phantoms using vast distances (now in this case they generally will not run). Deactivating the mobs if they fall into the texture. Correction of summons at the teleport. Correction of wild (despawn objects). Corrections config bosses. Revison 860 to 910: Javalution remove from the network (at least for a package runner), the memory is sometimes lashing the steeper punched hold in the vehicle. Rework of the code in the network. Fixed another deadlock. Fixed problem with double bodypainting. Fixed some shoals area Baium. Running through a task's Event Manager (a task manager runs initialization constructor, so run the task manually). Ban talking to the NPC being "on the courts." EXPERIMENTAL! Removed common tick-manager AI, now it ticks by region. This allows you to distribute the load very well the AI, because AI is now more than one handler and their one piece for each region (similar PTSke). In other words - now the AI will not blunt the world, but only in a particular region Correction triple trade. Mixed packages UI & CI. Now all is well Some amendments added processing tasks in a task manager. Fixed memory leaks in AI doors. Removed synchronized methods on the position. More or less normal synchronization adjustment client-server. Work config AllowTeleportInSiegeTown. Disabling QuestRequired for Baium. OlympiadDurationprovided the appearance of the week - adds as much as it is written, without equalization. Not outstanding heroism on winning fins Hero, if the player is already a hero. Four bowls: Spawn keyboks without randomness on the spot death of the last mob that would keyboks not gone out the door, for example. Parameter skill reuse delay for the Olympics. Example: set name="olympiadReuseDelay" val="7000" Revison 910 to 950:[/b] Adjust the height of the bosses at spawn, or they remove the server, because They spawn in textures. Team // banchat // banhwid and now applies to characters offline. Modified scripts Mammon. We derive the sync settings in the config file (for developers). Fixed deletion heroic weapons at the end of the period of the Olympic Games. Ray tracing system for debugging can see in geodata. Closed TODO in geodata to obtain a "floating" in height. Doors at the Coliseum somehow shifted to Cruma Tower. Fixed. Just remove the extra call to the preservation of property. Hotfix is ​​not found HTMLv quest [636] Truth Beyond. Normal event system spawn and events under the spawn init. Removed option to Announce Spawn Mammon (go private extension service). Support the Singleton pattern in extensions. Drank incomprehensible shit in the SS (it there are many more, enjoy!) Removed Halisha and boxes of Maine spawn, because they already are in a separate document four bowls. Adjusting the height increase visibility at Tracy. Increase the number of buffers patchfinda default, that would not drive memory online. fixed: After Baium sleep - a statue appears. Adequate water treatment geodata. Quest [610] Magical Power Of Water Part 2 is transferred to the nucleus. Correction of minor bugs: NPE, crooked cast. Removed crutch to remove the mobs of the walls. Fixed underutilization of the world at the entrance to the game after departure when the no carrier Raised spawn in Bee Heive. PTS spawn complete synchronization with the server off. Revision 950 to 1005: Move controller proof of concept Fixed lags before character casting Fixed moving in water Debuging pathfind Fixed lags before pickup items from ground Fixed backward NPC to spawn point if NPC lost target Fixed cansee in few moments Fixed loading all tasks with equals names Fixed decay few NPC types Reworked SS methods Fixed bug with incorrect item count in trade Reworking few olympiad code parts (fixed bug with noback from olympiad) Remove RegenTaskManager
  13. PointerRage

    Lucera 2 r658 Source

    Ищите Глубинный® Смысл™?
  14. PointerRage

    euro-pvp

    Ну цена там была точно не 150 000 рублей У меня он есть на руках так то, сеть очень и очень сильно похожа на лостворлдовскую. Хотя может быть это и оверовская. Не в курсе, какие там отличия по сетям между ними
  15. PointerRage

    euro-pvp

    Если Вы говорите про то что стоит на евро-пвп (на самом деле), то никаких его заслуг там нет, тем более с сетью. Фокстрота оттуда уже давно выгнали и работают там совершенно другие разработчики (уже давно, кстати говоря). Сеть там полностью асинхронная на НИО 2.0. Если Вы говорите о том, что было в основе у евро-пвп, т.е. эмуль поддерживаемый фоксом, то там цена далеко не 150 000 рублей (уберите один нолик, получите цену), а сеть там скопипащена из лостворлда.
  16. Извините конечно, но откуда вы знаете доходы предпоследнего открытия итсу, если вы не его владелец?) Шадоу, перелогинься же.
  17. 4 гб олдген хипа для старта (кеши и т.д.), плюс 1 гб ньюген хипа, который постоянно чистится GC. В сумме 5 гб для работы на 1000 онлайна. Графики можно посмотреть выше. Questions?
  18. Throws: IllegalArgumentException - if the new maximum is less than or equal to zero, or less than the core pool size javadoc
  19. PointerRage

    Lucera RC9(Вопрос)

    Что бы декомпилировать, для начала надо распаковать байткод до нормального вида. Не думаю, что у Вас это получится. К тому же, при отвязке, скорее всего, отвалятся все моды.
  20. Запуск и инжект STARTUPINFO si; ZeroMemory(&si, sizeof(si)); si.cb = sizeof(si); PROCESS_INFORMATION pi; ZeroMemory(&pi, sizeof(pi)); if(CreateProcess(_T(CLIENT), _T(CLIENT_FLAGS), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi) == FALSE) { printf("Failed start process!\r\n"); return 0; } printf("Started process %d\n", pi.dwProcessId); HANDLE pHandle = pi.hProcess; LPVOID loadLibHandle = (LPVOID)GetProcAddress(GetModuleHandle(_T("kernel32.dll")), "LoadLibraryA"); LPVOID allocMem = VirtualAllocEx(pHandle, NULL, strlen(INJ_DLL), MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); WriteProcessMemory(pHandle, allocMem, INJ_DLL, strlen(INJ_DLL), NULL); HANDLE rThread = CreateRemoteThread(pHandle, NULL, NULL, (LPTHREAD_START_ROUTINE)loadLibHandle, allocMem, 0, NULL); WaitForSingleObject(rThread, INFINITE); printf("Inject success!\n"); VirtualFreeEx(pHandle, allocMem, strlen(INJ_DLL), MEM_RELEASE); CloseHandle(rThread);
  21. Наркоман? Как бы лостворлд был проектом гитао. Пока он не бросил им заниматься. На данный момент абус крутится именно на дополненных лостах. Еще можно вспомнить наногейм и другие. И да. Яверия не на лостах, если что. Там был синх с лостами, но там не они
  22. PointerRage

    Rebellion-Team

    Я где-то писал, что эти новые ребеллионы "х**сосы"? Перепрочитай мое сообщение, родной. Я в глаза не видел их исходника и уж никак не могу судить. Надо внимательнее быть, так то. Хотя у меня вызывают некоторые сомнения всякие "оптмизации байдкота". LOL. И причем тут вообще ребеллион? То, что ты общался с некоторыми людьми оттуда? Все? Просто я не люблю, когда люди цепляют себе "медальки" за просто так, либо выдают то, чего и в природе не было. Я говорю, в частности, именно о "ребеллионе", который обсуждается в этом треде. И да, еще веселье, на сколько я помню, Феликс не был в ребеллионе Могу ему написать, спросить, если что. Он овнил L2Dream в то время и свой проект. P.S: а где слухи то? никаких слухов, лишь правда, которая может резать глаза некоторым. P.P.S: ну давай не будем заводить тему о JTS?)
×
×
  • Создать...