Author Topic: LAME 3.0 - Le (semi)Automated Mob Eradicator  (Read 91085 times)

0 Members and 2 Guests are viewing this topic.

Offline Canuker

  • Sr. Member
  • *
  • Posts: 479
  • Activity:
    0%
  • Reputation Power: 7
  • Canuker has no influence.
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: LAME 2.1
« Reply #60 on: July 11, 2011, 03:38:29 PM »
0
I was looking through this script trying to understand the flow when I came across the command for cast spells listed as: %castConWep.  On the Easy UO documentation this isn't listed anywhere I can find but it seems better than using event macro commands(though being a newb I could be very wrong).  Where does one find the short code for other spells and what else the % command will run? 

I tried to search here and came across this command used in many other scripts reading stuff like mana cost but I can't find the master reference.  Any help?   
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 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: LAME 2.1
« Reply #61 on: July 11, 2011, 06:44:10 PM »
0
Hopefully this will help you out......

Read the page this link goes to. http://wiki.easyuo.com/index.php?title=Variables


As you can see, anything with a % in front of it isn't a "command" but a variable instead.  There is no list of "short codes" for spells or anything else for that matter that start with %.  % is a standard variable that the author of the script calls or sets.

Hope this helps you to understand...

JaF
« Last Edit: July 11, 2011, 06:48:52 PM by JustAnotherFace »
All that tyranny needs to gain a foothold is for people of good conscience to remain silent.
Thomas Jefferson

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: LAME 2.1
« Reply #62 on: July 11, 2011, 06:56:16 PM »
0
To try to further explain... here is some of the code from the LAME script

Code: [Select]
set %castConWep #falseThis sets a standard variable named castconwep to False

Code: [Select]
if ( %castConWep = #true ) && ( %conTimer < #scnt )
         gosub castCon
This says if the variable named castConWep is True AND if the variable named conTimer is less than the scnt (timer) then it jumps to the sub castCon

You will notice in his Sub castCon......
Code: [Select]
sub castCon
  event macro 15 203
  wait 5
  set %conTimer #scnt + 10
  set %spelltimer #scnt + %safety
return
The author actually uses the event macro 15 203.... which is to cast the spell concencrate weapon.  then he sets his variable for his timers, then returns to the part of the code that he jumped from with the gosub.

Hope this helps,

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

Offline Canuker

  • Sr. Member
  • *
  • Posts: 479
  • Activity:
    0%
  • Reputation Power: 7
  • Canuker has no influence.
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: LAME 2.1
« Reply #63 on: July 11, 2011, 07:00:27 PM »
0
"Bright light goes off" I was missing that part of the sub.  Thanks a bunch for clearing that up, I was under the impression that the ConsWep was something I could not find.
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 dxromTopic starter

  • Master of the milestones!
  • Elite
  • *
  • *
  • Posts: 1080
  • Activity:
    0%
  • Reputation Power: 15
  • dxrom is working their way up.dxrom is working their way up.dxrom is working their way up.
  • KEYBOARD COWBOY, GREAT SAMURAI OF THE INTERNET.
  • Respect: +100
  • Referrals: 1
    • View Profile
Re: LAME 2.1
« Reply #64 on: July 11, 2011, 09:40:30 PM »
0
Evasion was something that I have been tossing around as an idea actually... however I thought that if I added it in, it would start to become more of a bot, and less of a sampire assistant. I will think about it further though! In the mean time I am trying to work out how to make the special abilities triggers the way I want them too for 2.2.



 ​_██​_
(ಠ​_ృ)
I do say, ol' Chap! Come play EVE Online! Why here is a 21 Day Free Trial!

Offline Cerveza

  • 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: LAME 2.1
« Reply #65 on: July 12, 2011, 02:22:40 AM »
0
if #hits < ( #maxhits - 70 ) && #mana > 20
  event macro evade

Emergency evasion... You could still use it manually.
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: LAME 2.1
« Reply #66 on: July 12, 2011, 03:52:01 AM »
0
Evasion was something that I have been tossing around as an idea actually... however I thought that if I added it in, it would start to become more of a bot, and less of a sampire assistant. I will think about it further though! In the mean time I am trying to work out how to make the special abilities triggers the way I want them too for 2.2.

No worries, and I understand about it becoming more of a bot.  Like I said, I added it into my personal copy of your script because I forget to cast it manually, so I'm ok... just something to think about.  Again, if you want to see my added code just give me a shout and I will PM it to you.

Thanks again for the great script!

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

Offline Canuker

  • Sr. Member
  • *
  • Posts: 479
  • Activity:
    0%
  • Reputation Power: 7
  • Canuker has no influence.
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: LAME 2.1
« Reply #67 on: July 12, 2011, 08:33:16 AM »
0
Some where in the attack listing is a code for human or non-guild member that I cannot track down and it is targeting other players.  A while back I wrote down the codes for humanoids spawning at corgul but these are not on the same list.  Any idea what one could remove other than the whole list to fix this or would it just be easier to start from fresh?
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 Cerveza

  • 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: LAME 2.1
« Reply #68 on: July 12, 2011, 08:38:42 AM »
0
OH yeah, forgot to mention that I had the same issue. My Female Elf sampire kept wanted to attack my Male Elf protector. No clue what he'd done, but it must be happening at night when I'm logged out on both accounts.

*Here's a little something you may not have known...

Code: [Select]
set %Oaks WH_XI_SH_SC_EF_NB_RC_PB_
set %Meph UE_SD_K_J_U_HD_PD_EJ_UI_
set %Niera II_WI_TI_YD_WD_NI_EB_VI_NI_R_
set %Semi W_BE_UC_UD_YH_N_FD_HI_
set %Riki QE_AE_DE_FE_AB_QF_XE_YE_X_DF_CD_DI_
set %Baracoon XF_VE_IE_OE_HE_LD_BI_RB_UB_GB_LB_FB_CI_
set %PetBalls PHB_
set %EvilMages LC_OC_
set %LLs R_EB_
set %Hyth UGB_KHB_T_CHB_BHB_NE_FD_YO_
set %Deceit QO_EAB_TO_PO_XI_UZ_KH_

set %target %oaks , %meph , %niera , %semi , %riki , %baracoon , %petballs , %evilmages , %lls , %hyth , %deceit

And if you didn't end each line with the underscore "_" then you can add it in the "combined"

Code: [Select]
set %Meph UE_SD_K_J_U_HD_PD_EJ_UI ; note no underscore at the end
set %Niera II_WI_TI_YD_WD_NI_EB_VI_NI_R ; note no underscore at the end

set %target %meph , _ , %niera ; underscore added to combine the two variables

That reduces the line length.
« Last Edit: July 12, 2011, 08:51:38 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 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: LAME 2.1
« Reply #69 on: July 12, 2011, 09:31:19 AM »
0
I had the same problem with attacking elves.  I found and removed the ID that was causing the problem... however, at the moment I do not recall which ID that was.  I am at work so I can not compare my version with yours to see which ID it is that causes the problem.  When I get home I will let you know.

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

Offline Canuker

  • Sr. Member
  • *
  • Posts: 479
  • Activity:
    0%
  • Reputation Power: 7
  • Canuker has no influence.
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: LAME 2.1
« Reply #70 on: July 12, 2011, 09:51:03 AM »
0
Well at the very least it is a elf issue, this is a good community.
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 SolidSnake

  • ScriptUO Guild
  • *
  • Posts: 497
  • Activity:
    0%
  • Reputation Power: 6
  • SolidSnake has no influence.
  • Gender: Male
  • Respect: +34
  • Referrals: 1
    • View Profile
Re: LAME 2.1
« Reply #71 on: July 12, 2011, 12:12:15 PM »
0
I removed it all and just put this:

FZ_DN_II_WI_TI_YD_WD_NI_EB_VI_NI_R_XF_VE_IE_OE_HE_LD_BI_RB_UB_GB_LB_FB_CI_QE_AE_DE_FE_AB_QF_XE_YE_X_DF_CD_DI_W_BE_UC_UD_YH_N_HI_UE_SD_K_J_U_HD_PD_EJ_UI_QO_EAB_TO_PO_XI_UZ_KH_KAB_SZ_FD_MB_AC_IZ_DF_DD_NE_VE_MO_TZ_LD_CI_OE_WH_XI_SH_SC_EF_NB_RC_PB_KHB_UGB_T_CHB_BHB_NE_FD_YO_

works with all spawns and doesn't attack elves.

Offline OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: LAME 2.1
« Reply #72 on: July 12, 2011, 01:19:21 PM »
0
In my script I do a few extra arguments for certain findtypes (humans/elves i do both checks, for possible pet #FINDTYPES I just check the #FINDREP) for #FINDREP and secondly a sub that checks the distance between 1; players current position, 2; locations that the #FINDTYPE found exists as a 'monster' (ie;  Abyss Wyvern Spawn for elves, Champion Alters (Nierra) female human && findrep = murderer, off the top of my head, I'm sure there's others).  You can also do an event property on questionable targets, but I find event property unreliable, and slow which is why I check the players locations.

Offline OMGBurgers

  • Hero Member
  • *
  • Posts: 800
  • Activity:
    0%
  • Reputation Power: 7
  • OMGBurgers has no influence.
  • Respect: +44
  • Referrals: 0
    • View Profile
Re: LAME 2.1
« Reply #73 on: July 12, 2011, 01:22:31 PM »
0
also found this in my old watcher script:

Code: [Select]
;IS_HS                                human male/females
;XU_AV                                elf male/females
;RF_HG_JD_BB_JG_EG_VD_EH_SC_SH        ninjitsu forms
;FN_IN_HN_GN                          ninjitsu forms (special)
;LAB_MAB_SAB_                         necro forms
;NN_OGB                               sw forms

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: LAME 2.1
« Reply #74 on: July 12, 2011, 01:35:51 PM »
0
The item type it was attacking was XU I removed that from my copy of the author's 2.0 script.  Looks like the author removed it himself from the 2.1 version of his script.

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

Tags: