Author Topic: Trying enhanced..... failing a bit, could use a hand  (Read 1801 times)

0 Members and 1 Guest are viewing this topic.

Offline ScorpioTopic starter

  • Jr. Member
  • **
  • Posts: 38
  • Activity:
    2%
  • Reputation Power: 1
  • Scorpio has no influence.
  • Gender: Male
  • Referrals: 1
    • View Profile
Trying enhanced..... failing a bit, could use a hand
« on: October 26, 2018, 10:57:20 PM »
I trying to make a macro for:

set ability wirlwind
get nearest non friendly target
attack last
clear target

In the old days id set hot keys for each action in razor and record the sequence, but enhanced has alot let hot key targeting options. And i can by no means write raw new scripts lol

Offline bendel

  • Moderator
  • *****
  • Posts: 209
  • Activity:
    0.6%
  • Reputation Power: 4
  • bendel has no influence.
  • Referrals: 0
    • View Profile
Re: Trying enhanced..... failing a bit, could use a hand
« Reply #1 on: October 27, 2018, 10:28:54 AM »
Try something like this:

Code: [Select]
from System.Collections.Generic import List
from System import Byte
fil = Mobiles.Filter()
fil.Enabled = True
fil.RangeMax = 10
fil.Notorieties = List[Byte](bytes([3,4]))

enemies = Mobiles.ApplyFilter(fil)
Mobiles.Select(enemies,'Nearest')
for enemy in enemies:
    if not Player.HasSpecial:
        Player.WeaponSecondarySA()
    Player.Attack(enemy)
    Target.ClearLast()

Offline ScorpioTopic starter

  • Jr. Member
  • **
  • Posts: 38
  • Activity:
    2%
  • Reputation Power: 1
  • Scorpio has no influence.
  • Gender: Male
  • Referrals: 1
    • View Profile
Re: Trying enhanced..... failing a bit, could use a hand
« Reply #2 on: October 27, 2018, 02:21:19 PM »
it works thanks! what coding type is this so i can go learn how to add pauses and simple edits?
« Last Edit: October 27, 2018, 02:26:02 PM by Scorpio »

Offline bendel

  • Moderator
  • *****
  • Posts: 209
  • Activity:
    0.6%
  • Reputation Power: 4
  • bendel has no influence.
  • Referrals: 0
    • View Profile
Re: Trying enhanced..... failing a bit, could use a hand
« Reply #3 on: October 27, 2018, 06:58:11 PM »
actually it's IronPython.

If you need another examples, don't hesitate to ask :)

Offline ScorpioTopic starter

  • Jr. Member
  • **
  • Posts: 38
  • Activity:
    2%
  • Reputation Power: 1
  • Scorpio has no influence.
  • Gender: Male
  • Referrals: 1
    • View Profile
Re: Trying enhanced..... failing a bit, could use a hand
« Reply #4 on: October 30, 2018, 03:37:41 PM »
actually it's IronPython.

If you need another examples, don't hesitate to ask :)

Honestly most of what i need is simple in game macros, im decent at making small edits and fixing some easy uo scripts but that is all the proficiency i ever gained. I made my living testing scripts for people over the years lol But all my buddies seem to have quit the game and do not want to make me scripts anymore :P

That being said if anyone is looking for challenges i have some ideas and alot of minor macros i need lol


The major one i would like to see is for tmapping. Its out of my league though, way out. Basically on osi the new tmap system gives you about a 10x10 or 11x11(ill go walk off the distance tonight) and you have to dig around every tile. I went and trained mining for the 4tile bonus because i would forget wich tiles i had tried. and dropping items on all those tiles got very time consuming. But mining on my build crippled me quite substantially(took the place of my eval and renders my 148 sdi suit useless) basically all it would need to do is walk the small area digging until it found the chest. This little gem would be widely beneficial for many tmappers in the new system. My idea was to always start it on one of the corners of the section and systematically try to dig using map(would require people to only have one map in their main backpack at a time), so if anyone wants to take on this task let me know and ill test it lol
« Last Edit: October 30, 2018, 04:59:00 PM by Scorpio »

Offline bendel

  • Moderator
  • *****
  • Posts: 209
  • Activity:
    0.6%
  • Reputation Power: 4
  • bendel has no influence.
  • Referrals: 0
    • View Profile
Re: Trying enhanced..... failing a bit, could use a hand
« Reply #5 on: November 01, 2018, 02:50:56 AM »
Actually, i'm using this uovmc do i don't need mining.

It scan the ingame map and then add a marker on the map.


Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *****
  • Posts: 5302
  • Activity:
    3.6%
  • Reputation Power: 62
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Referrals: 2
    • View Profile
Re: Trying enhanced..... failing a bit, could use a hand
« Reply #6 on: November 01, 2018, 06:36:43 AM »
How close is it?

Tags: