vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - [PBPG] Chess (https://vborg.vbsupport.ru/showthread.php?t=232923)

Carnage 01-13-2010 02:59 PM

Quote:

Originally Posted by N1tr8 (Post 1954366)
I have the same failure that wittebolx, we can do?

Do you have the latest version? Alpha 2 fixes that issue; or should do...

wittebolx 01-14-2010 07:19 AM

Quote:

Originally Posted by Carnage- (Post 1954334)
That is what comes of assuming that 2 lines of code cannot possibly have a bug in them :( uploaded a fixed version...

nope still nothing:
Code:

Invalid SQL:
INSERT INTO pbpg_plugin (title,dir) VALUES ('Chess','chess')';

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 ''' at line 1
Error Number  : 1064
Request Date  : Thursday, January 14th 2010 @ 10:18:12 AM
Error Date    : Thursday, January 14th 2010 @ 10:18:12 AM
Script        : http://www.wittebolx.com/community/admincp/plugin.php?do=productimport
Referrer      : http://www.wittebolx.com/community/admincp/plugin.php?do=productadd
IP Address    : 86.91.97.228
Username      : wittebolx
Classname    : vB_Database
MySQL Version : 5.1.34


ArcadeSyndicate 01-14-2010 08:02 AM

Quote:

Originally Posted by wittebolx (Post 1955219)
nope still nothing:

try this...

https://vborg.vbsupport.ru/showpost....0&postcount=10

Carnage 01-14-2010 10:52 AM

-_- Should work this time...

joopster 01-16-2010 01:46 AM

I got it installed but how do you actually move the pieces and set up two players against each other?

WEBDosser 01-16-2010 02:14 AM

reserved

Carnage 01-16-2010 11:50 AM

Quote:

Originally Posted by joopster (Post 1957047)
I got it installed but how do you actually move the pieces and set up two players against each other?

From the admin side; I'm going to assume you followed the install instructions and have managed to create a configuration and assigned it to a forum.

From there, you need to goto the forum you assigned it to; create a new thread. There will be a list of avaliable games to play on the post new thread form. Select the chess configuration you just made. Make a post, at this point it dosn't really matter what you say in it.

The thread will then display as a chess board, with a comments box at the bottom and a moves list at the side. Clicking any piece on the chess board will select it (red border) and selecting an empty space (or space containing an enemy piece) will move it there. You will notice that some characters representing the move you just made were put into the quick reply box and the move was added to the moves list. You may now add a comment to the quick reply box (maybe something like 'check' or 'good move') and post a reply.Only when you've posted the reply has the move become commited.

Anyone who views the thread can now see your move. By default the first two people to post valid moves become white and black respectivly, but you can change this by adding the string (option,white,<username for white>) and (option,black,<username for black>) to your first post.

ShawnV 01-16-2010 03:50 PM

Hey Carnage, very nice Mod. Any Idea when you will have this and the core fleshed out and all the features in?

The version on your site seems to work very well.

Carnage 01-16-2010 04:07 PM

The core has all the features required /at the moment/ It will at some point need expanding to support leaderboards and ladders.

My major focus for this mod atm is getting the user interface tidied up; i'm currently supporting 5 vb4 products and working on 3 Projects for university. This combined with getting my own site upgraded to vb 4 leaves me somewhat unable to make any predictions. In no particular order, my next 3 planned releases include a feature update for this mod, a none beta version of my advanced ip ban manager, preferably with some more features included and a version of my friendly url customisation mod that allows customisation of the uri as well as the start segment of the url. I also want to release some more games; go, checkers/draughts, othelo/reversi are high on my priority list due to their similarity to this mod (lots of reusable code :P)

ShawnV 01-17-2010 05:12 AM

Installed, noticed that it doesn't have the how to game notes in the post with the board as it does on your site, ergo how to play it, commands.

Would be great if whatever side the player started as was auto set to that side, I moved a black piece first and it recorded it as whites move, I forgot to use the option,black,<username> to set myself to black beforehand, something which I'm sure allot of players will do.

Also, it works fine for me as Admin, however when a registered user clicks on the thread with the game I get this database error as do they.

Database error in vBulletin 4.0.1:

Invalid SQL:

SELECT post.postid
FROM post AS post

WHERE post.threadid = 113
AND post.visible = 1

ORDER BY post.dateline
LIMIT 0, 1.0E+14;


All times are GMT. The time now is 03:16 PM.

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.01143 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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