# |
May 30th 2016, 04:29 |
LckyBy517 |
jk, i know its not the most ideal way anymore, running a discord bot on my game server(when it works) and was thinking about using their gateway API to embed a chat window into the site and just do away with the IRC channel for it |
# |
May 30th 2016, 04:28 |
LckyBy517 |
LOL i'm old school, i'd rather just embed IRC right into website rathe than have a bot |
# |
May 30th 2016, 04:27 |
LckyBy517 |
bleck! |
# |
May 30th 2016, 04:26 |
LckyBy517 |
LOL whats with slackebot? |
# |
May 30th 2016, 04:21 |
savant |
oh we have a new logo here nice |
# |
May 30th 2016, 04:21 |
savant |
hi |
# |
May 30th 2016, 04:21 |
LckyBy517 |
sup savant! |
# |
May 30th 2016, 04:19 |
LckyBy517 |
http://api.moosecraft.us/api/stats/view/moose517.json |
# |
May 30th 2016, 04:18 |
LckyBy517 |
if you would like to see what i'm talking about api.moosecraft.us/api/stats/view/moose517.json |
# |
May 30th 2016, 04:17 |
LckyBy517 |
and when i do the query and contain the 2 tables i did for the moment it like joins each of the entries from the one with each entry from the other like double for loop XD |
# |
May 30th 2016, 04:16 |
LckyBy517 |
which i did |
# |
May 30th 2016, 04:15 |
voycey |
they are related though - in the table constraints so you have to create the matching ones in Cake's model layer |
# |
May 30th 2016, 04:13 |
LckyBy517 |
just a uuid column, with value columns, none of the tables are related just have the UUID column |
# |
May 30th 2016, 04:12 |
LckyBy517 |
pretty much they are all laid out like those 2 i linked earlier |
# |
May 30th 2016, 04:02 |
voycey |
you might need to use joins rather than contain tbh if they dont work with proper associations |
# |
May 30th 2016, 04:01 |
voycey |
but it depends on how your table is laid out |
# |
May 30th 2016, 04:01 |
voycey |
left join sounds like what you want |
# |
May 30th 2016, 04:00 |
LckyBy517 |
voycey: you know what join type i would need in that case? |
# |
May 30th 2016, 03:59 |
kdcaker |
Well I am off to bed, Can't wait to pick it up again tomorrow, and share the results. Also I can't wait to contribute as well. I like this. Thanks! |
# |
May 30th 2016, 03:57 |
LckyBy517 |
basically all 34 tables have different data, i just wanna grab it from all of them, i tried left and inner and both duplicated a lot of the data, there might be multiple entries in one table per person, and i just wanna grab all that and add to whats returned |
# |
May 30th 2016, 03:56 |
LckyBy517 |
never know actually XD |
# |
May 30th 2016, 03:55 |
LckyBy517 |
i'm just not sure what join type i should be using LOL |
# |
May 30th 2016, 03:55 |
LckyBy517 |
yeah i know |
# |
May 30th 2016, 03:52 |
kdcaker |
I am not aware of how to enable the IDE debugger, I do have the Debug Tool kit on my browser tho- |
# |
May 30th 2016, 03:52 |
kdcaker |
Well, I haven't been able to do step by step debugging with Netbeans...I do have poor mans debugging and I see that my requests never enter the login method block. |
# |
May 30th 2016, 03:47 |
voycey |
LckyBy517: you can change the join type |
# |
May 30th 2016, 03:30 |
kdcaker |
I had a call @voycey, but thanks for the response |
# |
May 30th 2016, 03:30 |
kdcaker |
Let me try that |
# |
May 30th 2016, 03:09 |
voycey |
put a breakpoint on it in validation and see whats available |
# |
May 30th 2016, 03:06 |
aro |
but i need to pass the record to that constructor |
# |
May 30th 2016, 03:06 |
aro |
so i am creating $provider = new WhateverProvider(); |
# |
May 30th 2016, 03:06 |
aro |
i need my provider to not call statically |
# |
May 30th 2016, 03:05 |
aro |
when i add my provider by class name, i get errors for using $this when not in object context |
# |
May 30th 2016, 03:05 |
LckyBy517 |
LOL ok i need to figure out what join type i need ROFL. adding a third table i'm getting about a million results back per person now XD |
# |
May 30th 2016, 03:04 |
aro |
i did a debug on that and i got no property |
# |
May 30th 2016, 03:03 |
voycey |
$this->id? |
# |
May 30th 2016, 03:03 |
aro |
is there a way to get the current record being validated from inside the validator function in a model |
# |
May 30th 2016, 02:52 |
kdcaker |
I am sorry I got kicked off the chat somehow |
# |
May 30th 2016, 02:51 |
LckyBy517 |
then realize the error was in another file XD facepalm |
# |
May 30th 2016, 02:32 |
kdcaker |
It is; I need to know/ or see at least what is needed for a custom router class, and how to resolve my authorization issue with the login in method. |
# |
May 30th 2016, 02:30 |
voycey |
kdcaker: was that a question? |