Unofficial World of Warcraft Forums  
Please respect other members. Please do not post links or information about hacking/warez/cheats.
Read the rules of these forums as we rarely warn before banning. Lost or need RSS check the forum map.

Quick Site Nav
Navigation
Worldofwar.Net
WoW Forums
WoWDigger WoW Database
Articles
Community Blogs
WoW Info
Wrath of the Lich King Info
Primary Professions
Secondary Professions
Maps
Classes
PvP
A-Z Index
Guides
Submit Guides
List Guides
UI/Mods
Latest Mods
Submit Mod
List Macros
Submit Macro
Media Gallery
Gallery Home
Upload Pics
Community WoW Shots
Community BC Shots
Player Pics
Official WoW Shots
Official BC Shots


Donate and get extra forum perks
Support WoW:IncGamers

Go Back   Unofficial World of Warcraft Forums > WoW Community Forums > UI Customisation > UI/Mod Developer Forum

Reply
 
Thread Tools Display Modes
Old 14-06-2006, 02:18 AM   #1
OneMHz
WorldofWar.Net Member
 
Join Date: Jun 2006
Posts: 1
Trading an item with another player

I'm trying to write a mod or script to drop an item in a trade window. I have everything up to the point where the item actually gets dropped in their trade window. Can anyone point me toward the right function to do that?
OneMHz is offline   Reply With Quote
Old 14-06-2006, 07:46 AM   #2
BamED
WoW: IncGamers Member
 
Join Date: Oct 2005
Location: Denmark
Posts: 79
Try looking at the code for tradeDispenser.
BamED is offline   Reply With Quote
Old 14-06-2006, 09:37 AM   #3
include
WorldofWar.Net Member
 
include's Avatar
 
Join Date: Mar 2006
Posts: 62
yap. open the slave-frame.lua, and search for tD_Temp.tradeState == "populate"

there's the trade-engine ^^



its all initialized by the event "TRADE_SHOW" in tradeDispenser.lua, and uses some functions - tradeDispenserCompileProfile() - of the file tradeDispenser_Functions.lua.

maybe a bit complicated to extract the full engine ^^

Last edited by include; 14-06-2006 at 09:40 AM..
include is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Advertisement System V2.5 By   Branden