Chronobines

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

cmsux
decaying skeleton
decaying skeleton
Posts: 3
Joined: Wed Jan 28, 2009 1:05 am

Chronobines

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]]

User avatar
three-p-o
a grimling bloodguard
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

Code: Select all

Me.Chronobines
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

User avatar
ieatacid
Developer
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
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.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

User avatar
ieatacid
Developer
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
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.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

cmsux
decaying skeleton
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!!