Replies

Jan 25, 2018 8 years ago
frederick
User Avatar

On Baton's page there is a warning on the top:

Quote
Warning: Division by zero in /var/app/current/petinfo.php on line 164
I name swapped it last night after which the error appeared, but the pet I swapped it with does not have any errors on its page even when I remove the profile. None of my other pets have this error, and I haven't seen it on pets belonging to other people. There's no css on this profile, so I don't think it's due to something I did (except maybe weirdness after the name swap?).

Jan 25, 2018 8 years ago Official
Spotlight Champion
Destiny
User Avatar
Dexter

It is because of the pet's stats being 0. I don't think they are supposed to be like that. Let me see if you need to file a ticket.

[edit] Bug will look into it. Sit tight no need for a ticket.

Dexter by

Jan 25, 2018 8 years ago
frederick
User Avatar

Oh, I leeched them to 0 for giggles. It's intentional. But I haven't seen the error on it before.

Jan 25, 2018 8 years ago
Spotlight Champion
Destiny
User Avatar
Dexter

That is the reason for the error. I will let Bug know you did that on purpose.

Dexter by

Jan 25, 2018 8 years ago
frederick
User Avatar

OK. Should I leave it like that or try to clear the error by training the stats to 1?

Jan 25, 2018 8 years ago
Spotlight Champion
Destiny
User Avatar
Dexter

Just leave it for now. I will let you know if that changes.

Dexter by

Jan 25, 2018 8 years ago
frederick
User Avatar

Alright. My itty bitty kitty character is no longer a thing, so if it ends up needing stats to clear it due to the coding it won't break my heart.

Jan 25, 2018 8 years ago
Spotlight Champion
Destiny
User Avatar
Dexter

https://subeta.net/explore/healer.php?act=heal&petid=5894994 Can you try the above link? It may be simply that since you somehow have 10 HP that it is throwing that error. Maybe the healer will reset it to 0.

nvm bug pushed a fix. It may take 10-15 minutes to take effect.

Dexter by

Jan 25, 2018 8 years ago
frederick
User Avatar

The healer blew me off:

Quote
Oh No!
Oops! It seems you have more hp than your max hp, I think you should go battle that off, then come back to me.
The HP bar appears empty, but still says "10/0" and the error is still on the page. I did a hard refresh, and looked at the profile in another browser. I can put it in the resort and attempt to battle it later if you want.

sorry for doing weird things to my pets.

Jan 25, 2018 8 years ago
Spotlight Champion
Destiny
User Avatar
Dexter

The fix bug pushed worked :D it is now gone. Anything else we can help with?

Dexter by

Jan 25, 2018 8 years ago
frederick
User Avatar

I think that's it. I'll try not to break my pets/do weird things to them again out of curiosity.

Jan 25, 2018 8 years ago Official
Bug
User Avatar
Segfault

It's all good. I set your pet's HP to 0, and seriously don't worry about it, breaking things is fun anyway ;)

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Please log in to reply to this topic.