Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.
Moderator: MacroQuest Developers
-
cmsux
- decaying skeleton

- Posts: 3
- Joined: Wed Jan 28, 2009 1:05 am
Post
by cmsux » Tue Feb 03, 2009 10:40 pm
Will Chronobines get added to the alt currency part of the struct? Maybe I missed it but I was following the example of other alternative currency's as shown below. I am not very good at finding offsets, but I am interested in this piece of data for trading and automation. Maybe it's hidden under some name I didn't find?
Code: Select all
(int)pOtherCharData->GetAltCurrency(ALTCURRENCY_CHRONOBINES)
[[DataType:spawn]]
-
three-p-o
- a grimling bloodguard

- Posts: 600
- Joined: Sun Nov 03, 2002 5:59 pm
Post
by three-p-o » Wed Feb 04, 2009 12:13 am
Code: Select all
Me.Doubloons
Me.Orux
Me.Phosphenes
Me.Phosphites
Me.RadiantCrystals
Me.EbonCrystals
Since the above seems to work for all other currency types have you tried
I'd test myself but I no longer have eq installed.
Slovotsky's Law # 146. Power corrupts. Absolute power is kind of neat.
"When i open the dll files expecting to just copy their code to the cpp file is all garbage and not code. Is the procedure for adding dll plugins different?" -- fujitsu
-
ieatacid
- Developer

- Posts: 2727
- Joined: Wed Sep 03, 2003 7:44 pm
Post
by ieatacid » Wed Feb 04, 2009 12:33 am
That won't work, it was never added.
I don't have a means to test it, but try passing 0xb to GetAltCurrency.
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Wed Feb 04, 2009 2:00 am
0xb is Orux.
My guess is 0xf for chronos and 0xe for faycites. I'll test this tomorrow on a toon that has both.
-
ieatacid
- Developer

- Posts: 2727
- Joined: Wed Sep 03, 2003 7:44 pm
Post
by ieatacid » Wed Feb 04, 2009 4:09 pm
Right. I meant try 0xe since it's next in sequence of the defines in eqdata.h.
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Wed Feb 04, 2009 4:53 pm
rswiders wrote:0xb is Orux.
My guess is 0xf for chronos and 0xe for faycites. I'll test this tomorrow on a toon that has both.
I've tested both and they work correctly. I'll get it in an upcoming zip.
-
cmsux
- decaying skeleton

- Posts: 3
- Joined: Wed Jan 28, 2009 1:05 am
Post
by cmsux » Thu Feb 05, 2009 10:56 pm
Thanks very much!!