-
Posts
222 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by blaxis
-
Hi, I need check MySQL -> item -> window type from 50264 vnum item. Examp: char_item.cpp UseItemEx in CASE 50264: if (XXX == window_type) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("bla_bla_bla")); return false; } window_type = mysql -> item -> in 'window' column I try this; TItemPos Cell; BYTE window_type = Cell.window_type; if (MALL == window_type) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("bla_bla_bla")); return false; } but didn't work. Pls help me? Sorry for my bad english.
-
Hello there. I'm trying to add a system but couldn't solve these errors. 'Button' object has no attribute 'DisableFlash' 'EditLine' object has no attribute 'GetTextLineCount' DisableFlash and GetTextLineCount It's not in my files. How can I add these two?
-
official Chatting Window Renewal (Mini Version)
blaxis replied to Owsap's topic in Features & Metin2 Systems
First of all, thank you very much. item->GetName(); I edited all the lines containing it to CHAT_TYPE_ITEM_INFO but it's not working.. I think this happened after uninstalling DICE. I just removed it from uichat.py. I've never installed dice before, but are there still places where I need to remove it from the source codes? Maybe the line numbers don't match. All other features are working but the "Item" feature is not. -
Hello, I am having mirroring problem in evolution system. #ifdef ENABLE_WEAPON_EVOLUTION_SYSTEM len = snprintf(itemlink, sizeof(itemlink), "item:%x:%x:%x:%x:%x:%d", pPlayerItem->vnum, pPlayerItem->flags, pPlayerItem->alSockets[0], pPlayerItem->alSockets[1], pPlayerItem->alSockets[2], pPlayerItem->evolution); #else len = snprintf(itemlink, sizeof(itemlink), "item:%x:%x:%x:%x:%x", pPlayerItem->vnum, pPlayerItem->flags, pPlayerItem->alSockets[0], pPlayerItem->alSockets[1], pPlayerItem->alSockets[2]); #endif When I use this code, it gives the "syserr" error I specified. But "#else" is no problem. And uitooltip.py: def SetHyperlinkItem(self, tokens): minTokenCount = 4 + player.METIN_SOCKET_MAX_NUM maxTokenCount = minTokenCount + 2 * player.ATTRIBUTE_SLOT_MAX_NUM if tokens and len(tokens) >= minTokenCount and len(tokens) <= maxTokenCount: head, vnum, flag = tokens[:3] itemVnum = int(vnum, 16) metinSlot = [int(metin, 16) for metin in tokens[3:6]] if app.ENABLE_WEAPON_EVOLUTION_SYSTEM: evolution = int(tokens[6]) rests = tokens[6:] if rests: attrSlot = [] rests.reverse() while rests: key = int(rests.pop(), 16) if rests: val = int(rests.pop()) attrSlot.append((key, val)) attrSlot += [(0, 0)] * (player.ATTRIBUTE_SLOT_MAX_NUM - len(attrSlot)) else: attrSlot = [(0, 0)] * player.ATTRIBUTE_SLOT_MAX_NUM self.ClearToolTip() if app.ENABLE_WEAPON_EVOLUTION_SYSTEM: self.AddItemData(itemVnum, metinSlot, attrSlot, evolution, 1 ) else: self.AddItemData(itemVnum, metinSlot, attrSlot) ItemToolTip.OnUpdate(self) I will be grateful if you could help me.
-
official Chatting Window Renewal (Mini Version)
blaxis replied to Owsap's topic in Features & Metin2 Systems
Thank you very much guys.. I have one more question. Sorry for that. The "Item" option doesn't work either. What could be the reason for this? Whether it is "Enabled" or "Disabled" it is always "you have won xx". text appears. I do not have this line: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¾ÆÀÌÅÛ È¹µæ: %s"), item2->GetName()); There is this in PickupItem func: ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¾ÆÀÌÅÛ È¹µæ: %s"), evolutionMergeText); Could this be too? Sorry for bad english. I Using google translate. -
[VIDEO] How to create a map from scratch and install it
blaxis replied to TMP4's topic in Basic Tutorials / Beginners
Hello there. I cannot summon monsters with /m on my newly created map. There is no syserr record either. What could be the problem? -
Manage NPC / Monster spawn on your maps
blaxis replied to Veltor88's topic in Basic Tutorials / Beginners
Hello, I designed a new map. But I can't summon monsters with /m code. No syserr... Any ideas? -
official Chatting Window Renewal (Mini Version)
blaxis replied to Owsap's topic in Features & Metin2 Systems
Thank you very much I'm just wondering one thing. What exactly is the "experience" feature? I want to test it but I don't understand what it is. -
Please I need help with horse skill
blaxis replied to Prox12's topic in Community Support - Questions & Answers
Yes, I've had this problem too. The cause of the problem is that we have changed the number of horse skills. Use the original values for horse skills and do not apply what is described in the Sage Master file. Examp (Sage Master): HORSE_SKILL_WILDATTACK = chr.MOTION_SKILL+113 HORSE_SKILL_CHARGE = chr.MOTION_SKILL+114 HORSE_SKILL_SPLASH = chr.MOTION_SKILL+115 Don't use this! Replace the numbers 113, 114 and 115 with the original values.(playersettingmodule.py) Do the same for the skilldesc.txt file. -
official Chatting Window Renewal (Mini Version)
blaxis replied to Owsap's topic in Features & Metin2 Systems
I tried it but it didn't work. I couldn't find the location setting of the CheckBox. @nazox I solved, thank you uichat.py; if key >= OPTION_CHECKBOX_EXP_INFO: yPos = 64 + (31 * 2) I changed with; if key >= OPTION_CHECKBOX_EXP_INFO: yPos = 64 + (31 * 2.6) -
official Chatting Window Renewal (Mini Version)
blaxis replied to Owsap's topic in Features & Metin2 Systems
How can I position the place I marked? (Dice's no problem. I removed.) -
Warrior Skill Affect Problem :(
blaxis replied to blaxis's topic in Community Support - Questions & Answers
up -
item_proto.txt -> Open -> CTRL+A -> CTRL+C Excell open -> select left up first column -> CTRL+V
-
Connection error after adding Cheque System
blaxis replied to narcisxb's topic in Community Support - Questions & Answers
You probably made a wrong addition somewhere. I do not know exactly. Boot: shop table size error also means: This error will occur if more than 40 items have been added to a 40-slot market. If you did something like this, fix it back. -
Hi, ı use vs2019 and c++14(standart) But I need update to c++17. How to make? Where do I need to edit? [Hidden Content] Sorry, I don't understand the process here.
-
Warrior Skill Affect Problem :(
blaxis replied to blaxis's topic in Community Support - Questions & Answers
up -
(Quest) No mysql query is running
blaxis replied to blaxis's topic in Community Support - Questions & Answers
Thank you so much. It works flawlessly Also yes functions like pc.get_gold could() be used but I had to do that with my query and now it's done. -
(Quest) No mysql query is running
blaxis replied to blaxis's topic in Community Support - Questions & Answers
Thanks! Well, I want to ask one more thing. How can I use the result from the local=gold query in an if? For example; if(gold) < 5 then... -
(Quest) No mysql query is running
blaxis replied to blaxis's topic in Community Support - Questions & Answers
local affected_rows, goldd = mysql_direct_query("SELECT gold FROM player.player WHERE account_id = '2';") say_reward(tostring(goldd)) Not work. Quest screen error: table: 00xc66e bla bla bla -
(Quest) No mysql query is running
blaxis replied to blaxis's topic in Community Support - Questions & Answers
Thank you it worked. SELECT gold FROM player.player WHERE account_id = 2 But it always shows the result as 1. -
Hello friends. I'm writing a quest but I couldn't run mysql commands at all. local goldd = mysql_query("SELECT gold FROM player.player") say_reward("Başarılı." , goldd) Commands like SELECT - UPDATE do not work. and it just gives this error: attempt to call global `mysql_query' (a nil value) I tried mysql_query I tried mysql_query10 I tried mysql_direct_query but the result is the same.
-
I had the same problem but found the solution man! The subtype in item_proto is 255 (wtf!) ---> locale/xx/item_proto I changed it to 3 and it works fine now. You can check it if you want.
-
Warrior Skill Affect Problem :(
blaxis replied to blaxis's topic in Community Support - Questions & Answers
Ok, sorry