new ${Ini ,need some help

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

Moderator: MacroQuest Developers

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

new ${Ini ,need some help

Post by EqMule » Thu Jan 22, 2015 7:53 am

people here are telling me the new ${Ini is broken

I need examples so I can fix it, cause it works on all my inifiles...

I have no use for full macros, just a small example and an inifile that it fails on.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

eqfriend
decaying skeleton
decaying skeleton
Posts: 1
Joined: Mon Nov 26, 2007 3:38 pm

Re: new ${Ini ,need some help

Post by eqfriend » Thu Jan 22, 2015 9:07 am

${Ini[trash.ini,Trash]} returns NULL, think that should print the keys in the section

Which breaks

/for a 1 to ${Ini[trash.ini,Trash].Count["|"]}
/doSomethingWith ${Ini[trash.ini,Trash].Arg[${a},"|"]}
/next a

This worked fine for older versions.

Ini itself has
[Trash]
itemNameToDelete1=M
itemNameToDelete2=M
....

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: new ${Ini ,need some help

Post by EqMule » Thu Jan 22, 2015 9:16 am

Thank you looking into it right now
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: new ${Ini ,need some help

Post by EqMule » Thu Jan 22, 2015 10:10 am

Fixed in MQ2-20150122.zip
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.