Control of Injection flags: |
ASM can control and change the state of some flags of Injection. The list of flags is its for each version of Injection. In the example the complete list of possible flags is given. This it means that depending on the version of Injection some flags they will not be accessible. If you should control the flag, which is not in the list, should be left demand on the forum. In the subsequent versions ASM the support of the desired flag, will be most likely, included on.
string asmGetFlag(string Name) Function will regain the importance of the flag of Name. CHECKED - is switched on. UNCHECKED - is switched off. INDETERMINATE - gray. asmClickFlag(string Name) Function will change the state of the flag of Name. Example:
sub main()
; To clean and to open the text window UO.TextClear() UO.TextOpen() ; To display into the text window the state of the flags UO.TextPrint('No client hung message flag is '+UO.asmGetFlag('nchm')) UO.TextPrint('Permit vars loopback flag is '+UO.asmGetFlag('pvl')) UO.TextPrint('Status bars fix flag is '+UO.asmGetFlag('sbf')) UO.TextPrint('Poison: bottle then obj flag is '+UO.asmGetFlag('pbto')) UO.TextPrint('Track world items flag is '+UO.asmGetFlag('twi')) UO.TextPrint('IgnoreSocket (400x) flag is '+UO.asmGetFlag('is400x')) UO.TextPrint('Battle Filter flag is '+UO.asmGetFlag('bfilter')) UO.TextPrint('Flush Log flag is '+UO.asmGetFlag('flush')) UO.TextPrint('Verbose Logging flag is '+UO.asmGetFlag('vlog')) UO.TextPrint('Light flag is '+UO.asmGetFlag('light')) UO.TextPrint('Tracker flag is '+UO.asmGetFlag('tracker')) UO.TextPrint('Corpses autoopen flag is '+UO.asmGetFlag('cauto')) UO.TextPrint('Destroy server menus flag is '+UO.asmGetFlag('dsm=')) UO.TextPrint('Filter sound flag is '+UO.asmGetFlag('fsound')) UO.TextPrint('Filterspeech flag is '+UO.asmGetFlag('fspeech')) UO.TextPrint('Verbose menu flag is '+UO.asmGetFlag('vmenu')) UO.TextPrint('Undead flag is '+UO.asmGetFlag('undead')) UO.TextPrint('Autostart flag is '+UO.asmGetFlag('autostart')) UO.TextPrint('Target XYZ fix flag is '+UO.asmGetFlag('txyzfix')) UO.TextPrint('Unset before set flag is '+UO.asmGetFlag('ubs')) UO.TextPrint('Stealth counter flag is '+UO.asmGetFlag('scounter')) UO.TextPrint('Smooth walk flag is '+UO.asmGetFlag('smwalk')) UO.TextPrint('AntiCrash flag is '+UO.asmGetFlag('anticrash')) UO.TextPrint('AoP map patch flag is '+UO.asmGetFlag('aopmp')) ; To switch on the flag "Track World Items", if it was discarded While UO.asmGetFlag('twi')=='UNCHECKED' UO.asmClickFlag('twi') Wend ; To switch off the flag "Verbose Logging", if it was established While UO.asmGetFlag('vlog')=='CHECKED' UO.asmClickFlag('vlog') Wend ; To preserve all changes in injection.xml UO.asmSaveInjParams() end sub |