Kirosachi
Banned-
Posts
11 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Kirosachi
-
[Found] A little exploit
Kirosachi replied to Exygo's topic in Community Support - Questions & Answers
Damn, what is wrong? I give solutions for people, and i'm wrong? I was want to say: "You, they, them find this "exploit" with illumina.", a lot a people what have illumina have this function in onupdate :D. I know, is not related with topic, but from where they find this. I was want to say "this is not exploit", and need to change name title, you create confusion ugly for owner's. Exist a lot a things like this if you run on onupdate functions what sended packet, so this informations is not new. ^^ #english #shit -
[Found] A little exploit
Kirosachi replied to Exygo's topic in Community Support - Questions & Answers
So what is so hard to fix? make a timer global from server and not give permission to do something when current timer is < then global timer. Also people was used this net.SendGuildPostCommentPacket in OnUpdate for illumina, because not was make good refresh. -
[Found] A little exploit
Kirosachi replied to Exygo's topic in Community Support - Questions & Answers
This is not "exploit", already exist more things like this on communication with packets clientside-serverside, some mistakes from ymir to check something. But make a small check for arguments what was sended, and "exploit" is fixed in 3 lines. std::string str = argument before sended #define MAX_LEN 50 unsigned size; // Choice method to calculation size size = str.size(); size = str.length(); size = strlen(str.c_str()); // Method 1 if (size > MAX_LEN) return false; // Method 2 if (size > MAX_LEN) { str.resize(MAX_LEN); ch->ChatPacket(CHAT_TYPE_INFO, "std::string str = %s", str.c_str()); } -
LOW_WIZARD no GM icon in PM
Kirosachi replied to Defective's topic in Community Support - Questions & Answers
Yes, you have true, something like this (not tested): if str(self.targetName)[0] == "[": # Do something, show a image(logo), change color from name etc. -
That is so funny and really nice idea, good point. @Great If you already have finished, send me a pm with link client, i will test.
-
I dont know where you live, but i think in all country exist "tv", and as you can see on all programs speak about christmas and he played a lot a songs for christmas, and also on radio etc. If you live in a cave that's another story, let people enjoy the spirit of Christmas, nobody cares about your opinion on Christmas.Christmas is for everyone, and everyone enjoys it when he wants, you do not like, just have to ignore it and play Metin2 as obsessed. Merry Christmas.
-
You could do much easier tutorial, such as, for people tot understand: @//Add on /common/service.h #define ENABLE_COORDINATES_ON_COMMAND_USER @//1.) Search: int len = snprintf(str + str_len, sizeof(str) - str_len, "%-16s ", d->GetCharacter()->GetName()); @//2.) Replace with: #ifdef ENABLE_COORDINATES_ON_COMMAND_USER TMapSetting& map_setting = SECTREE_MANAGER::instance().GetMap(d->GetCharacter()->GetMapIndex())->m_setting; int len = snprintf(str + str_len, sizeof(str) - str_len, "%s (%ld,%ld)%-16s", d->GetCharacter()->GetName(),(d->GetCharacter()->GetX() - map_setting.iBaseX)/100,(d->GetCharacter()->GetY() - map_setting.iBaseY)/100,""); #else int len = snprintf(str + str_len, sizeof(str) - str_len, "%-16s ", d->GetCharacter()->GetName()); #endif Good release, thanks.
-
In my country all people do that now on tv and all listen these songs.
-
Packets communication
Kirosachi replied to flygun's topic in Community Support - Questions & Answers
Class Button have arguments to SetText for button, so this is: self.btnHorse = self.GetChild("buttonHorse") self.btnHorse.SetEvent(self.RecvSummon) self.used = 0 def AppendTextLine(self, token): if token == 1: self.btnHorse.SetText("Summon") else: self.btnHorse.SetText("UnSummon") def RecvSummon(self): if self.used == 0: net.SendPacketHorseSummon() self.AppendTextLine(2) self.used = 1 elif self.used == 1: net.SendPacketHorseUnSummon() self.AppendTextLine(1) self.used = 0