-
Posts
162 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Deliris
-
M2 Download Center Download Here ( Internal ) Download Here ( Github ) Helloo! Someone asked if there's a way to scale buttons and since Metin2 doesn't support this by default, I decided to make this small tutorial. How to use? your_button.SetScale(scaleWidth, scaleHeight) E.g: self.costumeButton.SetScale(0.7, 0.7) Sincerly, Finnis.
-
Costumes and Discord RPC
Deliris replied to peakzinho's topic in Community Support - Questions & Answers
Replace: if (GuildID != 0) _snprintf(szBufName, sizeof(szBufName), "Name: %s - Guild: %s", CPythonPlayer::Instance().GetName(), &GuildName); else _snprintf(szBufName, sizeof(szBufName), "Name: %s", CPythonPlayer::Instance().GetName()); With this: if (GuildID != 0) _snprintf(szBufName, sizeof(szBufName), "Name: %s - Guild: %s", CPythonPlayer::Instance().GetName(), GuildName.c_str()); else _snprintf(szBufName, sizeof(szBufName), "Name: %s", CPythonPlayer::Instance().GetName()); char szLevel[256]; _snprintf(szLevel, sizeof(szLevel), "Level: %u", CPythonPlayer::Instance().GetStatus(POINT_LEVEL)); strcat(szBufName, szLevel); -
Block Duplicate Connection in OX Event
Deliris replied to Koray's topic in Hack Protection & Security
I think you haven't replaced the 'EnterAttender', remove the old function and use the one from this tutorial -
Costumes and Discord RPC
Deliris replied to peakzinho's topic in Community Support - Questions & Answers
Regarding the discord RPC, you could try something like this: #include "InstanceBase.h" #include "PythonCharacterManager.h" CInstanceBase* pkMainInstance = CPythonCharacterManager::Instance().GetMainInstancePtr(); char info[32 + 1]; snprintf(info, sizeof(info), "Level: %u", pkMainInstance->GetLevel()); activity.SetDetails(info); /* You can get other player's informations such as player name, empire id, duel state, alignment, race, etc using the same object 'pkMainInstance', you can get a list of these functions from InstanceBase.h. */ 'activity' is an object of type 'discord::Activity', you should adapt it to your source. -
item.cpp void CItem::ModifyPoints(bool bAdd) I think this is what you're searching for. When bAdd is TRUE it will give the bonuses, when it is FALSE it will remove them.
-
Good job, nice Thanks for the release
-
Good job! But if you continue releasing free things I think I will lose all my customers XD
-
SendChatPacket is from module "net", therefore you will need to use it like this: net.SendChatPacket(...) @xP3NG3Rxhas the "net" module renamed to "m2net", this is why you get that error @dedif2.
-
nEw TeAm MeTiN2DeV dEfInEtLy DoEs NoT COpE WiTH thE AdmInIstRaTiON oF ThIS FoRuM On topic: The important thing is that is online now
-
Hi, ASIKOO! Are you new here? Welcome!!
-
Am I the only one who thinks that it looked better then?
-
fix One method for Block Pro Damage from lalaker1
Deliris replied to Catalin2o14's topic in Bug Fixes
And now that you "released" it, what do you think will happen ?? -
I am looking for a good person to install systems
Deliris replied to Abraham's topic in Paid Support / Searching / Recruiting
I wish I was a good person too... -
Random Kicks Pay for the FIX
Deliris replied to Nemesis23's topic in Community Support - Questions & Answers
Fix sequence. Off: Next time use spoiler, please. -
You could insert into a vector the damage taken and the player instance or player id, doesn't really matter. After the boss is killed you can just loop through the vector and see who did the most damage. Hope it helped.
-
uirefine and itemVnum
Deliris replied to Cripplez's topic in Community Support - Questions & Answers
Maybe I'm wrong but I think you should make use of 'type' instead of itemVnum. You can get a list of all refine types from source. -
Show us cmd.cpp from game/src.
-
Guess what? All of them + client item and mob_proto.
-
@Raylee ....