![]() |
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 |
/start_trade or something like that
|
Quote:
Thanks for the help gm9. Draven |
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 |
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 > |
Quote:
Silat |
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) |
Quote:
Thanks, Draven |
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!" |
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 |
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.
|
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 |
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 |
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. |
Maybe just make a request somewhere for them to modify the command to default to the current target if no ID is provided.
|
| All times are GMT -5. The time now is 04:56 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI