Search found 6 matches

by ozmodiar
29 Jul 2013 09:32
Forum: XAseco & XAseco2
Topic: searching for Live CPList, (help with array needed)
Replies: 10
Views: 2928

Re: searching for Live CPList, (help with array needed)

on rpg servers this probably wont be an issue, but if u use it on tech servers with 20 to 30 or even more players i suggest you to also put a third parameter to sort. game does it by pb and pid. i just used login. otherwise when two players have the same time at the same cp, it might happen the play...
by ozmodiar
29 Jul 2013 06:19
Forum: XAseco & XAseco2
Topic: searching for Live CPList, (help with array needed)
Replies: 10
Views: 2928

Re: searching for Live CPList, (help with array needed)

think i figured it out. instead of your $List = subval_sort($List, "CPNumber"); i tryed foreach ($List as $key => $row) { $CPNumber[$key] = $row['CPNumber']; $Time[$key] = $row['Time']; $Login[$key] = $row['Login']; } array_multisort($CPNumber, SORT_DESC, $Time, SORT_ASC, $Login, SORT_STRING, $List)...
by ozmodiar
25 Jul 2013 21:50
Forum: XAseco & XAseco2
Topic: searching for Live CPList, (help with array needed)
Replies: 10
Views: 2928

Re: searching for Live CPList, (help with array needed)

without trying, i guess that shouldnt work. imagine cp 1 is at round about 5 sec and cp 2 is at 10 sec. player 1 at cp 2 with 10sec player 2 at cp 2 with 11sec player 3 at cp 1 with 5sec. it needs to be sorted by cp, and if cps are equal by time. this from the aseco plugin.rounds.php should do basic...
by ozmodiar
25 Jul 2013 15:20
Forum: XAseco & XAseco2
Topic: searching for Live CPList, (help with array needed)
Replies: 10
Views: 2928

Re: searching for Live CPList, (help with array needed)

looking good so far. with tiny modifications. but the main idea/problem is still that the cps are not sorted by time. only by cp number. isnt that somehow easily implementable?! //onCheckpoint function cplive_get_cp($lambda, $cpdata){ global $Players, $CpNb; global $add_to_login; $login = $cpdata[1]...
by ozmodiar
23 Jul 2013 10:01
Forum: XAseco & XAseco2
Topic: searching for Live CPList, (help with array needed)
Replies: 10
Views: 2928

Re: searching for Live CPList, (help with array needed)

ofcourse i had a look there, searched forums and googled... seems only to be best cp widgets. nothing i'm looking for, or its somewehere included and not really mentioned in the description. problem is i just cant understand/handle multidimensional array and sort it. its just five infos to be stored...
by ozmodiar
23 Jul 2013 08:52
Forum: XAseco & XAseco2
Topic: searching for Live CPList, (help with array needed)
Replies: 10
Views: 2928

searching for Live CPList, (help with array needed)

Hi guys, i'm looking for just a small plugin showing a list off all players including their checkpoints and times/timedifference, like the one in FAST. alternative anyone might help me with development. shouldnt be a big deal for someone with experience, i guess. my plan was to store cps on event on...