Topic: My Mod Arcade beta 1

Hi!

The first beta of my Mod Arcade is released yesterday.

Here is the demo (only for members) : http://multy.freezee.org/arcade.php

Here are the screenshots :
http://img376.imageshack.us/img376/7638/s15ze.th.jpg
http://img376.imageshack.us/img376/3016/s30bl.jpg


To download it : http://www.somb.org/punbb/zip/arcade.zip

Create tables which are in the "lisez_moi.txt"
Upload the 4 files on your forum
Upload the directory "games" in your directory "/img"

Have fun!

Run the arcade.php, have fun!

in the next release : the plugin to manage the Mod Arcade, ...

Re: My Mod Arcade beta 1

Is there any chanse that I can add games to this plugin? I would love to add this game to it, but I'm very unsure if it is possible.

Re: My Mod Arcade beta 1

I am sure it is from the admin pannel but if you look on other sites you can find downloads to it!

My PunRes Wiki Mods:
1.) Remove Post Icon in View Topic And in Index
2.) Bold Links In Header
[img]http://www.the-artbreak.com/forum/img/smilies/socom.png[/img]

Re: My Mod Arcade beta 1

On that page, right-click, choose View Page Info, go to Media, select copter.swf | Embed and click Save As. Now you can put it on your site smile

Re: My Mod Arcade beta 1

in fact, it's a beta... you have to add this game by the database. There is no plugin yet

6 (edited by artic chill 2006-03-11 23:22)

Re: My Mod Arcade beta 1

ohh!! Well either way good mod man!

Just s hint if it inst allready there you might wanna show how to add it untill the plugin is here!

My PunRes Wiki Mods:
1.) Remove Post Icon in View Topic And in Index
2.) Bold Links In Header
[img]http://www.the-artbreak.com/forum/img/smilies/socom.png[/img]

Re: My Mod Arcade beta 1

i didn't understand what you said :s

Re: My Mod Arcade beta 1

He would like a guide how to install it.

Re: My Mod Arcade beta 1

ok ok !

in the "lisez_moi.txt", there are the tables ==> put it in your database.
upload your files on your forum
run the arcade.php file
And that's all!

10

Re: My Mod Arcade beta 1

I followed your directions, but keep getting errors. First it was 500 errors, my error log said it was because "file is writable by others." Changing permissions to 664 or 666 gives me a new, punbb error:

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/whitema/public_html/bbs/include/functions.php on line 930
An error was encountered
Error: Impossible de sélectionner les jeux.

Idea?

black robe and swill
I believe Anita Hill
judge will rot in hell
it's the song I hate, it's the song I hate

Re: My Mod Arcade beta 1

Comments out the ob_start(); on line 930?

12 (edited by ango 2006-03-19 15:33)

Re: My Mod Arcade beta 1

-- There is another thread on Punre.org , I´ve posted there too --

Nice Mod!

But  I´ve had to change something, now its working for me.
Here is wat I´ve changed:


CREATE TABLE `classement` (
  `clsst_id` int(11) NOT NULL auto_increment,
  `clsst_jeu` varchar(50) NOT NULL default '0',
  `clsst_joueur` int(11) NOT NULL default '0',
  `clsst_score` int(11) NOT NULL default '0',
  PRIMARY KEY  (`clsst_id`)
) ENGINE=MyISAM  ;


CREATE TABLE `jeux` (
  `jeux_id` int(11) NOT NULL auto_increment,
  `jeux_name` varchar(50) NOT NULL default '',
  `jeux_fichier` varchar(50) NOT NULL default '',
  `jeux_desc` text NOT NULL,
  `jeux_img` varchar(200) NOT NULL default '',
  PRIMARY KEY  (`jeux_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 ;

... I´ve changed TYPE to ENGINE , becaus my MySQL server said so  :-)
also the table name must be jeux and classement and not pun_classement and pun_jeux like describe in lisez_moi.txt.

INSERT INTO `jeux` VALUES (1, 'Dolphin Dash', 'dolphindash', 'Récoltez le plus de pièces possibles dans un temps limité!', 'dolphindash.gif');
INSERT INTO `jeux` VALUES (2, 'La course aux oeufs', 'eggs', 'Ramassez le plus d''oeufs qui tombent en évitant de faire des omelettes...!', 'oeufs.jpg');
INSERT INTO `jeux` VALUES (3, 'Shootez les pingouins!', 'penguin_arcade', 'Armé d''un "icegun", vous devez congeler un max de pingouins!', 'pingouin.jpg');
INSERT INTO `jeux` VALUES (4, 'Snowboard', 'snowboarding', 'Chaussez votre planche et descendez le plus vite possible! N''oubliez pas de slalomer entre les portes...', 'snowboard.jpg');
INSERT INTO `jeux` VALUES (5, 'Snake', 'snakeneave', 'Le traditionnel jeu du Serpent, rendu célèbre par les téléphones portables... Ici, trois niveaux de difficulté!', 'serpent.jpg');

... I also have changed the table name pun_jeux  to jeux here.

My PunBB Arcade Mod & Game Packs 1-9 (update 01-06-2007):
Test and download here !

13 (edited by ango 2006-03-19 15:38)

Re: My Mod Arcade beta 1

I´ve found another error after sending the highscore  to newscore.php : Error: 1265 SQLSTATE: 01000  (ER_WARN_DATA_TRUNCATED)
Maybe this problem is only on my MySql version , I don´t know, I´m not a programmer ...

But I´ve found a way to fix it. 

Edit newscore.php and find:

$sql = 'SELECT * FROM '.$db->prefix.'classement WHERE clsst_joueur = "'.$pun_user['id'].'" AND clsst_jeu = "'.$game_name.'"';

change to:

$sql = 'SELECT * FROM '.$db->prefix.'classement WHERE clsst_joueur = '.$pun_user['id'].' AND clsst_jeu = "'.$game_name.'"';

find:

$sql = 'UPDATE '.$db->prefix.'classement SET clsst_score = "'.$score.'" WHERE clsst_joueur = "'.$pun_user['id'].'" AND clsst_jeu = '.$game_name.'"';

change to:

$sql = 'UPDATE '.$db->prefix.'classement SET clsst_score = '.$score.' WHERE clsst_joueur = '.$pun_user['id'].' AND clsst_jeu = "'.$game_name.'"';

find:

$sql = 'INSERT INTO '.$db->prefix.'classement (clsst_jeu, clsst_joueur, clsst_score) VALUES ("'.$game_name.'", "'.$pun_user['id'].'", "'.$score.'")';

change to:

$sql = 'INSERT INTO '.$db->prefix.'classement (clsst_jeu, clsst_joueur, clsst_score) VALUES ("'.$game_name.'", '.$pun_user['id'].', '.$score.')';

Think the problem was the difference between the variable INTEGER and CHAR ...

Btw, I like this mod. :-)

My PunBB Arcade Mod & Game Packs 1-9 (update 01-06-2007):
Test and download here !

Re: My Mod Arcade beta 1

where do i get more game for the mod like you sAID YOU DID

http://www.dharmil.info/ - My site

http://www.yourarcadesite.1.vg/ - My Arcade, Play 250 games online for free and Save your high score!

http://www.forums.dharmil.info/ - My forums i created using php/mysql still working on them about 15% or more done

15 (edited by ango 2006-03-19 15:47)

Re: My Mod Arcade beta 1

dharmil wrote:

where do i get more game for the mod like you sAID YOU DID

I´ve self-made changes to the games. You have to edit the swf games (for example with Sothink SWF Quicker) and insert some code into the place where the score is submitted.

For example:

if (score > 0)
{
    score = score;
    game_name = "invaders";
    getURL("newscore.php", "_self", "POST");
}
score = 0;
My PunBB Arcade Mod & Game Packs 1-9 (update 01-06-2007):
Test and download here !

Re: My Mod Arcade beta 1

alright thanky ou

http://www.dharmil.info/ - My site

http://www.yourarcadesite.1.vg/ - My Arcade, Play 250 games online for free and Save your high score!

http://www.forums.dharmil.info/ - My forums i created using php/mysql still working on them about 15% or more done

Re: My Mod Arcade beta 1

i tryed it i cant do it um do you have the ggames uploaded on the web if you do can you just give me the links and i can download them?

http://www.dharmil.info/ - My site

http://www.yourarcadesite.1.vg/ - My Arcade, Play 250 games online for free and Save your high score!

http://www.forums.dharmil.info/ - My forums i created using php/mysql still working on them about 15% or more done

18

Re: My Mod Arcade beta 1

dharmil wrote:

i tryed it i cant do it um do you have the ggames uploaded on the web if you do can you just give me the links and i can download them?

Here are some games for this mod.

My PunBB Arcade Mod & Game Packs 1-9 (update 01-06-2007):
Test and download here !

Re: My Mod Arcade beta 1

thanky ou

http://www.dharmil.info/ - My site

http://www.yourarcadesite.1.vg/ - My Arcade, Play 250 games online for free and Save your high score!

http://www.forums.dharmil.info/ - My forums i created using php/mysql still working on them about 15% or more done

20

Re: My Mod Arcade beta 1

Here are some more:

http://www.ibparcade.com/
http://forumarcades.com/dn/
http://www.ibpdownloads.com
http://www.teamwolfpack.org/
http://www.gaming-heaven.com/
http://www.invisionsportsarcade.com/
http://www.anubistemple.net/gaming/
http://ibpextra.jordanpardy.com

But this games are not working with this mod. You must modify the games ...

My PunBB Arcade Mod & Game Packs 1-9 (update 01-06-2007):
Test and download here !

Re: My Mod Arcade beta 1

yes but on all those site i registed it says you have no permison to dl them

http://www.dharmil.info/ - My site

http://www.yourarcadesite.1.vg/ - My Arcade, Play 250 games online for free and Save your high score!

http://www.forums.dharmil.info/ - My forums i created using php/mysql still working on them about 15% or more done

22 (edited by ango 2006-03-22 09:43)

Re: My Mod Arcade beta 1

I´ll make a new package with more modified games for this mod.

A big thank to nico_somb for this first beta release. I like it very much.

Here are a few improvement suggestions:
- translated mod into other languages (english, german, russian)
- The possibility  to add the image dimensions of the games into the database, so the games are displayed corectly
- Add the name of the user with the highscore to the index game page
- Add an administration panel

I´ve made some changes by myself, but I´m not a programmer. It´s better a more experienced programmer do that.  :-)

My PunBB Arcade Mod & Game Packs 1-9 (update 01-06-2007):
Test and download here !

Re: My Mod Arcade beta 1

Nice job! I'm not going to use it until the mod to manage the arcade comes out but nice job so far!

Re: My Mod Arcade beta 1

nice so when should we expect the relese of beta one cuz i am using the one out now i am abotu to put the transtion for engish for the laguage

http://www.dharmil.info/ - My site

http://www.yourarcadesite.1.vg/ - My Arcade, Play 250 games online for free and Save your high score!

http://www.forums.dharmil.info/ - My forums i created using php/mysql still working on them about 15% or more done

25

Re: My Mod Arcade beta 1

Somebody get on this asap. Help us newbies out. Love you all <3<3