Jump to content

Mali

Honorable Member
  • Posts

    919
  • Joined

  • Days Won

    887
  • Feedback

    100%

Everything posted by Mali

  1. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) An event handler without thread and sleep for client source. You can add many things etc. Example: EventHandler::Instance().AddEvent("exampletest",[]() { IAbstractChat::GetSingleton().AppendChat(CHAT_TYPE_INFO, "Test Message"); }, 5, 10 ); // ten time, delay 5 sec.
  2. I never had such a claim but thanks ?
  3. #New sorting options added: sort: Asc,Desc,Vnum,Price,Name,Type ---------- You are looking for: Don't forget the change SHOP_TAB_COUNT_MAX from Server/length.h and Client/Packet.h
  4. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) Anyway now you can sell shop items with sockets and attrs at shopex. New price types. New sorting options Every Item can have different price type. price_type: 1:Gold 2:Second Coin 3:Item 4:EXP sort: Asc,Desc,Vnum,Price,Name,Type
  5. [Hidden Content] For this tutorial, your PC must supports virtualization technology. Benchmarks: 1- Enable virtualization technology(SVM Mode). I enabled at bios. But you can do this whit different ways: 2- Enable VT at VirtualBox: 3- Enable I/O APIC at VirtualBox: 4- Change Processor setting. Before check your CPU Core Count: Usage: Don't use gmake j command like: gmake -j20 Usage: gmake -j(core+1) Example I have 4 cores: gmake -j5
  6. use cmake gui([Hidden Content]) and convert. Example visual studio. Then download boost([Hidden Content]) for windows and copy to M2TxtToJson-master\3rd\modular-boost. Then build [Hidden Content]
  7. #Update: clang-devel-8.d20181024 -> clang-devel-9.0.d20190701 gcc9-devel: 9.0.0.s20181223 -> gcc9-devel: 9.1.1.s20190629 boost-1.69 -> boost.170 gdb-8.2 Make part-3 example src:[Hidden Content]
  8. Create /share/locale/xx/shop_table_ex.txt example table: Group ShopNPC { #--# NPC Group 1 9001 Shop1 2 9002 Shop2 } Group Shop1 { Vnum 9001 Name A1 CoinType SecondaryCoin Group Items { #--# Vnum Count Price 1 20009 1 20 2 469 1 20 3 39 1 20 } } Group Shop2 { Vnum 9002 Name A2 CoinType Gold Group Items { #--# Vnum Count Price 1 299 1 25000 } } Find in shopEx.cpp:(x2) ITEM_SECONDARY_COIN change whatever you want (need item vnum) Add locale_game.txt: MONETARY_UNIT_JUN SecondCoin Result:
  9. char_item.cpp INVENTORY_MAX_NUM / 2 change all 45
  10. add INVENTORY_PAGE_BUTTON_TOOLTIP_1 to locale_interface.txt
  11. Completely bullshit. You are declaring stQuestName: std::string stQuestName = pPC->GetCurrentQuestName(); if (pQS->quest_name.length() != 0) stQuestName = pQS->quest_name; But where is the control or check? You don't use it... why???
  12. M2 Download Center Download Here ( Internal ) Download Here ( Internal ) It's randomly selects items and gold from groups by job. and gives to player(s). Example table: Group oxrewardwarrior { #--# item count gold 1 20009 1 20000 2 12019 1 2000 3 299 1 12400 4 0 1 1461 5 469 1 1040 6 50011 100 20000 7 50070 1 10000 8 50072 1 50000 9 50073 1 10000 } Group oxrewardassassin { #--# item count gold 1 19 1 20000 2 69 1 2000 3 79 1 12400 4 89 1 1040 } Group oxrewardsura { #--# item count gold 1 99 1 20000 2 109 1 2000 3 129 1 12400 4 139 1 1040 } Group oxrewardshaman { #--# item count gold 1 149 1 20000 2 159 1 2000 3 169 1 12400 4 179 1 1040 }
  13. M2 Download Center Download Here ( Internal ) Download Here ( GitHub )
  14. {"2019.08.19 14:00", "hair", "event", "hairup", 1, " 4 hours ", "2019.08.19 18:00", 0}, local day_time = os.date("%Y.%m.%d %H:%M") source:[Hidden Content]
  15. But you are searching directly method name because you know the name. Other users won't know the method name. If you don't trust use like this: const char abc [] = { 'p', 'a', 'c', 'k' }; Py_InitModule(abc, s_methods); or: std::string abc = "p"; abc += "a"; abc += "c"; abc += "k"; Py_InitModule(abc.c_str(), s_methods);
  16. # Added GM command for easy to usage : /ipban chname P.S: List is updating when the game is starting.
  17. M2 Download Center Download Here ( Internal ) Download Here ( GitHub ) [Hidden Content] Create /usr/game/auth/BANIP. Then find IP at player.player ip table and add to file. Don't forget the left a space at the end. Example: Gm Command: [Hidden Content]
  18. std::vector<int> fish_map {113,41}; const auto it = std::find(fish_map.begin(), fish_map.end(), GetMapIndex()); if (it == fish_map.end()) return;
  19. Change TARGET like this: TARGET = ../output/gamename Also you can add new command like this: Strip, delete old game and replace new game to share install: strip -s ../output/gamename rm -rf /usr/game/share/gamename cp ../output/gamename /usr/game/share
  20. I checked all codes but I did not find any error in py codes. Then I checked ui enable/disable command at client src(PythonWindow.cpp) and I found little mistake. Now I fixed that code and bug solved. ->Update EterPythonLib/PythonWindow.cpp
  21. Fixed little memory leak at checkspace function
  22. For me; Best series: Breaking Bad: And movie: Forrest Gump: Other series; Lost Black Mirror Dr. Who Chernobyl Sherlock Merlin Narcos (Escobar ) Prison Break Better Call Saul Stranger Things (I don't like 3. season) Mr. Robot Money Heist The Last Airbender
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.