|
10-23-2010, 10:08 PM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
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
|
10-24-2010, 03:38 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
/start_trade or something like that
|
10-24-2010, 11:07 AM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
Quote:
Originally Posted by gm9
/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
|
10-24-2010, 11:46 AM
|
A Griffon
|
|
Join Date: Nov 2005
Server: Nagafen
Posts: 1,096
|
|
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
|
10-24-2010, 11:57 AM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
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 >
|
10-24-2010, 12:20 PM
|
A Griffon
|
|
Join Date: Nov 2005
Server: Nagafen
Posts: 1,096
|
|
Quote:
Originally Posted by Draven_Caine
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
|
10-24-2010, 12:44 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
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)
|
10-24-2010, 12:58 PM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
Quote:
Originally Posted by gm9
|
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
|
10-24-2010, 01:41 PM
|
|
A Griffon
|
|
Join Date: Mar 2005
Server: Permafrost
Posts: 256
|
|
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!"
|
10-24-2010, 01:46 PM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
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
|
10-24-2010, 07:30 PM
|
|
A Griffon
|
|
Join Date: Mar 2005
Server: Permafrost
Posts: 256
|
|
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.
|
10-24-2010, 09:40 PM
|
|
A Griffon
|
|
Join Date: Oct 2009
Server: Unrest
Posts: 155
|
|
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
|
10-25-2010, 12:10 AM
|
|
A Griffon
|
|
Join Date: Mar 2005
Server: Permafrost
Posts: 256
|
|
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
|
10-25-2010, 05:31 AM
|
|
A Griffon
|
|
Join Date: Nov 2008
Server: Butcherblock
Posts: 101
|
|
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.
|
10-25-2010, 01:12 PM
|
|
A Griffon
|
|
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
|
|
Maybe just make a request somewhere for them to modify the command to default to the current target if no ID is provided.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:22 AM.
|
|