被搶道館搶到崩潰 - PokemonGO

By James
at 2017-04-14T13:27
at 2017-04-14T13:27
Table of Contents
推 udm: 其實訓塔優先權的概念很好寫,不懂N社為何不做。 04/14 11:07
→ udm: 假設升一塔要1000,三個人一起訓,甲訓500,乙300,丁200 04/14 11:08
→ AAaaron: 假如一次多個人在訓塔呢?看時間點還是貢獻度?還是用搶的? 04/14 11:09
→ udm: 20秒內這三人都有優先權,甲放棄,乙丁中乙高,就給乙佔走。 04/14 11:09
→ udm: 多人訓塔打塔就更簡單了,升1000過程中誰累計最高就是誰的優 04/14 11:11
→ udm: 先申請權最高。 04/14 11:11
→ udm: 這樣可以避免搶尾刀的問題,也避免飛人或沒參加訓塔的來搶。 04/14 11:12
其實概念是很好寫,問題應該是卡在資料更新的機制
我猜大致上是,玩家準備開始打道館,從伺服器把資料下載到手機裡
打道館過程在手機上進行,進行完後再把打完後的聲望/塔上剩下的怪傳到伺服器
(實際上應該是打道館時,手機資料會定時跟伺服器更新,才會看到有中途玩家加入
我先把情況簡化)
現在我比較常碰到的道館error是,敵隊塔還沒放滿我就開始打
打到一半忽然有敵隊加怪進塔,結果我就被error踢掉,
而且有一段時間沒辦法打一直跳error
我猜是因為手機裡下載的道館資訊跟伺服器上的資訊不匹配
所以伺服器不讓我打,過一陣子後可能手機APP會清掉自己的資料,再去跟伺服器要
這時才能打
當然運作機制可能不是我猜得這樣,但從道館error看起來
現在error的問題是多台手機跟伺服器同步資料不夠快
比方說可能伺服器是設定一秒內,收完打道館玩家上傳的道館資訊
然後就把資料更新給所有打道館玩家的手機裡
有的玩家可能受到遊戲動畫比較晚開始執行、手機比較慢、網路比較慢等因素
超過一秒才上傳,被伺服器判定無效資料
所以為什麼現在佔領道館不用打下最多聲望的人去計算,
而是用同時把道館打到聲望0的人,大家一起搶快的機制
因為如果伺服器還要去判定,可能會造成更大的時間差
udm提的概念沒被實行,應該是跟資料交換的機制有關
我不是資工背景,還請相關背景的人協助補充
--
Tags:
PokemonGO
All Comments

By Isabella
at 2017-04-15T22:49
at 2017-04-15T22:49

By Erin
at 2017-04-16T07:47
at 2017-04-16T07:47

By Lydia
at 2017-04-19T20:23
at 2017-04-19T20:23

By Lydia
at 2017-04-22T21:57
at 2017-04-22T21:57

By Joseph
at 2017-04-26T02:20
at 2017-04-26T02:20

By Franklin
at 2017-04-28T07:33
at 2017-04-28T07:33

By James
at 2017-04-28T14:09
at 2017-04-28T14:09

By Damian
at 2017-04-29T10:53
at 2017-04-29T10:53

By Mia
at 2017-05-04T02:54
at 2017-05-04T02:54

By Tracy
at 2017-05-07T22:16
at 2017-05-07T22:16

By Dora
at 2017-05-10T07:17
at 2017-05-10T07:17

By Linda
at 2017-05-12T21:25
at 2017-05-12T21:25

By Rae
at 2017-05-13T09:19
at 2017-05-13T09:19

By Harry
at 2017-05-17T21:34
at 2017-05-17T21:34

By Gary
at 2017-05-22T06:54
at 2017-05-22T06:54

By Xanthe
at 2017-05-23T03:12
at 2017-05-23T03:12

By Isla
at 2017-05-26T10:55
at 2017-05-26T10:55

By Jake
at 2017-05-30T06:45
at 2017-05-30T06:45

By Una
at 2017-06-03T01:51
at 2017-06-03T01:51

By Gary
at 2017-06-06T08:51
at 2017-06-06T08:51

By Charlotte
at 2017-06-07T05:12
at 2017-06-07T05:12

By Gary
at 2017-06-10T12:53
at 2017-06-10T12:53

By Genevieve
at 2017-06-12T16:34
at 2017-06-12T16:34

By Charlotte
at 2017-06-16T22:04
at 2017-06-16T22:04

By Rebecca
at 2017-06-17T19:12
at 2017-06-17T19:12

By George
at 2017-06-18T19:41
at 2017-06-18T19:41

By Ida
at 2017-06-22T08:56
at 2017-06-22T08:56
Related Posts
被搶道館搶到崩潰

By Eartha
at 2017-04-14T09:28
at 2017-04-14T09:28
新手道館淺問

By Una
at 2017-04-14T08:24
at 2017-04-14T08:24
5km新蛋池 二代御三家!!

By Kristin
at 2017-04-14T07:44
at 2017-04-14T07:44
復活節活動

By Gilbert
at 2017-04-14T07:41
at 2017-04-14T07:41
復活節活動!

By Faithe
at 2017-04-14T06:27
at 2017-04-14T06:27