ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: jiggy on February 26, 2012, 03:23:57 PM

Title: Help please
Post by: jiggy on February 26, 2012, 03:23:57 PM
Where would i get s script that tells my guild when the tot stone is green?
Title: Re: Help please
Post by: NObama on February 26, 2012, 03:54:11 PM
First, you're going to have to explain what a 'tot stone' is...
Title: Re: Help please
Post by: Masscre on February 26, 2012, 06:35:00 PM
yea that was gonna be my question also. The only TOT I know are Treasures of Tokuno and there was one more that eludes me currently.
Title: Re: Help please
Post by: Casho on February 26, 2012, 07:30:24 PM
I think jiggy is speaking of a custom of the freeshard Pandora.

Tots can only be found    periodical and only in the mines, in the fan dancer dojo and in an extra PvP dungeon.
Therefore in front of those dungeons are soulstones which shows if tots can be found (green) or not (red).

As I already said, this is a special and thats why I think there is no such a script.
Title: Re: Help please
Post by: NObama on February 26, 2012, 07:39:04 PM
Yep.  Sorry mate, most of us don't code for freeshard.
Title: Re: Help please
Post by: jiggy on February 26, 2012, 09:05:06 PM
Yes it Pandora ABCUO has it to. I know there is one some were. Some one on abcuo made it just hoping there was one. Thanks every one for responding.
Title: Re: Help please
Post by: Endless Night on February 27, 2012, 08:15:02 AM
sounds pretty simple...  outline fill it in as needed.. good luck

Code: [Select]
set %TotTypes ????? <-- fillin
set %TotGreenColor  ???   <-- findcol value of green
set %exitscript #false
repeat
  gosub totrecall ; Some code to recall/travel to where the tot stone is then
  gosub CheckTot
  if #return = #true
     display ok TOT is Green Booya
until %exitscript
halt

sub Totrecall
  ; add some code to travel to to locations
return

sub CheckTot
  set %TotGreen #False
  finditem  %Tottypes
  if #findcnt > 0
    {
    For #findindex 1 #findcnt
       set %TotGreen %TotGreen || #findcol = %TotGreenColor 
    }
return %TotGreen
Title: Re: Help please
Post by: jiggy on February 27, 2012, 01:48:44 PM
This is what i got its not working if some one can help i stand in my house were i see the stone i dont have to move or recall i just say if stone is red or Green every 10 minutes

set %TotID   LXWRJMD
set %TotTypes PFT
set %TotGreenColor  67
SUO:
repeat

if #TotGreenColor = #true
     display \ Stone is Green
if #TotGreenColor = #false
     display \ Stone is Red
until #CharGhost = YES
while #CharGhost = YES
  wait 1
GoTo SUO


sub CheckTot
  finditem  %TotTypes
  if #findcnt > 0
    {
    For #findindex 1 #findcnt
       set %TotGreen %TotGreen || #findcol = %TotGreenColor
    }
return %TotGreen



Thanks first time scripting
Title: Re: Help please
Post by: Endless Night on February 28, 2012, 07:11:13 PM
Ok jiggy use code tags  [ code ] [ /code ]

below should do the trick i believe.

Code: [Select]
set %TotTypes PFT
set %TotGreenColor  67
repeat
  set %TotGreen #false
  finditem  %TotTypes
  if #findcnt > 0
    {
    For #findindex 1 #findcnt
       set %TotGreen %TotGreen || #findcol = %TotGreenColor
    }
  if %TotGreen = #true
     display \ Stone is Green
  if %TotGreen = #false
     display \ Stone is Red
  wait 10
  while #CharGhost = YES
    wait 1
until #Clilogged = 0    ; while logged in repeat
halt
Title: Re: Help please
Post by: Crome969 on February 28, 2012, 07:17:45 PM
Let me check where, i made some years ago an Player an Tot Stone Alert via party\Guildchat for abcuo. Hope i didnt deleted it yet;)
Title: Re: Help please
Post by: jiggy on February 28, 2012, 11:43:49 PM
Let me check where, i made some years ago an Player an Tot Stone Alert via party\Guildchat for abcuo. Hope i didnt deleted it yet;)

Thanks
Title: Re: Help please
Post by: Endless Night on February 29, 2012, 07:00:28 AM
Let me check where, i made some years ago an Player an Tot Stone Alert via party\Guildchat for abcuo. Hope i didnt deleted it yet;)

Thanks

Did my edit above work jiggy ??  (2 posts up...)
Title: Re: Help please
Post by: Crome969 on February 29, 2012, 08:08:16 AM
Let me check where, i made some years ago an Player an Tot Stone Alert via party\Guildchat for abcuo. Hope i didnt deleted it yet;)

Thanks

Did my edit above work jiggy ??  (2 posts up...)
Think your Code should work EN.
Unfortunitly i already cleaned my External Backups about Easyuo & Openuo. Only a hand full of Scripts are left for my Personal Purpose, but that script werent at it.
Sorry.

Crome