EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-23-2010, 10:08 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default Trade window

Ok i am trying to get the trade window to fire from a button. show_window Inventory.Trade doesn't work, it brings up the trade window but the window isn't refreshed. I cant add or accept, ect. Do anything with the window.

So I must be grabbing at the wrong file or something. If anyone could point me to the correct place / file it would be great.

Thanks,
Draven
Reply With Quote
  #2  
Unread 10-24-2010, 03:38 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

/start_trade or something like that
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 10-24-2010, 11:07 AM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Quote:
Originally Posted by gm9 View Post
/start_trade or something like that
Ok the command is /start_trade, but it also asks for target_id. I need to to use your target. Where would I get the target_id?

Thanks for the help gm9.
Draven
Reply With Quote
  #4  
Unread 10-24-2010, 11:46 AM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,095
Default

Are you trying to make a button to trade with your current target? That would be /start_trade %t or the last person to send you a tell would be /start_trade %rt. I think those would work anyway.

Silat
Reply With Quote
  #5  
Unread 10-24-2010, 11:57 AM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

I am making a quick trade button for my wife, it would be a button coded into the UI so it would be /start_trade %t but that doesn't seem to work.

It says [DEVL] Usage: start_trade < target_id >
Reply With Quote
  #6  
Unread 10-24-2010, 12:20 PM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,095
Default

Quote:
Originally Posted by Draven_Caine View Post
I am making a quick trade button for my wife, it would be a button coded into the UI so it would be /start_trade %t but that doesn't seem to work.

It says [DEVL] Usage: start_trade < target_id >
I confirmed they don't work. I also tried 0,1,2 as id's but it did not open a trade window with my target. Might need the actual player id and I have no idea how to get that.

Silat
Reply With Quote
  #7  
Unread 10-24-2010, 12:44 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

You mean this characterID?

http://everquest2.com/character/467592204/



(disclaimer: I do not know whether that will be a valid target_id, might also be a dynamic value)
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #8  
Unread 10-24-2010, 12:58 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Quote:
Originally Posted by gm9 View Post
You mean this characterID?

http://everquest2.com/character/467592204/



(disclaimer: I do not know whether that will be a valid target_id, might also be a dynamic value)
I am at a lose with this one, if anyone has any ideas please let me know. I think its a dynamic value I cant reach or havent found yet.

Thanks,
Draven
Reply With Quote
  #9  
Unread 10-24-2010, 01:41 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

I'm guessing that it's the same ID that apply_verb uses. There is no easy way to get this ID as it is dynamic for every zone instance. The only way to get this ID is to get the player in question to say something, which will create a player link in chat, which contains the player ID.

For example:
(1287622322)[Wed Oct 20 20:52:02 2010] \aPC 94918 Zanshen:Zanshen\/a says to the group, "Wall of Force!"
(1287627117)[Wed Oct 20 22:11:57 2010] \aPC 787438 Zanshen:Zanshen\/a says to the group, "?"
(1287628309)[Wed Oct 20 22:31:49 2010] \aPC 1141321 Zanshen:Zanshen\/a shouts, "InCoMiNg! **Mandoril** in 5 seconds!"
Reply With Quote
  #10  
Unread 10-24-2010, 01:46 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Thanks for the input,
I figured there was a reason I didnt see this in other mods. You guys are great help.

P.S. is there and way to change the chat colors just for one word? (Like "Charming A Lizard"?) Even bold or something so be noticed as the mobs name?

Thanks,
Draven
Reply With Quote
  #11  
Unread 10-24-2010, 07:30 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

Chat? Like you send to other people? There's only one way that I know of to color text in chat windows, and the server will strip the formatting tags after people abused it back in T5 days.
Reply With Quote
  #12  
Unread 10-24-2010, 09:40 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default

Yeah this is what i read other places, blah.
I am a eq2 vet just had a year break from it due to life and I remeber the bright pink INC!!! macro's lol

Thanks,
Draven
Reply With Quote
  #13  
Unread 10-25-2010, 12:10 AM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

Well, you can always wrap the text in a link. Typically the link color is different than the chat and echo colors... so I expect this would work for setting a specific string apart. It doesn't have to be a valid link that the game will be able to use, just one that looks usable until you click on it.

For example:
Charming \aNPC -1 whatever:A Lizard/\a
Charming A Lizard
Reply With Quote
  #14  
Unread 10-25-2010, 05:31 AM
Jamesc146's Avatar
Jamesc146 Jamesc146 is offline
A Griffon
 
Join Date: Nov 2008
Server: Butcherblock
Posts: 101
Default

dunno if it's exactly what you are looking for but it SHOULD work to provide your quick trade button and can be done in game.

create in-game the following macro:

/Target_Nearest_PC (can be subbed for a name e.g. /Target Bob)

/Start_Trade %T

That should open a trade window with the nearest person to you or in the case of the e.g. should open a trade window with that toon.

Edit: Just tried it in game myself and /start_trade still requires a <target_id> so this does not work unfortunately... will tinker with it see if I can figure something out.

Last edited by Jamesc146 : 10-25-2010 at 05:54 AM.
Reply With Quote
  #15  
Unread 10-25-2010, 01:12 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Maybe just make a request somewhere for them to modify the command to default to the current target if no ID is provided.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
Reply



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:32 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI