Page 1 of 1
Unintended purge....
Posted: Sat Jun 02, 2018 10:58 pm
by Padanfain
....happens when taking census of Horde Brazil Tol Barad.
Tol Barad is linked with Nemesis. Census of either or both factions of Nemesis works normally. Census of Alliance Tol Barad works normally.
It seems that after taking census on any combination of realms then census Horde Brazil Tol Barad triggers a database purge with no error or chat box message. I am using English instead of Portuguese so maybe someone using Portuguese would see some indication of a purge? Database .lua goes from say 4,415KB to 31KB and only Tol Barad and Nemesis results are in the .lua.
Purge, Census random US realm then Horde Brazil Tol Barad triggers database purge.
Purge, Census random Latin American realm then Horde Brazil Tol Barad triggers database purge.
Same with Oceanic.
Posted: Sat Jun 02, 2018 11:02 pm
by Padanfain
Also, just for kicks.... I removed all add-ons, reset interface, cleared cache, etc and reinstalled CP, tested with same results.
Posted: Sat Jun 02, 2018 11:16 pm
by Padanfain
Ooops, not a 'WarcraftRealms.com Bugs' but a 'CensusPlus UI Mod Bugs' topic. Sorry, you don't have to be gentle, please throw me over there lol.
Posted: Mon Jun 04, 2018 2:52 pm
by bringoutyourdead
I am completely dumb founded... I can conceive of no reason where one faction on a realm could trigger a purge and the other does not.
Considering that faction is not even part of any selection code for determining if a purge is required.
English and Portuguese are the two special cases where you need to adjust the local presented to the addon based upon the region the client is in.
But "For the Horde" isn't in the addon code.
I will give it a try, it will be interesting to see if I get the same results.
Posted: Mon Jun 04, 2018 4:10 pm
by bringoutyourdead
and... I find that Tol Barad appears to be on a new serverID as the realm identification we had now returns as no match.
Need to go back and try to find the new serverID so we can match against it on this realm.
I did my testing on Alliance and found the purge happening.
Posted: Mon Jun 04, 2018 5:05 pm
by bringoutyourdead
a list of realms that may cause purge issues.
Oceanic
["3726-Dath'Remar"] now apparently at [3735]
["3728-Jubei'Thos"] now apparently at [3736]
["3728-Gundrak"] --> [3737]
["3721-Nagrand"] --> [3734]
["3724-Dreadmaul"] --> [3733]
["3729-Saurfang"] --> [3738]
I am out of time to look at this today.
I will check it out later this week.
As for Tol Barad, I will need to hack at the underlying API coding as my base line library provider doesn't know of a change (as of 29 days ago.)
Posted: Mon Jun 04, 2018 6:58 pm
by Padanfain
I thought that looked more like the Alliance sabotaging the Horde census to delete data making it covertly "For the Alliance."
Interesting, I know I tried random realms then Tol Barad Alliance with no issues but seeing what you found I should have seen a purge. Will have to try again just for kicks.
My upload last night included all the Oceanic realms though I did not census Jubei'Thos directly because it is connected to Gundrak and did not census Nagrand directly as it is connected to Caelestrasz. The other realms you mentioned didn't cause a purge for me. The other two realms I did not census directly were Khaz'goroth and Thaurissan.
Posted: Tue Jun 05, 2018 5:52 pm
by bringoutyourdead
It looks like the source developer data site has some bad info.
Or the programmer who created and maintains the original version of the library may have goofed some of his database entries.
Or since all the server implementations is done using virtualization technologies anyway... maybe the clients from certain regions are presented one ID number for the same active realm as clients from another region.. (probably not to be honest)
Anyway the changes I listed above from source library are bogus for real client usage here in the US.
In the library I forked from the original code, only Tol Barad is incorrect.
Since you can get a census using the other connected realm.. I don't think I will be doing a quick fix release just for this issue.
If you wish to fix it yourself you can do the following:
Using Notepad.exe (Microsoft's original default simple editor)
open the file LibRealmID.lua found in the censusplus addon directory at censusplus\libs\LibRealmID
You will need to click on the Text Files box and select all files to see the file desired.
Once the file is opened it will look badly formatted... leave it as is!!! don't try to make it pretty.
Instead just select menu item Edit then Find
in the find box enter
3210-Tol
In the highlighted area showing the found match... change 3210 to 3208
then save the file.
next time you log into a realm character the correct server data will be found.
Posted: Tue Jun 05, 2018 7:56 pm
by Padanfain
Cool beans.

Thank you boyd