# |
Jul 18th 2018, 13:26 |
flavius |
you changed the controller, do you still have $this->set('company', $company) in your add action? |
# |
Jul 18th 2018, 13:26 |
turkles |
ha, I have no problem with pay to win if I run the game.. but it sucks when I am just a player. I am too poor. |
# |
Jul 18th 2018, 13:25 |
mr.mjsm |
this is line 14 "<?= $this->Form->create($company) ?>" |
# |
Jul 18th 2018, 13:25 |
flavius |
:P |
# |
Jul 18th 2018, 13:25 |
flavius |
GET HIM OUT OF HERE |
# |
Jul 18th 2018, 13:25 |
turkles |
top dawg has to look over his shoulder |
# |
Jul 18th 2018, 13:25 |
flavius |
PAY 2 WIN |
# |
Jul 18th 2018, 13:25 |
mr.mjsm |
any idea how to solve this problem "Undefined variable: company [APP/Template\Companys\add.ctp, line 14]" it used to work fine. but i made some changes in the add method in the controller. i don't see why it affected the variable in the add page! i didn't change much there. all i did was loading a model to submit 2 forms at once. |
# |
Jul 18th 2018, 13:25 |
flavius |
WHAT |
# |
Jul 18th 2018, 13:25 |
turkles |
yeah but fair is no fun |
# |
Jul 18th 2018, 13:25 |
flavius |
that should be more fair than what you're proposing |
# |
Jul 18th 2018, 13:24 |
turkles |
yeah that |
# |
Jul 18th 2018, 13:24 |
flavius |
ELO |
# |
Jul 18th 2018, 13:24 |
turkles |
so you like ILO |
# |
Jul 18th 2018, 13:23 |
flavius |
and then rank 5 gets closer but not rank 1, maybe rank 2 ... and previous rank 2 is now rank 1 |
# |
Jul 18th 2018, 13:22 |
flavius |
which should make previous rank 1 into 2 or 3 or even 4, depending on the difference between 1 and 2 |
# |
Jul 18th 2018, 13:22 |
flavius |
rank 5 beating rank 1, rank 5 gets a lot more points than if he beat rank 4... and rank 1 will also loose a shit ton of points if he looses to a rank 5 |
# |
Jul 18th 2018, 13:21 |
flavius |
should be like this |
# |
Jul 18th 2018, 13:21 |
flavius |
but this is still wrong imho |
# |
Jul 18th 2018, 13:20 |
turkles |
yes |
# |
Jul 18th 2018, 13:19 |
flavius |
and you will only renumber all of the players from that clan, not all of the players from all the clans, right? |
# |
Jul 18th 2018, 13:17 |
flavius |
easier to do? |
# |
Jul 18th 2018, 13:17 |
turkles |
nothing wrong with it, but I don't see how it is that different |
# |
Jul 18th 2018, 13:16 |
turkles |
which means you are basically renumbering all players every game, rather than a small number if the game requires a rerank |
# |
Jul 18th 2018, 13:15 |
flavius |
you reset to default after he leaves |
# |
Jul 18th 2018, 13:15 |
flavius |
and it fixes your problem if a player leaves the clan |
# |
Jul 18th 2018, 13:15 |
flavius |
every game |
# |
Jul 18th 2018, 13:14 |
flavius |
so whats wrong with my point system above, you just need to reset to default every time in order to accommodate this |
# |
Jul 18th 2018, 13:13 |
turkles |
but perhaps one season they will say no limit, and another you must move one at a time.. I have no idea.. so I make something to suit any rules |
# |
Jul 18th 2018, 13:13 |
turkles |
if you have placed your stronger players at the bottom to start then it's a common thing that they go 5 up to play fewer matches |
# |
Jul 18th 2018, 13:12 |
turkles |
that is their example, clubs have their own rules. The one I am making can challenge 5 above them. |
# |
Jul 18th 2018, 13:12 |
admad |
you are only allowed to challenage a player 1 level up |
# |
Jul 18th 2018, 13:12 |
admad |
"Player Rafael is allowed to challenge anyone who is ranked higher than him on his own level, and anyone who is ranked one level higher than he" So not really player with rank 90 playing against rank 1 as you claimed |
# |
Jul 18th 2018, 13:12 |
flavius |
i havent heard of rank 90 tennis player beating rank 1 and becoming rank 1... they just get closer to rank 1 and rank 1 will lose points if he looses |
# |
Jul 18th 2018, 13:11 |
turkles |
most ladders I have seen are singular like I have described, used in tennis/squash/badminton clubs to avoid having to turn up for tournaments at the same time |
# |
Jul 18th 2018, 13:10 |
turkles |
yeah no idea, they seem to have used a pyramid ladder for that one |
# |
Jul 18th 2018, 13:10 |
flavius |
etc |
# |
Jul 18th 2018, 13:10 |
flavius |
3 on third |
# |
Jul 18th 2018, 13:09 |
flavius |
how come there's 2 on the 2nd place? :P |
# |
Jul 18th 2018, 13:09 |
turkles |
blame the people who invented it: https://en.wikipedia.org/wiki/Ladder_tournament |
# |
Jul 18th 2018, 13:08 |
admad |
if you have a decent scoring system maintaining ranks is pretty trivial |