Hello,
Pahang sounds like a state in Malaysia... kamu dapat berbahasa Malaysia ? Apa kabar? selamat pagi! (tetapi saya dapat berbahasa sedikit sedikit saja...).
I looked at your boundary conditions file and it looks correct with an exit (5 4 4) as boundary 1 and an entrance as boundary 2 (4 5 5). You can let 0. for HBOR, UBOR and VBOR if you then use keywords like PRESCRIBED DISCHARGES=...
However in your case you want to use the tpxo database and this requires to have prescribed velocities, not discharges, thus 4 6 6 instead of 4 5 5. It is also recommended in this case to use the Thompson's boundary conditions, hence:
OPTION FOR LIQUID BOUNDARIES : 1;2
it is set here for your boundary 2, that I suppose to be the offshore boundary. It is probable that you should even use 5 6 6 instead of 4 5 5 (thus prescribing elevation and velocity, that will be provided by tpxo, and then the Thompson's theory will select what is relevant following the theory of characteristics). Also check what is your boundary 1 declared as an exit, if it true you should give at least PRESCRIBED ELEVATIONS = ...
With best regards,
Jean-Michel Hervouet