Author Topic: LogInSystem Suggestion Thread  (Read 2112 times)

0 Members and 1 Guest are viewing this topic.

Offline CurryWurst

  • Camper
  • ***
  • Posts: 265
    • Soldat Global Account System
LogInSystem Suggestion Thread
« on: April 29, 2009, 07:36:34 am »
I got so many requests to implement or rather improve new stuff such as new stats or functions.
Hence, I thought it would be a nice idea to create a suggestion thread where you can post all
your ideas, improvements e.g. relating to LogInSystem.

Any new ideas are welcome :D
Soldat Global Account System: #soldat.sgas @ quakenet

Offline Snack

  • Soldier
  • **
  • Posts: 115
  • Ehm ;_;
Re: LogInSystem Suggestion Thread
« Reply #1 on: April 29, 2009, 08:48:44 am »
umm, maybe a killratio?

Offline y0uRd34th

  • Camper
  • ***
  • Posts: 325
  • [i]Look Signature![/i]
Re: LogInSystem Suggestion Thread
« Reply #2 on: April 29, 2009, 10:44:27 am »
Add to /rankings <kills/deaths/caps/...>?  ;)
Would be good & easy to code i think^^

Offline Mittsu

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 617
Re: LogInSystem Suggestion Thread
« Reply #3 on: May 01, 2009, 09:12:21 am »
theres over 100 accounts now on my server, and when it updates ranks, the entire server suffers huge lag that is really pain in the ass in the middle of the game. As my server has Survival mode, the solution for me would be simple. Could you add possibility to set the updates when the round ends (or after every few rounds)? That would save me a lot of trouble :)


EDIT: Sounds weird, but it seems that only people that are high in ranks get that lag
« Last Edit: May 01, 2009, 02:20:00 pm by Mittsu »
Realistic-Soldat.net
<+elerok> soldat is dead
<+AThousandD> shit happens

Offline CurryWurst

  • Camper
  • ***
  • Posts: 265
    • Soldat Global Account System
Re: LogInSystem Suggestion Thread
« Reply #4 on: May 02, 2009, 06:09:22 am »
umm, maybe a killratio?

Yeah, that's already implemented. Check the latest changelog below ;)

Code: [Select]
--------------------------------------------------------------------
- [Version 1.22] - 2009-04-28 => Update #3
--------------------------------------------------------------------

- Finnish translation appended
- Selfkills are not anymore counted by the end of a round if the gamemode is set to survival
- Removed unecessary variables from previous versions
- Added a new Ratio statistic (kills per death; accuracy: X.xx)
  Ratio is implemented as dummy stat, you won't be able to sort your ranks by it
  Added GetRatio() function
- Fixed a strange costum stats bug not allowing to add new stats


Add to /rankings <kills/deaths/caps/...>?  ;)
Would be good & easy to code i think^^

Yes, it isn't actually a coding problem, but as Mittsu already stated below there are significant performance problems if your database contains many accounts. Adding other stuff to the ranking list or sorting the entire list by stats you dynamically define may cause additional loss of performance and script reliability.

I may add your suggested feature when I figured out the lack of performance or found an other solution to solve the problem.


theres over 100 accounts now on my server, and when it updates ranks, the entire server suffers huge lag that is really pain in the ass in the middle of the game. As my server has Survival mode, the solution for me would be simple. Could you add possibility to set the updates when the round ends (or after every few rounds)? That would save me a lot of trouble :)


EDIT: Sounds weird, but it seems that only people that are high in ranks get that lag

I already thought that would happen. Besides, updating rankings by a certain tick limit as currently implemented often causes access violation problems. I'll will change the update of the ranks to the end of each round.
Soldat Global Account System: #soldat.sgas @ quakenet

Offline Snack

  • Soldier
  • **
  • Posts: 115
  • Ehm ;_;
Re: LogInSystem Suggestion Thread
« Reply #5 on: May 02, 2009, 06:23:37 am »
Ah last one i saw was update #2 ;p

Offline Mittsu

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 617
Re: LogInSystem Suggestion Thread
« Reply #6 on: May 02, 2009, 10:59:40 am »
had to disable the script because of the huge lag :/

i hope you fix it soon
Realistic-Soldat.net
<+elerok> soldat is dead
<+AThousandD> shit happens

Offline CurryWurst

  • Camper
  • ***
  • Posts: 265
    • Soldat Global Account System
Re: LogInSystem Suggestion Thread
« Reply #7 on: May 03, 2009, 01:15:14 pm »
Okay guys. Here's a developer version of the script including a bugfix to the problem mentioned by Mittsu ;)
I also added some additional stuff such as the possibility to add subadmins via ARSSE and a NickProtection.
To enable NickProtection set NickProtection in the ini file to a number greater than zero.

Replace your files with the stuff attached to this post.

Hope to get some feedback from you to publish it as patch.
« Last Edit: May 03, 2009, 01:22:15 pm by CurryWurst »
Soldat Global Account System: #soldat.sgas @ quakenet