|
You last visited: Today at 19:26
Advertisement
[QUESTION] Create New MMI
Discussion on [QUESTION] Create New MMI within the Flyff Private Server forum part of the Flyff category.
10/18/2016, 02:45
|
#1
|
elite*gold: 0
Join Date: Aug 2016
Posts: 99
Received Thanks: 3
|
[QUESTION] Create New MMI
I'am Trying to Create a new MMI for the Exchange_Script
so here's is it I'am done adding some "codes?" on my resource
Defineneuz.h
DefineText.h
#define TID_MMI_SHOP 7288
TextClient.inc
TID_MMI_SHOP 0xffff0000
{
IDS_TEXTCLIENT_INC_003730
}
TextClient.txt.txt
IDS_TEXTCLIENT_INC_003725 Shop
Exchange_Script.txt
MMI_MMI_SHOP
{
DESCRIPTION
{
TID_MMI_MMI_SHOP
}
SET TID_MMI_SHOP
{
CONDITION
{
II_GEN_GEM_GEM_DRAGONHEART 7000
II_GEN_GEM_GEM_DRAGONCANINE 7000
II_GEN_GEM_GEM_STRANGEEYES 7000
}
REMOVE
{
II_GEN_GEM_GEM_DRAGONHEART 7000
II_GEN_GEM_GEM_DRAGONCANINE 7000
II_GEN_GEM_GEM_STRANGEEYES 7000
}
PAY 1
{
II_SYS_SYS_SCR_BXFELE120SET 1 1000000
}
}
}
Character.inc
MaSa_Tina
{
setting
{
//AddMenu( MMI_TRADE );
AddMenu( MMI_SHOP );
SetVenderType(2);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_HELMET);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_BOOTS);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_GAUNTLET);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_SUIT);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02CAP);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02FOOT);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02HAND);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02UPPER);
AddVenderItem4(0, II_ARM_M_CHR_NYANHAT);
AddVenderItem4(0, II_ARM_M_CHR_NYANFOOT);
AddVenderItem4(0, II_ARM_M_CHR_NYANHAND);
AddVenderItem4(0, II_ARM_M_CHR_NYANUPPER);
AddVenderItem4(0, II_ARM_M_CHR_CONT1HAT);
AddVenderItem4(0, II_ARM_M_CHR_CONT1FOOT);
SetEquip( II_ARM_F_PMAGIC_HAT, II_ARM_F_PMAGIC_UPPER, II_ARM_F_PMAGIC_HAND, II_ARM_F_PMAGIC_FOOT );
SetImage
(
IDS_CHARACTER_INC_000140
);
//m_szDialog= "MaSa_Tina.txt";
}
SetName
(
IDS_CHARACTER_INC_000141
);
AddVendorSlot( 0,
IDS_CHARACTER_INC_000142
);
AddVendorSlot( 1,
IDS_CHARACTER_INC_000143
);
}
So i've done putting it on the character.inc
I i create a new .res and copy it on my client
Then after that i check the npc but there is no other tab for the given MMI *SHOP*
please help me how to create a new MMI
|
|
|
10/18/2016, 06:35
|
#2
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
if you want other vending type., you need to have new currency., not that like you add
|
|
|
10/18/2016, 07:09
|
#3
|
elite*gold: 0
Join Date: Aug 2016
Posts: 99
Received Thanks: 3
|
Quote:
Originally Posted by Ecrypter
if you want other vending type., you need to have new currency., not that like you add
|
so how can i make a new currency?
or what do you mean by new currency? I already added the Exchange system on my source
|
|
|
10/18/2016, 12:01
|
#4
|
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
|
Quote:
Originally Posted by TheCab
so how can i make a new currency?
or what do you mean by new currency? I already added the Exchange system on my source
|
try to add. addmenu2 to in your source. leech in other source.
then.
MaSa_Tina
{
setting
{
//AddMenu( MMI_TRADE );
AddMenu2( MMI_EXCHANGE_ADV "LOWERARMOR" );
SetVenderType(2);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_HELMET);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_BOOTS);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_GAUNTLET);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_SUIT);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02CAP);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02FOOT);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02HAND);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02UPPER);
AddVenderItem4(0, II_ARM_M_CHR_NYANHAT);
AddVenderItem4(0, II_ARM_M_CHR_NYANFOOT);
AddVenderItem4(0, II_ARM_M_CHR_NYANHAND);
AddVenderItem4(0, II_ARM_M_CHR_NYANUPPER);
AddVenderItem4(0, II_ARM_M_CHR_CONT1HAT);
AddVenderItem4(0, II_ARM_M_CHR_CONT1FOOT);
SetEquip( II_ARM_F_PMAGIC_HAT, II_ARM_F_PMAGIC_UPPER, II_ARM_F_PMAGIC_HAND, II_ARM_F_PMAGIC_FOOT );
SetImage
(
IDS_CHARACTER_INC_000140
);
//m_szDialog= "MaSa_Tina.txt";
}
SetName
(
IDS_CHARACTER_INC_000141
);
AddVendorSlot( 0,
IDS_CHARACTER_INC_000142
);
AddVendorSlot( 1,
IDS_CHARACTER_INC_000143
);
}
|
|
|
10/18/2016, 12:17
|
#5
|
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
|
Quote:
Originally Posted by jericho2nd
try to add. addmenu2 to in your source. leech in other source.
|
No  .
You are mixing up a few things here.
First you want to add MMI_SHOP, then you have to add items in Exchange_Script for that MMI, but you used MMI_LOWERARMOR.
Second you want to add new items to MMI_TRADE, without including it in the character, with AddVenderItem4. You have to code it in the source first, else it's just ignored.
You're better off using the Exchange_Script for now.
|
|
|
10/18/2016, 12:23
|
#6
|
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
|
|
|
|
10/18/2016, 12:33
|
#7
|
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
|
|
|
|
10/18/2016, 12:40
|
#8
|
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
|
|
|
|
10/18/2016, 13:23
|
#9
|
elite*gold: 0
Join Date: Aug 2016
Posts: 99
Received Thanks: 3
|
@  sory sorry I've copy the wrong code on the character.inc @  I appreciate your help
I dont have a problem with the addvendeitem4 my problem was in the Exchange_Script
my problem is how to add another shop like this.
|
|
|
10/18/2016, 14:08
|
#10
|
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
|
Defineneuz.h
#define MMI_SHOP 258
DefineText.h
#define TID_MMI_SHOP 7258
|
|
|
10/18/2016, 14:22
|
#11
|
elite*gold: 0
Join Date: Aug 2016
Posts: 99
Received Thanks: 3
|
Quote:
Originally Posted by Nortix
Defineneuz.h
#define MMI_SHOP 258
DefineText.h
#define TID_MMI_SHOP 7258
|
what is that? i already define that sir.
|
|
|
10/18/2016, 14:25
|
#12
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Quote:
Originally Posted by jericho2nd
try to add. addmenu2 to in your source. leech in other source.
then.
MaSa_Tina
{
setting
{
//AddMenu( MMI_TRADE );
AddMenu2( MMI_EXCHANGE_ADV "LOWERARMOR" );
SetVenderType(2);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_HELMET);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_BOOTS);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_GAUNTLET);
AddVenderItem4(0, II_ARM_M_CHR_CHRIZARD_SUIT);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02CAP);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02FOOT);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02HAND);
AddVenderItem4(0, II_ARM_M_CHR_DBZ02UPPER);
AddVenderItem4(0, II_ARM_M_CHR_NYANHAT);
AddVenderItem4(0, II_ARM_M_CHR_NYANFOOT);
AddVenderItem4(0, II_ARM_M_CHR_NYANHAND);
AddVenderItem4(0, II_ARM_M_CHR_NYANUPPER);
AddVenderItem4(0, II_ARM_M_CHR_CONT1HAT);
AddVenderItem4(0, II_ARM_M_CHR_CONT1FOOT);
SetEquip( II_ARM_F_PMAGIC_HAT, II_ARM_F_PMAGIC_UPPER, II_ARM_F_PMAGIC_HAND, II_ARM_F_PMAGIC_FOOT );
SetImage
(
IDS_CHARACTER_INC_000140
);
//m_szDialog= "MaSa_Tina.txt";
}
SetName
(
IDS_CHARACTER_INC_000141
);
AddVendorSlot( 0,
IDS_CHARACTER_INC_000142
);
AddVendorSlot( 1,
IDS_CHARACTER_INC_000143
);
}
|
Totally wrong.
Dont you think what you saying.? Your soo funny.
AddVenderItem4 is for new currency.
|
|
|
10/18/2016, 14:45
|
#13
|
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
|
Quote:
Originally Posted by Ecrypter
if you want other vending type., you need to have new currency., not that like you add
|
?
|
|
|
10/18/2016, 15:48
|
#14
|
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
|
Quote:
Originally Posted by Ecrypter
Totally wrong.
Dont you think what you saying.? Your soo funny.
AddVenderItem4 is for new currency.
|
We already figured that out before
Quote:
Originally Posted by TheCab
what is that? i already define that sir.
|
sir look at the ids sir. The TID has to be the MMI ID + 7000
|
|
|
10/18/2016, 23:57
|
#15
|
elite*gold: 0
Join Date: Aug 2016
Posts: 99
Received Thanks: 3
|
Quote:
Originally Posted by Nortix
We already figured that out before
sir look at the ids sir. The TID has to be the MMI ID + 7000
|
I already change the TID +7000 but still nothing happens  I'am losing my hope right now
|
|
|
 |
|
Similar Threads
|
Create entity question.
04/04/2014 - CO2 Private Server - 4 Replies
So I have been looking through a source 5670 and I find that new characters are VIP 6 straight away, simple I'll just edit the code. I attempted to add something thinking it might do what I was intending but it did nothing and the newly created character is STILL VIP 6 o.O Anyway the code is here
public static bool CreateEntity(Network.GamePackets.EnitityCreate eC, Client.GameState client, ref string message)
{
if (eC.Name.Length > 16)
eC.Name =...
|
QUESTION : HOW CAN I CREATE AA WEAPON
03/14/2011 - Metin2 Private Server - 0 Replies
HI GUYS CAN ANY ONE SEND ME A LINK IN PN OR SHOW ME HOW TO DO
A WEAPON TO METIN2 IN MY OWN PLZ ?
|
[Question] of Ch Create
06/30/2010 - Metin2 Private Server - 5 Replies
Ich frage sie, sich zu bewegen, um Raum zu korrigieren
I ask them to move to correct area
-------------------ENGLISH--------------------
It should not be in the correct zone but still I hope you will clarify.
I wonder create CH 2 on my server, already researched did not find.
If someone has a link to the tut please post.
Thanks
|
[Question]How Can I Create a Dll......
10/21/2009 - Soldier Front Philippines - 2 Replies
Is Anyone Know How TO create a Dll...????
|
Question to = Create Proxy and NPC
07/04/2007 - Conquer Online 2 - 1 Replies
Can someone tell me how to create my own Proxy, because all proxy's are with hacks
I heard someone said you can put NPC to everywhere u want.
Can someone tell me how to do, and how to put items able to buy?
|
All times are GMT +1. The time now is 19:27.
|
|