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 - camotbik

Pages: 1 2 [3] 4 5 ... 24
31
Stealth scripts /
« on: January 01, 2013, 12:07:29 PM »
Code: [Select]
Procedure WatchStatus;
begin
  while not dead do
  begin
    if IsPoisoned(self) and not IsYellowHits(self) then DrinkCure;
    if (GetHP(Self) < DrinkHealPotionAt) and (GetHP(Self) > 0) and not Poisoned and not IsYellowHits(self) then DrinkHeal;
    if (Stam < DrinkStamPotionAt) then DrinkStam;
    if IsYellowHits(self) then EatApple;
    if (GetSkillValue('Healing') > 20.0) and (GetHP(Self) < (GetMaxHP(Self))) and (GetHP(Self) > 0) then Bandageself;
    wait(50);
  end;
end;
An example

32
what do you mean by old? I'm using Ultima Online Classic 7.0.10.13. I'm trying to set the script up in fel faccet. When you add all the trees and press save, says saving complete and lets you continue with the usual lumberjacking, where the script performs really great. But when I close the EUO and start the script again, and proceed by pressing Load Setup, it just gets stuck on Loading user setup.

33
Well mine for some reason gets stucked in a loop at loading..

34
Love the script, but as it seems save/load doesn't seem to work.

35
well, you could just check for the items you desire, for example gold, as it will respawn each time, so some thing like this?
Code: [Select]
set %chesttype AAA
set %itemtype BBB_CCC_DDD

repeat
  gosub Check_chest
  wait 50
until #charghost = yes
stop

Sub Check_chest
  finditem %chesttype G_2
  if #findcnt > 0
  {
    set %current_chest #findid
    set #lobjectid %current_chest
    while #contid <> %current_chest
    {
      event macro 17
      wait 20
    }
    finditem %itemtype C_ , %current_chest
    if #findcnt > 0
    {
      display the stuff is found
      pause
      ; You could add looting(check exevent drag, exevent drop on wiki) or whatever here.
    }
  }
return

36
Script Debug / Re: Recycler
« on: March 01, 2012, 06:49:49 AM »
then the only option is to use stealth client.

37
Stealth Snippets\Library / Re: Item Evaluation
« on: February 29, 2012, 08:37:00 PM »

38
Stealth Snippets\Library / Re: Item Evaluation
« on: February 29, 2012, 07:47:26 PM »
great job, all we need now is a looter with LOS support.

39
Stealth Client / Re: How to debug Python Scripts
« on: February 29, 2012, 07:23:35 PM »
Great job Boydon, it's a shame i'm more of a pascal guy )

40
Script Debug / Re: Using two different type of tools.
« on: February 29, 2012, 07:20:55 PM »
your stuff is really, really hard to read! Try ovoiding gotos and try to do something like this (the stuff bellow is just an example, i wrote it fast so i dont know if it will work, but it should give you a hint how things should look like).

Code: [Select]
set %itemtype KDP
set %hammertype CGG
set %WeigtTurnIn 400
set %wood TLK

; Seting up wood bag and opening it
Display Target your wood bag(right?).
set #targcurs = 1
while #targcurs = 1
  wait 1
set %packy #ltargetid
set #lobjectid %packy
event macro 17
wait 1s

; Seting up turn bag and opening it
Display Target your wood pack(right?).
set #targcurs = 1
while #targcurs = 1
  wait 1
set %turnbag #ltargetid
set #lobjectid %turnbag
event macro 17
wait 1s

; Mainloop
repeat
  Gosub CheckForTurnIn
  Gosub CheckHammers
  Gosub CheckWood
  Gosub MakeItem
until #charghost = yes
; End of Mainloop

; Subs
Sub CheckForTurnIn
  if #weight > %WeigtTurnIn
  {
    finditem %itemtype C_ , #Backpackid
    while #findcnt > 0
    {
      key f10 ; YOU COULD DO BETTER THAN THIS AND YOU KNOW IT, but for now it's ok.
      wait 15
      finditem %itemtype C_ , #Backpackid
    }
  }
return

Sub CheckHammers
  finditem %hammertype C_ , #backpackid
  if #findcnt < 1
  {
    finditem %hammertype C_ , %packy
    if #findcnt > 0
    {
      exevent drag #findid
      exevent dropc #backpackid
      wait 20
    }
    else
    {
      display You are out of hammers.
      stop
    }
  }
return

Sub CheckWood
  finditem %wood C_ , #backpackid
  if #findstack < 10 ; if less than 10 in a stack then
  {
    finditem %wood C_ , %packy
    if #findcnt > 0 && #findstack > 10 ; if any wood in packy found and the stack os greater than 10
    {
      exevent drag #findid 150
      exevent dropc #backpackid
      wait 20
    }
  }
return

Sub MakeItem
  if #contsize <> 666_666 ; if contsize not XXX_XXX then we use the crafting tool ; ++ edit to the contsize of the crafting menu to get this working
  {
    finditem %hammertype C_ , #backpackid
    if #findcnt > 0
    {
      set #lobjectid #findid
      event macro 17
      wait 1s
    }
  }
  set %makelastx #CONTPOSX + 281
  set %makelasty #CONTPOSY + 456
  for %i 1 10 ; repeat 10 times
  {
    if #contsize = 666_666  ; edit the contisze of crafting menu to get this working
    {
      click %makelastx %makelasty
      wait 10
    }
  }
return

41
Script Debug / Re: Recycler
« on: February 29, 2012, 06:24:34 PM »
On what shard are you playing and what is your current client version + euo version ?

Could you run this script and make a screenshot of the popup window?
Code: [Select]
display Target the exceptional item
set #targcurs 1
while #targcurs = 1
  wait 1
event property #ltargetid
display #property
stop

42
Scripting Chat / Gate/Recall - In/Out
« on: February 04, 2012, 06:46:40 PM »
I dont know how many of you have used sallos(PlayUO) function to gate/recall in/out, but I have thinked for a long time how to import something similar to easyuo/stealth.

Basically, you track your friends(party members) cordinates and if required gate/recall to the nearest rune to that location, so what i thought, maybe someone has some kind of boarder cordinates for towns or other places? It would make it much easyer to write something like that.

43
Scripting Chat / Re: Attack script issues.
« on: February 03, 2012, 02:54:29 AM »
well if you don't paste the code in the thread it's really hard to see where your problem is.

44
Stealth archive / Re: Stealth - Alternate UO Client FAQ
« on: January 20, 2012, 03:55:58 PM »
I dont want to discourge you to use stealth, but stealth/profiles.dat contains your account and password in plain text.

45
Stealth archive / Re: Tutorial : Pascal Script
« on: January 20, 2012, 03:30:42 PM »
end. is in the ending of a script, end; is in ending of a sub/function/block whatever you call it

Pages: 1 2 [3] 4 5 ... 24