Dynamic loading config into custom script for GG
Posted: Thu Aug 30, 2012 7:41 am
Hello!
I have 2 scripts, where i need to make 2 things with separate config file:
1. Need to have ability to manage config with separate scripts (on Python or PHP or other)
2. Need to load config to gg script exactly on time, when needed function is called. Because config may change during idle time by other (external or gg) script [1]
Configs will be contain arrays as follow:
May i create this structiure with ini file? If so, how can i parce ini file in gg script?
I have 2 scripts, where i need to make 2 things with separate config file:
1. Need to have ability to manage config with separate scripts (on Python or PHP or other)
2. Need to load config to gg script exactly on time, when needed function is called. Because config may change during idle time by other (external or gg) script [1]
Configs will be contain arrays as follow:
personal[STEAM_ID] = "somevalue"
personal[OTHER_STEAM_ID] = "someothervalue"
random[] = "onemorevalue"
random[] = "and_so_on"
personal[OTHER_STEAM_ID] = "someothervalue"
random[] = "onemorevalue"
random[] = "and_so_on"
May i create this structiure with ini file? If so, how can i parce ini file in gg script?