Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jawetzel

Pages: 1 [2]
16
Scripting Chat / Re: Easyuo workaround
« on: April 02, 2012, 02:37:03 PM »
:( was hoping it would be more like something that just blocked easyuo from trying to work because there might be glitches till the next update on this patch, but yeah, it has been a while.

17
Scripting Chat / Re: A Better Method Than Key ESC
« on: March 31, 2012, 03:14:18 PM »
set #targcurs 0

18
Scripting Chat / Re: Practicing with my 1st script
« on: March 31, 2012, 11:26:28 AM »
im awaiting the update for easyuo so i cant go and try it, but have you looked to see if the dark hole shows up as a #lobjectid when used?

if so:

set #lobjectid %hole
event macro 17
wait 40

19
its not quite as pretty as you guys are used to, but this is what ive been tinkering with

keeps up enemy of one, divine furry, concecrate wep(given you dont fail to cast, i put enough chiv so my toon doesnt), ais every 1st, lightning strikes every 3rd
honors + attacks when you get flagged by a monster

you will have to set the x and ys of the lightning strike and ai icons and how long your chiv spells will last

Code: [Select]
set %pix1-x xxx
set %pix1-y yyy
set %pix2-x xxx
set %pix2-y yyy
set %conctime 10
set %divinetime 20
set %enemytime 200




set %conc #scnt
set %divine #scnt
set %enemy #scnt

main:
if #enemyid <> N/A
 {
 set #scnt 0
 set %divine 0
 set %conc 0
 set %enemy 0
 set #ltargetid #enemyid
 set #ltargetkind 1
 event macro 49 1
 target
 event macro 22
 event macro 27
 goto second
 }
wait 10
goto main

second:
if #enemyid = N/A
 {
 goto main
 }
savepix %pix1-x %pix1-y 1
set %color1 #pixcol
savepix %pix2-x %pix2-y 1
set %color2 #pixcol
if #color1 <> 1575011 && #color2 <> 1575011
 {
 if #mana > 20 && %special => 2
  {
  event macro 35
  wait 10
  set %special 0
  goto specialout
  }
 if #mana > 7
  {
  event macro 15 149
  wait 10
  set %special %special + 1
  }
 }
if %conc < #scnt
 {
 event macro 15 203
 set %conc #scnt + %conctime
 wait 50
 }
if %divine < #scnt
 {
 event macro 15 205
 set %divine #scnt + %divinetime
 wait 80
 }
if %enemy < #scnt
 {
 event macro 15 206
 set %enemy #scnt + %enemytime
 wait 80
 }
goto second

but it seems like you want a basic thing like this?
Code: [Select]
set %x1 xxx
set %y1 xxx

set %x2 xxx
set %y2 xxx

set %red xxxxxxxxx
;------------------------
main:
if %1 > %2
 {
 set %time #scnt2
 gosub toggle
 }
goto main
;-------------------------
sub toggle
subtoggle:
if #enemyid = N/A
 {
 return
 }
savepix %x1 %y1 1
set %pix1 #pixcol
savepix %x2 %y2 1
set %pix2 #pixcol
if %pix1 <> %red && %pix2 <> %red && #enemyid <> N/A
 {
 if #scnt2 => %time && #mana > 20
  {
  event macro 35
  wait 5
  set %time #scnt2 + 30
  }
 else
  {
  if #mana > 8
   {
   event macro 15 149
   wait 5
   }
  }
 }
goto subtoggle

20
Scripting Chat / Easyuo workaround
« on: March 30, 2012, 05:14:14 PM »
I was wondering how it is that the easyuo staff get easyuo to start working again, and what is it exactly that stops it from working on current patches before you download the current easyuo. The idea being, when easyuo is down i still want to be able to use uoassist and easyuo. Knowing that it might have some glitches but want to use what is still functional of easyuo anyways.

21
lol, the two more recent ones on easyuo fourms, bout 100dls between the 2 and only luck ive had with any kinda responce is when i messaged a moderator to look at it and put it on the psl

22
Inactive Submissions / Re: tailor 0-120
« on: February 21, 2012, 11:59:40 PM »
i probably could do a better job of making it easier to read, its just usually my process includes starting at line one, figuring out how to enter  what i'm trying to do, make the body of the script with what i want my subs to do in mind beforehand, then filling in subs to fit what i just wrote. Usually the scripts i do are done in one session of writing, with some debug afterwards.

For the most part i throw my scripts out when they stop working and start from scratch unless it was a small fix, implementing some of the more recent things i have learned or organize it better as a 2nd go around, being more familar with what it needs to do. and seeing a more efficient way to do it.

for ex:
with http://www.easyuo.com/forum/viewtopic.php?p=397879#397879

my 1st look into pulling things out of strings was probably a couple weeks before that. And my 1st crack at it, had to write out the whole thing long hand before could grasp it totally, and condense it into subs. Probably next time i need to do it, will try to turn the 5 different resists subs into 1 sub with more %1 variables to save more space.

Its just kinda been my process for learning, and don't have any coding background before easyuo, so its kinda learn as i go.

in short, this has been my general approach to organization, trying to shorten anything that i see as repeatable or doesn't happen every time into subs to either save space or not force the program to slow down with looking over unnecessary lines
Code: [Select]
;startup:
;things i only gotta do once before the scrypt kicks in
;
;item change:
;if the main loop needs to perform a diffrent function
;
;mainloop:
;what the sctypt does
;goto mainloop
;
;Sub a
;
;sub b
;
;sub c



23
Inactive Submissions / Re: tailor 0-120
« on: February 21, 2012, 03:05:34 PM »
so your basicly saying, it would be wise to change the repeativeness in the inital setup, and the item to make by skill into subs so it would be 1 set of 6 lines instead of 6sets of 6lines, make less room for error

24
Inactive Submissions / tailor 0-120
« on: February 21, 2012, 10:38:10 AM »
Uses cloth in cut up cloth form, as if you bought bolts off the tailor and cut them up, and leather. it makes tinker tools and tailor kits, so have ingots in your bag of resources please.

Have only gotten to test it once during the debug while making my tailor, and only tested on osi. so would appreciate some feedback.

reason it was made because CEO's wasn't working and its easier to make a new one than sift through 5000 lines of code

25
Hello, im jawetzel, and im an on/off uo player for the past ~6yrs, and i have more recently returned, and tinkering with some easyuo things, and found a total lack of non-leeches on easyuo, and was lookin for more of a community.

a coupple of examples of what i can do as coding are

http://www.easyuo.com/forum/viewtopic.php?p=397806#397806
multi-skill trainer

http://www.easyuo.com/forum/viewtopic.php?p=397879#397879
string stuff

have been playin a bard tamer of late on atlantic with my gang of trammies(not to be confused with a gang of babies, both very dangerous when there on a mission)

Rember "that guy" back in the day, @ the swoops when they was popular. Killin em before the evs even flagged, makin him talk to a gm 5x a day while scrypting and he never stopped, even while talking with the gm. :P

Pages: 1 [2]