|
You last visited: Today at 11:14
Advertisement
NPC Shop: Items dont show up
Discussion on NPC Shop: Items dont show up within the Flyff Private Server forum part of the Flyff category.
06/07/2016, 00:30
|
#1
|
elite*gold: 0
Join Date: May 2015
Posts: 44
Received Thanks: 14
|
NPC Shop: Items dont show up
Hi,
I want to edit the MaFl_Boboko NPC.
He should sell all Armor from lvl 70 to 120.
So I edited the entries like the following:
character.inc:
Code:
MaFl_Boboko
{
setting
{
AddMenu( MMI_DIALOG );
AddMenu( MMI_TRADE );
//Blade
AddVendorItem( 0, IK3_HELMET, 6, 70, 120, 25 );
AddVendorItem( 0, IK3_SUIT, 6, 70, 120, 25 );
AddVendorItem( 0, IK3_GAUNTLET, 6, 70, 120, 25 );
AddVendorItem( 0, IK3_BOOTS, 6, 70, 120, 25 );
//Knight
AddVendorItem( 0, IK3_HELMET, 7, 70, 120, 25 );
AddVendorItem( 0, IK3_SUIT, 7, 70, 120, 25 );
AddVendorItem( 0, IK3_GAUNTLET, 7, 70, 120, 25 );
AddVendorItem( 0, IK3_BOOTS, 7, 70, 120, 25 );
//RM
AddVendorItem( 1, IK3_HELMET, 10, 70, 120, 25 );
AddVendorItem( 1, IK3_SUIT, 10, 70, 120, 25 );
AddVendorItem( 1, IK3_GAUNTLET, 10, 70, 120, 25 );
AddVendorItem( 1, IK3_BOOTS, 10, 70, 120, 25 );
//BP
AddVendorItem( 1, IK3_HELMET, 11, 70, 120, 25 );
AddVendorItem( 1, IK3_SUIT, 11, 70, 120, 25 );
AddVendorItem( 1, IK3_GAUNTLET, 11, 70, 120, 25 );
AddVendorItem( 1, IK3_BOOTS, 11, 70, 120, 25 );
//Jester
AddVendorItem( 2, IK3_HELMET, 9, 70, 120, 25 );
AddVendorItem( 2, IK3_SUIT, 9, 70, 120, 25 );
AddVendorItem( 2, IK3_GAUNTLET, 9, 70, 120, 25 );
AddVendorItem( 2, IK3_BOOTS, 9, 70, 120, 25 );
//Ranger
AddVendorItem( 2, IK3_HELMET, 8, 70, 120, 25 );
AddVendorItem( 2, IK3_SUIT, 8, 70, 120, 25 );
AddVendorItem( 2, IK3_GAUNTLET, 8, 70, 120, 25 );
AddVendorItem( 2, IK3_BOOTS, 8, 70, 120, 25 );
//Ele
AddVendorItem( 3, IK3_HELMET, 13, 70, 120, 25 );
AddVendorItem( 3, IK3_SUIT, 13, 70, 120, 25 );
AddVendorItem( 3, IK3_GAUNTLET, 13, 70, 120, 25 );
AddVendorItem( 3, IK3_BOOTS, 13, 70, 120, 25 );
//Psy
AddVendorItem( 3, IK3_HELMET, 12, 70, 120, 25 );
AddVendorItem( 3, IK3_SUIT, 12, 70, 120, 25 );
AddVendorItem( 3, IK3_GAUNTLET, 12, 70, 120, 25 );
AddVendorItem( 3, IK3_BOOTS, 12, 70, 120, 25 );
m_nStructure= SRT_SHIELD;
SetImage
(
IDS_CHARACTER_INC_000026
);
m_szDialog= "MaFl_Boboko.txt";
}
SetName
(
IDS_CHARACTER_INC_000027
);
AddVendorSlot( 0,
IDS_CHARACTER_INC_000028
);
AddVendorSlot( 1,
IDS_CHARACTER_INC_000029
);
AddVendorSlot( 2,
IDS_CHARACTER_INC_000030
);
AddVendorSlot( 3,
IDS_CHARACTER_INC_000031
);
}
However, he does'nt want to sell anything higher than lvl 83.
For example the Remingster Suit. But I turned all 105er Sets to dwShopAble = 1:
Spec_Item.txt:
Code:
7 II_ARM_F_RIN_SUIT_SET_32 IDS_PROPITEM_TXT_007410 1 1 IK1_ARMOR IK2_ARMOR IK3_SUIT JOB_RINGMASTER 1 = SEX_FEMALE 3000000 8100000 100 180 = = PARTS_UPPER_BODY = 1 PARTS_LOWER_BODY = 105 200 1 1 0 = = 725 728 _NONE 0 0 0 = = = = = = = = = = = = = 1 = = = DST_HP_MAX = = = = = 20 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ARMOR_SET = = = = = = 0 0 0 0 0 0 = = = = = = = = = = = = 105 = = = """itm_fRinSet03Upper.dds""" 0 """""" IDS_PROPITEM_TXT_007411 105 300 0 0 1 0 0 0 1 0 2 = = = = = = = = = = 1 1 1 1 1 0 ITEM_GRADE_UNIQUE 1 TYPE1_ARMOR TYPE2_ARMOR_SUIT 1 0 1 1
I also do not understand dwItemRare. It's default is 25 but sth. like Hanel Suit has a rarity of 74 and is buyable in the Shop.
|
|
|
06/07/2016, 00:42
|
#2
|
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
|
That's because AddVendorItem takes the range of dwItemRare. So change the rarity of all items, if you do not have any source knowledge.
|
|
|
06/07/2016, 00:54
|
#3
|
elite*gold: 0
Join Date: May 2015
Posts: 44
Received Thanks: 14
|
Quote:
Originally Posted by Nortix
That's because AddVendorItem takes the range of dwItemRare. So change the rarity of all items, if you do not have any source knowledge.
|
Can you explain how the range of dwItemRare works?
In what way do i have to change the dwItemRare?
I tested it with a dwItemRare of 1 but that did not work.
|
|
|
06/07/2016, 12:45
|
#4
|
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
|
AddVendorItem( 0, IK3_HELMET, 6, 70, 120, 25 );
Adds all Helmets for Blades with a dwItemRare >= 70 and dwItemRare <=120 and dwShopAble 1.
So change all your Items to have a dwItemRare between 70 and 120 or change the range of AddVendorItem.
|
|
|
 |
Similar Threads
|
hacks « dont show
02/15/2012 - Cabal Online - 10 Replies
Stop use hack in front of all people, today i saw ppl using it in front of a lot of ppl in ch trade (full of players)
do u want end for this?
......
guys pls, stop using it in front of ppl, use it in dung alone or at night, just dont show to other guys!!!
hope u will think about this!
i still need aoe hack btw and wall too and dmg is possible ^^
|
New items in item mall dont show?
01/13/2011 - Shaiya Private Server - 1 Replies
hello i have to my item mall fixed and works great with the basic items it came with. now i used a program and added another item i wanted to be in the item mall. it is updated in my sdata file and in my database but when i log on to check if it was there the item doesnt appear in the item mall. if anyone knows wat could the problem be.. an answer would help much. thanks.
|
Db-Bot see charakter but dont show skills <-
07/08/2010 - SRO Private Server - 9 Replies
hi guys i need some help with db bot . i was boting 3-4 weeks with this bot without any problem but since some days if i logged in the bot see the charakter but DONT SHOW THE SKILLS :/. if i click open party button it work ... some other guys (as i know) have this problem too ..
if anybody got any fix or simple help write me a pm or reply thanks :)
|
Dont show Hacked HP
01/05/2010 - S4 League - 9 Replies
I wanted to know if there is a way to not show the incresement of hp for example i've puted 150 hp i want it to show like i have 100 or so ingame. Is there a way to do that?
Also is there a way to make the rest see like the bar over my head like it's deplated at 100 hp but that there is actually more like if i lag or something?
|
plz help me with my CR console dont show up
07/16/2008 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 6 Replies
please help me fix my CR prog..the cr console did not come out...id try to log on many times but the console did not appear..but when i close the game an error shows always
this is the error..
cabalMain.exe - Application Error
The instruction at "0x100bd714" reference memory at "0x98826c00",The memory could not be "read".
|
All times are GMT +1. The time now is 11:15.
|
|