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

Pages: 1 [2] 3
16
Scripting Chat / Re: Botting - Whats perfect? How to do it?
« on: April 08, 2010, 11:27:21 PM »
Aye, pvp is one of my main conserns also. Im currently setting up "Leech edition". Its ripped version of the bot and thats the one im releasing on public boards. It does not have follow routines nor player defending, sync targetting or anything like that. I love pvp in UO and im not going to release anything that could harm it.

In my first post, there is little code piece of my bots main loop. It has this sub
"gosub MoveToEndOfRailAndLookForEnemy Despise_Farm_Route * 6"
basically it does exactly what it says. It Runs Rail named Despise_Farm_Route Looks for "*" all enemy ( It filters enemys from items with rep and such ) and last parameter is range to check for em. Thats a good point thou.

Im going to support all the damage dealers and not just some specifig template, so that every char can be bot. Its not that hard to do, when you have the framework setup.

Mindstorm - Get your brains started :)

17
Scripting Chat / Re: Botting - Whats perfect? How to do it?
« on: April 08, 2010, 03:34:43 PM »
Yeah, i have already decided, that Party chatting/slave botting is not going to be released at public boards.

But im shocked, that none has anykind of visio, of a bot that does something neat?
If you have coded bot, maybe share features? No code needed.

What kind of stuff you guys have done with php? Im curious, cos im beginner/decent in php and mysql and im thinking some features, that could be complished with those.
Atleast log files, that shows everything that bot has done.
But maybe somekind of loot table also? You could check history of looted items and item stats from online.
Basic controlling like, change program, log in other char, stay offline for sometime.

Comeone :D
Mindstorm with me. Thats what this is all about!

18
Scripting Chat / Re: Botting - Whats perfect? How to do it?
« on: April 08, 2010, 11:10:45 AM »
Reading variables from speech messages!
Little feature i added to TM's Journal subs. I can now read variables that can be yelled via chat.
Example: player yells: "Blaa blaa blaa Attack:THISID" ( it can have other text in message and multiple variables )
You could read it like this:
gosub TM_AdvJournalScan network VARIABLE Attack:
if #result <> #false
then result has the ID that was sent ( "THISID" )

This comes right after:
Code: [Select]
     if ( !text in #journal && ( ( !namepos = 1 && !namecnt <= 1 ) || !pass ) )
      {
Code: [Select]
       ; Katu added :)
        if VARIABLE in !args
        {
          str len !text
          set !varLen #strres
          str len #journal
          set !jlen #strres
          str pos #journal !text
          set !varStart #strres + !varLen
          ; after this line, we have start of the variable. The value of it.
          str mid #journal !varStart !jlen
          set !varVar #strres
          str count !varVar _
          if #strres <> 0
          {
             str pos !varVar _
             set !varEnd #strres - 1
          }
          else
          {
             str len !varVar
             set !varEnd #strres
          }
          str mid !varVar 1 !varEnd
          set !variable #strres
          set !temp_jindex !temp_jindex + 1
          if ADVANCE in !args
            set !_jindex !temp_jindex
          set #LPC !temp_lpc
          namespace pop
          set !TM_FunctionCalled #TRUE
          return #strres
        }

This is just one of new ( never soo anything like this in any private or public sub ) features i needed to invent.

19
Scripting Chat / Botting - Whats perfect? How to do it?
« on: April 08, 2010, 10:52:16 AM »
Hello!

I thought this would be fun topic to discuss. Post here your what your dream bot could do. If you already have coded some sort of bot, what can it do?
What kind of features a perfect/good bot would have?

Second thing that is in my mind currently is:
What would be considered as too powerfull for public release? Would it still be good release in restricted area?
Where and what is the line? I know its not just some single thing, but you get the idea.

Features of perfect bot
and
Whats too powerfull for public?

My still unreleased bot can do quite a lots of things currently and i have made it so, that its quite modular. So i can add new features very easily.
Attacking for example:
Just call Attack with target id and sub finds it and kills it.
It has custom rail running engine.
Its VERY easy to setup for different farming styles and spots.
( My current feature incoming party commanding and its looking very beatifull allready :) )
Bot does NOT have to be running on local computer. It can be run on otherside of the world. It can be your friends char, that is left idle with bot slave script running. Just waiting for master to pick him up.
Currently only Chivalry and melee is used, but magery, necro, ninjitsu casting is done already, i just need to figure out some combos for these templates.
Healing is done via CEOMedic ( Did not want to waste hours just to invent wheel again ) (maybe later ).
Looting is done via Claw ( again, did not want to spend all my time) ( No, im not going to write my own )

This is just something my bot can do. Almost all of those are features that i have always dreamed about. Its not even nearly done, but its in good shape already.

This is my despise farm routine. It collects leather from lizardman's.
This is NOT pseudo code. I have tryed to create easy to use "language" for bot programs. I have already looped this for full night. Theres still problems in some parts. Everyday i add more stability to it, so it wont get stuck anywhere. ( healing is handled in other script, so heals are always running ).
Code: [Select]
while #true
{
  if %Program = Despise
  {
    gosub LoadRail LizardFarm.txt Despise_Farm_Route
    gosub s7UseRunebook %RunebookFarm %RuneFarm %TravelMethod
    gosub MoveToEndOfRailAndLookForEnemy Despise_Farm_Route * 6
    gosub s7UseRunebook %RunebookBank %RuneBank %TravelMethod
    gosub EmptyLootBagToBank
    wait 30s
  }
}

My dream bot ( this bot is following my dreams ), could be commanded either locally via persistent or global variables and via party chat.
It could run by its own, but would listen players wishes or commands. Like "Follow me" ( It does already), attack, stay here and kill everything. "This is barracoon, now handle it".
It would heal me, when im in trouble, it would attack fiercely if enemy player is detected.
It could use pets and all other way of harming in UO.
running alone ( without player ) in gauntlet.
From menu, player could yell commands for him just like for pets.
My friends could leave their characters idle with bot script running. I could ( or any who has access to bot ( it checks ID's)) take those bots and go do few champs or something like that. Commanding via chatting is very important part i guess.
This would be my dream bot, whats yours?

Features of perfect bot
and
Whats too powerfull for public?

-Katu

PS: Im quite sure botting is very interesting topic here, so we can talk about techniques at here also. How to do something, whats best way and etc.

PSS: Bot main script currently has 2700 lines of code ( 1300 lines of my code ) Thou its not even v1 yet..

20
Scripting Chat / Re: Need for speed looter!
« on: April 06, 2010, 11:50:06 PM »
Nope, not until now.
I got new computer yesterday. Old one served me for over 3 years, it was Celereron 3Ghrz, single-core, so nothing like this wouldnt be even possible.

Now that i have i7 930, with 4gt ddr3 im quite sure something like this could be done.
But main point is, that it MUST be run in separate EUOX instances.

21
Scripting Chat / Re: Need for speed looter!
« on: April 06, 2010, 07:33:37 AM »
Just wanted to post my conclusions here.
I choosed Claw. Found out that its not that hard to integrate to script. How ever, due to nature of global namespaces and such, if running multiple, should use in different folders and separate EUOX instances. Once i get time to clean up the code a bit, ill post my wrapper subs here. Im sure those will be usefull to someone.

-Katu

22
Script development tools / Re: TrailMyx's Advanced Journal Handler
« on: April 05, 2010, 01:15:52 PM »
Aye, i really needed that kind of mod. After that i started to work on other mod..
Ever wanted to pick variables from the text?
If someone says you my ID:JFHGUFK and my TARGET:JNGYRD my HP:83.
I modded your scanner to pick these up :)


23
Script development tools / Re: TrailMyx's Advanced Journal Handler
« on: April 05, 2010, 12:06:49 PM »
Hello,
I Use your this and i love it. However, i had to mod it just a little bit. I think the mod is very handy and has lots of uses. When you use VALID, it checks if your char said it. I modded it so, that you give a name for the sub. I changed so that %3 is !charname.
This way you can wait for text sayd by someone else and be 100% sure its that character saying it. In situations, where multiple characters can issue commands for script, but you want to restrict it to just to those, who you know.

I changed THIS:
Code: [Select]
  set !first_arg 3
To THIS:
Code: [Select]
  ;Katu ADD
  if VALID in !args
  {
     set !charname %3
     set !first_arg 4
  }
  else
      set !first_arg 3
And now, if using VALID arg, you call sub like this:
Code: [Select]
gosub TM_AdvJournalScan network VALID_ADVANCE Friend_Char_Name You_are_invited_to_join_the_party.

Im not saying that you should change this, im just pointing out the possibilities :)

-Katu

PS: I always modify other ppl code to suit my needs, but i always give em credit.

24
Script Debug / Re: Saving settings?
« on: April 05, 2010, 09:07:50 AM »
There is no way to delete the reg entries with EUO after creating them so try to keep the Persistents only to the necessary ones!

There is a way to delete those. Download EasyUO 1.4 and from options->variables->Delete all persistent variables.

-Katu

25
Claw is now fully integrated to my "soon-to-be-revealed" bot.
Im sure i find out, if theres something wrong. So far its doing awesome job.

-Katu

26
the reason we don't place gold inside the loot bag is so we don't have to waste time opening the loot bag when we use the BOS option.
Thats why i sayd it should be optional.

29
Scripting Chat / Re: Need for speed looter!
« on: April 03, 2010, 09:00:25 AM »
I still did not find anything that makes it callable? What am i missing?
However, i missed something, when i last time used this.. I tested it with only one EUO running. If i open new EUO, then the global namespace wont mess up stuff. Its still bit too heavy for my intentions, but feature is huge.

Have to take a good look at it. Should take long to get my bot running with it.

30
Scripting Chat / Re: Need for speed looter!
« on: April 03, 2010, 08:37:37 AM »
Well actually i did look at it. I did not notice the call section? I know it can be commanded from external script, but that happens with global namespace and from what i understood, it does not command any single instance of script, but all running Claws.
Ill take a new peek at it now.

Pages: 1 [2] 3