yeah so i did the exact route before its up a steep small hill coming out of a ditch type thing without traction control light on or abs light on, and did it fine. did the same route today and had those two lights on the dash and it couldn't get up it. so i my thought process was the the water had damaged the ecu and i dont messed the system up. im not good with the electricsThat doesn't mean you had no drive to the back wheels, as has been said by @AllanWorms with no centre difflock, in that scenario, the rear wheels wouldn't budge and the front wheels would just spin. Once you got onto solid ground the traction control should brake the spinning wheels and allow drive to the other wheels. That is what it is for!
If you had your front wheels spinning and then you were still able to reverse your truck out and "go round" you do have drive to at least some wheels. And if the fronts were spinning why do you think the back ones weren't working and somehow the fronts drove you out of the situation. Or were you going up a hill?
Have a read of this :-
Land Rover Discovery 2 Automatic & Manual Guidelines
Introduction and guidelines for Land Rover Discovery 2 Anti-Lock Braking System (ABS), Traction Control (TC) and Hill Descent Control (HDC).www.offroaddiscovery.com