Jump to content

flexio

Member
  • Posts

    82
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by flexio

  1. item->RemoveFromCharacter(); M2_DESTROY_ITEM(item);
  2. bool IsSkillCooldown(); bool IsSkillCooldown(DWORD dwVnum, float fSkillPower);
  3. its been long time since Ive written this feature. And its really bad, fix is more easier for uiinventory too. pythonslotwindow.cpp void CSlotWindow::__CreateSlotEnableEffect() { //__DestroySlotEnableEffect(); for (int i = 0; i < 3; ++i) { CAniImageBox* pEff = new CAniImageBox(NULL); //fix if (m_apSlotActiveEffect[i]) continue; //fix for (int j = 0; j <= 12; ++j) { char buf[64+1]; sprintf_s(buf, "d:/ymir work/ui/public/slotactiveeffect/slot%d/%02d.sub", (i+1), j); pEff->AppendImage(buf); } pEff->SetRenderingMode(CGraphicExpandedImageInstance::RENDERING_MODE_SCREEN); pEff->Show(); m_apSlotActiveEffect[i] = pEff; } } void CSlotWindow::ActivateEffect(DWORD dwSlotIndex, float r, float g, float b, float a) { TSlot * pSlot; if (!GetSlotPointer(dwSlotIndex, &pSlot)) return; for (int i = 0; i < 3; ++i) { //fix if (pSlot->pActiveSlotEffect[i]) continue; //fix CAniImageBox * pEff = new CAniImageBox(NULL); for (int j = 0; j <= 12; ++j) { char cBuf[72]; sprintf_s(cBuf, "d:/ymir work/ui/public/slotactiveeffect/slot%d/%02d.sub", (i + 1), j); pEff->AppendImage(cBuf, r, g, b, a); } pEff->SetRenderingMode(CGraphicExpandedImageInstance::RENDERING_MODE_SCREEN); pSlot->pActiveSlotEffect[i] = pEff; } }
  4. good idea but you forgot to archer skills with multiple hits. Example Arrow Shower will shot only once
  5. i did everything from tutorial and it doesnt work. Can you help me please. Teşekkür ederim
  6. i think turkmmo version have backdoor which allow get money from not owned shop. cmd_*.cpp command somethin like /get_shop_yang 5828(shop number). Check it.
  7. opinion : you slept loooooooong time. https://m.facebook.com/Metin2International/photos/a.206482792801606/2884778611638664/
  8. 1. possible solution: if you have disk or DVD rom with name (D:) just rename it. 2. possible solution - downgrade graphics drivers
  9. Can you post screen of items in database? After reboot. Primary "window"
  10. Change the logic and DO NOT USE DROPS VIA QUEST.
  11. flexio

    CH3HP DDoS

    ch3hp is dead meme
  12. For me lags happend when was 100+ players in view distance. Example delays for equip items. Edit from screen fix problem. And right, packet encryption primary changes auth/loading screen speed
  13. Primary problem with lags is in packet delay- I fixed it by disable packet encryption and little change in void CPythonNetworkStream::GamePhase() *inspired by martysama*
  14. About server performance. You don't need anything big, server is ready for X thousand players by default. Just do not be paranoid about perfomance things. I use novaline only with rewrited select querys to smart pointers, and updated boost. Tested with 2500+ online players without problem (i7-6700, freebsd 12, 32GB RAM, 6 channels). About client perfomance. First - Do not touch ymir texture files, Second - Do not use a lot of trees and objects on the map, Three - Be a good c++ programmer for rewrite some things (btw. i am not).
  15. I use this method in all dungeons(include devil tower) +- 2 months without any problem. only with one more dit.
  16. Fixed { // make when argument ostringstream os; while (lexstate.lookahead.token == '.') { next(&lexstate); os << '.'; next(&lexstate); t = lexstate.t; //if (t.token == TK_STRING) //t.token = TK_NAME; os << t; lookahead(&lexstate); } current_when_argument += os.str(); change to { // make when argument ostringstream os; while (lexstate.lookahead.token == '.') { next(&lexstate); os << '.'; next(&lexstate); t = lexstate.t; if (t.token == TK_STRING) t.token = TK_NAME; os << t; lookahead(&lexstate); } current_when_argument += os.str(); and in quest use when xxxx.chat."Global[get_language()].blacksmith._title" begin
  17. Hello i did simple multi lang system but with one problem. compiler dont work with [] in "when function" when xxxx.chat.Global[get_language()].blacksmith._title begin i think problem is in luaX_lex(liblua -llex.c) calling read_long_string function (luaX_lex) i just need skip this case for "when.. begin" without affect other quests functions case '[': { next(LS); if (LS->current != '[') return '['; else { read_long_string(LS, seminfo); return TK_STRING; } } (luaX_lex) after skip continue to this. else if (isalpha(LS->current) || LS->current == '_' || LS->current>=0xa0) { /* identifier or reserved word */ size_t l = readname(LS); TString *ts = luaS_newlstr(LS->L, luaZ_buffer(LS->buff), l); if (ts->tsv.reserved > 0) /* reserved word? */ return ts->tsv.reserved - 1 + FIRST_RESERVED; seminfo->ts = ts; return TK_NAME; } with defined something like. || LS->current == '[' || LS->current == ']',.. I tried it myself, but i dont have enough knowledge with liblua. I could cause other problems Does anyone know how to do or is there another possible solution? Thank you
  18. flexio

    CH3HP DDoS

    If somebody will have problem with ch3hp, just send me pm. But simply for not internationall server is good ovh + geo ip block in pf. And For internationall ovh + strong server with good pf rules, kernel limits,... or shit/strong server only with whitelist firewall (best solution for flood).
  19. flexio

    CH3HP DDoS

    Head he have to try it. It's easy fight with him. 4Head
  20. flexio

    CH3HP DDoS

    PeaceMaker is customer of Ch3HP, he have to write good about him or kiddo will ddos his server.
×
×
  • 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.