This could mean that it was the king who asked for the truce, seeing that in the end the nomads were as strong as his people. But the noble nomads did not rejoice in a show of bad sportsmanship, they praised the king for his perseverance and greatness. The city then opened its walls to the wandering people making for a better city. Ancient History can be one of the hardest periods of History to write about. So much research is speculation.
Documentation is a rare find.
Because of the ambiguity of this period, myth is indefinitly valuable. Gilgamesh is the oldest known story and it supplies us with a limited view of what man used to think and believe. In our own search for ultimate knowledge we must look to Gilgamesh and Enkidu to lead us into our past so that we may attain the future.