[CD3.55] Commission Market

DarkSouls

Loyal Member
Loyal Member
May 27, 2014
114
0
42
Hi all Im Back Again lol :)

Is it possible to make the commission market work via the ingame dmenu? and not from an npc..

When i call up the commission market via dmenu, i get as far as choose the section you wish to view... then it dont open the commission window with items for sale.. Is there a different system thats needed to use it this way?


Cheers again in Advance..


Also Chimera i sent you a private message.
 

LightningStar

LOMCN Veteran
Veteran
Loyal Member
May 28, 2007
408
7
65
Essex, UK
Add this to MirGuideBook.txt

[ View Commission Market ]/@ConsignmentMarket>\

[@ConsignmentMarket]
#CALL [System\ConsignmentMarket.txt] @UserMT
 
Last edited:
Upvote 0

DarkSouls

Loyal Member
Loyal Member
May 27, 2014
114
0
42
Cheers mate, its not that dont work.. its the part that say openusermarket that doesnt open the commission window

---------- Post Merged at 07:23 PM ---------- Previous Post was at 07:20 PM ----------

[@UserMT]
{
#SAY
I sell anything you want! When you give me things to\
sell on your behalf, I will take a commision of 2%.\
I will also take 5000 Gold per transaction to cover\
the administration\
Finally, please be aware that I can only sell 20\
items per person, at any one time\\
<[ All Items ]/@buyfromusermarket(0)>\
<[ Weapon ]/@buyfromusermarket(2)>\
<[ Rings ]/@buyfromusermarket(8)>\
<[ Bracelets ]/@buyfromusermarket(6)>\
<[ Necklace ]/@buyfromusermarket(4)>\
<[ Armour ]/@buyfromusermarket(1)>\
<[ Helmets ]/@buyfromusermarket(5)>\
<[ Footwear ]/@buyfromusermarket(11)>\
<[ Potions ]/@buyfromusermarket(21)>\
<[ Books ]/@buyfromusermarket(22)>\
<[ All Other Items ]/@buyfromusermarket(23)>\\
<[ Check Sold Items ]/@checksold>\
<[ Exit ]/@exit>\


[@buyfromusermarket()]
#ACT
SetTypeUserMarket %ARG(1)
OpenUserMarket <<<---------- works when its coming from the npc, but not when this is called from the Dmenu
close


[@checksold]
#ACT
CheckSoldItemsUserMarket
close
}
 
Upvote 0

LightningStar

LOMCN Veteran
Veteran
Loyal Member
May 28, 2007
408
7
65
Essex, UK
Cheers mate, its not that dont work.. its the part that say openusermarket that doesnt open the commission window

---------- Post Merged at 07:23 PM ---------- Previous Post was at 07:20 PM ----------

[@UserMT]
{
#SAY
I sell anything you want! When you give me things to\
sell on your behalf, I will take a commision of 2%.\
I will also take 5000 Gold per transaction to cover\
the administration\
Finally, please be aware that I can only sell 20\
items per person, at any one time\\
<[ All Items ]/@buyfromusermarket(0)>\
<[ Weapon ]/@buyfromusermarket(2)>\
<[ Rings ]/@buyfromusermarket(8)>\
<[ Bracelets ]/@buyfromusermarket(6)>\
<[ Necklace ]/@buyfromusermarket(4)>\
<[ Armour ]/@buyfromusermarket(1)>\
<[ Helmets ]/@buyfromusermarket(5)>\
<[ Footwear ]/@buyfromusermarket(11)>\
<[ Potions ]/@buyfromusermarket(21)>\
<[ Books ]/@buyfromusermarket(22)>\
<[ All Other Items ]/@buyfromusermarket(23)>\\
<[ Check Sold Items ]/@checksold>\
<[ Exit ]/@exit>\


[@buyfromusermarket()]
#ACT
SetTypeUserMarket %ARG(1)
OpenUserMarket <<<---------- works when its coming from the npc, but not when this is called from the Dmenu
close


[@checksold]
#ACT
CheckSoldItemsUserMarket
close
}

Ok try

[@ConsignmentMarket]
#CALL [QuestDiary\System\ConsignmentMarket.txt] @UserMT

if that fails do this

[@UserMarker]
#CALL [System\ConsignmentMarket.txt] @UserMT
 
Last edited:
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
[@main]
#SAY
#INCLUDE [..\Convert_Def\Market_Def\22UserMarket_Bichon-0.txt] @Convert_22UserMarket_Bichon-0_0


#ELSESAY
#INCLUDE [..\Convert_Def\Market_Def\22UserMarket_Bichon-0.txt] @Convert_22UserMarket_Bichon-0_1

[@UserMarker]
#CALL [System\ConsignmentMarket.txt] @UserMT
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
#SAY
Hello, I am the Commission merchant, an online shop where you advertise your wears and I sell them for you.\
I charge 2,500 to register and 2% when you sell. You can sell upto 20 items with me.\
{FOLCOR/12}Please note on the 1st of each month, and good advertised more than 1 month ago will be scrapped as unsaleable.{FOLCOR/10}.\

__<Examine all Items/@buyfromusermarket(0)>\
__<Examine Armours/@buyfromusermarket(1)>\
__<Examine Weapons/@buyfromusermarket(2)>\
__<Examine Necklaces/@buyfromusermarket(4)>\
__<Examine Helmets/@buyfromusermarket(5)>\
__<Examins Rings/@buyfromusermarket(8)>\
__<Examine Braclets/@buyfromusermarket(6)>\
__<Examine Shoes/@buyfromusermarket(11)>\
__<Examine Potions/@buyfromusermarket(21)>\
__<Examine Books/@buyfromusermarket(22)>\
__<Examine Other misc items/@buyfromusermarket(23)>\ \
__If you advertised something with me.\
__<Check if you sold anything/@checksold>\

[@buyfromusermarket()]
#ACT
SetTypeUserMarket %ARG(1)
OpenUserMarket
close

[@checksold]
#ACT
CheckSoldItemsUserMarket
close

Put all that in a txt file within system directory and in d menu put a call to direct to that txt menu.
 
Upvote 0

DarkSouls

Loyal Member
Loyal Member
May 27, 2014
114
0
42
Thanks Mate I will have a look at that in abit...

---------- Post Merged at 06:56 PM ---------- Previous Post was at 01:37 PM ----------

same Problem This is what i have :-

In Dmenu :-

[@Market]
#CALL [system\SalesMarket.txt] @SalesMenu

Then This Call SalesMarket Txt file :-

[@SalesMenu]
{
#SAY
Hello, I am the Commission merchant, an online shop where you advertise your wears and I sell them for you.\
I charge 2,500 to register and 2% when you sell. You can sell upto 20 items with me.\
{FOLCOR/12}Please note on the 1st of each month, and good advertised more than 1 month ago will be scrapped as unsaleable.{FOLCOR/10}.\


__<Examine all Items/@buyfromusermarket(0)>\
__<Examine Armours/@buyfromusermarket(1)>\
__<Examine Weapons/@buyfromusermarket(2)>\
__<Examine Necklaces/@buyfromusermarket(4)>\
__<Examine Helmets/@buyfromusermarket(5)>\
__<Examins Rings/@buyfromusermarket(8)>\
__<Examine Braclets/@buyfromusermarket(6)>\
__<Examine Shoes/@buyfromusermarket(11)>\
__<Examine Potions/@buyfromusermarket(21)>\
__<Examine Books/@buyfromusermarket(22)>\
__<Examine Other misc items/@buyfromusermarket(23)>\ \
__If you advertised something with me.\
__<Check if you sold anything/@checksold>\


[@buyfromusermarket()]
#ACT
SetTypeUserMarket %ARG(1)
OpenUserMarket <--------------------------- Same Problem, wont open the commission market
close


[@checksold]
#ACT
CheckSoldItemsUserMarket
close
}

Everything works fine like before, Just can't get it to open commission window. I have tried various ways. And only wont open via Dmenu. I created an npc with the following :-

Npc :-

[@main]
#IF
checkpkpoint 2


#SAY
#INCLUDE [..\Market_Def\00BuySell_Std.txt] @Convert_BuySellStd_PK


#ELSESAY
Hi, My name is {FCOLOR/10}<$NPCNAME>{FOCLOR/12}\
<[ View The Commission Market ]/@UserMarker>\
<[ Exit ]/@exit>\


[@UserMarker]
#CALL [System\SalesMarket.txt] @SalesMenu

I also tried adding this in the DMenu. Off an Npc it works like it should do, Off the DMenu same thing wont open OpenUserMarket I just Get nothing appear. Driving me mad lol, Think i might give up on this idea Unless someone can understand why this is happening..
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
235
UK
Try taking the close out, see what happens:

[@buyfromusermarket()]
#ACT
SetTypeUserMarket %ARG(1)
OpenUserMarket

also could try:

[@buyfromusermarket()]
#ACT
SetTypeUserMarket 0
OpenUserMarket
 
Upvote 0

DarkSouls

Loyal Member
Loyal Member
May 27, 2014
114
0
42
nope, without close it won't close your menu and open comms, i've tried those and no joy.. dont worry about it mate, i will just keep to the npc for now and work on it another day... thanks all the same..
 
Upvote 0