Author Topic: New Item - Steal Logged In Time  (Read 4777 times)

Offline spearfish

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.

Features:
  • 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 example.com/smf; the script needs to go into example.com/smf/Sources/shop/items where it will stay happily ever after.

Current version is 1.0

Thanks,
Spear

~~~
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.


Offline mike dijital

Re: New Item - Steal Logged In Time
« Reply #1 on: October 17, 2008, 06:52:40 am »
Installed and works great on a heavily modded 1.1.6

Offline sontoloyo

Re: New Item - Steal Logged In Time
« Reply #2 on: March 30, 2011, 09:00:30 am »
it says "ERROR: Could not create instance of 'StealLoggedInTime_v10' item!"

Offline sontoloyo

Re: New Item - Steal Logged In Time
« Reply #3 on: June 07, 2011, 07:29:00 am »
Im using the latest SMF (SMF 2 RC 5), this mod's old so maybe thats why it didnt work on my site.