-
Posts
62 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by m2Ciaran
-
-
You're missing mysql includes.
Make sure you have installed mysql on your server
-
52 minutes ago, fx3206 said:
Yes, I was already able to place the items at +9 in the trunk that is given at the beginning of each player.
Now where I am having a bit of conflict is changing the price of the items, for example I already changed the NPC items from the general store within the game but these items have a value of 0 yang.
gold/shop_buy_price columns in item_proto are what you looking for
-
6 hours ago, fx3206 said:
Again thank you very much @ m2Ciaran,
Another question that arose recently, I hope you can support me, the question is where I can modify an item so that it is +9, for example a sword, I would like it to be +9 at the beginning.
at the beginning? I'm not sure if I got it but you should look for apprentice chest in special_item_group and replace id of sword+0 [10] with sword+9 [19]
-
1 hour ago, fx3206 said:
Thank you so much @ m2Ciaran,
Now another similar question, how can I add new items and their attributes, for example the experience ring, this is not in the database in the list of items, but I would like to add it.
Sorry for the disturbances.
Depends on your files and configuration you can do it in item_proto either in player database or text files.
For an exp ring you'll need to add the new created item vnum to special group in special_item_group with id 10000 and for any other item just edit applytype/applyvalue columns
-
1
-
-
Hello.
The closest common drop to official can be found here: [2012 & slight different from gf but not much]
YMIR Locale Server - Metadata - Metin2Dev | M2Dev
And mob drop item file can be found here as they now hide it in client packs [no drop rate]
-
Hello.
You need something like this:
uiInventory -> def __DropSrcItemToDestItemInInventory
elif item.GetUseType(srcItemVID) in self.USE_TYPE_TUPLE: if player.GetItemIndex(dstItemSlotPos) == srcItemVID: self.__SendMoveItemPacket(srcItemSlotPos, dstItemSlotPos, 0) else: self.__SendUseItemToItemPacket(srcItemSlotPos, dstItemSlotPos)
uiInventory -> def __IsUsableItemToItem(self, srcItemVNum, srcSlotPos):
else: if item.GetUseType(srcItemVNum) in self.USE_TYPE_TUPLE: return True
And make sure that USE_TYPE_TUPLE is defined at the beginning of InventoryWindow class:
USE_TYPE_TUPLE = ("USE_CLEAN_SOCKET", "USE_CHANGE_ATTRIBUTE", "USE_ADD_ATTRIBUTE", "USE_ADD_ATTRIBUTE2", "USE_ADD_ACCESSORY_SOCKET", "USE_PUT_INTO_ACCESSORY_SOCKET", "USE_PUT_INTO_BELT_SOCKET", "USE_PUT_INTO_RING_SOCKET")
-
Hello. You can change that in special_item_group.txt file which is located in your server locale directory.
-
1
-
-
20 hours ago, garofolo said:
some update about that? maybe that is the best anti cheat idea available in moment.
There's no update needed. This guy just shared the logic, all you need is to connect the dots
nobel prize for sharing this
-
10 hours ago, Baltazar said:
I highly disagree with statement that pserver take everything from official servers. You probably didnt play any poland servers. No hate, but I played many servers and the most boring for me were the ones, which looked like official server.
Well, i'm Polish. And almost all the updates that were implemented after 2012 are used on many of them (tdd, dss, sash, aura, ui, changelook and so on) let's face the truth
-
1
-
-
3 hours ago, Mali said:
You will hate me but official > any pvp server all day.
Gameplay is good, but definitely not the way they manage metin nowadays (and we don't know how much % of gameplay comes from gf brains)
Spoilerthere is reason why almost everything is taken from official to pvp servers
21 hours ago, TAUMP said:this is probably the most active gf person I've ever seen
-
1
-
-
49 minutes ago, Viello said:
thanks for sharing, is there something need to change while adding item proto?
No need
-
-
2 hours ago, Beforekk said:
Well, I did that. And today, it happen again. I create new character, and it has spell enchant armor, and it even gives bonus.
I have one question. When Im deleting db... like old accounts, players, etc... Do I have to delete "affects"?
Yes
-
The purpose is to use it on your test server before you introduce drop changes on your main server
-
hello, ip of virtual machine
-
1
-
-
-
for (int i = 0; i < ITEM_LIMIT_MAX_NUM; ++i) { long limitValue = item->GetProto()->aLimits[i].lValue; switch (item->GetProto()->aLimits[i].bType) { case LIMIT_LEVEL: if (GetLevel() < limitValue) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("아이템의 레벨 제한보다 레벨이 낮습니다.")); return false; } break; } }
I suggest everyone to add this piece of code to avoid players opening (Apprentice) level chest below required level
-
Visually far better than the currently used by gf
-
1
-
-
-
-
Still looking around for someone with freetime to work on flyingmanager
-
On 1/28/2024 at 11:56 AM, Exygo said:
I've tried to reach you through discord, invited once again
-
20 minutes ago, skyddr8511 said:
link is dead
But the whole code is available in topic
-
1
-
-
Still looking around, the problem is flying manager - shooting invisible instance
Server source compile
in Community Support - Questions & Answers
Posted
type locate mysql.h in terminal and show us the results