Try to go low on both the MDMA and methylphenidate doses at first, just to see how it goes. For future reference, do not mix amphetamine/adderall and MDMA. That can be very taxing on the brain.
Try to get some sleep as well, very important not to pull all nighters when MDMA is involved.