Author Topic: Charactar Stats  (Read 4585 times)

Orogan

  • Newbie
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Charactar Stats
« 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...

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Charactar Stats
« 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 »
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
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Charactar Stats
« 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.

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Charactar Stats
« Reply #3 on: April 07, 2008, 11:14:18 am »
oO well.

No comment on that one, it gave me almost a heart attack.
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
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Charactar Stats
« 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