Pagina 1 van 1

ik zoek een paar mods

Geplaatst: 22 apr 2006, 19:32
door calimero
ik zoek deze mods casino, loterij, en de wedkantoor

ik zag op een site de rechtbank is daar ook een mod voor

Geplaatst: 22 apr 2006, 19:34
door brandsrus
Zoek eens in de moddatabase van onze grote broer http://www.phpbb.com/mods of via de andere bekende sites naar deze mods met de volgende benamingen en dan vind je ze wel :wink:

Jury Mod 0.0.3
Bookies Mod 3.0.0
Lottery Hack 2.0.4
Casino Hack 1.0.0

De zoekterm in google met phpbb erachter wil ook altijd wel goede resultaten op leveren :wink:

Geplaatst: 22 apr 2006, 20:55
door calimero
ik ebn niet zo goede zoeker heb de loterij en jury wel gevonden kan iemand met de rest helpen

Geplaatst: 22 apr 2006, 21:18
door Bee
Daarvoor hebben we dus dit ( http://www.phpbb.com/phpBB/mod_search.php ) en dit ( http://www.phpbbhacks.com/ )

Typ in:

Lottery
Jury
Bookmakers
Casino

En afhankelijk waar en wat je zoekt komt er een download uit.

Geplaatst: 23 apr 2006, 15:05
door calimero
thnx heb ze nu allemaal op 1 na en dat is deze Bookies Mod 3.0.0 weet iemand waar ik die kan vinbden

Geplaatst: 23 apr 2006, 15:24
door Raimon
De laatse kun je hier vinden: http://www.majormod.com/viewtopic.php?t=4
Succes.

Geplaatst: 07 mei 2006, 10:54
door calimero
ik heb de lottery geinstaleerd en nu krijg ik dit als het afgelopen is ik kan niet zien wie de winaar is

Code: Selecteer alles

Error getting information from users table!

DEBUG MODE

SQL Error : 1054 Unknown column 'user_items' in 'field list'

SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='5'

Line : 174
File : lottery.php

Geplaatst: 07 mei 2006, 10:56
door cartoontje
SQL-stap in de installatie gedaan?

Geplaatst: 07 mei 2006, 11:00
door calimero
ja want als ik het nog een keer doe krijg ik

Code: Selecteer alles

Running :: CREATE TABLE `phpbb_lottery` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `user_id` INT (20) NOT NULL, PRIMARY KEY(`id`), INDEX(`user_id`)) -> FAILED ---> Table 'phpbb_lottery' already exists

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_cost', '1') -> FAILED ---> Duplicate entry 'lottery_cost' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_ticktype', 'single') -> FAILED ---> Duplicate entry 'lottery_ticktype' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_length', '500000') -> FAILED ---> Duplicate entry 'lottery_length' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_name', 'Lottery') -> FAILED ---> Duplicate entry 'lottery_name' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_base', '50') -> FAILED ---> Duplicate entry 'lottery_base' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_start', '0') -> FAILED ---> Duplicate entry 'lottery_start' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_reset', '0') -> FAILED ---> Duplicate entry 'lottery_reset' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_status', '0') -> FAILED ---> Duplicate entry 'lottery_status' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_items', '0') -> FAILED ---> Duplicate entry 'lottery_items' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_win_items', '') -> FAILED ---> Duplicate entry 'lottery_win_items' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_show_entries', '0') -> FAILED ---> Duplicate entry 'lottery_show_entries' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_mb', '0') -> FAILED ---> Duplicate entry 'lottery_mb' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_mb_amount', '1') -> FAILED ---> Duplicate entry 'lottery_mb_amount' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_history', '1') -> FAILED ---> Duplicate entry 'lottery_history' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_currency', '') -> FAILED ---> Duplicate entry 'lottery_currency' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_item_mcost', '1') -> FAILED ---> Duplicate entry 'lottery_item_mcost' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_item_xcost', '500') -> FAILED ---> Duplicate entry 'lottery_item_xcost' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_random_shop', '') -> FAILED ---> Duplicate entry 'lottery_random_shop' for key 1

Running :: CREATE TABLE `phpbb_lottery_history` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `user_id` INT (20) NOT NULL, `amount` INT (20) NOT NULL, `currency` CHAR (32) NOT NULL, `time` INT (20) NOT NULL, PRIMARY KEY(`id`), INDEX(`user_id`) ) -> FAILED ---> Table 'phpbb_lottery_history' already exists


Finished!
Some of the querys have failed, contact me so I can fix the errors.

Geplaatst: 07 mei 2006, 11:12
door arjan2
Waarschijnlijk gebruik je een andere pfefix vervang dus phpbb_ even door jouw prefix. En voer hem dan handmatig uit

Geplaatst: 07 mei 2006, 11:14
door cartoontje
SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='5', dus de prefix is goed.

Welke mods heb je nog meer op je forum staan?

Geplaatst: 07 mei 2006, 11:18
door arjan2
cartoontje schreef:SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='5', dus de prefix is goed.

Welke mods heb je nog meer op je forum staan?
Nou nee niet altijd als ik die mod zou installeren zou het bij mij moeten zijn:

forum_users

Geplaatst: 07 mei 2006, 11:22
door calimero
cartoontje schreef:SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='5', dus de prefix is goed.

Welke mods heb je nog meer op je forum staan?

weddenschap
cash
bank
jugde

Geplaatst: 07 mei 2006, 11:25
door Paul
Volgens mij het je de user shop nodig, maar dat deel kan je erook uithalen.

Geplaatst: 07 mei 2006, 11:26
door calimero
dus ik moet de shop mod instaleren

Geplaatst: 07 mei 2006, 11:27
door cartoontje
arjan2 schreef:
cartoontje schreef:SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='5', dus de prefix is goed.

Welke mods heb je nog meer op je forum staan?
Nou nee niet altijd als ik die mod zou installeren zou het bij mij moeten zijn:

forum_users
In de foutmelding staat dat er gezocht wordt naar phpbb_. Dit betekent dus dat het gewoon phpbb_ is. Anders had er wel iets anders gestaan. De prefix staat namelijk in config.php en vervolgens wordt deze overal op het forum gebruikt. Aangezien phpbb_ de standaardprefix is hoef je ook aan de sql-query niks te veranderen.

Het punt is dat de bewuste sql-code er niet bij zit of dat het nog van een andere hack is.
calimero schreef:dus ik moet de shop mod instaleren
Eigenlijk wel ja, heeft er dan waarschijnlijk ook bij gestaan! :)

Geplaatst: 07 mei 2006, 11:42
door Paul
Nee, je moet niet de shop mod installeren. Je moet even lottery.php in een txt file geven.

Geplaatst: 07 mei 2006, 11:45
door calimero
hier heb je alles wat er bij zit


http://www.onzefret.nl/903.zip

Geplaatst: 07 mei 2006, 11:54
door Paul
FInd:

Code: Selecteer alles

$sql = "SELECT `username`, `user_items`
replace

Code: Selecteer alles

$sql = "SELECT `username`
find and delete:

Code: Selecteer alles

		#
		# Explode items array, loop over items array to make sure all item exist
		# Replace all RANDOM (lowercase) items with items from price to price [in store]
		#
		$item_array = explode(';', $board_config['lottery_win_items']);
		$add_items = array();
		for ($i = 0; $i < count($item_array); $i++)
		{
			$item_array[$i] = trim($item_array[$i]);

			if ( strtolower($item_array[$i]) == 'random' )
			{
				$shop_sql = ( !empty($board_config['lottery_random_shop']) ) ? "AND shop = '" . addslashes($board_config['lottery_random_shop']) . "'" : '';

				$sql = "SELECT name
					FROM " . SHOP_ITEM_TABLE . "
					WHERE cost > '" . $board_config['lottery_item_mcost'] . "'
						AND cost < '" . $board_config['lottery_item_xcost'] . "'
						" . $shop_sql . "
					ORDER BY RAND()
						LIMIT 0, 1";
				if ( !($result = $db->sql_query($sql)) )
				{
					message_die(GENERAL_ERROR, sprintf($lang['lottery_error_selecting'], 'shop items'), '', __LINE__, __FILE__, $sql);
				}
				$sql_count = $db->sql_numrows($result);

				if ( $sql_count > 0 )
				{
					if (!( $item_row = $db->sql_fetchrow($result) ))
					{
						message_die(GENERAL_ERROR, sprintf($lang['lottery_error_selecting'], 'shop items'), '', __LINE__, __FILE__, $sql);
					}
					$add_items[] = $item_row['name'];
				}
			}
			elseif ( !empty($item_array[$i]) )
			{
				$sql = "SELECT *
					FROM " . SHOP_ITEM_TABLE . "
					WHERE name = '" . addslashes($item_array[$i]) . "'";

				if ( !($result = $db->sql_query($sql)) )
				{
					message_die(GENERAL_ERROR, sprintf($lang['lottery_error_selecting'], 'shop items'), '', __LINE__, __FILE__, $sql);
				}
				$sql_count = $db->sql_numrows($result);

				if ( $sql_count > 0 )
				{
					$add_items[] = $item_array[$i];
				}
			}
		}
		if ( count($add_items) > 0 )
		{
			$new_items = addslashes($row2['user_items'] . 'ß' . implode('Þß', $add_items) . 'Þ');

			#
			# Add up new total & insert into database
			#
			$sql = "UPDATE " . USERS_TABLE . "
				SET user_items = '$new_items'
				WHERE user_id='{$row['user_id']}'";
			if ( !($db->sql_query($sql)) )
			{
				message_die(GENERAL_ERROR, sprintf($lang['lottery_error_updating'], 'users'), '', __LINE__, __FILE__, $sql);
			}
		}

Geplaatst: 07 mei 2006, 12:07
door calimero
thnx hij doet het de winnaar is bekent :d