ULX

Author Topic: resetting player ratings  (Read 2416 times)

0 Members and 1 Guest are viewing this topic.

Offline pump1er

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
resetting player ratings
« on: June 14, 2009, 04:47:33 PM »
when u hold tab their are player rateings.. is their a way to reset them if a person joins and gives everyone bad ratings?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: resetting player ratings
« Reply #1 on: June 16, 2009, 04:59:06 PM »
You'd either need to make a script to do that (and the user who gave ratings is not tracked), or you can just delete the entire ratings database and start over.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: resetting player ratings
« Reply #2 on: June 16, 2009, 09:22:30 PM »
Ok, not only for his, but for my education... the database, is it a table stored in sv.db?
Or...where?
And if in sv.db... is there an easy editing solution for the sqlite db you'd recommend that wouldn't delete the entire file (without us having to spend time figuring out which Google results solution worked well?)

:)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: resetting player ratings
« Reply #3 on: June 17, 2009, 05:51:19 PM »
It's stored by unique id, so you're not going to be able to edit it (No relation to Steam ID or name). Sorry. :P
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: resetting player ratings
« Reply #4 on: June 17, 2009, 07:20:29 PM »
That doesn't fully answer my question. :P
Where is it stored? sv.db?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: resetting player ratings
« Reply #5 on: June 17, 2009, 09:31:36 PM »
Yes, sv.db... don't remember past that. :(
Experiencing God's grace one day at a time.