Jump to content
  • 0

Open a trade window with npc


Reborn

Question


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

this is what i am talking about. theres a npc and once a character click on it a trade window will appear automatically... if the item is correct it will be traded with a new item but before that a progressbar will appear first.. 

 

whether the player is near or far from the npc as long as they click on it a trade window will appear...

post-20951-0-23733200-1383213841_thumb.jpg

post-20951-0-32995600-1383213845_thumb.jpg

Edited by Capuche
Edit the title to a more informative one
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

please close this topic. I was able to implement this and find the right code by playing in src codes ^_^

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

15 hours ago, neXus said:

please close this topic. I was able to implement this and find the right code by playing in src codes ^_^

do you want share?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

this is what i am talking about. theres a npc and once a character click on it a trade window will appear automatically..

 

in simple word, you want to trade with NPC?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

yea. .. but only the required items are accepted just like making an item but through trading it with npc.

for example im making valkyrian armor

and the npc required 2000 jellopies to be traded after the trade is done there will be a cast time sometimes slow sometimes fast .. after the cast time finished the item will have a chance to be successful or failed tobe created.

and if the character puts an incorrect or more or less than the required value of item when the player clicks on ok button in trade window the deal will automaticalky cancelled.

i hope you undrstand i really mean for this...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

why you prefer trade?
there are Dynamic NPC shop

Example:
You can click on NPC,
NPC Sell interface appear
You drop all kind of item include jellopy

Then only jellopy will accepted, or you can make custom dialog
 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

because i like this kind of npc. i want a trade window. can u pls help me or tell me the script for that .

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

is that pictures for illustration or you got from other RO?

there is no trade to npc script
it need new function inside core
since this is player feature, it should be hardcode

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.03
  • Content Count:  290
  • Reputation:   3
  • Joined:  09/29/13
  • Last Seen:  

i got that pic on the ro that i am playing..

i hope u or someone can help me.

bump*****

does no one knows?

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...