Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - 0mfg wtf man

Pages: [1]
1
Modifications / [Mod] SMF Arcade SA Shop Integration 2.0
« on: March 30, 2012, 03:33:11 am »
Requires
- SMF Arcade 2.5 RC1 -  http://mods.simplemachines.org/index.php?mod=36
- SMFShop3.2 - http://mods.simplemachines.org/?mod=65

Description
This mod allows users to get money/cash for the shop after getting a high score in the game. This mod also has a arcade pass feature. Once mod is installed, every user needs to have a arcade pass in order to use arcade.

The default amount that a user receives after getting a high score is 25
If you wanna change how much each user gets when getting a high score. Open up /Sources/Subs-Arcade.php
Code: [Select]
// Give the user their points
$smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET money = money + 25
WHERE id_member = {int:member}
LIMIT 1',
array(
'member' => $user_info['id'],
)
);
Search for this code and change the 25 to whatever number you want them to receive after getting a high score




2
Coding / Arcade point system Smf Shop Mod
« on: March 26, 2012, 04:51:36 am »
Hello everyone,

I'm fairly new to SMF, but i have worked with it a little in the past.

I'm trying to create a Online arcade center for my college. A place where all the students can go and play games, but i wanna make it so that when they play games they can win gold ( Credits for the shop). With the gold i want them to be able to go to the shop, and buy new games for them to play.

Now in order to do this i would have to put permissions on certain games.

I found this mod that people were working on in the past. A mod for an item called Arcadepass.php, this pass allowed you into the Arcade.
I have been messing around with this mod, but i'm not getting any where. I was wondering if anyone wanted to help me or could lead me to what i need to do to get this done.

Here is another link if you are not a member to the Arcade Shop Smf Integration

Pages: [1]