20-05-2015, 08:25 PM
|
#21
|
|
|
• الانـتـسـاب » May 2011
|
|
• رقـم العـضـويـة » 87179
|
|
• المشـــاركـات » 5,878
|
|
• الـدولـة »
|
|
• الـهـوايـة »
|
|
• اسـم الـسـيـرفـر » No Server
|
|
• الـجـنـس » Male
|
|
• نقـاط التقييم » 100
|
|
|
|
رد: Path Finding
كود PHP:
I've added support for using all teleporters. It'll look for the shortest amount of teleporters if one is required to get to the destination. This means that it may not take the shortest route.
For example: if the starting town is Samarkand and the destination is Jupiter it will end up teleporting from: Samarkand -> Constantinople -> Jupiter
Because that is technically shorter than: Samarkand -> Hotan -> Alex -> Ferry -> Jupiter
The final path may not be shorter but the number of teleporters is.
الخلاصة المكان لو فيه عدد تليبورتات كتير البوت هيحاول يروح المكان بس هيسافر على قد ما يقدؤ حتى لو التليبورت القليل ده اطول فى الطريق عن انه يسافر كذا مرة والطريق طويل
|
|
|
|