[DISC] Activity Mod Plus (Newest Release: v1.1.0)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »



YES :D
Thanks alot man !!!
User avatar
aUsTiN-Inc
Registered User
Posts: 929
Joined: Fri Apr 16, 2004 10:31 am
Location: Georgia
Contact:

Post by aUsTiN-Inc »

Your welcome & thnx jsr :)
¤ phpBB Security ¤ Blend Portal Creator ¤
¤ Activity Mod Plus Creator «« 2004 phpBBHacks "Hack" Of The Year ¤
¤ Activity Mod Plus Home ¤ 2004 phpBBHacks "Hack" Author Of The Year ¤
My mods are never done, always in update status!
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Post by A.I. BOT »

I cant download the mod..... phpBB Security© Thinks You Should Go Away. :(
Shof515
Registered User
Posts: 1169
Joined: Wed Mar 19, 2003 4:36 am

Post by Shof515 »

I helped ai get it...so need to worry.....
Whos missing up my sig?
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Post by A.I. BOT »

nice mod austin gj

im trying to go to ur phpbb-amod.com site to get some games i get "phpBB Security© Thinks You Should Go Away."
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Post by A.I. BOT »

LOL I got the games off a friend nvm....k i uploaded the "12meny" folder to Amod installed it, and when i go to try and play it it says "Sorry, you need to use the activity page to play games & not link to them directly"

any iders?

sry if im annoying u but phpbb security wont let me at ur site ot see support topic on it :roll:
User avatar
aUsTiN-Inc
Registered User
Posts: 929
Joined: Fri Apr 16, 2004 10:31 am
Location: Georgia
Contact:

Post by aUsTiN-Inc »

Well, first, lets get you on Amod, can you PM me your IP so i can see if its just being blocked or was banned & if banned why. I'm guessing possibly you using a firewall of some sort? If you hide information such as User Agent or it blocks allowing the site to see the server port or server name, it will take you as a DDoS attempt, as those attackers hide that info...
¤ phpBB Security ¤ Blend Portal Creator ¤
¤ Activity Mod Plus Creator «« 2004 phpBBHacks "Hack" Of The Year ¤
¤ Activity Mod Plus Home ¤ 2004 phpBBHacks "Hack" Author Of The Year ¤
My mods are never done, always in update status!
megablastadmin
Registered User
Posts: 193
Joined: Tue Aug 31, 2004 9:53 am
Contact:

Post by megablastadmin »

hey man
i just upgraded to 1.0.9 version
everything going fine

at my site
guest play is off but guest view is on

but still it dont allow users including admins to play games

gives this message--
Sorry, you are a Guest, we require you register before playing games. You're welcome to see what all we offer, but if you wish to play, please click Here and make an account.


please help :roll: :roll:
User avatar
aUsTiN-Inc
Registered User
Posts: 929
Joined: Fri Apr 16, 2004 10:31 am
Location: Georgia
Contact:

Post by aUsTiN-Inc »

Please have a read of the .9 change log, that is in there.

http://phpbb-amod.com/viewtopic.php?t=1264
¤ phpBB Security ¤ Blend Portal Creator ¤
¤ Activity Mod Plus Creator «« 2004 phpBBHacks "Hack" Of The Year ¤
¤ Activity Mod Plus Home ¤ 2004 phpBBHacks "Hack" Author Of The Year ¤
My mods are never done, always in update status!
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Post by A.I. BOT »

austin could u help me with my error? *look above :)*
megablastadmin
Registered User
Posts: 193
Joined: Tue Aug 31, 2004 9:53 am
Contact:

Post by megablastadmin »

hi
thanks for the reply
the earlier problem got solved
now i face this :(
while viewing a topic,,
I saw this link in there
"Hall of Fame Member"
and when i clicked on it
i got this
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 15 bytes) in /var/www/free.fr/a/0/zohaib/forum/db/mysql4.php on line 235


Please help.
Thanks again
User avatar
aUsTiN-Inc
Registered User
Posts: 929
Joined: Fri Apr 16, 2004 10:31 am
Location: Georgia
Contact:

Post by aUsTiN-Inc »

AI

In game.php where it makes that check is

Code: Select all

		$sql = "SELECT *
				FROM ". INA_CHEAT ."
				WHERE game_id = '". $game_id ."'
				AND player = " . $userdata['user_id'];
		$result = $db -> sql_query($sql);
		$row 	= $db -> sql_fetchrow($result);
		if(!$row['player'] || $row['game_id'] != $game_id) message_die(GENERAL_MESSAGE, $lang['no_game_start_error_1'], $lang['no_game_start_error_2']);
It inserts in activity.php here

Code: Select all

		InsertPlayingGame($userdata['user_id'], $game_id);
		
		/* Start insert starting game */		
		$sql = "SELECT user_id 
				FROM ". INA_CHEAT ."
				WHERE player = '". $userdata['user_id'] ."'";
		$result = $db->sql_query($sql);
		$row 	= $db->sql_fetchrow($result);
		$there 	= $row['user_id'];
		
		if (!$there)
			{
		$sql = "INSERT INTO ". INA_CHEAT ."
				VALUES ('". $game_id ."', '". $userdata['user_id'] ."')";
		$db->sql_query($sql);
			}
		else
			{
		$sql = "UPDATE ". INA_CHEAT ."
				SET game_id = '". $game_id ."'
				WHERE player = '". $userdata['user_id'] ."'";
		$db->sql_query($sql);			
			}
		/* End insert starting game */
And the above function is

Code: Select all

	function InsertPlayingGame($user, $game_id)
		{
		global $db;
		
		$q = "UPDATE ". USERS_TABLE ."
			  SET ina_game_playing = '". $game_id ."'
			  WHERE user_id = '". $user ."'";
		$db->sql_query($q);		
		
		return;		
		}
So something on one of those places is not happening...

You should have the cheat table defined @ the top of functions_amod_plus

Code: Select all

define('INA_CHEAT', $table_prefix .'ina_cheat_fix');
So ensure you do & ensure you have that table in the database. You should also have the field in the users table

Code: Select all

ina_game_playing INT(10) DEFAULT '0' NOT NULL
Just to give you a start
¤ phpBB Security ¤ Blend Portal Creator ¤
¤ Activity Mod Plus Creator «« 2004 phpBBHacks "Hack" Of The Year ¤
¤ Activity Mod Plus Home ¤ 2004 phpBBHacks "Hack" Author Of The Year ¤
My mods are never done, always in update status!
megablastadmin
Registered User
Posts: 193
Joined: Tue Aug 31, 2004 9:53 am
Contact:

Post by megablastadmin »

and what about my problem bro :) ?
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Post by A.I. BOT »

Its in game.php

Code: Select all

define('INA_CHEAT', $table_prefix .'ina_cheat_fix');
		$sql = "SELECT *
				FROM ". INA_CHEAT ."
				WHERE game_id = '". $game_id ."'
				AND player = " . $userdata['user_id'];
		$result = $db -> sql_query($sql);
		$row 	= $db -> sql_fetchrow($result);
		if(!$row['player'] || $row['game_id'] != $game_id) message_die(GENERAL_MESSAGE, 'Errore eh?');
I changed the message_die to 'Error eh?' to let em no if that was what was wrong,

i do have INA CHEAT defined and it is in mysql

i took out if(!$row['player'] || $row['game_id'] != $game_id) message_die(GENERAL_MESSAGE, 'Errore eh?');

and now i can play games :) but will taking it out cause problems somewhere else?

i also get "Error Selecting Top Score." on newscore.php

mabye all SQL wasent done......could u send me a plain txt SQL cuz "Install" in the ACP dont owrk...tnx dude
User avatar
aUsTiN-Inc
Registered User
Posts: 929
Joined: Fri Apr 16, 2004 10:31 am
Location: Georgia
Contact:

Post by aUsTiN-Inc »

You can click upgrade from .8 to .9 in the acp, it will just output errors for things already done. Read thru the list & see if any were successfull besides the insert into ina_games which will be, the rest SHOULD fail, but i guess we will see
¤ phpBB Security ¤ Blend Portal Creator ¤
¤ Activity Mod Plus Creator «« 2004 phpBBHacks "Hack" Of The Year ¤
¤ Activity Mod Plus Home ¤ 2004 phpBBHacks "Hack" Author Of The Year ¤
My mods are never done, always in update status!
Locked

Return to “[2.0.x] MODs in Development”