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.

Messages - spearfish

Pages: [1]
Requested additions / Re: SMFShop for 2.0 Beta?
« on: May 22, 2008, 06:18:04 am »
not AFAIK.  and dan's pretty busy.

Items / Re: Item Request: add a word/phrase to the board censor...
« on: May 20, 2008, 10:14:01 am »
Alright alright alright

I'll *consider* this ;-)


Okay, I thought about it; and came to the conclusion that it would be very, very open for abuse.  Maybe if I hammer out some security measures I'll do it; but it's near the bottom of my docket.

Items / New Item: Steal Logged In Time
« on: May 20, 2008, 09:50:19 am »
Huh, I already posted this here but it didn't seem to register.  Got deleted or something....

Anyways, this mod allows you to steal logged in time from another user.

And to see it in action; you can go here:
(Need to register first though)

Although posting in this topic should get you help soon.


Items / Re: Item request: Decrease Karma
« on: May 19, 2008, 10:46:19 am »
Hmm.... seems nice and simple.  If you have any knowledge of a text editor + ftp program....

Edit /Sources/shop/items/IncreaseKarma.php


Code: [Select]
class item_IncreaseKarma extends itemTemplateto
Code: [Select]
class item_DecreaseKarma extends itemTemplate

Code: [Select]

UPDATE {$db_prefix}members

SET karmaGood = karmaGood + {$item_info[1]}


return 'Successfully increased your Karma by ' . $item_info[1] . '!';


Code: [Select]

UPDATE {$db_prefix}members

SET karmaBad = karmaBad + {$item_info[1]}


return 'Successfully decreased your Karma by ' . $item_info[1] . '!';


Then save that as DecreseKarma.php and upload it to where all the other items live.  I'm not going to bother to make a package for this because there's probably not that great of a demand.... Sorry.

Requested additions / Re: Many Requests!
« on: May 19, 2008, 10:38:53 am »
1. Sounds insanely difficult - probably would have to be some wizardry with both cron and AJAX
2. Similar to the insurance item....

Requested additions / Re: Member Fight!
« on: May 19, 2008, 10:36:07 am »

The way I see it is that you could either:
1. Go by total posts matched against a predefined constant (e.g., 500 posts means a 5.00% chance of success)
2. Have the % chance be the user's % of the total posts.... or twice their percent, whatever.  Might be slow to process though if you have a lot of members....

Requested additions / Re: Property market.
« on: May 19, 2008, 10:30:19 am »
Interesting.... I'm free right now and considering what to start on.... I'll think about it.

Items / Re: New items: Red Balls
« on: May 19, 2008, 08:25:34 am »
Should be easy enough.... replace "posts" with "money" or something like that.

Items / Re: Item Request : Sell my Soul
« on: May 19, 2008, 07:18:47 am »
Old post.... I know.  But I took this idea and made it reality.

Items / Re: destory inventory item
« on: May 19, 2008, 05:16:27 am »
Hmm... looks about right.

I noticed one problem.

The "class displayMessage" part should be changed to something like "class destroyStuff".

That's because the class declaration has to match the filename (e.g., HelloMyNameIsFred.php would need to have "class HelloMyNameIsFred extends.... at the top")

Other than that pretty good; just watch out it'll clear the whole inventory.

Items / New Item - Steal Logged In Time
« on: May 19, 2008, 05:13:00 am »
Hi guys,
My first mod, item, or anything really!

This is, quite simple, an item that allows you to steal logged in time from another user.

  • Allows forum admin to set % chance of a successful steal
  • Allows forum admin to set the amount of time stolen
  • Takes karma away from robber - this amount is determined by the forum admin when setting up the item
  • Can be a different amount of karma lost for both successful and failed steals (and by setting this to zero, you can eliminate the loss of karma)
  • Sends PM to the victim

Release notes:
~No image included, but I like to pair the IronDevil.gif image with this
~Will not allow a user's time to go below zero
~NOT a SMF package.  You must FTP in the file

To install the item; FTP it into the directory where your items live.
Assuming that your SMF directory is; the script needs to go into where it will stay happily ever after.

Current version is 1.0


I should be checking back here often.  There's also a release topic on my newborn website here.
If something is urgent; that might be a good place to post / look for known bugs.

Items / Re: Send PM to a specific member
« on: May 19, 2008, 05:06:45 am »
Sounds a lot like the egg item.  You should check that out.

Pages: [1]