flexio
-
Posts
82 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by flexio
-
-
bool IsSkillCooldown();
bool IsSkillCooldown(DWORD dwVnum, float fSkillPower);
- 1
- 1
-
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; } }
- 1
- 2
-
good idea but you forgot to archer skills with multiple hits. Example Arrow Shower will shot only once
- 1
-
i did everything from tutorial and it doesnt work. Can you help me please.
Teşekkür ederim
-
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.
- 1
-
opinion : you slept loooooooong time.
https://m.facebook.com/Metin2International/photos/a.206482792801606/2884778611638664/
- 1
-
failed = not exist
- 3
-
1. possible solution: if you have disk or DVD rom with name (D:) just rename it.
2. possible solution - downgrade graphics drivers
-
i can sell you solution for 5 euro.
- 1
-
Its really bad idea do own server if you dont know basic things.
-
Can you post screen of items in database? After reboot. Primary "window"
-
Change the logic and DO NOT USE DROPS VIA QUEST.
-
CH3HP DDoS
in Metin2
ch3hp is dead meme
-
1 hour ago, Kori said:
In my opinion I don't remove the packet encryption and I can't find lags on my server but your screen is a good thing I will test @flexio
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
- 1
-
1 minute ago, iMeleys said:
The Problem in my mind is following situation i know that on Metin2.DE on the first map1 blue , there stands arround mhm maybe 900 Players and the server doesnt give any lags out and i do not realy understand it i can make everything against it buy a perfect server and optimize so many things but it is not like on .DE and i do not understand that and thats why i learning so intensive C++ to understand that problem and solve it.. thats the problem whats going on in my mind.
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*
- 4
-
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).
- 1
-
fixed
- 1
-
I use this method in all dungeons(include devil tower) +- 2 months without any problem.
only with one more dit.
-
1 hour ago, hachiwari said:
Wtf? And after 300 seconds dungeon_dead_event will be executed even though you are logged in, because this he dont check if dunegon is empty..
?????????????????????????
- 1
-
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
- 1
- 1
-
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
-
CH3HP DDoS
in Metin2
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).
- 1
-
CH3HP DDoS
in Metin2
Head
he have to try it. It's easy fight with him. 4Head
- 2
-
CH3HP DDoS
in Metin2
On 12/31/2018 at 3:09 PM, PeaceMaker said:I've spoke with both of you , he's more decent than you are . Just sayin ^^
The guy is coolPeaceMaker is customer of Ch3HP, he have to write good about him or kiddo will ddos his server.
- 6
Destroy Item System
in Features & Metin2 Systems
Posted
item->RemoveFromCharacter();
M2_DESTROY_ITEM(item);