Plugin compatibility
-
I have a WordPress version 4.5.2 with PHP version 5.2 on my Intranet. I can not update neither my WordPrss nor my PHP. I wonder if your plugin is compatible with WordPress v. 4.5.2 and PHP v. 5.2.
-
You can safely try it. It should be compatible because it does no tricky things and is simple code.
I have installed the plugin successfully in my site. And it works. There is only one problem with selecting the “Level”: Every time you select a level it randomly jumps to another one. Do you have any Hint?
It takes a few times loading the page with the shortcode before all gamedata is loaded into the db. It may be possible that the requested level of games is not yet present, so it selects a different level.
Play a few times, re-loading the page, then it should work correct.
If not, pls tell me.I have reloaded the page several times and in some cases it works. for example for level 2 it has worked many times but NOT always. For harder levels it has worked fewer times. So it does not seem that there is a rule.
Q2: Is there a rule in numbering the levels? For example 1- 140000 are Level1 or 140000 – 170000 are Level 2 and …. If there is a rule& we can choose the level by typing the number in the URL
Q3: Why are the number of Wins and Lost different in the table from the number written next to where we select the Level?With all this questions the game is very fun and thanks a lot for Your good job
If you click the help link, you see something like this:
Puzzle #114873, Won: 0, Lost: 0. Level:2 , Won: 2, Lost: 0. Same New Empty Help Click left to select, click right to remove option, type digit to show. There are 200000 puzzles available. Level Total Won Lost 1 142893 5 1 2 36603 2 0 3 1068 2 0 4 18230 1 0 5 41 1 0 6 1136 0 0 7 29 0 0The max number of puzzles is 200000, so if you see this number, they are all loaded.
The puzzles are randomly generated, while the generating algorithm measured the complexity; this is converted to a level number. So, there is no relation between puzzle id and level.
In the plugin folder, a.o. there are two files: data.txt and level.txt. They hold the starting templates and the level like:
data.txt: <id>=<81 numbers – 0 means empty>0000001=000003607007510000900800010003000090621000000000304000700000400005206008009100000 0000002=000000206001000500008007000050200010000040900000095074370000000000080300604100000 0000003=000701400005060090008000050007436000000000000406008530900280710000103000000000800 etclevel.txt: <id>=<level>
0000001=1 0000002=2 0000003=1 0000004=1 0000005=1 0000006=1 0000007=2 0000008=2 etcThis data is now converted to a db table, that also holds the won and lost statitstcs.
From the example above:
Puzzle #114873, Won: 0, Lost: 0.means: puzzle number 114873 has not been won or lost yet (not playe yet).
Level:2 , Won: 2, Lost: 0.means: there are in total 2 puzzles of level 2 won, none are lost on level 2.
The table lists this info for all levels.It looks like selecting a different level does not work on your site. To inspect what is going wrong i need a link to the page where it shows up, so i can see what is happening, so please supply me a link. If you do not want to show the link on this forum, you may send me an email to opajaap at opajaap dot nl
The topic ‘Plugin compatibility’ is closed to new replies.