Player Combat & News enhancements
OK, it's late, but I finally finished the basic code for Player Challenges/Combat. There's a few bugs I see there, but it basically works. The one thing that is a bit weird is that if you take damage in player combat, but then go to the forest and visit the healer, you will not show the damage, but if you go back to Challenge, the damage is still there. For now, the "fix" is to Raid in the Forest, take at least one HP damage from a monster which will cause your real status to be reloaded from the database, and then you will be able to fully heal. Easy fix, but it's late and I've gotta work tomorrow.
Currently you can only fight Offline players, they do not show up on the challenge list if they are online. That's phase two code that will come soon.
You get three player challenges per day. The Attributes display does not yet show how many you have left, but after your third one you will not be allowed to fight other players.
I also enhanced the Activity/News to also show yesterday's happenings, and added the ability to read the News when not logged in. (Primarily so that people who are killed by a player challenge can figure out who killed them. I will be adding to the login code to tell you who killed you, but for now, the only way to tell is from the News)
It's late, I'm going to sleep...
This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those who have expressed a prior interest in receiving the included information for research and educational purposes. For more information go to: http://www.law.cornell.edu/uscode/17/107.shtml
. If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner.