vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - -:[GAME]:- Sudoku 2009 (https://vborg.vbsupport.ru/showthread.php?t=214490)

Coroner 05-24-2009 10:00 PM

-:[GAME]:- Sudoku 2009
 
1 Attachment(s)
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:
Code:

* 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

Quote:

Originally Posted by mdelcour (Post 1816778)
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

Quote:

Originally Posted by Coroner (Post 1816794)
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

Quote:

Originally Posted by Coroner (Post 1816796)
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

Quote:

Originally Posted by mdelcour (Post 1816810)
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

Quote:

Originally Posted by Digital Jedi (Post 1818666)
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

Quote:

Originally Posted by Vinyljunky (Post 1818675)
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:
Code:

$sudokufield
and change it into:
Code:

      <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

Code:

<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

skol 06-02-2009 09:36 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.


All times are GMT. The time now is 11:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01295 seconds
  • Memory Usage 1,827KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete