Jump to content
  • 0

Paramarket in rathena?


K e o u g h

Question


  • Group:  Members
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  257
  • Reputation:   170
  • Joined:  12/06/11
  • Last Seen:  

Hello rathena! is paramarket imlpemented here? dunno where to post this but maybe its a script support xD.

 

here are some info http://ragnarok.wikia.com/wiki/Para_Market

 

Hercules got this features already. 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Hercules got this features already.

Where?
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Has anyone written the actual Para Market NPCs, though?
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  257
  • Reputation:   170
  • Joined:  12/06/11
  • Last Seen:  

Here is the scripts command and scripts sample of hercules.

//=====================================
12 - NPC Trader-Related Commands
//=====================================
Commands that control NPC Trader Shops
See /doc/sample/npc_trader_sample.txt
---------------------------------------

*openshop({NPC_Name});

opens the trader shop from the currently-attached npc unless,
when the optional NPC_Name param is used.

---------------------------------------

*sellitem <Item_ID>{,<price>{,<qty>}};

adds (or modifies) <Item_ID> data to the shop,
when <price> is not provided (or when it is -1) itemdb default is used.
qty is only necessary for NST_MARKET trader types.

when <Item_ID> is already in the shop,
the previous data (price/qty), is overwritten with the new.

---------------------------------------

*stopselling <Item_ID>;

attempts to remove <Item_ID> from the current shop list.

---------------------------------------

*setcurrency <Val1>{,<Val2>};

updates the currently attached player shop funds,
to be used within a "OnCountFunds" event of a NST_CUSTOM trader type.

<Val1> is the value used in the *Cash* Points field
<Val2> is the value used in the Kafra Points field

---------------------------------------

*tradertype(<Type>);

Modifies the npc trader type, item list is cleared upon modifiying the value.
By default, all npcs staart with tradertype(NST_ZENY);

- NST_ZENY (0) Normal Zeny Shop
- NST_CASH (1) Normal Cash Shop
- NST_MARKET (2) Normal NPC Market Shop (where items have limited availability and need to be refurbished)
- NST_CUSTOM (3) Custom Shop (any currency, item/var/etca, check sample)

---------------------------------------

*purchaseok();

Signs that the transaction (on a NST_CUSTOM trader) has been successful,
to be used within a "OnPayFunds" event of a NST_CUSTOM trader.

---------------------------------------

*shopcount(<Item_ID>);

Returns the amount of still-available <Item_ID> in the shop (on a NST_MARKET trader).

---------------------------------------

and here is the scripts

 

 

//===== Hercules Script =======================================

//= Sample: NPC Trader
//===== By: ==================================================
//= Hercules Dev Team
//===== Current Version: =====================================
//= 20131225
//===== Description: ========================================= 
//= Demonstrates NPC Trader.
//============================================================
 
/* ordinary zeny trader */
prontera,152,151,1 trader TestTrader 4_F_EDEN_OFFICER,{
OnInit:
sellitem Valkyrja's_Shield;
end;
}
/* ordinary cash trader */
prontera,152,152,1 trader TestTraderCash 4_F_EDEN_OFFICER,{
OnInit:
tradertype(NST_CASH);
sellitem Valkyrja's_Shield;
end;
}
/* custom npc trader */
prontera,153,152,1 trader TestCustom2 4_F_EDEN_OFFICER,{
OnInit:
tradertype(NST_CUSTOM);
sellitem Red_Potion,2;
end;
 
/* allows currency to be item 501 and 502 */
OnCountFunds:
setcurrency(countitem(Red_Potion),countitem(Orange_Potion));
end;
 
/* receives @price (total cost) and @points (the secondary input field for cash windows) */
OnPayFunds:
dispbottom "Hi: price="+@price+" and points="+@points;
if( countitem(Orange_Potion) < @points || countitem(Red_Potion) < @price-@points )
end;
delitem Orange_Potion,@points;
delitem Red_Potion,@price-@points;
purchaseok();
end;
}
/* demonstrates Market Trader */
prontera,150,160,6 trader HaiMarket 4_F_EDEN_OFFICER,{
OnInit:
tradertype(NST_MARKET);
sellitem Red_Potion,-1,49;
end;
 
 
OnMyResupply:
if( shopcount(Red_Potion) < 20 )
sellitem Red_Potion,-1,49;
end;
}
 

 

Has anyone written the actual Para Market NPCs, though?

 

 

have you checked it?

 

here is the thread http://hercules.ws/board/topic/4989-paramarket-new-npc-shop/#entry32230

Edited by K e o u g h
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  03/04/12
  • Last Seen:  

that custom currency is cool, please release that patch too :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

have you checked it?

I thought you had checked, since that's what your first post seems to indicate. I couldn't find it, so I'm guessing they don't actually have the NPCs.

that custom currency is cool, please release that patch too :D

Read: Item and Point Shop
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...