Page 1 of 1
Can't monitor events - IGF needs updating
Posted: Tue Jun 28, 2011 8:54 pm
by Mushroomstamp
Getting the error message when I try to start an event monitor in a waypoint that my IGF is not installed or needs updating and I won't be able to monitor events until I do so. But I've SVN updated and am running 610... deleted the folder and updated again with same result. What am I missing?
Re: Can't monitor events - IGF needs updating
Posted: Tue Jun 28, 2011 9:51 pm
by rock5
If you don't know what the ingamefunctions are, try doing a search for it at the rombot wiki.
http://www.solarstrike.net/wiki/index.p ... le=RoM_Bot
Re: Can't monitor events - IGF needs updating
Posted: Tue Jun 28, 2011 10:44 pm
by Mushroomstamp
I have definitely become a bit more familiar with the Wiki today. The thing I don't understand is that igf_events.lua seems to have the functions in it. Although looking through the function, I think I may be calling it wrong. I had copy & pasted from another thread "EventMonitorStart", though it looks like it should just be "StartMonitor". Gonna try that.
EDIT:
Neither StartMonitor() nor igf_events:StartMonitor() works.
EDIT:
Ugh... forgot about the igf folder in the ROM folder.

Re: Can't monitor events - IGF needs updating
Posted: Tue Jun 28, 2011 11:36 pm
by rock5
Mushroomstamp wrote:EDIT:
Ugh... forgot about the igf folder in the ROM folder.

Just to clarify, the ingamefunctions are only available ingame, not to the bot. The bot has to use RoMScript to run those functions. Typically there are bot functions that act as a go-between between those functions and your code. In this case it is the EventMonitorStart, EventMonitorCheck and similar functions. They are found in 'functions.lua'.