${ini} Bug

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

${ini} Bug

Post by LordGiddion » Thu Apr 22, 2004 8:40 pm

This is a snipette of the ini

Code: Select all

[shortcut spells]
Lure=Lure Of Thunder
Snare=Atol`s Spectral Shackles
Nuke=Draught of Ice
This is the Code

Code: Select all

Sub BuildShortCuts
	/declare Shortcutlist local
	/varset Shortcutlist "${Ini[@IniFile,shortcut spells,-1,None]}" 
	/echo "@Shortcutlist"
/return
Based on the old $ini function and the TLO Post I expect Shortcutlist to be Lure|Snare|nuke|| what gets echo'd back is just Lure. Am I missing something here or is there some other way to get the list of keys?
BTW also tried it

Code: Select all

/varset Shortcutlist "${Ini[@IniFile,shortcut spells]}" 
With the same results

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Thu Apr 22, 2004 8:43 pm

It's designed to work the same as the old $ini, i'll have to look into it some more.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

SomeEqDude
orc pawn
orc pawn
Posts: 26
Joined: Sun Dec 07, 2003 6:44 am

Post by SomeEqDude » Fri Apr 23, 2004 2:20 am

snippet from click.ini:

Code: Select all

[config]
usespell=1
Type from within EQ:
/echo ${Ini["click.ini","config","usespell","0"]}

echos the word "config", as if it is reading the first section.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Apr 23, 2004 2:27 am

yeah.. problem is all the quotes arent supported, rip those out ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

SomeEqDude
orc pawn
orc pawn
Posts: 26
Joined: Sun Dec 07, 2003 6:44 am

Post by SomeEqDude » Fri Apr 23, 2004 2:27 am

Nevermind, guess it works if you remove all the " 's, but rathey icky since you can't include any strings with a comma in it.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Apr 23, 2004 2:41 am

${Ini} used to get a list of the keys will work next zip.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0