ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: _C2_ on January 18, 2013, 06:00:29 PM

Title: Recalls causing freezes - anyone found any timing solutions?
Post by: _C2_ on January 18, 2013, 06:00:29 PM
what is causing these annoying things.  i even get them on occasion when i just am playing myself and not scripting.  is there a way to lessen them in scripts?
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: manwinc on January 18, 2013, 06:28:19 PM
Not as far as I've seen. I'm going to play with randomizing the CLicks a little bit and randomizing the wait times after the book opens and in between Clicks.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: KaliOfLS on January 19, 2013, 12:22:10 PM
I've entered the recall freeze without scripting.  :D

I think the issue is that you try to move before the server catches up.

I think you need to add a wait after you use a book.  I have, and I think most scripts,
wait for your #charposx/#charposy to change then it assumes you've recalled.  I think those numbers can change, then your script tries to move or do something, and that bugs the client.  I think if you add a wait after the check for recall success, you should be good to go.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: _C2_ on January 19, 2013, 01:34:47 PM
I've entered the recall freeze without scripting.  :D

I think the issue is that you try to move before the server catches up.

I think you need to add a wait after you use a book.  I have, and I think most scripts,
wait for your #charposx/#charposy to change then it assumes you've recalled.  I think those numbers can change, then your script tries to move or do something, and that bugs the client.  I think if you add a wait after the check for recall success, you should be good to go.

thx.... i was wondering if it was the movement afterwards.  really any command right after the recall can seem to do it. 
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: NObama on January 19, 2013, 04:58:02 PM
Concur.  I just managed to reliably reproduce it on a lagging connection.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: _C2_ on January 19, 2013, 06:15:06 PM
Concur.  I just managed to reliably reproduce it on a lagging connection.

i wonder if that is why you are dying sometimes
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: KaliOfLS on January 19, 2013, 06:25:02 PM
Concur.  I just managed to reliably reproduce it on a lagging connection.

i wonder if that is why you are dying sometimes


That happens if #hits < 0
:p
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: manwinc on January 19, 2013, 06:37:28 PM
If your Hits are Less than 0, Something is wrong... You are Beyond Dead.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: KaliOfLS on January 19, 2013, 06:46:06 PM
If your Hits are Less than 0, Something is wrong... You are Beyond Dead.

Bah! Logic sign issues always plague me.

Actually, there were a few times, in dire times, I've seen my hits hit 0, and yet, get that heal off just in time.  So that's interesting.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: NObama on January 20, 2013, 09:42:49 PM
Concur.  I just managed to reliably reproduce it on a lagging connection.

i wonder if that is why you are dying sometimes


Haven't died in 5 days!  Woot!
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: JoO on March 04, 2013, 10:26:03 AM
I just started playing UO after a multi year hiatus. I have been experiencing a recall "crash" as well. I wrote a script to farm a certain type of monster, loot them, recall away from reds and grays and bank my loot. I have tried to watch my script to debug the issue but I guess the watched pot truely never boils. I usually set it to go overnight come back the next morning and my UO client has completely dissapeared as opposed to the traditional greyed out crash screen I have seen from bad exevent execution. I have a 3 second delay put in after I arrive at my recall destination but I still get the crash every night.

 Is this the same type of crash you guys/gals are having? I am using windows 7 64bit playing on a runuo server. I am using S7's recall sub.  I am using "move" to position myself once I reach my destination. I wonder if I am hitting a world save at times.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: _C2_ on March 04, 2013, 10:34:41 AM
No, I was actually getting a client freeze that caused the character to not move and an eventual time out.  I was not actually getting client crashes.  With all the lag in UO of late.  drag drops could easily be causing some of these crashes
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: JoO on March 04, 2013, 11:39:07 AM
hmm. I haven't seen that. My client is completely gone as if I hit altf4. My issue always seem to occur at one particular location. Which just so happens to be the only place I move my character. I am going to experiment with spamming the keys the EUO move command uses and see if any of them will close my client. I guess I could also just change it to pathfinding.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: manwinc on April 21, 2013, 07:23:01 PM
The Recall Freeze is Caused by Recalling Across Server Lines(Confirmed). I have scripts setup That Work Within Certain Server Lines and never Freeze at All.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: _C2_ on April 21, 2013, 08:59:38 PM
The Recall Freeze is Caused by Recalling Across Server Lines(Confirmed). I have scripts setup That Work Within Certain Server Lines and never Freeze at All.
fascinating!  Thx for sharing.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: KaliOfLS on April 22, 2013, 08:48:11 AM
The Recall Freeze is Caused by Recalling Across Server Lines(Confirmed). I have scripts setup That Work Within Certain Server Lines and never Freeze at All.

Possibly anti-dupe (anti-blackhole) routine?
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: manwinc on April 22, 2013, 09:49:44 AM
Nah, you give the Dev's Way too much credit. Its bad Coding.
Title: Re: Recalls causing freezes - anyone found any timing solutions?
Post by: KaliOfLS on April 22, 2013, 10:32:19 AM
Nah, you give the Dev's Way too much credit. Its bad Coding.

Do you like recall to server lines and rail across it? lol.   I never payed attention, but I will check now to see when it freezes and note if any were within the same server area.  I typically bounce all over the damn place too, facet to facet, etc...  I haven't had too much problem once I put in an added wait after my x/y change position.  I also haven't played UO in 2 months.  I will again soon :D  I am making the last round of changes in my dissertation be for I submit it tonight.  If things go well, I'll be playing some more UO tomorrow :D