Hi:
I need some help from the administrators of GCCG... when I try to buy some cards, the whole system falls appart, specially with some "infected" accounts. The cards seems to be no longer on sale, but the systems fails to notice it, and crumble....
It's possible to clean the file with the cards on sale (just delete all of them)??
then, the active users could put again the real cards on sale, and fix the problem.
PLEAS HELP
Felipe, from Santiago, Chile
problem with cards ON SALE
This looks interesting. Surely it's worth a try:
Code: Select all
#
# RemoveObsoletePrices() - Helper function to be called once after
# transition from older server to the caching server. Using God
# account, this can be done by issuing /debug RemoveObsoletePrices().
#
def RemoveObsoletePrices
{
for(s)(set.data)
{
Reply("Removing obsolete prices from "+s[1][0]+"...");
Reply("Found "+remove_obsolete_prices(seq(s[1][1],s[1][2]))+" entries.");
}
return("done");
}
Marcos tried that function using user "god" some weeks ago but the server crashed too.
anonycat wrote:This looks interesting. Surely it's worth a try:
Code: Select all
# # RemoveObsoletePrices() - Helper function to be called once after # transition from older server to the caching server. Using God # account, this can be done by issuing /debug RemoveObsoletePrices(). # def RemoveObsoletePrices { for(s)(set.data) { Reply("Removing obsolete prices from "+s[1][0]+"..."); Reply("Found "+remove_obsolete_prices(seq(s[1][1],s[1][2]))+" entries."); } return("done"); }