[UI] Pet collecting improvements

Discussion in 'General Archive' started by Jurjstyle, May 29, 2015.

Dear forum reader,

if you’d like to actively participate on the forum by joining discussions or starting your own threads or topics, please log into the game first. If you do not have a game account, you will need to register for one. We look forward to your next visit! CLICK HERE
Thread Status:
Not open for further replies.
  1. Jurjstyle

    Jurjstyle User

    Today , I want to talk about the algorithm of collecting for the pet which is so bad . At the moment , the algorithm is a simple greedy which choose the closest resource if it is in the range of the pet .
    Pet as artificial intelligence should be a lot smarter and choose the best situation . For example , at the moment if he has let's say a box at 10 units distance and 3 boxes at 12 units distance in the opossite direction , it will choose the closest one even if the profit from the other 3 would have been higher .
    For this reason , I suggest that pet should use an algorithm like dynamic programming because we already have a range and he knows the positions of the boxes in that range . Probably it isn't so easy to develop this algorithm ( like the one at the moment ) because it contains many variables as the time , speed of the pet , of the collection per resource , but it will increase the eficiency of the pet a lot .
    Another recommendation is that for every position of a box from the range to have a variable which memorize if the resource is being collected at the moment because if the resource is being colected , pet can't collect it first because he needs to move to that position and than to start collecting .
    Not in the last , the pet should cooperate with his ,,master" because at the moment it competes with him . For example , now I am forced to collect several resources before he come to manage to make it split from me to collect in two places . So the idea would be to know where the direction of the ship is and to search in a way another direction which contains resources too ( and if he founds another one , to choose it ) .


    I don't expect all ideas ( especially the first one which I think is the toughest ) to be implemented but even one will help the players a lot . Now , many people don't use the pet because they consider it ,, too stupid " to be profitable because he acts in a primitive way .
    ( Sorry for the writing mistakes ) .
     
  2. Note: The thread will be re-opened only if the OP requests for it.

    Enjoy the game.

    Closing due to inactivity.
     
Thread Status:
Not open for further replies.