Magic Pop New Tab How do I add an item

11/23/2020 14:54 cikho12#1
hi guys i added a new tab but how can i put an item there

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

refgachatreeforclientuidata
Code:
1	3	3	12	8	700	UIIT_CTL_WK_ETC_ETC	708	UIIT_CTL_WK_DEWIL_SPIRIT	0
11/23/2020 15:11 Devsome#2
#moved
11/23/2020 17:30 Judgelemental#3
Quote:
Originally Posted by cikho12 View Post
hi guys i added a new tab but how can i put an item there

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

refgachatreeforclientuidata
Code:
1	3	3	12	8	700	UIIT_CTL_WK_ETC_ETC	708	UIIT_CTL_WK_DEWIL_SPIRIT	0
Like this ?
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

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

[Only registered and activated users can see links. Click Here To Register...]

Take the TidGroupID (in our case 51)

2. Go to FmnTidGroup

[Only registered and activated users can see links. Click Here To Register...]

WK_EVENT_ITEM !!!

3. Go to \server_dep\silkroad\textdata and open fmncategorytreedata.txt
[Only registered and activated users can see links. Click Here To Register...]

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

[Only registered and activated users can see links. Click Here To Register...]


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:

[Only registered and activated users can see links. Click Here To Register...]

Alright, 8. Let's add it, the last item:
[Only registered and activated users can see links. Click Here To Register...]

9.Let's upload the files into our client:
[Only registered and activated users can see links. Click Here To Register...]


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.
11/23/2020 18:08 cikho12#4
@[Only registered and activated users can see links. Click Here To Register...] itemdata why Type ID ?

Code:
1	38685	ITEM_PRE_MALL_AVATAR_M_NASRUN_UNIQUE	??? (?) - ???	xxx	SN_ITEM_MALL_AVATAR_M_NASRUN_UNIQUE	SN_ITEM_MALL_AVATAR_M_NASRUN_UNIQUE_TT_DESC	1	0	3	1	14	1	180000	3	0	0	1	0	159	0	1	0	0	1	0	0	0	0	0	0	0	-1	0	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	xxx	item\etc\drop_ch_eventbox.bsr	Premium\Avatar\mall_avatar_m_nasrun.ddj	xxx	xxx	1	1	0	0	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2419200	????(?)	1	?? ??(0=?? ???, 1=????)	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	9	0	
1	38686	ITEM_PRE_MALL_AVATAR_W_NASRUN_UNIQUE	??? (?) - ???	xxx	SN_ITEM_MALL_AVATAR_W_NASRUN_UNIQUE	SN_ITEM_MALL_AVATAR_W_NASRUN_UNIQUE_TT_DESC	1	0	3	1	14	1	180000	3	0	0	1	0	159	0	1	0	0	1	0	0	0	0	0	0	0	-1	0	-1	0	-1	0	-1	0	-1	0	0	0	0	0	0	0	100	0	0	0	xxx	item\etc\drop_ch_eventbox.bsr	Premium\Avatar\mall_avatar_w_nasrun.ddj	xxx	xxx	1	0	0	0	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	2419200	????(?)	1	?? ??(0=?? ???, 1=????)	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	-1	xxx	9	0
11/23/2020 18:11 Judgelemental#5
Quote:
Originally Posted by cikho12 View Post
@[Only registered and activated users can see links. Click Here To Register...] itemdata why Type ID ?

[CODE]1 38685 ITEM_PRE_MALL_AVATAR_M_NASRUN_UNIQUE ??? (?) - ??? xxx SN_ITEM_MALL_AVATAR_M_NASRUN_UNIQUE SN_ITEM_MALL_AVATAR_M_NASRUN_UNIQUE_TT_DESC 1 0 3 1 14 1 180000 3 0 0 1 0 159 0 1 0 0 1 0 0 0 0 0 0 0 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_ch_eventbox.bsr Premium\Avatar\mall_avatar_m_nasrun.ddj xxx xxx 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2419200 ????(?) 1 ?? ??(0=?? ???, 1=????) -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 9 0
1 38686 ITEM_PRE_MALL_AVATAR_W_NASRUN_UNIQUE ??? (?) - ??? xxx SN_ITEM_MALL_AVATAR_W_NASRUN_UNIQUE SN_ITEM_MALL_AVATAR_W_NASRUN_UNIQUE_TT_DESC 1 0 3 1 14 1 180000 3 0 0 1 0 159 0 1 0 0 1 0 0 0 0 0 0 0 -1 0 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_ch_eventbox.bsr Premium\Avatar\mall_avatar_w_nasrun.ddj xxx xxx 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2419200 ????(?) 1 ?? ??(0=?? ???, 1=????) -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 9 0
[CODE]
I don't understand what you are trying to say.
Type ID (and you have to input the correct one into gacha's machine) because it will determine what kind of item it's going to be.

I remember one time I introduced the wrong TYPE ID and it I made a scroll out of a clock, haha. Of course it was not functional.

1 3 3 3 5 (last row) is the typeID from itemdata
Look for the typeID in media for you item (devil spirit)
search it in database at refmncategorytree if I am not mistaken and you will get more clues
It's kinda tricky.

[Only registered and activated users can see links. Click Here To Register...]
11/23/2020 18:47 cikho12#6
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]


I can't understand how it is
11/23/2020 19:10 Judgelemental#7
Quote:
Originally Posted by cikho12 View Post
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]


I can't understand how it is
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]


Something wrong with your media .txt files. You added something wrong.
11/24/2020 17:09 cikho12#8
@[Only registered and activated users can see links. Click Here To Register...]he automatically values ​​(+) item Devil's Spirit

Quote:
1 1 24412 6000 1 3888 0 0 xxx 0 xxx 0 xxx 0 xxx
1 1 24411 6000 1 3889 0 0 xxx 0 xxx 0 xxx 0 xxx