nb Core Community
September 06, 2010, 12:44:46 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: 1.2.2 +nb is now final and released

@new registrations. I will not allow any new registrations here as there are more (real person) spambots here than ever.... captcha proved to be ineffective.

After your registration, mail me at ( admin AT shinobilegends.com ) from the mail address you want to register. Provide some text about you and possibly your game.
 
   Home   Help Search Calendar Downloads Login Register  
Pages: 1 [2]
  Print  
Author Topic: Error on dragon fight ...  (Read 2205 times)
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 302



View Profile WWW
« 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.
Logged

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
Full Member
***

Karma: +0/-0
Posts: 135


View Profile
« 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.
Logged
Alchemion
Full Member
***

Karma: +0/-0
Posts: 135


View Profile
« 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.
Logged
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 302



View Profile WWW
« 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.
Logged

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
Full Member
***

Karma: +0/-0
Posts: 135


View Profile
« 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!
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!