cassio wrote:
why doesn't it work without the transactions? When leagues were starting Cartagena worked properly until suddenly it stopped. I have to be a bit technical to explain this, so anyone who is not interested in technicalities can stop reading here 
Last summer we changed the site code a lot. This was made to improve response time (mainly), and to shift the coding mode from procedural programming to object oriented programming.
For example we used to have several include files sharing global variables and procedures. Sure it worked, but was really hard to keep the site working when we were changing something. When we started to code the site, we had absolutely no idea that YouPlayIt was going to grow this way, so we started from some spare code we already wrote for other projects and put in it a lot of new spaghetti-code, just to have something running fast (I know, it's a shame, but we already had a lot of time to regret it ).
Our efforts to insulate code started from the interface. There were 2 includes for header and footer, and another one for the procedures. The user handling was scattered in several modules too, and there was a module to send mail, and another one to show the user related data. Another include was used for declaring global variables.
After the last restyling we now have a SiteInterface class for every page, and we can add different CSS or Javascript to a single page simply using the proper method. Every users is handled in a proper User class, that now include the send mail and the ShowData method. The SiteInterface encapsulates a User class used to save the currently logged user data, and the global variables are almost gone. It was a big programming effort, and we had to touch every page in the site to implement these new classes.
Everything worked flawlessly, but Cartagena. There was no insulation at all in the Cartagena Move code, and this impacted very bad with the new implementations. One of the reason was that the the new OO code was implemented easily inside leagues, but was really hard to put it in the old Cartagena Move module. We did several patches, but in the end the best way to fix everything was to rewrite the move code in a proper way.
At the beginning of this year Cartagena already had a complete restyling for the ShowGame code, that was written using an object oriented approach: there is a Game object, containing a map object, several Subscribers object and everyone of them implements a User object.
That was the right time to join the last written implementation with the already written one, and this is what I started to do.
Then the problems began. Not programming problems, but personal problems, that kept me away from the site since now.
In the meantime Nick was doing a great job working to several improvement for Blue Max and WS&IM. Some of them were released, but other were not because he suddendly too had a lot of real life work to do.
That's all. I'm back now, at least until the next real life tidal wave . I have not the time I'd like to, yet, but Nick asked to our friend avallega to help us, and we both were really happy when he accepted to do it .
it is easier to be patient if there are some news how the status is. Message received.  Currently the new move code is written, but is in an alpha state. There are several bugs to squash, and I'm working on it. Excuse me if I prefer not to talk about a release date but, as I always say, this is only an hobby, and the time we can spend on it depends by too many factors. 
Bye Fourth |