Mombot script changes required
Just a not for those who updated to the latest TWX Proxy 2.05.73
If you are using mombot, you will have to have your mombot script changed a bit. Anywhere the script uses SECTOR.ANOMOLY you will have to change it to SECTOR.ANOMALY
because in the change log, EP changed the spelling. I found two places in mombot code where it has the potential to crash. one is in the save mow section. the other is in the sector where you can use the menu system to grid. using >> because it tries to read the anomaly reading from the database.
I would give you line numbers; however, my line numbers are going to be off from yours since i have made some other modifications to allow .ts files to load instead of just .cts files among other changes.
first section:
Code:
setVar $limpetsSafe (SECTOR.ANOMOLY[$nextSafeSector] = FALSE) OR ((((SECTOR.LIMPETS.OWNER[$nextSafeSector] = "yours") OR (SECTOR.LIMPETS.OWNER[$nextSafeSector] = "belong to your Corp"))))
change to:
setVar $limpetsSafe (SECTOR.ANOMALY[$nextSafeSector] = FALSE) OR ((((SECTOR.LIMPETS.OWNER[$nextSafeSector] = "yours") OR (SECTOR.LIMPETS.OWNER[$nextSafeSector] = "belong to your Corp"))))
and then a place where it will crash because SECTOR.ANOMOLY will return "" which is not a number. where as SECTOR.ANOMALY will return a number because it is initialized to 0 to start.
so change:
Code:
if (SECTOR.ANOMOLY[$ADJ_SEC])
to:
Code:
if (SECTOR.ANOMALY[$ADJ_SEC])
I could not find any other references to ANOMOLY in the code, but there may have been more instances in code that I took out of mombot. but i'm pretty sure that is it.