Thanks. The addon update trigger was off. However, I still have problems.
I tried these combinations:
/A>([\pL]+)/i,
/A>([\w]+)/i
/A>([^\s]+)/i
/A>([\pL]+)\s/i
/A>([\w]+)\s/i
I got this in the log:
- Code: Select all
# [ Scatmanome ]
Scatmanome has main Scatmanome
Scatmanome is a main
Scatmanome has no alts
# [ Scatgurl ]
Scatgurl has main Scatgurl
Scatgurl is a main
Scatgurl has no alts
With this setup
/A>([^\s]+)\s/i, I got this
- Code: Select all
# [ Scatmanome ]
Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /home/luke/public_html/Roster_Alliance/addons/AltMonitor/update.php on line 61
Scatmanome has main Scatmanome
Scatmanome is a main
Scatmanome has no alts
# [ Scatgurl ]
Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in /home/luke/public_html/Roster_Alliance/addons/AltMonitor/update.php on line 61
Scatgurl has main Scatgurl
Scatgurl is a main
Scatgurl has no alts
All 'Scat' characters show as 'Mainless Alts'.
Here is the player note setups
Scatbankone A>Scatmanicus Luke/Banker[+2]
Scatdahunter A>Scatmanicus Luke/Mi-Bl[+2]
Scaterogue A>Scatmanicus Luke/Ec-Ta[+2]
Scatfemvicar A>Scatmanicus Luke/He-Al[+2]
Scatgurl A>Scatmanicus Luke/Sk-Le[+2]
Scatlock A>Scatmanicus Luke/He-Mi[+2]
Scatmage A>Scatmanicus Luke/Mi-Bl[+2]
Scatmandru A>Scatmanicus Luke/Al*He*[+2]
Scatmanicus M>Luke/Ec*Ta*[+2](CST-USA)
Scatmanome A>Scatmanicus Luke/Mi-Eg[+2]
Another member:
Drevan M>Shane/Mi-Ec[+3](EST-USA)
Ashenkhar A>Drevan Shane/He*Al*[+3]
At this point, I don't know what else I can try. Any suggestions?
Should I edit all players notes and add an ending character such as ":"?
A>Scatmanicus:Luke/Mi-Bl[+2]
Then setup the regex as:
/A>([\pL]+):/i?
Once other question. I notice when I make any changes to the Roster config, that it updates the 'alt_type' field in the 'config' table. However, I do notice that there is a 'getmain_regex' record in the 'addon_altmonitor_config' table which does not change when I edit the Roster config. It was set to '/ALT-([\\\\\\\\w]+)/i' which is what it was when I installed the Alt-Monitor addon. This does not get updated when I change the Roster config. I have tried editing it directly to match each of the changes that I made in the Roster config page but it made no difference. Just to test whether it was being accessed, I put in a bad setup '/A>([/pL]+)/i' and got an error message indicating a preg_match error ..not recognizing 'p'. This tells me that something must be accessing that record. I reset it back to the original '/ALT-([\\\\\\\\w]+)/i'.
All in all, I'm sure it's something simple that I have missed but at this point I can't see the forest for the trees.