Author Topic: XIIxOveR's Poisoning Trainer  (Read 36086 times)

0 Members and 2 Guests are viewing this topic.

Offline 8 Ball

  • Full Member
  • ***
  • Posts: 102
  • Activity:
    0%
  • Reputation Power: 2
  • 8 Ball has no influence.
  • Gender: Male
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #45 on: October 03, 2011, 09:09:47 AM »
0
Right now my poisoning is at 94, but I've been having trouble with it ever since 57ish skill. When it first started I thought it was caused by my switching between clients (as in more than one client window open) but that doesn't seem to be it.

Offline 12TimesOverTopic starter

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *****
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #46 on: October 03, 2011, 12:32:08 PM »
0
Right now my poisoning is at 94, but I've been having trouble with it ever since 57ish skill. When it first started I thought it was caused by my switching between clients (as in more than one client window open) but that doesn't seem to be it.
Well I just showed my idiotness in all it's glory by asking a question you very clearly had already given me the answer to before I asked rofl, sorry about that. You did already mention that it's 94.

Since this doesn't rely on anything like OCR you should have no issues multi-clienting, etc.

This new rewrite I did with 3.0 changed all of the logic I used in 2.0 which is where the problem seemed to first raise it's head even though I didn't change anything in 2.0 from 1.01. Very strange indeed. I guess I need to get off my arse at my next chance and get this thing running. I'm swamped at home over the next few nights but I'll do my best to pull something together on TC and see what I see.

You say 1.0 still works fine, right?

X
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Offline 8 Ball

  • Full Member
  • ***
  • Posts: 102
  • Activity:
    0%
  • Reputation Power: 2
  • 8 Ball has no influence.
  • Gender: Male
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #47 on: October 04, 2011, 03:49:32 AM »
0
Yep 1.0 is fine :) I haven't poisoned myself for like the last 30points of skill so I just hide manually before starting the script and haven't popped out yet. The hide sub works well in 2.0 though, shame about the rest ;) I'm going to be training up another char to GM poisoning after this run so I can keep pestering you about it :D

Offline 12TimesOverTopic starter

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *****
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #48 on: October 04, 2011, 04:22:58 AM »
0
I'm going to be training up another char to GM poisoning after this run so I can keep pestering you about it :D
Dammit, you just figured out my wife's trick! lol.

Sounds good man.

X
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Offline 12TimesOverTopic starter

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *****
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #49 on: October 04, 2011, 11:31:36 AM »
0
Ok, version 3.0 updated. I found an issue with the setup sub that caused it to not find the correct poison types in the secure. Also fixed a typo in the RoT sub call which would have stopped it from working.

X
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Offline 8 Ball

  • Full Member
  • ***
  • Posts: 102
  • Activity:
    0%
  • Reputation Power: 2
  • 8 Ball has no influence.
  • Gender: Male
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #50 on: October 06, 2011, 03:49:56 AM »
0
Think I figured out the problem with finding pots...

You had a section of code where it would select the potion type based on your skill level, but there wasn't a space between the upper skill limit and the closing bracket.

Code: [Select]
event property #findid
            if (%CurrentSkill >= 0 && %CurrentSkill < 450 ) && Lesser in #property
               set %Poison #findid
            if (%CurrentSkill > 449 && %CurrentSkill < 700 ) && ( Lesser notin #property && Greater notin #property && Deadly notin #property )
               set %Poison #findid
            if (%CurrentSkill > 699 && %CurrentSkill < 990 ) && Greater in #property
               set %Poison #findid
            if (%CurrentSkill > 899 && %CurrentSkill < 999 ) && Deadly in #property
               set %Poison #findid
            if %CurrentSkill >= 1000

This is with the space inserted..I'm a complete script noob but I noticed in EUO that the lower skill number was green whilst the higher wasn't (due to the bracket on the end) so I can claim no scripting genius :P Hopefully this is a proper fix and I haven't broken the skill changes in my complete ignorance :D

Offline 12TimesOverTopic starter

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *****
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #51 on: October 06, 2011, 04:36:13 AM »
0
Think I figured out the problem with finding pots...
With my last fix I relized I was actually trying to us the %CurrentSkill coming out of the Setup sub but I hadn't yet set the variable (total oversight on my part). I think that may be a good catch on the paranthesis though man, that's the kind of stuff I tend to miss when I'm putting scripts together at work rather than at home while I can test for syntactical issues lol. So it looks like there were two issues with that sub; better than 3 I guess ;)

New version uploaded and +rep for you!!

X
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Offline 8 Ball

  • Full Member
  • ***
  • Posts: 102
  • Activity:
    0%
  • Reputation Power: 2
  • 8 Ball has no influence.
  • Gender: Male
  • Respect: +13
  • Referrals: 0
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #52 on: October 06, 2011, 09:25:21 AM »
0
Just another quick fix, I changed it to this

Code: [Select]
if ( %CurrentSkill > 990 && %CurrentSkill < 1000 ) && Deadly in #property

because otherwise it would stop at 99.9 :)

Offline 12TimesOverTopic starter

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *****
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #53 on: October 06, 2011, 04:20:16 PM »
0
Updated.

Hopefully the typos and syntactical issues are handled now.

X
« Last Edit: October 07, 2011, 03:42:33 AM by 12TimesOver »
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Offline Canuker

  • Sr. Member
  • *
  • Posts: 479
  • Activity:
    0%
  • Reputation Power: 7
  • Canuker has no influence.
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #54 on: October 07, 2011, 06:24:15 AM »
0
I'll give it a run later tonight and see what gives.
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 Twisted1851

  • Jr. Member
  • **
  • Posts: 25
  • Activity:
    0%
  • Reputation Power: 1
  • Twisted1851 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #55 on: November 06, 2011, 12:20:55 AM »
0
Is there any chance we can see a function implemented to use magery as a means of curing, rather than cure pots, so as to save resources?

Offline Twisted1851

  • Jr. Member
  • **
  • Posts: 25
  • Activity:
    0%
  • Reputation Power: 1
  • Twisted1851 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #56 on: November 06, 2011, 11:48:51 AM »
0
Nevermind. It really doesn't use enough cure or heals to matter...lol

Offline Twisted1851

  • Jr. Member
  • **
  • Posts: 25
  • Activity:
    0%
  • Reputation Power: 1
  • Twisted1851 has no influence.
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #57 on: November 06, 2011, 03:13:42 PM »
0
Something I could use some help with, I'm trying to poison a dagger thats in my HAND, in my paperdoll, rather than in my backpack, and I tried changing the C_, to P_, but now It's saying That is too far away or something. Help please!
« Last Edit: November 06, 2011, 03:36:47 PM by Twisted1851 »

Offline rana70

  • Elite
  • *
  • *
  • Posts: 294
  • Activity:
    0%
  • Reputation Power: 5
  • rana70 has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 2
    • View Profile
    • MyScripts
Re: XIIxOveR's Poisoning Trainer
« Reply #58 on: November 06, 2011, 08:48:04 PM »
0
Something I could use some help with, I'm trying to poison a dagger thats in my HAND, in my paperdoll, rather than in my backpack, and I tried changing the C_, to P_, but now It's saying That is too far away or something. Help please!

Hi,

the FindItem Command don't have something like "P_"  as an option !

Here are the Options you can use with FindItem:
Code: [Select]
It is possible to specify multiply object types in the {type} parameter (i.e. NSF_FSF).
C Only objects in containers are returned. (Container must be open)
C_{container id} Only objects in the container given by {container id} are returned. (Container must be open)
G Only objects on the ground are returned.
G_{Dist} Only objects on the ground, and no farther than {dist} are returned.
A Hidden Objects.
CA_{container id} Only hidden objects in the container given by {container id} are returned.

To "Find" something that you wear on your Paperdoll
you have to use the #CHARID as Container_ID,
for EUO is your Paperdoll just like a regular Container.

$$$ has to be the ItemType of what you are looking for e.g. Dagger

Code: [Select]
finditem $$$ C_ , #CHARID

cu
« Last Edit: November 06, 2011, 08:53:15 PM by rana70 »

Offline 12TimesOverTopic starter

  • Another Day, Another Vendetta
  • Global Moderator
  • *
  • *****
  • Posts: 3694
  • Activity:
    0%
  • Reputation Power: 41
  • 12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.12TimesOver is a force to reckon with.
  • Gender: Male
  • Respect: +321
  • Referrals: 2
    • View Profile
Re: XIIxOveR's Poisoning Trainer
« Reply #59 on: November 07, 2011, 01:57:34 AM »
0
Dang, activity in my thread and I miss it all!! ;)

Glad you got yourself straightened out and also that you figured out why I don't bother going with Magery heals and cures, just uses so few resources that keeping the script simple is worth it.

Just curious, why are you trying to poison what's in your hand instead of just putting it in your pack?

X
When they come for me I'll be sitting at my desk
     with a gun in my hand wearing a bulletproof vest
My, my, my how the time does fly
     when you know you're gonna die by the end of the night

Tags: