For Neopets ONLY discussion.
Topic locked

Glitchy Battledome

Mon Jan 16, 2006 1:51 pm

I've fought several fights in the last couple days and I keep getting this message whenever I make my attack and I'm waiting for my opponant to decide on his attack:

testing value
fe_pet1->current_hp (start of fight_eval) 54
fe_pet2->current_hp (start of fight_eval) 6
tempstr = '26666','','29121','','',''

RawAttackStrength=39

AttackStrengthMatrixScaled=6
RawAttackStrength=14

AttackStrengthMatrixScaled=4
RawAttackStrength=38

AttackStrengthMatrixScaled=6
RawAttackStrength=13

AttackStrengthMatrixScaled=4
Action IDs:

Pet1: 10013

Pet2: 10013

Object

Object


fe_pet1_ability_strength=0

fe_pet2_ability_strength=0

fe_pet1_ability_power_used=50

fe_pet2_ability_power_used=50

Object Script : [switch ($objectaction) { case "battledome": switch ($phase) { case "attack": $pet1_scriptoutput="You attack $pet2->name with a stream of acid from your Scarab Ring!
"; $pet2_scriptoutput="Watch out! $pet1->name is attacking you with a stream of acid from their Scarab Ring!
"; $pet2_damage[darkness]+=scale($pet1_attack_strength,4,4); $pet2_damage[water]+=scale($pet1_attack_strength,3,3); $pet2_damage[physical]+=scale($pet1_attack_strength,3,3); break; case "defend": if ($pet1_damage[physical]) { $pet1_damage[physical]-=scale($pet1_defence_strength,5,5); $pet1_scriptoutput="You defend yourself against $pet2->name's physical attack by using magic from your Scarab Ring!
"; $pet2_scriptoutput="$pet1->name valiantly defends themself against your physical attack with magic from your Scarab Ring!
"; } if ($pet1_damage[fire]) { $pet1_damage[fire]-=scale($pet1_defence_strength,5,5); $pet1_scriptoutput="You defend yourself against $pet2->name's fire attack with your Scarab Ring!
"; $pet2_scriptoutput="$pet1->name valiantly defends themself against your fire attack with the Scarab Ring!
"; } break; } break; }]

Object Script : [switch ($objectaction) { case "battledome": switch($phase) { case "attack": $pet1_scriptoutput="You hit $pet2->name with your Obsidian Dagger!
"; $pet2_scriptoutput="$pet1->name hits you with their Obsidian Dagger!
"; $pet2_damage[physical]+=hit(scale($pet1_attack_strength,5,5)); $pet2_damage[earth]+=scale($pet1_attack_strength,5,5); $pet2_damage[fire]+=scale($pet1_attack_strength,3,3); break; } break; }]

fe_pet1_freeze: 0

fe_pet2_freeze: 0

fe_pet1_attack_strength: 6

fe_pet2_attack_strength: 4

fe_pet1_defence_strength: 6

fe_pet2_defence_strength: 4

Total Damage:
Pet1: 0
Pet2: 32
fe_pet1_ability_damage: 24
fe_pet2_ability_damage: 0

fe_pet1->current_hp (before damage) 54
fe_pet2->current_hp (before damage) 6
fe_pet1->current_hp (after damage) 54
fe_pet2->current_hp (after damage) -26
Existing pet1 ability_power=100

fe_pet1_new_ability_power=100

Existing pet2 ability_power=100

fe_pet2_new_ability_power=100


pet1_changes: [current_hp='45']

pet2_changes: [current_hp='0']

pet1_neopets_equip_changes: []

pet1_neopets_equip_changes: []

pet2_neopets_equip_changes: []

pet2_neopets_equip_changes: []


Pet1 Damage

fire = 0

water = 0

air = 0

earth = 0

light = 0

darkness = 0

physical = 0


Pet2 Damage

fire = 22

water = 22

air = 0

earth = 35

light = 0

darkness = 22

physical = 32

Updating Database
UPDATE neopets SET current_hp='45' WHERE name='Felonious'
testing value
UPDATE neopets SET current_hp='0' WHERE name='lily_white_swan'
UPDATE bd_opponent_instance SET current_hp='0' WHERE opponent_instance_id=''
End of fight_eval debug



Any ideas?
It always appears above the picture of my battling pet, and it looks like a summary of his attack and stats? Funny that it should be showing like that though.

Mon Jan 16, 2006 6:43 pm

I just used the battledome yesterday. I had two fights and no problems at all. Odd that you would see all that code...

Mon Jan 16, 2006 8:51 pm

It happens to me alot. I don't know the reason why though.

Tue Jan 17, 2006 2:41 am

Looks like one of the Neopets staff members has been toying around with the battledome and made a few glitches. -points finger at Adam- HE DID IT! Heh. I've noticed those a lot when I've been using the one player battledome

Hydro

Tue Jan 17, 2006 11:27 am

I'm having errors that the pet that is fighting me has withdrawn. They say that they get an error that I'm fighting another pet.
Topic locked