View Full Version : Add-On Releases - -:[GAME]:- Sudoku 2009
Coroner
05-24-2009, 10:00 PM
What is it ?
It's another game for your vBulletin called Sudoku. You don't know what a Sudoku is ? try GOOGLE.
Does it works with vBcredits / vBbux ?
Yes of course. The game will automatically detect if one of those mods are installed (see image no.4).
How does it works ?
You can choose between 4 different levels (easy, middle, hard and evil). For each sudoku, you will get a time (those are also the points) - see image no. 4. Each seconds the score will decrase by 1.
Each mistake will cost you 100 points (default setting).
The goal is to finish the sudoku as fast as you can. A started Sudoku MUST be finished !
This game used 3rd party routines from:
* Copyright by Frieder Kesch
* http://sudokucheater.ikesch.de
*
* License: GNU General Public License 2 (GPL 2) or later
Support is given for anyone who clicked "installed"
Cheers
Coroner
Coroner
05-25-2009, 10:14 AM
*reserved*
Reycer
05-25-2009, 11:27 AM
getting this error when I try to go into the game:
Fatal error: Call to a member function on a non-object in /home/content/m/d/e/mdelcour201/html/forums/includes/class_sudoku.php on line 469
ArnyVee
05-25-2009, 11:35 AM
Once confirmed that it's working, this is one game that I'm definitely interested in adding to the site. :)
Coroner
05-25-2009, 12:08 PM
getting this error when I try to go into the game:
Fatal error: Call to a member function on a non-object in /home/content/m/d/e/mdelcour201/html/forums/includes/class_sudoku.php on line 469
Are you using php5 ? I can't reproduce this error.
Reycer
05-25-2009, 12:11 PM
no, I am using PHP4.
I've set the permissions (for right now) so that unregistered guests can get in (you for right now).
www.lacledeforum.com/forums/sudoku.php
It works fine, until you try to play the game. Then I get the error.
Coroner
05-25-2009, 12:13 PM
You can't play as a guest. Try it with PHP 5
Coroner
05-25-2009, 12:16 PM
Try this:
http://www.php-unlimited.com/sudoku.php
User: tester
Pass: test
Reycer
05-25-2009, 12:46 PM
You can't play as a guest. Try it with PHP 5
does it only work with PHP5?
Reycer
05-25-2009, 12:47 PM
Try this:
http://www.php-unlimited.com/sudoku.php
User: tester
Pass: test
won't let me in.
Du hast einen falschen Benutzernamen oder ein falsches Kennwort eingegeben. Gehe bitte zur?ck und gib die richtigen Daten ein. Vergiss dabei nicht, auf die Gro?-/Kleinschreibung des Kennwortes zu achten. Hast du vielleicht dein Kennwort vergessen?
Du hast bisher 2 mal versucht, dich anzumelden. Nach dem 5. fehlerhaften Versuch ist eine Anmeldung f?r die n?chsten 15 Minuten nicht mehr m?glich.
Biker_GA
05-25-2009, 12:50 PM
Installed and working fine here. Will report back if my users find anything amiss.
Coroner
05-25-2009, 01:02 PM
won't let me in.
Du hast einen falschen Benutzernamen oder ein falsches Kennwort eingegeben. Gehe bitte zur?ck und gib die richtigen Daten ein. Vergiss dabei nicht, auf die Gro?-/Kleinschreibung des Kennwortes zu achten. Hast du vielleicht dein Kennwort vergessen?
Du hast bisher 2 mal versucht, dich anzumelden. Nach dem 5. fehlerhaften Versuch ist eine Anmeldung f?r die n?chsten 15 Minuten nicht mehr m?glich.
Sorry, try now.
I'm using PHP5 and have no errors
DobieGillis?
05-25-2009, 01:20 PM
installed! Working perfectly except I suck at this game! Nice work, again, Coroner.
STOP I"M TOP
05-25-2009, 10:04 PM
thanx
Brandon Sheley
05-25-2009, 10:06 PM
fun game, nice idea for a mod :)
mystikmedia
05-26-2009, 04:56 AM
Is it possible to tweak the text that says "If something wrong by submit..."?
dtv100
05-26-2009, 05:10 AM
thanks for share i may install little later.
Hornstar
05-26-2009, 09:12 AM
Is there anyway you can make it more square? It is too rectangle and to hard to follow diagonally.
Hornstar
05-26-2009, 09:21 AM
Also editing 40+ usergroups takes so much time and effort. There needed to be an easier way to give people permission or not permission to play this.
Hornstar
05-26-2009, 09:33 AM
Also there are quite a few grammatical mistakes. do you want me to list them all?
Also where do you change the vbux settings? because I am not having any Soduko settings show up under -> vbulletin options.
also in the high scores page, what does Los in English mean?
Also on the high scores page, it would be great to have it default set to show All scores. Where it then shows another column - > Level
All (with the extra column 'Level') - default
Easy
Middle
Hard
Evil
Coroner
05-26-2009, 10:45 AM
I know, that it's an "rectangle" - the width will generated automatically.
Permission are always set in "usergroups" - that's the easiest way.
I know, my grammar isn't the best - and yes you can tell me the grammar mistakes.
LOS = GO (sorry)
vBBux will automatically detect. If it's avaible, see the settings for "sudoku".
anestetic
05-26-2009, 01:54 PM
thanks Coroner ;)
Digital Jedi
05-28-2009, 08:06 AM
A couple of things. I can't seem to find any settings such as in the 4th screenshot. I have vBCredits installed.
The other is, well, it looks like my Usergroup settings are truncated. Is there supposed to be only one yes/no setting with no title?
Coroner
05-28-2009, 08:28 AM
In AdminCP - the "Credit Settings" are only avaible if:
vBCredits, vBBux/VBPlaza or my own Asset Mod
is installed. Did you see those settings ?
Yes, it's only the Yes/No option.
Digital Jedi
05-28-2009, 09:37 AM
Yes, I have vBCredits installed. I just can't seem to find the Credit settings for Sudoku anywhere. Lack of sleep maybe?
Vinyljunky
05-28-2009, 11:21 AM
Yes, I have vBCredits installed. I just can't seem to find the Credit settings for Sudoku anywhere. Lack of sleep maybe?
AdminCP -> pHp Unlimited -> Wordfinder 2009 -> Credit-Hack Options
:up:
Coroner
05-28-2009, 11:28 AM
AdminCP -> pHp Unlimited -> Wordfinder 2009 -> Credit-Hack Options
:up:
*smile*
AdminCP -> pHp Unlimited -> Sudoku 2009 -> Credit Settings
Same as in "Wordfinder 2009", "xTreme Dices 2009" or "4 Pins" (coming soon)
Digital Jedi
05-28-2009, 09:08 PM
Okay, so I'm not too sleepy. I must be missing a file. I'll check the uploads again.
Digital Jedi
05-28-2009, 09:14 PM
Well, that's weird. Everything is uploaded. cpnav file and all the others are there. But nothing called PhP Unlimited. I downloaded it a couple of times and installed twice, so not sure on this one. Maybe I'm still sleepy.
EDIT: Just tried adding your other two game add-ons. Still no PHP Unlimited in ACP. Are they just not detecting it for some reason?
4nawadir.com
05-28-2009, 09:52 PM
Very Nice Mod
Installed
Hornstar
05-30-2009, 09:43 PM
I have PHP unlimited showing up, and under that I have only Sudoku 2009. I click on that, but it only shows me the settings and nothing for the vbplaza credits which it should be detecting automatically since I have vbplaza installed.
2nd. I have memebrs saying the look is weird and confusing. It needs to be made more square they say, as it is too rectangle and confusing.
Coroner
05-31-2009, 06:40 AM
For the "rectagle" you can change the template "sudoku_play"
search for:
$sudokufield
and change it into:
<table cellpadding="0" cellspacing="0" border="0" style="width:600px">
<tr>
<td class="alt2">$sudokufield</td>
</tr>
</table>
I don't know, why no "credit settings" avaible - I have only vbplaza installed and it works :confused:
ArnyVee
05-31-2009, 10:05 AM
I can't wait for this one and for the Wordfinder to be working great!
They should be really fun games to add to my site :D
RichieBoy67
05-31-2009, 01:00 PM
Great mod! Nice and easy install and seems to work flawlessly so far...
Nice addition to any website!
Thanks
forum4
06-01-2009, 06:00 AM
OK, had to install this one to. Never played this game till now. Love it! The above code works great to and makes it much easier to play.
Well, if I had to create this in German, I'd sure have a lot of spelling and grammar issues to.
Ich spreche Deutsch aber nicht so gut!
Thank you!
djilou
06-01-2009, 08:11 AM
there are no query to create tables guthaben and guthaben_shop_preise
<installcode><![CDATA[
$db->hide_errors();
$db->query("ALTER TABLE `" . TABLE_PREFIX . "usergroup` ADD `sudokupermissions` INT(10) UNSIGNED NOT NULL DEFAULT '0'");
$db->query("ALTER TABLE `" . TABLE_PREFIX . "administrator` ADD `customsudokupermissions` INT(10) UNSIGNED NOT NULL DEFAULT '0'");
$db->query("ALTER TABLE `" . TABLE_PREFIX . "guthaben` ADD `sudoku` INT(11) NOT NULL DEFAULT '0'");
$db->query("ALTER TABLE `" . TABLE_PREFIX . "guthaben` ADD `sudoku_pay` INT(11) NOT NULL DEFAULT '0'");
$db->query("ALTER TABLE `" . TABLE_PREFIX . "guthaben` ADD `sudoku_get` INT(11) NOT NULL DEFAULT '0'");
$db->query("INSERT INTO `" . TABLE_PREFIX . "guthaben_shop_preise` (`name`,`pvar1`,`pvar2`) VALUES ('guthaben_shop_sudoku_pay','\$guthaben[sudoku_pay]','\$guthaben[sudoku]')");
$db->query("INSERT INTO `" . TABLE_PREFIX . "guthaben_shop_preise` (`name`,`pvar1`,`pvar2`) VALUES ('guthaben_shop_sudoku_get','\$guthaben[sudoku_get]','\$guthaben[sudoku]')");
$db->query("DROP TABLE IF EXISTS " . TABLE_PREFIX . "sudoku_config;");
$db->query("CREATE TABLE " . TABLE_PREFIX . "sudoku_config (
subsend int(11) NOT NULL default '100',
plevel1 int(11) NOT NULL default '2000',
plevel2 int(11) NOT NULL default '3500',
plevel3 int(11) NOT NULL default '5000',
plevel4 int(11) NOT NULL default '8000',
postings int(4) NOT NULL default '0',
guthaben int(11) NOT NULL default '0',
month int(11) NOT NULL default '30',
pay int(4) NOT NULL default '0',
betrag int(4) NOT NULL default '0'
) TYPE=MyISAM;");
$db->query("INSERT INTO " . TABLE_PREFIX . "sudoku_config (betrag) VALUES (0)");
$db->query("DROP TABLE IF EXISTS " . TABLE_PREFIX . "sudoku_user;");
$db->query("CREATE TABLE " . TABLE_PREFIX . "sudoku_user (
userid int(11) NOT NULL default '0',
ingame int(2) NOT NULL default '0',
level int(2) NOT NULL default '0',
pgame text NOT NULL,
ogame text NOT NULL,
score int(11) NOT NULL default '0',
time int(11) NOT NULL default '0',
endtime int(11) NOT NULL default '0',
mistakes int(4) NOT NULL default '0'
) TYPE=MyISAM;");
$db->query("DROP TABLE IF EXISTS " . TABLE_PREFIX . "sudoku_highscore;");
$db->query("CREATE TABLE " . TABLE_PREFIX . "sudoku_highscore (
userid int(11) NOT NULL default '0',
level int(2) NOT NULL default '0',
score int(11) NOT NULL default '0',
playtime int(11) NOT NULL default '0',
mistakes int(4) NOT NULL default '0'
) TYPE=MyISAM;");
$db->show_errors();
]]></installcode>
Coroner
06-01-2009, 08:13 AM
I know it, but it's needed for the german ones (me, too)
djilou
06-01-2009, 08:51 AM
But we need guthaben_shop_preise table to see the "Credit Settings" In AdminCP, no?
Coroner
06-01-2009, 09:17 AM
No. "Shop Preise" eng. Shop Prices is needed for the german Mod, to see what cost how much.
For vBCredits or vBplaza there are two (hidden) options.
1st.) is this mod installed and not disabled
2nd.) is it enabled
Nice game,one problem when i complete a game on the hard level,it wont submit to highscore.
I have to press cancel..as it does nothing.
almohd
06-02-2009, 09:45 AM
Thanks
Coroner
06-02-2009, 09:50 AM
Nice game,one problem when i complete a game on the hard level,it wont submit to highscore.
I have to press cancel..as it does nothing.
Will check it and let you know.
Coroner
06-02-2009, 05:37 PM
This is not really a bug. Sometimes there are more the one solution for sudoku.
Before starting a sudoku,
the users sudoku will generated and also the finished ones.
I'll check the numbers from both and if there's a mistake but the sudoku is finished ...
Will try to change it into a text or anything else
Coroner
06-02-2009, 06:10 PM
So, it's upgraded
imedic
06-03-2009, 08:49 AM
Great mod. I have translated in Romanian the file.
The improved rules and a picture more clear to understand (I have google for rules since I have not know the rules before this mod) is attached in zip file.
Use what you prefere.
I have deleted 2009 from the link since I don't have space on navbar. Hope is no problem.
NOTE: If you have UTF-8 ecoding you need to change in language file 2 times ISO... encoding to UTF-8
Uploaded files are with original ISO encoding. If you keep this and encoding is UTF-8 it will display without special characters.
Stryker412
06-03-2009, 12:01 PM
I uploaded the English product but the high scores menu is in German.
Also, there is a typo:
"A radmom puzzle will created by the choosen level."
Coroner
06-03-2009, 01:05 PM
Hmmm, my menu is in english :confused:
..... did you mean "Los" (Go) ?
Will change the download, so you didn't need to change the phrase or the template :)
Stryker412
06-03-2009, 04:06 PM
Yes Los and "Go back to mainmenue"
Thanks for the update.
SpaceStar
06-03-2009, 09:48 PM
running fine - thanks
edytwinky
06-09-2009, 05:32 PM
Does this work with 3.7?
Coroner
06-10-2009, 09:01 AM
And here, too - Yes it will.
steve1966
06-10-2009, 10:22 AM
uninstalled wont work for me i get a blank page when trying to play
zombietom
06-10-2009, 02:39 PM
No place to set options in 3.7 :(
zombietom
06-10-2009, 03:40 PM
Got it figured out and was able to get to settings. clicked installed:)
One question--where would i change the wording for the rules?
edytwinky
06-10-2009, 04:02 PM
Got it figured out and was able to get to settings. clicked installed:)
One question--where would i change the wording for the rules?
How'd you get it to set options for 3.7?
zombietom
06-10-2009, 04:08 PM
ok, i got it fixed...just adjusted the Xml file and overwrote it.
thanks
zombietom
06-10-2009, 04:09 PM
I just needed to adjust my admin permissions under the usergroups --- had to adjust the php file
edytwinky
06-10-2009, 04:18 PM
ok, i got it fixed...just adjusted the Xml file and overwrote it.
thanks
Could you e-mail me the XML file or copy and paste the coding here?
zombietom
06-10-2009, 04:33 PM
The xml file i worked on only fixed some of the wording and i took out the "2009" and i added in my custom money system name.
but i can post it if you still want it.
Did you get the admin permisson adjusted?
edytwinky
06-10-2009, 10:13 PM
That'd be great. I have no options for the Sudoku feature. All it says is allow whoever to play
Digital Jedi
06-10-2009, 10:18 PM
That'd be great. I have no options for the Sudoku feature. All it says is allow whoever to play
You have to set your Administrator Permissions too. Not the permissions in the Administrator usergroup, but the Administrator Permissions at the bottom of that same menu.
edytwinky
06-10-2009, 10:22 PM
You have to set your Administrator Permissions too. Not the permissions in the Administrator usergroup, but the Administrator Permissions at the bottom of that same menu.
Yes i've done that too but I still don't see any other options after that
Wifey
06-11-2009, 05:34 PM
What are the main XML files for in the non-upload folder? Probably a stupid question, but I'm unsure what to do with them...
Digital Jedi
06-11-2009, 10:54 PM
Yes i've done that too but I still don't see any other options after that
There are none after that. You set your personal permissions to Can Administer and then look for your PhP Unlimited menu. It won't show until you set that, as I discovered the hard way.
Coroner
06-12-2009, 03:42 AM
there must be a menu called "php-unlimited"
brhoom
06-12-2009, 04:13 AM
Nice work
edytwinky
06-13-2009, 02:54 AM
So I figured it all out and now had everything working for the past three days.
Then today I go on to check the high scores for the Easy Level, I get a database error. Just earlier today it was showing scores now I can't see them. It says:
Database error
The Forum database has encountered a problem.
Please try the following:
* Load the page again by clicking the Refresh button in your web browser.
* Open the forums.xxx.com home page, then try to open another page.
* Click the Back button to try another link.
The forums.ebtalk.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
Here's the database error:
Database error in vBulletin 3.8.2:
Invalid SQL:
DELETE xxxxsudoku_highscore WHERE level=1 AND score=1298 AND playtime=502;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE level=1 AND score=1298 AND playtime=502' at line 1
Error Number : 1064
Request Date : Friday, June 12th 2009 @ 11:53:41 PM
Error Date : Friday, June 12th 2009 @ 11:53:41 PM
Script : http://forums.xxx.com/sudoku_highscore.php?lvlselect=1
Referrer : http://forums.xxx.com/sudoku.php
IP Address : 68.102.23.100
Username : User
Classname : vB_Database
MySQL Version : 5.0.77-community
Coroner
06-13-2009, 06:32 AM
Fixed: upgrade "sudoku_highscore.php"
edytwinky
06-13-2009, 07:35 AM
Thanks.
Working perfectly now!
Haenk
06-15-2009, 10:43 AM
Is it possible to save and show the date/ time when a new higscore is made?
Vinyljunky
06-15-2009, 03:01 PM
thank you
princeedward
06-19-2009, 11:38 PM
seems to work also to vb 3.6.8 PL2
thanks....
;)
DobieGillis?
06-20-2009, 01:35 AM
cripes! How many updates are there? I've lost count. Nothing personal, Coroner, but every other day there's an update. I give up.
Coroner
06-20-2009, 06:02 AM
There is not every day an update. This version is stable and working
segwayon
09-19-2009, 02:18 PM
Cool mod! Thanks for sharing it!
Here's my wish-list for the next version:
Change the input boxes so that the entered numbers are centered within the boxes
Make the Soduko grid appear more square rather than rectangle
Have the entered square fill up with a background color
segwayon
10-06-2009, 11:28 PM
A registered member says he completed a "middle" level game a day or two ago but it doesn't show up in the high scores. Any suggestions appreciated. I am a super moderator, but have only played "easy" and they show up okay.
Version 2.0 from a fresh install.
Update: I completed a middle game but the high score is not displayed, either.
Update2: Any suggestions on the high scores not being displayed?
MagicThemeParks
10-14-2009, 11:29 AM
Great and fun mod! :up:
Thank you for phrasing it! But, had to fix a few phrases to fix English spelling and grammer used ;)
sudoku_tpl4 should be "A random puzzle will be created based on the selected level."
sudoku_tpl9 should be "Every row, column or box must contain only one of each digit."
sudoku_tpl13 should be "Each second, the score will be decreased by 1 point."
sudoku_tpl15 should be "If one or more numbers are submitted incorrectly, your score will be decreased by"
sudoku_tpl29 should be "If a number is submitted incorrectly, your score will be decreased by"
sudoku_tpl14 should be "Show High Scores"
By the way, is there a brand-free option for this?
MagicThemeParks
10-14-2009, 11:07 PM
A registered member says he completed a "middle" level game a day or two ago but it doesn't show up in the high scores. Any suggestions appreciated. I am a super moderator, but have only played "easy" and they show up okay.
Version 2.0 from a fresh install.
Update: I completed a middle game but the high score is not displayed, either.
Update2: Any suggestions on the high scores not being displayed?
I can confirm that the middle game's high score is not displayed after the initial high score. Has anyone found a fix yet?
Coroner
10-15-2009, 05:32 AM
There is only ONE solution for each puzzle. When the puzzle is created, the solution will stored into the database and compare with the user solution.
You need exactely the same solution as stored into the database.
And no, there's no Branding Free version.
MagicThemeParks
10-15-2009, 10:19 AM
Coroner, the solution was reached and the high score was still not added to the "High Scores" page for the middle game. It worked with 'easy', but not with 'middle'.
Coroner
10-15-2009, 12:25 PM
Um, the solver generate a puzzle. Maybe there are more than one solution avaible.
Will check it out.
bgootz
10-17-2009, 10:42 PM
Hello Guys,
I'm new to vBulletin and forums in general actually. This is my very first post...ever. But anyway I would appreciate some help. I upgraded to PHP 5 and the game works just fine but then I can't get to the User CP. If I revert back to PHP 4, I can get to the User CP but the game won't work. Is anyone else having this issue? Thanks.
segwayon
11-13-2009, 10:26 AM
I can confirm that the middle game's high score is not displayed after the initial high score. Has anyone found a fix yet?
Just to let you and the author know, I completed a 'middle' game last night and the database returned the high score record correctly. This was the first time, out of perhaps 4 or 5 completions, that the 'middle' score showed up.
Hornstar
10-11-2010, 09:06 AM
I don't know why, but I am now getting database errors. This used to work perfect. Maybe the new Credits modification is causing a conflict or something.
MySQL Error : Unknown column 'phrasegroup_credits_forum' in 'field list'
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.