Author Topic: Cerv's Insure It Sub  (Read 6326 times)

0 Members and 1 Guest are viewing this topic.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Cerv's Insure It Sub
« on: July 12, 2011, 03:20:06 PM »
0
I wondered why this wasn't around. A sub you can call to insure an item type.

Sub will insure ALL of the same type items.

gosub CervsInsureIt UG ; bracelet

Will insure all bracelet type UG in your backpack.

Feedback is welcomed and encourage, shout out if you find it useful.

Thanks to TrailMyx for the HandleContextMenu and OCR

*If you've already downloaded this you'll notice it messages the ID of the item it's insuring. That was in there for testing purposes. You can either d-load again or remove this line from the script:

      msg #findID $

There are 1 attachment(s) in this post. You must register and post an acceptable introduction to download
Cerv's Insure It Sub.txt
« Last Edit: July 13, 2011, 05:00:32 AM by Cerveza »
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline Hoby

  • Elite
  • *
  • *
  • Posts: 1344
  • Activity:
    0%
  • Reputation Power: 14
  • Hoby barely matters.Hoby barely matters.
  • Gender: Male
  • Respect: +79
  • Referrals: 1
    • View Profile
Re: Cerv's Insure It Sub
« Reply #1 on: July 12, 2011, 05:54:40 PM »
0
Ill have to try it.  Ive been farming miasamo alot lately and I collect all rings and bracelets with fc/fcr just so I don't have to imbue that property. 
I like you, your death shall be quick and painless!!
I may have alzheimers, but at least I don't have alzheimers.
Walruses are like vampires, only awesome
Pwned-The total domination or shut down of a person or thing. 
I believe a hangover is gods way of saying you kicked ass last night!
Life's to short to remove usb safely.

Offline Adenocard

  • Full Member
  • ***
  • Posts: 143
  • Activity:
    0%
  • Reputation Power: 2
  • Adenocard has no influence.
  • Gender: Female
  • Respect: +18
  • Referrals: 4
    • View Profile
Re: Cerv's Insure It Sub
« Reply #2 on: July 12, 2011, 06:52:18 PM »
0
Wonderful idea I wonder who started you on the path to thinking about needing something like that... Nice work  ;)

Offline Canuker

  • Sr. Member
  • *
  • Posts: 479
  • Activity:
    0%
  • Reputation Power: 7
  • Canuker has no influence.
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: Cerv's Insure It Sub
« Reply #3 on: July 12, 2011, 07:13:34 PM »
0
This is a good idea...I'll have to see how best to use it.
Nope!  I'm doing what all the real PvPers do:  Scripting everything except the running away part!  I'm real good at that already...

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Cerv's Insure It Sub
« Reply #4 on: July 13, 2011, 03:07:48 AM »
0
Wonderful idea I wonder who started you on the path to thinking about needing something like that... Nice work  ;)

Yeah, I wonder ;)

You can make lists of stuff to insure, so next artifact hunt you just put the lootables into the list. I believe it will work with specific item ID's as well as generic TYPE's, so you could "filter" what your looking for, and if found then send it to the sub.

Something like those defiler katana's that were dropping before... In your main script you would do something like:

Code: [Select]
finditem Katana C_ , %corpseID
if #findCnt > 0
  event property #findID
  if defiler in #property
    gosub CervsInsureIt #findID
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline JustAnotherFace

  • Hero Member
  • *
  • Posts: 530
  • Activity:
    0%
  • Reputation Power: 8
  • JustAnotherFace has no influence.
  • Gender: Male
  • My new toy....
  • Respect: +24
  • Referrals: 4
    • View Profile
Re: Cerv's Insure It Sub
« Reply #5 on: July 13, 2011, 04:15:25 AM »
0
"Oh yeah, I've been using one I wrote for years"


JaF
All that tyranny needs to gain a foothold is for people of good conscience to remain silent.
Thomas Jefferson

Tags: