nb Core Community
February 10, 2012, 07:53:12 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]
  Print  
Author Topic: Charactar Stats  (Read 1398 times)
Orogan
Newbie
*

Karma: +0/-0
Posts: 29


View Profile
« on: April 06, 2008, 06:50:39 pm »

I am on every character stat it looks like this

Rusty KunaiTurns 17
Rusty KunaiPvP Left 3
Rusty KunaiSpirits High
Rusty KunaiGold 300
Rusty KunaiGems 112
Rusty KunaiAlignment Evil (0)
Rusty KunaiBanked Gold 0
Rusty KunaiNext Day 0h 16m 49s
Rusty KunaiPlayer Kills 0


The Rusty Kunai was a base weapon like Fist.  I have looked through the code and nothing has come up that i can see, i have also checked the Translation Wizard...
Logged
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 306



View Profile WWW
« Reply #1 on: April 06, 2008, 07:18:40 pm »

care to do a screenshot?

is this text directly attached (check translations) to the "Turns" and whatnot?

do you have a `w or something there?

or a %w?

edit:
could you check where this gets added?

edit2:


287                                                 $out.=sanitize($session['user']['weapon']);


put this line in lib/output.php instead of the other one.
a `w in a weaponname will lead to an infinity loop otherwise.
« Last Edit: April 06, 2008, 07:45:19 pm by Nightborn » 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
Orogan
Newbie
*

Karma: +0/-0
Posts: 29


View Profile
« Reply #2 on: April 07, 2008, 09:00:05 am »

Yes i have a `w color code.  I have just released reading a topic on Dragon Prime.
Logged
Nightborn
Administrator
Sr. Member
*****

Karma: +20/-0
Posts: 306



View Profile WWW
« Reply #3 on: April 07, 2008, 11:14:18 am »

oO well.

No comment on that one, it gave me almost a heart attack.
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
Orogan
Newbie
*

Karma: +0/-0
Posts: 29


View Profile
« Reply #4 on: April 07, 2008, 11:44:26 am »

Well like i said on DragonPrime i hate the way that it has`w = $session['user']['weapon'] tjhough i like the concept
Logged
Pages: [1]
  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!