Author Topic: [SMF 1.1.3]: SMFChess  (Read 12394 times)

0 Members and 1 Guest are viewing this topic.

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
[SMF 1.1.3]: SMFChess
« on: July 10, 2007, 11:28:39 PM »
Download this mod
Mod Topic

Ill update this later with more info, but i would probably just read the last couple of posts in this thread for more info.
Just thought i should get rid of the dated info in this post.

Essentially at this point in time, this Mod adds Drag-Drop PHP Chess to your forums. You can challenge and have a game of Chess with your mates and forum users.

If you have any suggestions, advice or layout ideas. I would love to hear.

Languages:
Language is nearly done, so what I'm going to ask now is that if you would like a translation.
The minimum I need at the moment is this document to be translated into the language that you require and also to specify if you require it in utf-8 variety.
Download the file here
This document contains all the text, located outside of the Chess Language file.

If you can either PM or email the translated document to me,  and also specify the language and if utf-8 is required, would be greatly appreciated.

Received Languages
German - translated by flame baiter
Thai UTF-8 - translated by Pongsak
Croatian UTF-8 - translated by Senad
Portuguese - translated by Bruno
Turkish - translated by PLAYBOY
French - translated by Fred


Package is for 1.1.2-3
If you installed the last package, you will need to uninstall that before going ahead with this version, I've kept the packages the same and version as well, to keep you from doing this.
Download here
Preview Here
Manual Theme Changes

Languages: If you do not see your language here, please follow this link
NOTE: LANGUAGE FILES ARE INCOMPLETE AND NOT RECOMMENDED TO BE TRANSLATED AS OF YET
NOTE: As with the main package, these language packs are not final, and will need to be uninstalled at a future date. What this does however, its stop your errors in your forum log regarding missing languages.
German
Thai UTF-8
Croatian UTF-8
Portuguese
Turkish
French

Have TP Installed?
A SMFChess Block has been put together by Lord Anubis
Download Images and Instructions
Original Post can be found here
Preview:


2 new Piece Set Pack are avaliable and have been included in the main package, kindly put together by Smith Online
Stylish - Instructions and recommended Colours are in a text file in the zip or here
Screen Shot Preview


Polished - Instructions and recommended Colours are in a text file in the zip or here
Screen Shot Preview


2 piece set packs have been included in the main package, kindly put together by Godsongz
Alpha , Harlequin , & Leipzig
Condal , Magnetic , & Marroquin

to use just upload the file contents to your "FORUM DIR/Themes/default/SMFChess/pieces/"

In Package
30/01/08
-Language files are done.  :D There is no super grin, so this will do.
Only thing is that, I can't decide on redoing the ChessAdmin language file. More then likely I won't.
If I left any out, let me know but I think I caught all language snippets.
-New Colourpicker:
*Solved, uploaded a new build with fix for ie
Actually this is a lie. New colourPicker for firefox uers. About 30min ago, I wanted to make sure it was working in IE. To my surprise IE aborted the page as it tried to load. I have a feeling its to do with IE not liking dom transveral within a <form> tag under certain conditions or something. Its weird(I don't like IE so I don't mind all that much) but I'll get it working eventually or find a different one.
Also it seems to slow page loading, so more then likely I'll replace it with something else in another patch.

-Added png file support.
-Added native image size support.(0 in Piece Size in admin area)
Since we are starting to get different Chess Piece sizes I thought this would be a good idea.
-Added Chess Set Information Box
a scrolling box on the right side of selecting chess sets.
When you select a set, it will display a preview on the chess set, and display the contents of a Info.txt if it finds one.
What this means is that, you can have a small description or information regarding this chess set, who put it together, where it came from, history regarding the pieces etc.
As well as recommendations to use as your chess board colours, to go with the chess pieces.
Making this simple as well, so the users just have to click, and the colours are automatically adjusted.

P.S.: I was pretty lazy with the Info.txt files. So I'll fix that up later, or if anyone wants to create a narrative for a chess set they like, I would love to hear it. Possible history, maybe a good moment you had with it. Crushing Victory?

-Fixed PM's
Should be right now, no more \r\n etc.
-Added a 3 new Chess Sets to the main package
Stylish and Polish put together by Smith-online
and
a tribute Chess Set to Thinking Machine (Haven't got permission for this yet as I haven't received an email back yet, but I have high hopes)
Also the TM Chess Set is the first to use png image type. So it looks better, and is overall better in every way.
My new fav as well, I think it looks great.
-Added Captured Pieces
Simplistic at best. Basically just works out whats missing, and goes from there
25/01/08
Ok uploaded a new version, pretty much the same points are listed yesterday
-Improved the user search, actually looks pretty funky now.

Notes: the -95, is the difference between mine and Godsongz ELO. Arrow and Enter Key are useable to select player
-When you create a quickmatch, it will be listed now below, just so you know it has been created, and not think that you have done something wrong.
-Added a difference in ELO. so you can see a quick comparative skill to your opponent.
-added [C] next to players names on my page and leaderboard. This just means that if you want to challenge that player, just click the [C] and it will take you straight to the challenge page.
-Effects Added: Shake, Pulse and Fade Highlight
13/01/08
Without furture delay thou(been enough of that already), New version is up.
Its not that big of an update really
Mostly just contains
-alot of bug fixes
-doubling clicking should be fixed
-Chess960 Castling issues should be fixed(dont hold me to this thou, but im pretty sure)
-Better Castling - brought back castling with moving the castle. so now you have two ways to castle.
--I'm looking into lightbox scripts to make this look better as well, but thats another thing
-Much for advanced chess tag you can see examples here
-More personal ELO rating, as describe in the above post.
--I'm really interested in how this turns out, so please recount your Chess Results(Found in Chess Admin Maintenance)
Please let me know how this gets on

-Few other things, but ive forgotten as its been awhile since last update   ::)
25/08/07
-Added yours and meaction to turnname
-watching now is accurate to 20 seconds
-limited watching name to 10 chars
23-24/08/07
-Added basic move clock
-Added Upgraded Quickmatch to Challenge Page
-Move ControlMsg to below board, so that its easier to see with Board Chat
-Changed text to flip board
-Castling now avaliable in Chess960, great thank you to t0AsD for providing pretty much everything to accomplish this
22/08/07
-Select Pawn Promotion added as per request
-Can now remind(4days late)
21/08/07
-Admins can admin their own games
-Added ELO rating, starting point is 1200
-Added My Stats and Top Players on My Page
-Fixed bug with admins and finishing games
-Pieces now move back to original position if move was illegal
14-16/AUG/07
-Fixed a bug with userSearch
-Added basic Move Log
-Added Fischerrandom Chess
13/AUG/07
-Started preparing Sources files for submission
-Converted over to sa actions instead of do
-tweaked board update check

[truncated]
« Last Edit: April 05, 2008, 04:40:57 PM by brianjw »

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #1 on: July 11, 2007, 06:27:25 AM »
Today at 12:57:28 PM - Jump1979man : its hard to keep track of moves...the history doesnt reflect the actual moves...
Today at 11:53:56 AM - bigguy : Damn, I noticed that after I moved. Sad
Yesterday at 10:01:14 AM - Jump1979man : probably get it 90 % of the time.
Yesterday at 10:00:57 AM - Jump1979man : I used to think that if you didnt delete the old notification it wouldnt send a new one but I have been deleting them and sometimes still dont get it...
Yesterday at 10:00:28 AM - Jump1979man : sometimes I get the PM notification for moves and other times I dont
July 09, 2007, 08:57:32 AM - bigguy : Remember to submit any bugs you find to the staff lounge Smiley
July 09, 2007, 08:56:46 AM - bigguy : http://www.smfhelper.info/chess.zip
July 09, 2007, 08:49:04 AM - Jump1979man : searched the mod site and didnt find anything.
July 09, 2007, 06:17:16 AM - Jump1979man : got a link?
July 08, 2007, 05:58:28 PM - bigguy : I think ther is a thread a simplemachines to with the chess mod download


Move list is displayed in PGN notation
if you still think its wrong let me know

PM's are send only if the user is offline and if they have it enabled.
If you have suggestions to improve this im all ears.
That also might be a better solution, but only if pm is new

bigguy - can i use that direct link, as my server will be off for a couple of days?
« Last Edit: July 11, 2007, 06:31:23 AM by feeble »

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #2 on: July 11, 2007, 09:19:34 AM »
Yes of course, go right ahead. :)

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #3 on: July 11, 2007, 10:41:18 AM »
Just thought I would add. When you go to view Who's online and someone is playing chess it says the dreaded "Unknown Action" Can this be fixed. :)

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #4 on: July 11, 2007, 04:50:48 PM »
Just thought I would add. When you go to view Who's online and someone is playing chess it says the dreaded "Unknown Action" Can this be fixed. :)

Ill fix it in the next couple of days,

....just wondering, the who system goes off permissions right? havent looked at it indepth yet

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #5 on: July 11, 2007, 08:01:31 PM »
Yes I believe it does for somethings. Like guests can't see who's online just the number of members that are here. Members can see where everone is though. (If you set permissions for it)

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #6 on: July 12, 2007, 11:31:11 AM »
Ok, this mod is in the home stretch.
Essentially this build is the final for all the features and functions for V1 of this mod.
So please, if there is anything you would like added to this mod, please let me know ASAP.
Next build will just be theme updates and also I'll be moving all txt to the language files.
After that I'll be submitting the mod and ill be taking a break from working on SMFChess.
So again, if you want or think this mod needs something, please let me know.

Package is for 1.1.2 and 1.1.3.
If you installed the last package, you will need to uninstall that before going ahead with this version, I've kept the packages the same and version as well, to keep you from doing this.
Download here
Preview Here

Quickchange Log:
12/JUL/07
-Added admin control panel
-Fixed bug where default wouldnt unset itself if not board was found
-tidied up add move function
-Fixed theme bug on 'finished' page
-Added /me command to chat
-Can now delete individual chat messages
-Group Color added to chat
-Chat Settings now in admin area
-Added user option "Quickplay"
-Change user options for resizing.
11/JUL/07
-Chat is now deleted when deleting a game
-Fixed bug on finished page
-Added delete button to Finished page
-Fixed timeout bug in Chat from nothing has been said
10/JUL/07
-Chat nows loads faster and sends-> faster as well
-Chat and Board now on timeouts - roughly 5min till timeout for either
-Control Panel Requests now using Ajax. No more page reloads Wooo. Changed Concede to Draw(causes Stalemate), added Resign(causes Checkmate)

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #7 on: July 12, 2007, 12:18:31 PM »
Just installed it with no errors. You will notice two chess tabs. I will take one down in a minute. :) Works without a hitch. Will there be any other chess pieces added or do you know where and how we can add our own. ???

Offline Jump1979man

  • V.I.P.
  • *
  • Posts: 645
  • Karma: 17
  • Gender: Male
    • Midwest Motorcycles Forum
Re: [SMF 1.1.3]: SMFChess
« Reply #8 on: July 12, 2007, 04:36:50 PM »
the history needs to reflect actual moves....PGN notation is silly

History
Status: In Progress ---------
16w. Rxg7
15b. Qxd4
15w. Kf1
14b. Qxd2+
14w. Qxd2

this does not corrolate to the board...

also I know the chess code is from a free site but if you can modify it to highlight the last move so when you go to move your piece but decide you dont want to move it you can easily know where it was before you clicked it.
« Last Edit: July 12, 2007, 05:11:33 PM by Jump1979man »
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

JLM-Media
http://www.jlm-media.com

Riverway Racing
http://www.riverwayracing.com

Click the Banner for AMSOIL!

Offline Jump1979man

  • V.I.P.
  • *
  • Posts: 645
  • Karma: 17
  • Gender: Male
    • Midwest Motorcycles Forum
Re: [SMF 1.1.3]: SMFChess
« Reply #9 on: July 12, 2007, 05:09:42 PM »
The winners and losers for recent matches is messed up.....I checkmated Bigguy and yet it shows he won....... ???
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

JLM-Media
http://www.jlm-media.com

Riverway Racing
http://www.riverwayracing.com

Click the Banner for AMSOIL!

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #10 on: July 12, 2007, 05:12:30 PM »
the history needs to reflect actual moves....

this does not corrolate to the board...
I dont exactly understand, you might need to explain that better.
White Queen to d2 Capture, Black Queen to d2 Capture/Check, white King to f1, Black Queen to d4 Capture, White Rook to g7 capture

Its one of the most popular ways of displaying chess moves.....
Also its used so that we can export games to make them portable.

also I know the chess code is from a free site but if you can modify it to highlight the last move so when you go to move your piece but decide you don't want to move it you can easily know where it was before you clicked it.
I didnt actually have something going like this in an early build(when i was storing grid coordinates instead of PGN), but alas I have no way of converting pgn to grid at the moment.
Ill be looking into this after V1, as it would be nice but not completely necessary.
Reason for the wait, as it would add another month onto the development time.

The winners and losers for recent matches is messed up.....I checkmated Bigguy and yet it shows he won....... ???
Fixed in last build, but wont reflect on old game that have already been finished sorry.
Was checking the wrong variable to decide who won. Took awhile to work out as it wasnt given any errors.
Apologies for that, but you might need to beat Bigguy again
« Last Edit: July 12, 2007, 05:14:17 PM by feeble »

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: [SMF 1.1.3]: SMFChess
« Reply #11 on: July 12, 2007, 05:15:09 PM »
Hey, I like the way it looks now with me winning, lmao. Let's keep it that way, shall we. :) lmao.

Offline Jump1979man

  • V.I.P.
  • *
  • Posts: 645
  • Karma: 17
  • Gender: Male
    • Midwest Motorcycles Forum
Re: [SMF 1.1.3]: SMFChess
« Reply #12 on: July 12, 2007, 05:17:00 PM »
White Queen to d2 Capture, Black Queen to d2 Capture/Check, white King to f1, Black Queen to d4 Capture, White Rook to g7 capture


Okay I see it now....that is exactly what I was talking about but for some reason my brain wasnt seeing it.  Thanks.
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

JLM-Media
http://www.jlm-media.com

Riverway Racing
http://www.riverwayracing.com

Click the Banner for AMSOIL!

Offline Jump1979man

  • V.I.P.
  • *
  • Posts: 645
  • Karma: 17
  • Gender: Male
    • Midwest Motorcycles Forum
Re: [SMF 1.1.3]: SMFChess
« Reply #13 on: July 12, 2007, 05:17:21 PM »
Hey, I like the way it looks now with me winning, lmao. Let's keep it that way, shall we. :) lmao.


hahaha, sure.  I had to double take it because I thought for sure I was winning....then I thought for a second I somehow was moving your pieces...
Midwest Motorcycles Forum
http://www.mwmotorcycles.com

JLM-Media
http://www.jlm-media.com

Riverway Racing
http://www.riverwayracing.com

Click the Banner for AMSOIL!

Offline feeble

  • Jr. Member
  • *
  • Posts: 125
  • Karma: 14
  • Gender: Male
    • Leaderless
Re: [SMF 1.1.3]: SMFChess
« Reply #14 on: July 12, 2007, 05:36:57 PM »
Just installed it with no errors. You will notice two chess tabs. I will take one down in a minute. :) Works without a hitch. Will there be any other chess pieces added or do you know where and how we can add our own. ???
Ill be notching it down to 1 tab next build, it was more so i could get quick access.

While its very easy to add chess pieces - just add make a folder in 'themes/default/SMFChess/pieces' and keep the same file structure as default. Also must be gif images(haven't added png support yet)

Its hard(legally) getting other piece sets.
I was planning on making one, but haven't gotten around(couldn't be bothered  :snap) to it yet