google-code-export / game-golem

Automatically exported from code.google.com/p/game-golem
0 stars 0 forks source link

Monsters are not updating #291

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[r1080] [11:33:50]: TypeError: Cannot read property 'user' of undefined
->Monster._flush()
  ->Monster._save()
    ->Monster._update(null,"run")
      ->Monster.update({"worker":"[worker Player]","type":"watch","id":"data.stamina","path":"data.stamina"},["[object Object]"])
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+debug.js:136

[r1080] [11:33:54]: TypeError: Cannot read property 'user' of undefined
->Monster._update({"type":"reminder","self":true,"id":null,"worker":"Monster"},"
run")
  ->Monster.update({"type":"reminder","self":true,"id":null,"worker":"[worker Monster]"},["[object Object]"])
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_+page.js:136

Original issue reported on code.google.com by alozovik on 11 Apr 2011 at 8:36

GoogleCodeExporter commented 9 years ago
this issue seems to happen with regular monster list only.
festival monsters are working fine - i.e. updating properly in dashboard and 
hit according to configuration.

Original comment by alozovik on 11 Apr 2011 at 10:25

GoogleCodeExporter commented 9 years ago
Having the same problem... as mentioned above, it only seems to be affecting 
the regular monster list. 

Original comment by bwisnow...@gmail.com on 14 Apr 2011 at 12:12

GoogleCodeExporter commented 9 years ago
Still doesnt appear to be updating in r1086. 

Original comment by bwisnow...@gmail.com on 15 Apr 2011 at 1:54

GoogleCodeExporter commented 9 years ago
Is the "TypeError: Cannot read property 'user' of undefined" error still 
happening after r1086? I tried to catch all of those, but perhaps I missed one. 
I have seen regular monsters update correctly on the monster battles page, but 
they may not be correctly updating from the monster list page. What page or 
data are you finding isn't being updated correctly?

Original comment by lur...@hotmail.com on 15 Apr 2011 at 6:57

GoogleCodeExporter commented 9 years ago
I just checked it with 1086. The "'user' of undefined" error is gone.
The Monsters tab of the dashboard now populates the list correctly, but does 
not fill in the detail like 'health', 'defense' etc..
Also, the monster worker attempts to start hitting monsters, but it's looping 
on the same monster without actually hitting it.

[r1086] [15:04:44] Queue->Monster: Try to attack Shao's Skaar Deathrune for 5 
stamina
chrome-extension://onfncfheocnidgnejgnlcnfiifoidemg/worker_ca_monster.js:1731

it keeps looping on that line without doing the damage.

Original comment by alozovik on 15 Apr 2011 at 7:10

GoogleCodeExporter commented 9 years ago
Ahh, if health, defense and other stats aren't updating, I can see where that 
might get into an attack attempt that never succeeds. Hmm, have you tried 
visiting the monster page directly? I found all the stats updated for me on a 
regular Ragnarok that has shielding. I noticed that the fight didn't start as 
it once did with just a monster list visit, but as a short term workaround, 
visiting the specific monster page got things going for me. I haven't tried one 
with health, but I imagine it *should* work also. I'll see if I can find out 
why it isn't triggering a monster visit from the monster list, but maybe the 
manual visit will get you going for now.

Original comment by lur...@hotmail.com on 15 Apr 2011 at 7:30

GoogleCodeExporter commented 9 years ago
it did add a new monster for me from monster page.
Yet- old complete ones wont delete even when i have it selected to delete  
and when i manually click [] box to delete in top of monster view in golem  
(not ca monster tab).

Original comment by blm...@gmail.com on 15 Apr 2011 at 7:40

GoogleCodeExporter commented 9 years ago
Yeah, there is a logic issue there with completed monsters. Regular monster 
pages you can delete the monster from the list if they aren't yours. On the 
festival monster pages you have to just wait for them to expire, and then visit 
the page after it has expired to wake CA up to the fact it has expired. Those 
monsters show on the CA monster list (with or without Golem loaded) with a View 
button long after they are gone, and only when you click the View button does 
the CA monster list properly catch on.

Golem could do some logic to figure out when a monster can't possibly still 
exist, and make the dashboard a little more sane, even with the CA weirdness. 
It just hasn't been coded in yet.

Original comment by lur...@hotmail.com on 15 Apr 2011 at 8:05

GoogleCodeExporter commented 9 years ago
I just tried visiting the monster pages manually and doing some manual hits in 
hopes that it'll fill in the list. No luck there I'm afraid.

Original comment by alozovik on 15 Apr 2011 at 8:15

GoogleCodeExporter commented 9 years ago
monster worker dont work for me 

i got this error

!!![r1087] [22:55:59] Monster: TypeError in Monster.update({"worker":"[worker 
Queue]","type":"watch","id":"runtime","path":"runtime.current"}): Cannot read 
property 'avg_damage_per_stamina' of undefined

same issue.. monster active list is updated but all stats from monsters 
not..this with chrome

anyways,firefox isnt going better, dont recognize monsters active list like 
chrome vers....monster tab is all empty without any errors in console log

Original comment by carlo.so...@gmail.com on 16 Apr 2011 at 9:00

GoogleCodeExporter commented 9 years ago
looks like this is fixed in 1090. thanks!

Original comment by alozovik on 20 Apr 2011 at 7:18

GoogleCodeExporter commented 9 years ago
Rewritten most of it to use taint now, should prevent any further errors like 
this.

Original comment by RycochetTM on 1 Jun 2011 at 3:55

GoogleCodeExporter commented 9 years ago
i opened new issue, nothing opening or running no nothing...

Original comment by blm...@gmail.com on 1 Jun 2011 at 10:48