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 - Endless Night

Pages: 1 ... 248 249 [250] 251 252 ... 260
3736
New member introductions / Re: Cheers
« on: April 28, 2009, 02:54:22 PM »
You must have joined Coders in one of my away periods... but glad you made it here.

3737
Scripting Chat / Re: Weird question I can't find any info on:
« on: April 28, 2009, 02:29:52 PM »
"if %jEnd >= %jStart"

Is Used so that you dont bother attempt to do the for loop when you have nothing to loop.  Ie if the journal count has not increased dont bother scan it.


set %jStart %jEnd + 1 (or set %jStart %jEnd)"

Well lets say you just scanned journal entried 10-60 (start End) the next time you scan you dont want to scan 10-61 do you as that would just be wasting time.. isnt it much better on the next scan to just scan 61-61 Or 61-whatever the new index is at.  And if you thier is no new entry #jindex = 60 then the if above wont bother scan at all.


3738
Scripting Chat / Re: Keeping track of persistent data...
« on: April 28, 2009, 09:00:52 AM »
I did start playing around with the world coordinates divisible by 8, yada yada, but it's the creation of the algorithm that escapes my ability still! I'll get there eventually :)
XII

This is how my miner works.  It doesnt store known good spots instead each place it visits it calculates spots (from my initial testing today it seems to work as fast as stored spot data). It also works on multi-books.

3739
Scripting Chat / Re: Keeping track of persistent data...
« on: April 28, 2009, 07:45:12 AM »
COuld always send it to local host.. and write an app to recieve and store to a database.  Then could be used by anyone.

3740
Resource Extraction / Re: When do resources get randomized...
« on: April 28, 2009, 07:20:22 AM »
Ive been meaning to test this theory for ages.

Find a Frost or Verite Spawn... chop/dig 3/4 times dont mine it dry wait 10mins repeat.  I suspect it will not change.

Needs testing.

3741
Resource Extraction / Re: When do resources get randomized...
« on: April 28, 2009, 06:43:14 AM »
I think respawn time is 5mins in fel and 10tram .. if i rember correcly or something thier abouts.

3742
Resource Extraction / Re: When do resources get randomized...
« on: April 28, 2009, 06:14:41 AM »
As masscre said he hit the nail on the nose.  Same goes for wood when you empty tree or if you 1/2 empty and larry and TM finish it .. doesnt matter chance to change at respawn/refresh.

3744
New member introductions / Re: old player returning to uo
« on: April 28, 2009, 05:07:40 AM »
check out C2 auto healer .. i belive it does all you mentioned and more.

3745
Scripting Chat / Re: Weird question I can't find any info on:
« on: April 26, 2009, 05:44:34 AM »
Sorry dont have time to totally debug it .. but one thing jumped to mind to make code faster ..

instead of
Code: [Select]
if i_am_looking_to_go_to_britain in #journal || i_am_looking_to_go_to_cove in #journal || i_am_looking_to_go_to_covetous in #journal || i_am_looking_to_go_to_deceit in #journal || i_am_looking_to_go_to_despise in #journal || i_am_looking_to_go_to_destard in #journal || i_am_looking_to_go_to_hythloth in #journal || i_am_looking_to_go_to_jhelom in #journal || i_am_looking_to_go_to_magincia in #journal || i_am_looking_to_go_to_minoc in #journal || i_am_looking_to_go_to_moonglow in #journal || i_am_looking_to_go_to_nujel in #journal || i_am_looking_to_go_to_ocllo in #journal || i_am_looking_to_go_to_serpent in #journal || i_am_looking_to_go_to_shame in #journal || i_am_looking_to_go_to_skara in #journal || i_am_looking_to_go_to_trinsic in #journal || i_am_looking_to_go_to_vesper in #journal || i_am_looking_to_go_to_wrong in #journal || i_am_looking_to_go_to_yew in #journal

just use
Code: [Select]
if i_am_looking_to_go_to_ IN #journal

3746
Off Topic / Re: Need Recommendations on a 24"+ monitor...
« on: April 24, 2009, 10:00:23 AM »
Temporiry ive stollen my 4.5year old sons monitor .. he hasnt noticed as hes decided my laptop is way cooler at present.   But probably end of month ill be getting myself something decent as this 19w LG .. or LowQuality Goods doesnt cut it.

3747
Scripting Chat / Re: Weird question I can't find any info on:
« on: April 22, 2009, 06:58:31 PM »
sorry the for loop is correct .. doesnt need an equal got my own sysntax confused.

Now onto the TImeout.

You set %Jend  2 lines after you set %Jstart .. thierfor in all probablity #jindex did not change in value.  Depending on what you have #LPC set to.

So it doesnt matter what the timeout is being as you are only journal scanning between #jstart and #jend which probably are exactly the same value.  IF you wanted to wait .5sec then set %jstart  wait 5  then set %jend instead of the while loop.  OR More complex something like below

Code: [Select]
set %jStart #jindex + 1
set %jTimeout #scnt2 + 5
set %Resultflag N/A
while #scnt2 < %jTimeout && %ResultFlag = N/A
  {
   set %jEnd #jindex
   IF %Jend >= %Jstart
     {
     for %ji %jStart %jEnd
{
scanjournal %ji
if larry in #journal
                    set %resultingflag  Larry
if curly in #journal
                    set %resultingflag  curly
if  moe in #journal
                    set %resultingflag  moe
            }
     set %Jstart %Jend + 1
    }
}


3748
Scripting Chat / Re: Weird question I can't find any info on:
« on: April 22, 2009, 04:42:17 AM »
You have a logical error .. to do with your timeout code.  You repeat the SAME scanning of the SAME JOURNAL entries over and over for 5 seconds..  Given that you set the end and start journal entires in a microsecond  this basically means you are scanning the same zero or 1 journal entry 100's probably 1000's of times.

Also you for statment is incorrect (need an = )
Thier no such command as print.
and you cannot put multiple ifs on the same line   "if  x || y"       not "if x || if y"

3749
New member introductions / Re: and I thought I kicked the habbit....
« on: April 20, 2009, 07:17:32 PM »
Welcome back... ... paintballing was a blast last i did it... err 15 years ago or so...

3750
Scripting Chat / Re: The basics of Runebooks?
« on: April 17, 2009, 07:13:40 PM »
Wait, what? Are runebooks different on different shards?
Does yours look different?  ???

I would have to say YES and YES to above.

OSI Runebooks sure look differnt you must be on a free shard..    But i disagree with Cerveza... my runebook subs click the apprioprate spot instead of setting "default" and ive yet to have an issue after many 1000s of automated recalls.  But each to his own; many ways to skin a cat and all that.

(TMs way is quicker on "repeated" recalling to the same spot or repeated recalling for fizzles interrupts etc... but only factionally so but that maybe a life and death fraction who can say)

Pages: 1 ... 248 249 [250] 251 252 ... 260