Posted: Sun Dec 04, 2005 10:53 pm Post subject: Had to make some changes (Dragonfly Arcade Update)
Made some changes to fix a scoreing problem.
I found that the code that sends out an email when one of the top 3 scores in a game are beat was conflicting with storing the scores. I pulled this code out and am currently looking at another way to use this.
Also to speed up the storescore I have taken out all extra code and seperated it into smaller functions. So now the leader stats, token stats, and storescore will work seperate and faster. Soon i will probably ad the email in a seperate function.
I have also added an alltime field so we can keep all the hiscores and when a jackpot is given out all the scores for that game will be reset in the normal hiscores table.
Also added a latestpot table so users can see who won the last pot at what time, what game and how much..
Contests are working fine and hope to soon be able to get together with forahoby to work out a release of this version. Have a few more things to add and go back over the code and make it more Language friendly. Also need to make a new install file and test that too.
Cheers
Scetter _________________ My web site running the latest build of pnFlashGames(hq) for Dragonfly CMS.
http://www.skeeterspub.com
Joined: May 22, 2003 Posts: 23948 Location: NSW, Australia
Posted: Mon Dec 05, 2005 5:20 am Post subject:
once again excellent work.. Keep it up.
Ill get some time very soon over xmas to work on the PHPNUKE version again.. Im going to be doing exactly the same thing tidying up and re-writing functions for all the save scores etc etc and other new functions which will be coming.
Id like to thankyou for starting to code those new sections as i was running out of ideas myself.. You have some nice features and i will defaintely adopt them in the phpnuke version so both versions can stay up to date and a mirror of each other.
Anyway, just keep us in the loop with your updates.. You will see the flashgames module update again soon on HQ so then you know im working on ut.. hehheh
Well I said contests are working fine. They were untill the contest expired and didn't give the prizes out right. I fixed that and am waiting for the next contest to end to see if it is going to update right. I sure it will but want to make sure anyways.
While I have been waiting to see if the contest fix will work I have started to add active gamers page and also added Budies list option.
The active gamers link draws info from sessions so any users that are listed have to actually have the browser open and in the Arcade to show on the list. There will be a link in this list to add users to your buddy list.
On your buddy list page it will show all your buddies and again check to see if they are online and where with a link to the location.
I also plan on adding the add buddy link to other parts of the arcade like Hi scores and such and maybe the blocks too.
Also need to add a PM buddu link to Buddies list.
Moving along.
It seems like right when I think I am going to finish up I think of something else to add.
Later for now. _________________ My web site running the latest build of pnFlashGames(hq) for Dragonfly CMS.
http://www.skeeterspub.com
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum