Author Topic: Error on dragon fight ...  (Read 11819 times)

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Error on dragon fight ...
« Reply #15 on: February 25, 2009, 10:23:00 pm »
Okay.

I installed peer pressure on a vanilla 1.2.1 server.

It worked like a charm - nothing to report.

~ ~ ~ Fight ~ ~ ~
You have encountered The Green Dragon which lunges at you with Great Flaming Maw!

The Green Dragon's Hitpoints (Level 17): 395
God Neji: 2704
You feel godlike.
You execute a MEGA power move!!!
You hit The Green Dragon for 11538 points of damage!
You feel mortal again.
End of Round:
The Green Dragon's Hitpoints (Level 17): DEFEATED
God Neji: 2704
With a mighty final blow, The Green Dragon lets out a tremendous bellow and falls at your feet, dead at last.


Oh, only one thing:
 27         if ($session['user']['level'] != 15) return 0;

<--- that won't work if you use the feature of NB editions to set the max level. this always sets to 15.

As said, the code from peer pressure does not seem to break it.
It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro

Alchemion

  • Guest
Re: Error on dragon fight ...
« Reply #16 on: February 26, 2009, 03:34:50 pm »
I have been enlightened !...

Regarding your reply, I have realized that it might had something to do with my level...

The errors appeared while I attacked the dragon (as admin) at inferiour levels... when I advanced to level 15, the error ceased to occur.

Thank you for clearing this out.

Alchemion

  • Guest
Re: Error on dragon fight ...
« Reply #17 on: February 28, 2009, 07:55:31 pm »
sorry, i was wrong... it has nothing to do with the level...

wat I can say is that the restesting is made on a fresh 1.2.2 instal, wich I downloaded a couple of days ago...

it might had something to do with old forked files...

anyway, with the last 1.2.2 download the issue was solved.

thanks.

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Error on dragon fight ...
« Reply #18 on: February 28, 2009, 08:42:03 pm »
I do not know what has been changed - as I did not really touch the dragon stuff in 1.2.1 -> 1.2.2

but well.
It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro

Alchemion

  • Guest
Re: Error on dragon fight ...
« Reply #19 on: January 15, 2010, 05:10:06 pm »
Just for the full record:

Indeed your guess was right, after a new install, everything was ok until I installed a new module... the error maintained because the new module was trying to rename the dragon and was finding no name for it...

After I have set up all the names accordingly to the interfered module, the error ceased.

Greets!