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

Pages: [1]
1
New member introductions / Re: My Introduction
« on: November 28, 2011, 09:54:41 AM »
Quote
May i can ask from where are you from? When using Stealth i think you are from Russia\Ukrania\Lativa or some Countrys of the "Old " USSR. Some people here around speaking this Languange and could help you on Speech problems.
Yep, im from Ukraine, if u need help with Stealth, teel me, and if i can, i help u ;)

2
New member introductions / Re: My Introduction
« on: November 28, 2011, 06:18:22 AM »
I updated my intro, please read it :)

If anybody have a comments to my intro, please, post it! :)
Thanks ;)

3
Scripting Chat / Re: Error with if
« on: November 28, 2011, 04:35:21 AM »
Quote
And yes, please beef up the intro a little bit, unless you don't mind being restricted..
I already wrote in Introduction post, but i have a status :(
How to change it?:(

Sorry because i from other country, and not very good speak in to english :(

4
Scripting Chat / Check Script
« on: November 27, 2011, 05:23:48 PM »
This is my script to bolt quest it heartwood.
He have next errors, mb someone can help me fix it.

1 - on toogle quest item (bolts) on simple click - he clicking as drag click.
2 - after toogling item, npc give a gump, but he don't wanna click on buttons, how fix it?

Quote
MainLoop: //main
set %screenydisp 0
set %checksum 0
set %cont 0

if #contName = generic_gump //if gump now active, close it
{
contpos 0 0
click 346 400 x 2 f
wait 11
contpos 0 0
click 346 400
wait 10
return
}

;gosub ToogleQuestItem
gosub CheckQuest

sub CheckQuest // check for the quest.
set %npc BEUIB
finditem %npc
wait 5
gosub GetScreenXY #findx #findy #findz 0 %screenydisp
wait 5
if #contName <> generic_gump
{
goto MainLoop
}
else
{
if %cont >= 1 //its calls after toogling quest item for complete quest
{
wait 10
contpos 0 0
click 133 400 x 3 f
wait 10
contpos 0 0
click 133 400 x 3 f
wait 10
if You_recive_a_reward in #sysmsg || You_recive_a_reward in #journal
{
set %cont 0
goto MainLoop
}
else
{
gosub CheckQuest
return
}
}
else
{
wait 10
contpos 0 0
gosub CheckSub
return
}
}
return




  sub GetScreenXY //for click on npc
      set %1 ( %1 - #charposx ) * 22 ; world x-coordinate
      set %2 ( #charposy - %2 ) * 22 ; world y-coordinate
      set %3 ( %3 - #charposz ) * 4  ; world z-coordinate
      if %0 < 4 || %4 = N/A
          set %4 0                   ; x displacement, added to screen coordinate
      if %0 < 5 || %5 = N/A
          set %5 35                  ; y displacement, added to screen coordinate
      set %screenx #clileft + #clixres / 2 + %1 + %2 + %4
      set %screeny #clitop + #cliyres / 2 + %1 - %2 - %3 + %5
      set %offscreen #true
      if %screenx > #clileft &&
          + %screeny > #clitop &&
          + %screenx < ( #clileft + #clixres ) &&
          + %screeny < ( #clitop + #cliyres )
      {
          set %offscreen #false
          wait 2
          set %screeny %screeny - 50
         click %screenx %screeny d
      }
  return

  sub ToogleQuest //for click on bolts
    set %1 ( %1 - #charposx ) * 22 ; world x-coordinate
    set %2 ( #charposy - %2 ) * 22 ; world y-coordinate
    set %3 ( %3 - #charposz ) * 4  ; world z-coordinate
    if %0 < 4 || %4 = N/A
        set %4 0                   ; x displacement, added to screen coordinate
    if %0 < 5 || %5 = N/A
        set %5 35                  ; y displacement, added to screen coordinate
    set %screenx #clileft + #clixres / 2 + %1 + %2 + %4
    set %screeny #clitop + #cliyres / 2 + %1 - %2 - %3 + %5
    set %offscreen #true
    if %screenx > #clileft &&
        + %screeny > #clitop &&
        + %screenx < ( #clileft + #clixres ) &&
        + %screeny < ( #clitop + #cliyres )
    {
        set %offscreen #false
        wait 2

       set %screeny %screeny - 50
       click %screenx %screeny f
       wait 25
       set %screenx %screenx + 66
       set %screeny %screeny + 110
       wait 25
       click %screenx %screeny
       wait 10
       finditem LNK C
       wait 5
       if #findx > 0
       wait 5
       set %boltx #findx + 23
       set %bolty #findy + 9
       wait 5
       click %boltx %bolty x 3 f
       wait 11
       key esc
       ;display Toogle Complete
    }
return

sub CheckSub //quest check
set %checksum 0
contpos 0 0
wait 10
savePix 252 240 0
wait 10
if #pixcol = 8710077
{
;display ok1
wait 10
set %checksum %checksum + 1
return
}
else
{
;display Exiting
return
}
wait 10
SavePix 289 223 0
wait 10
if #pixcol = 8710077
{
;display Ok2
set %checksum %checksum + 1
return
wait 10
}
else
{
;display Exiting2
return
}
wait 10
savepix 253 240 0
if #pixcol = 8710077
{
;display ok3
set %checksum %checksum + 1
wait 10
return
}
else
{
;display exiting3
return
}
wait 10
savepix 253 241 0
if #pixcol = 8710077
{
;display ok4
set %checksum %checksum + 1
wait 10
return
}
else
{
;display exiting4
return
}
wait 10
savepix 246 240 0
if #pixcol = 8710077
{
;display ok5
set %checksum %checksum + 1
wait 10
return
}
else
{
;display exiting5
return
}
if %checksum >= 5
{
click 130 398
wait 10
gosub ToogleQuestItem
return
}
else
{
click 346 400 x 2 f
wait 11
click 346 400 x 2 f
wait 10
goto mainloop
}
return

Sub ToogleQuestItem //toogle quest item
key esc
gosub ToogleQuest #charposx #charposy #charposz 0 %screenydisp
wait 15
if You've_completed_a_quest in #sysMsg || You've_completed_quest in #journal
{
set %cont 1
wait 3
gosub CheckQuest
return
}
else
{
if #contname = status_gump || #contname = stack_gump
{
click #contposx #contposy r
}
gosub ToogleQuestItem
return
}
return

Post Merge: November 28, 2011, 04:36:57 AM
Anybody?
How to get click work, without drag on npc or on me status bar and stock gump on items? :(

5
Scripting Chat / Error with if
« on: November 27, 2011, 12:11:42 PM »
Please check and tell where error?
Code: [Select]
mainloop:
gosub checksub

sub CheckSub
contpos 0 0
wait 25
savePix 258 167 0
wait 10
if #pixcol = 2705961 {
display ok1
wait 10
} else {
display Exiting
}

wait 10
SavePix 113 167 0
wait 10
if #pixcol = 8710077 {
display Ok
wait 10
} else {
display Exiting2
}
wait 10
savepix 228 240 0
if #pixcol = 2173225 {
display ok3
wait 10
} else {
display exiting3
}
return


if it running it shows Ok1 and Exiting, ok2 and exit\k3 and exit..
how to fix?

6
Scripting Chat / Re: How to get gump id?
« on: November 27, 2011, 09:09:22 AM »
Okay, im' trying with checkin'g pixels :)

Post Merge: November 27, 2011, 09:46:02 AM
how to click on self?
depends on #charposx\y\z

7
Scripting Chat / How to get gump id?
« on: November 27, 2011, 08:19:24 AM »
I have a gump of quest, how to get gump id in euo?
because on npc having many quests. how to get id for quest?

8
ScriptUO Questions and Answers / Re: SUO + 7.0.20
« on: November 27, 2011, 06:43:38 AM »
Thank ;)

9
New member introductions / My Introduction
« on: November 27, 2011, 06:18:29 AM »
H1 to all, my name is Mike.
I playing on OSI from 1999 to 2001 years :)
Now playing on UOsecond age and Pandora uo, in this year ill be back to UO :)

My first MMO is a Ultima Online, my first playing of uo stated at age mm... 15:)
First faking help to me in uo sounds like "If map rotates 360 degrees u will be lvl upe'd :)) "
After some players years, i goes to real, and i wanted to become a programmer, and start learning some lang. as Pascal\C\C++\Ruby\Python\Delphi :) and i worked in the field of programming. After some years programming and administrate systems, i wanna be become a guitarplayer. And start teaching on guitar. Now i session guitarplayer in my country.

At last time i wonna be to return in UO and with my programmer skills i wanna be to write a scripts :)
This is cool, write scripts and playing in UO.

My first scripts in uo i writting for uo client, his name sounds as "Stealth" - i see what in ur forum u already know this client :)
And yesterday i wrote my first script in easyuo, it heartwood quester for a runic :) In a board "Scripting Chat" u can see this.
http://www.scriptuo.com/index.php?topic=8956.0 - link to my script :)
Thanks to those who have helped already - his nickname is - Crome969\12TimesOver, thanks guys.
I believe in that who reading my intro, can in future help me.

This ending of my intro, thank for reading :)

Sorry for my english, because i not good speak in to english, but now i learning english, and i belive what after some lessons i can good speak with all users of this forum :)

Thank to all :)

10
ScriptUO Questions and Answers / SUO + 7.0.20
« on: November 27, 2011, 06:14:53 AM »
It's possible to run ScriptUO with UO 7.0.20?

Pages: [1]