Raised This Month: $12 Target: $400
 3% 

read ranks from .ini file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JocAnis
Veteran Member
Join Date: Jun 2010
Old 01-09-2019 , 14:01   read ranks from .ini file
Reply With Quote #1

hello guys. i have a .ini file with storing records by players, in non sorted way (meaning first line isnt the best result)
can anyone help how to determine who has the hightest 'something' from file, who is 2. and who is 3. ...? if its worth mentioning, not every player is saved in that file list, so not so many entries are there (cuz of time of reading file..?) and when player update his record that records is being updated in the file
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)

Last edited by JocAnis; 01-09-2019 at 14:02.
JocAnis is offline
JocAnis
Veteran Member
Join Date: Jun 2010
Old 01-09-2019 , 17:22   Re: read ranks from .ini file
Reply With Quote #2

tryed with loading all lines from file -> sortcustom1d -> print...but its working for one parsed element (bhops, which is the main thing top to be sorted) but i cant connect name or other parsed things from file to these sorted bhops

if i choose this method, i guess sorting by 4D would be in my case, which is totally nonsense...so any help is welcomed

EDIT: ok its fixed now with sort2d, if anyone needs it i can post it here
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)

Last edited by JocAnis; 01-09-2019 at 18:02.
JocAnis is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode