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 - b@ndito

Pages: 1 2 [3] 4
31
Scripting Chat / Re: Radar script
« on: December 07, 2010, 09:21:34 PM »
i'm back on it working to improve performance, i'm studying some way to introduce an "improved filter".

any feedback trought all this time i opened this?
i know... it's quite useless but looks funny, and u can still see the menu when your web browser or other windows pops up above ultima.

i'm working also on a new atlas script, it will contain all major informations for locations  IE: it will tell the region/dungeon/city name along with useful stats like monters population, npc and related quests... i'm thinking to link it to that one in some way.
will be my second "big" script and want to share with you as soon ;)

32
Off Topic / Re: Did your football team win this week?
« on: September 15, 2010, 07:52:06 AM »
Fiorentina lost :(

33
Feedback / Collapsible subs
« on: July 13, 2010, 04:47:37 AM »
Actually i'm using another editor instead of suo with a customized config made to recognise easyuo labels... i've found here a good feature that you may consider...

the editor recognise sub from sub starting from the first sub and closing it to the last return the parser would find before next sub start. it permits to highlight row numbers on the left column, and also puts a
  • sign to collapse the sub.


i try to show you an example,
sight before collapsing.
...
row 110
                 [ - ] sub example
                        set %variable ( somemaths )
                        if %variable = value
                        return %variable
row 115           set %anothervar (math)
                        if %anothervar = value
                        return %anothervar
                        return error
row 120
                 [ - ] sub anothersub
...

collapsed sub sight


...
row 110
               [ + ] sub example
row 120
                [ - ]  sub anothersub
...

i hope i to have explained enough with my poor english and you may find it usefull to improve SUO  :D
this technique is quite useful but limited if some code is beyond the last return, i.e. if you bump back the parser with a goto

34
Feedback / Re: Color Schemes
« on: July 13, 2010, 04:30:17 AM »
a question for TM: are you planning to introduce a way to save customized "schemes"? actually i prefer to use other fonts and colours, so i have to use ultra-edit for scripting instead of customize suo at every start.

35
Scripting Chat / Re: Event macro 50 2 && Event macro 59 0
« on: April 25, 2010, 09:54:10 AM »
you could run a script for every target and a shared timer/sequencer for all, it will be boring to start 'n' scripts everytime but will be top performance if easyuo event macro has an internal pause as you say...

36
Scripting Chat / Radar script
« on: April 25, 2010, 09:46:38 AM »

37
Scripting Chat / Re: Botting - Whats perfect? How to do it?
« on: April 11, 2010, 07:40:59 AM »
bad maniac just posted in another section with a really useful sub, it's all explained there ;)

http://www.scriptuo.com/index.php?topic=4894.msg41120#new

38
Script Debug / Re: Sub ignore stuff for 3 minutes needs HELP!
« on: April 11, 2010, 07:38:17 AM »
i started working on the same idea a little time ago but i didn't managed to get a reliable version...
now you put here your own. thank you i'll check it, knowign your fame i think it should be good ;)

39
UO Machine Corner / Re: UO Machine 0.3.2.4 released
« on: April 10, 2010, 10:00:22 AM »
gonna check it, thank you for the release ;)

40
Scripting Chat / Re: Botting - Whats perfect? How to do it?
« on: April 10, 2010, 08:51:44 AM »
It's passed nearly 1 and half year since i started working on my personal version for a bot, i've published some "public" version of it and results were good, i also received many feedbacks to develop it but marketplace has been corrupted with every resource dropping of value.
Now i've reached a good status and it is a complex of 2 running scripts:

The side script is just a rail engine i made up, every rune of every book used is linked to one or more rune, this script make character moving if contitions are respectd.

The main script is a complex of 12000+ lines.

It also use a callable script for loot item evaluations.

Actually it is more efficient than a player itself (before introduction of greater dragons on my shard it was able to farm destard for about 1.5kk a day + resources and valuable loots).
Looking at your posts i was glad to see how your routine is quite similar to mine, i will list you some modifications i found to make it very efficient:

in my script you can save/load by menu, several profiles with runebooks, runes, rails and combat tactics. (it has been a long hard work but took just the last version of the script)


the main routine is something like:

  • - attack critters in area [if prompted] <---- it makes the script very efficient for resource farming ie: if in that area there are bulls/birds it   attacks them in order to get them approaching you, but the script will whirlwind/wither them when just in range while you are hitting bigger monsters

    • - find target           <---- this pieace of cake sub establish if there are some dangerous monsters, then it will pass monsters in area by priorities given, lastly critters if prompted (birds, cows etc)...

      if area is clear:
    • --- check for corpses and then loot them until area is safe and all corpses looted.

      • --- go back to initial spot

      • - combact routine

        it loops until -> backpack is full and bag of sending is not usable
                              equip must be repaired
                              rail is completed and we want recall to next rune
    i assure you that a good targeting and critter aggro system is very effective to resource gathering....

    41
    Script Debug / Rail engine (complex)
    « on: March 12, 2010, 01:46:12 AM »
    i made a new rail writer based on persistent variables, it works just like others that saves variables in a file but is quicker (needs about 1-2 seconds to write a 15 steps rail againts the 35 of CEO's), it also offer the possibility to change to or from a part of the rail and more, i think it's a great script but i'm not really satisfied of the reading/running subs i made up.
    an axample of a variable written is:

    <AlganderPersistentRail>TS:11Facet:1|X:5484Y:567|X:5484Y:573|X:5484Y:577|X:5484Y:583|X:5481Y:589|X:5474Y:594|X:5468Y:597|X:5467Y:603|X:5464Y:609|X:5458Y:615|X:5451Y:616|

    the engine subs i put up

    Code: [Select]
    set %numberofplaces 3


    gosub check_existing_rails
    for %n 1 %numberofplaces
        {
        if %esiste_rail . %n = #false
           goto skip_rail
        set %string * . rail . %n
        str del %string 1 23
        set %string #strres
        gosub pickvalue TS: f
        set %tot_steps #result
        set %ts_ . rail , %n %tot_steps
        gosub pickvalue facet: |
        set %facet #result
        for %i 1 %tot_steps
            {
            gosub pickvalue |x: y
            set %x . %i , rail , %n #result
            gosub pickvalue y: |
            set %y . %i , rail , %n #result
            }
        skip_rail:
        }

    display caricate tutte le rail
    ;halt
    for %f 1 %numberofplaces
    if %esiste_rail . %nruneatt = #true
       {
       for %i 1 %TS_ . rail , %nruneatt
       event pathfind %x . %i , rail , %n %y . %i , rail , %n
       }


    sub pickvalue
    ;|^|%1 etichetta del valore %2 delimitatore |^|
    ;|^|cancella etichetta e valore |^|
    ;|^|ritorna il valore trovato |^|
    ;|^|false se non viene trovato niente |^|
    set %currpos 0
    str len %1
    str del %string 1 #strres
    set %string #strres
    str len %string
    set %fine #strres
    str left %string 1
    while %2 notin #strres
    {
    set %currpos %currpos + 1
    str left %string %currpos
    if %2 in #strres
          {
            set %currpos %currpos - 1
    str left %string %currpos
    set %fndval #strres
    str del %string 1 %currpos
    set %string #strres
    return %fndval
    }
    if %currpos = %fine
    break
    }
    return error

    sub check_existing_rails

    for %r 1 %numberofplaces
        {
        set %prova_string * . rail . %r
        if <AlganderPermanentRail> notin %prova_string
           set %esiste_rail . %r #false
        else
           set %esiste_rail . %r #true
        }
    return

    sorry for italian naming  but i did not thought of publishing it... if someone could read it and help me making it more efficient i would be really grateful.
    i have mainly problems of pathfinding (doesn't arrive at the spot, has problem with stairs, skips spots)...
             

    42
    ScriptUO Questions and Answers / Re: Diff. tool issue
    « on: March 12, 2010, 01:30:00 AM »
    thank you trailmyx you are always the best :D it's working now

    43
    ScriptUO Questions and Answers / Diff. tool issue
    « on: March 06, 2010, 01:43:06 PM »
    first of all thanks for publishing this great program, i used a couple of text editor in the past but nothing suited my tastes as SUO.

    Now my little question, using the Diff... tool in the Edit menu i see that SUO auto-detects my tortoiseSVN installed (and that's good), but if i give the two paths of files needed and press execute it opens the tortoisemerge program asking again for the paths, this losing all the advantages of it. Now i'm asking: is that a tortoise issue and if, there's a way to fix it?

    some tech info, maybe the version i'm using is not fully supported:

    TortoiseMerge 1.6.5, Build 16974 - 32 Bit , 2009/08/20 08:13:46
    libsvn_diff 1.6.5,
    apr 1.3.8
    apr-utils 1.3.9

    OS: M.soft Vista - sp2

    44
    World of Warcraft / Re: So I like WoW. Sue me... lol
    « on: December 06, 2009, 03:22:39 AM »
    Since you like to script i hint you to check zolofighter bot, is a programmable java bot that i used when nerding years ago on wow... i made a lot of gold enough to sell it and pay the bill and more XD

    45
    Scripting Tutorials / Re: Understanding namespace interaction
    « on: July 12, 2009, 05:40:16 AM »
    thank you very much, with the ns copy you solved me an issue i had in my script, i'm making a sort of debugger for persistent variables ;)

    Pages: 1 2 [3] 4