nb Core Community
February 07, 2012, 11:09:57 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: 1.2.3 +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 [3]
  Print  
Author Topic: Battle avatars  (Read 3595 times)
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 306



View Profile WWW
« Reply #30 on: September 24, 2008, 06:16:29 am »

ok.

Code:
global $options
if ($options['type']=='pvp') break;

you could roll through the enemies array - but  I will trash that stupid system soon enough.
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
Guest
« Reply #31 on: September 26, 2008, 12:47:15 am »

News: Smiley  i have replaced the indicated code, i have removed the function and added directly the code to the header-pvp case and IT WORKS !!! veeeryyyy nice....

this is the updated avatar module that gives lodge modules, shows them in battle and in pvp and also shows monster pics, master pics, undead pics and any other pics in battle... image extension changeable only by editing the file... there is also a debug message that should be removed after finishing uploading all the needed images... and some more conditions to add and make the module more neat, but that would be every admin's stuff...


Thank you, Nightborn!
Logged
Pages: 1 2 [3]
  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!