Word Scramble Game
This word scramble game is a modification of Kyttias's HiLo game! ~courtesy of Kyttias Word Scramble Game http://i1290.photobucket.com/albums/...pswnetlzoj.png Demo: JSBin Preview Download: Compressed Folder View game at yoursite.com/wordscramble Please upload these files: games/.htaccess games/wordscramble/sendscore.php games/wordscramble/wordscramble.php games/wordscramble/wordscramble.css games/wordscramble/wordscramble.js wordscramble.php classes/class_cookies.php (replace the original file) view/wordscramble.php Create this table if you haven't: phpMyAdmin->SQL->paste Code:
CREATE TABLE IF NOT EXISTS `adopts_games` ( The script runs games/wordscramble/wordscramble.js not games/wordscramble/wordscramble_non.js. wordscramble.js is obfuscated for security: Re-obfuscate Edited Files Here. This game uses three filler words to unscramble! Don't forget to add more! To do so, edit the arrays at lines 8 and 40 in wordscramble_non.js. Then, obfuscate the code and paste it into wordscramble.js. |
Er, ok, something's definitely not right. As soon as I submit the answer it tells me game over, see you tomorrow, and says I have 0 plays left for today (though I've only played once), and then if I refresh the page it resets and says
"Plays Left Today: of 20" Not updated my currency amount at all, though I guarantee I am getting the answers correct. The only thing I changed in the files would be the words available to unscramble. It's also not updating at all anywhere in the database, despite me now having attempted to play 4 times. Even with the 100% original files it's still having this error. |
*bangs head on table*
I forgot one more thing... I recently posted a code replacement for the class cookies file in the hilo thread. Please replace your original file with that? Sorry, Ill do a proper thread update when I have access to my computer. |
Oh dear, I tried that and it resulted in this;
Catchable fatal error: Argument 2 passed to Registry::set() must implement interface Resource\Native\Objective, instance of Cookies given, called in /home/catisserie/public_html/classes/class_mysidia.php on line 237 and defined in /home/catisserie/public_html/classes/class_registry.php on line 198 |
Quote:
PHP Code:
|
Okay, it seems to be working so far...hopefully the reset tomorrow works as well (since that's where I was running into major issues with Kyttias's game script).
Thank you, Wallie :) Edit; Just a note, all of my users have had to log out and then log back in to get it to work correctly. |
Quote:
|
Uploaded the files, tried to visit the game, I get this message;
http://prntscr.com/a445x7 |
Error Message
Quote:
Hope this helps. |
Quote:
|
All times are GMT -5. The time now is 12:12 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.