March 29, 2024, 02:37:07 am
Username:

Password:

Topic: Set timeout for caravan encounters  (Read 1881 times)

worldremaker

  • Supporter
  • Posts: 419
    • View Profile
Set timeout for caravan encounters
« on: July 23, 2016, 07:37:12 am »
I have an idea how to solve caravans's stucks.

When caravan leader is entering to encounter then set the timeout for example 30 real minutes. If something happen, like stuck and pass those 30 minutes then run script caravans@r_KillCaravanDriver 1 [caravan's_ID].

Reset this countdown ONLY when caravan leader is entering to another encounter.

Terminate countdown when caravan is ended.

Mr. Morok

  • Guest
Re: Set timeout for caravan encounters
« Reply #1 on: July 23, 2016, 10:10:44 am »
In my opinion it would work, +1.

Darksider

  • Supporter
  • Posts: 59
    • View Profile
Re: Set timeout for caravan encounters
« Reply #2 on: July 23, 2016, 12:59:57 pm »
+1

Seki

  • Posts: 223
    • View Profile
Re: Set timeout for caravan encounters
« Reply #3 on: July 23, 2016, 02:59:29 pm »
When caravan leader is entering to encounter then set the timeout for example 30 real minutes.
most of caravans are stucked on worldmap, not in encounter its because some caravans stuck when there is 11+ slots in party because SOMEONE  ::) was abusing bug with no encounters..

worldremaker

  • Supporter
  • Posts: 419
    • View Profile
Re: Set timeout for caravan encounters
« Reply #4 on: July 23, 2016, 03:49:19 pm »
So lets improve algorithm for it.

Set this time out in depart moment, reset when caravan is entering to encouters and terminate it when arriving to destination town.

Slowhand

  • Posts: 278
  • Go for the eye, Boo! Go for the eyes!
    • View Profile
Re: Set timeout for caravan encounters
« Reply #5 on: July 23, 2016, 03:57:07 pm »
So lets improve algorithm for it.

Set this time out in depart moment, reset when caravan is entering to encouters and terminate it when arriving to destination town.

Solve bug instead...

worldremaker

  • Supporter
  • Posts: 419
    • View Profile
Re: Set timeout for caravan encounters
« Reply #6 on: July 23, 2016, 06:25:08 pm »
Setting timeout is shiyty solve, and I agree with it, but it require... 5 lines of code?
True solving require few cases.