Kafa
-
Posts
269 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Kafa
-
-
17 minutes ago, peakzinho said:
I have your problem...
if I kill mobs on the map, the new skill stops working and in addition the level is only temporary and the player's name is blackThe players name is black because you put the if condition for the name color in the wrong place. (Tutorial i wrong) in the same function at the bottom there are a couple of if ... return name shit you need to put the condition there. Then the black player name is fixed bro im on smartphone.
edit: im talking about InstanceBaseEffect
cpp
GetNameColorIndex
-
1 hour ago, arves100 said:
hello, the project is still alive, we just switched to C# and didn't update the post yet: https://gitlab.com/quantum-core/core-dotnet.
What do you mean by "why you guys dont want to allow us to create projects with this core?"
As far as i remember at the first time i read the blog, you dont wanted people to create private servers with this core or am i wrong?
-
I tested it and it works perfect.
-
Is this project still alive, and can i ask why you guys dont want to allow us to create projects with this core?
-
1 minute ago, FALLEN1 said:
I solved, in packet_info.cpp i put false.
There is a exploit where you can duplicate items with public one. WorldArd fixed it, but gl.
-
1 hour ago, North said:
I may find some time this weekend to do some local setup and work on a new version of this system as it's very basic, I cannot help right now as sadly I don't have metin2 stuff on my machine anymore
Would be great
- 1
-
10 hours ago, Finnis said:
M2 Download Center
( Internal )
( 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.
ma boy finnis
- 2
- 4
-
20 hours ago, DemOnJR said:
You need to edit this if you have errors:
data = ''.join([i for i in f if not i.lower().startswith(selItem.GetText())]) f.seek(0) f.write(data) f.truncate()
Still doesnt work same issue.
-
1 minute ago, Mali61 said:
like this?
void CHARACTER::GiveRandomItemByType(BYTE bType) { if (!(bType > ITEM_NONE && bType <= ITEM_BELT)) // my last item type is belt return; if (bType == ITEM_SKILLBOOK) { GiveRandomSkillBook(); return; } const std::vector<TItemTable>& vItemTable = ITEM_MANAGER::instance().GetTable(); if (vItemTable.empty()) return; while (true) { const int iRandIdx = number(0, vItemTable.size() - 1); const TItemTable& table = vItemTable.at(iRandIdx); if (table.bType == bType) { AutoGiveItem(table.dwVnum); break; } } }
char.h
void GiveRandomItemByType(BYTE bType);
USAGE:
character->GiveRandomItemByType(ITEM_ARMOR); character->GiveRandomItemByType(ITEM_BELT);
Exactly!
For those who wonder, why ?
I want to create a chest because my upgrade items have type ITEM_UPGRADE.
There are so many hundreds of upgrade items, i cant add all of them in special_drop, thats why i needed this function.
Thank you Mali!!!!!
- 2
-
42 minutes ago, Mali61 said:
char.cpp/ void CHARACTER::GiveRandomSkillBook()
Thanks but ITEM_SKILLBOOK was just an example. I want to use that function for something else bro..
By looking at ::GiveRandomSkillBook Function i cannot think about how i can change it like i want.
-
Hey boys,
can someone tell me how i can give a random item from a chest (char_item.cpp)
by item type? Example ITEM_SKILLBOOK. I want to give a random ITEM_SKILLBOOK type item to player.
-
2 hours ago, DemOnJR said:
If is missing something is because i don't remember from where i edited it an year ago.
accountlistwindow.py
{ "name" : "sterge", "type" : "button", "x" : 105, "y" : 265, "width" : 41, "height" : 21, "text" : "Sterge", "default_image" : "d:/ymir work/ui/public/small_button_01.sub", "over_image" : "d:/ymir work/ui/public/small_button_02.sub", "down_image" : "d:/ymir work/ui/public/small_button_03.sub", },
uiselectcredentials.py
After:
self.cancelButton.SAFE_SetEvent(self.__OnCancel)
Add:
self.stergeButton.SAFE_SetEvent(self.__OnSterge)
After:
self.okButton=self.GetChild("ok")
Add:
self.stergeButton=self.GetChild("sterge")
After:
def __OnOK(self): self.Hide()
Add:
def __OnSterge(self): self.Hide()
After:
def __OnOK(self): selItem=self.fileListBox.GetSelectedItem() if selItem: if self.selectEvent: self.selectEvent(selItem.GetText()) with open('user//preferred','w') as mainpg: mainpg.write("{};{}".format(selItem.GetText(),self.GetPwdFromId(selItem.GetText())) ) self.__PopupMessage("{} selectat, conecteaza-te apasand load.".format(selItem.GetText())) self.Hide() else: self.__PopupMessage("Nu ai ales niciun cont din lista.")
Add:
def __OnSterge(self): selItem=self.fileListBox.GetSelectedItem() if selItem: if self.selectEvent: self.selectEvent(selItem.GetText()) with open('user//credentials', 'r+') as f: data = ''.join([i for i in f if not i.lower().startswith(selItem.GetText())]) f.seek(0) f.write(data) f.truncate() self.__PopupMessage("{} a fost sters.".format(selItem.GetText())) self.__RefreshFileList() else: self.__PopupMessage("Nu ai ales niciun cont din lista.")
Thank you bro, but the delete function does not work properly, if i have following accounts in my list:
admin
admin2
tesajta
kofakk
it deletes both admin, admin2 together.
and then i cant delete tesatja, kofakk anymore.
There is no syserr.
-
Can someone show how to add delete button. ?
-
Imagine fly, swim, jump for all characters
jump&n run maps incoming
- 1
- 1
-
11 hours ago, cBaraN said:
Sorry, ido not keep old files on my computer, im not a good archivist
Mali released a function to sort the characters in intro select according to last played time. If you played character warrior last time he will be in the first slot so you can play him again by just pressing enter. If you misunderstood it‘s ok we are humans.
- 1
-
Hey guys, is it actually possible to load the .txt file from source? I dont want it to be in files .
I'm talking about mob_drop_item.txt etc.
-
-
12 hours ago, DrTurk said:
Yesterday i got problems, today after new attempt it works
Only thing that doesnt work is the stacking in safebox.
Edit: Could you upload your grid.h from common? I'm using the grid.h from libgame, want to check if they do the same
15 hours ago, Mali61 said:
Mali, im using your shopEx is it possible to stack items bought? If you buy 50 green potion 2 times currently you get 2x 50 stacks from it- 1
- 1
-
Would be interesting to see CHeck in
-
Can someone post this for shopex? Autostack?
-
You're not really expecting someone to help you, use a system from Worldard which got leaked or?
-
I made my strings like numbers some weeks ago, wish there would be a tool to make my ChatPacket(CHAT_TYPE_INFO, LC_TEXT(''1111'')); into your Format
-
3 hours ago, DemOnJR said:
thanks but can you make an example about how to use this? for the new people.
Bro read the posts he made a example..
-
40 minutes ago, B0ne said:
Nice System and works good, but my Character is Lv 120 (max) and if i change Conq.Lv to 1, the AttachTitle dont change
the normal playerlevel to conq. level
If i ride a horse, the level will be updated for 2 seconds and then change back to lv. 120
You did something wrong, for me everything works perfect.
- 1
Conquerors of Yohara Official Server Level System and Point System Update.
in Features & Metin2 Systems
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
You forget something try search for substate, sub, sungma keywords check if you have everything