Quote:
Originally Posted by cikho12
|
Like this ?
It's a tricky, tiring process for me. I wouldn't do it again even if I had to.
The items get assigned automatically when you add them, all you have to do is add the right lines in the right corresponding media .txt. I don't know how anymore since it's been a few months since I have added that, but I can give you some clues.
It's a bullshitty, time consuming process so I wouldn't do it for free.
I have figured out by myself, you could, too.
Here are some clues (don't take my word for granted, it might not work but it could offer an insight into what's going on with Magic Pop System) :
Let's say we want to add some item :
I suggest you try with a reverse scroll or any other item, for some reason the pandora box did not work for me to add it.
1. The item is located in itemdata10000
1 9326 ITEM_ETC_E060517_MON_GENERATION_BOX
TypeID (if you read all the line) is 3 3 15 1
Search 1 3 3 5 1 in refgachatreeforclientuidata.txt. if it's not there you go to (shard db) FmnTidGroupMap and look for the3 3 15 1
There we have it
Take the TidGroupID (in our case 51)
2. Go to FmnTidGroup
WK_EVENT_ITEM !!!
3. Go to \server_dep\silkroad\textdata and open fmncategorytreedata.txt
We have it here, 51 and also the code name
4. Now to go refgachatreeforclientuidata.txt and add it
1 3 3 5 1 1200 UIIT_CTL_WK_EVENT_ITEM 1201 UIIT_CTL_WK_EVENT_ITEM 0
1200 for the new tab I guess
1201 for the new slot, not sure
But you see our 1 3 3 5 1? Yeah. Also, let me go and see if the ending is UIIT_CTL_WK_EVENT_ITEM or only WK_EVENT
5. Now we go back to the database
RefGachaItemSet
We open a new query to get the item ID and to make sure it's the item we want
6.And we add it (RefGachaItemSet) :
1 1 9326 10000 1 4887 0 1 xxx 0 xxx 0 xxx 0 xxx
IMPORTANT !!!
Ration 10000 = 100% , 1000 = 10%, 100 = 1%.
IMPORTANT : IF YOU PUT IT LESS THAN 100% THE CLIENT WILL CRASH? WHY? BECAUSE THE SERVER DOESN'T KNOW WHICH ITEM TO GIVE YOU IF YOU FAIL AT THE MAGIC POP !!!!!!!!
I haven't figured out how it works yet
7. Now, we go to the refgachaitemset.txt from the client
and we add it. important to do it in this order
Because we need the gachaid from the database otherwise we win an item and we will receive another at the goori exhcange NPC
Magic Pop tab names:
Alright,
8. Let's add it, the last item:
9.Let's upload the files into our client:
Update:
_RefGachaItemSet is the table that is has to do with the failed cards
Set_ID = 2 are the failed items
Set_ID = 1 are the success items
Update 2:
To avoid the crash when you fail to win at magic pop, simply clone the line of your newly added item, add 2 to Set_ID and change the Ratio.
That's all. Important : I don't guarantee that it will work, I just wanted to show you how it works.