Hi.
Please explain what you already have done.
If not done already, then please run all the available Manet examples. I.e. the examples you can run with a stock ns-2.35.
Example, my test with "aodvattacker.tcl"
[ex-manet6]$ ns235-64-orig aodvattacker.tcl
num_nodes is set 20
Creating nodes...
INITIALIZE THE LIST xListHead
Loading random connection pattern...
cbr_(0) has been created over udp_(0)
udp_(0) and null_(0) agents has been connected each other
cbr_(1) has been created over udp_(1)
udp_(1) and null_(1) agents has been connected each other
cbr_(2) has been created over udp_(2)
udp_(2) and null_(2) agents has been connected each other
cbr_(3) has been created over udp_(3)
udp_(3) and null_(3) agents has been connected each other
cbr_(4) has been created over udp_(4)
udp_(4) and null_(4) agents has been connected each other
cbr_(5) has been created over udp_(5)
udp_(5) and null_(5) agents has been connected each other
cbr_(6) has been created over udp_(6)
udp_(6) and null_(6) agents has been connected each other
cbr_(7) has been created over udp_(7)
udp_(7) and null_(7) agents has been connected each other
cbr_(8) has been created over udp_(8)
udp_(8) and null_(8) agents has been connected each other
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
... The NAM window opens. "Play" is running the animation.
Three Xgraph windows are opening : Throughput, Package_Loss and Delay.
$ awk -f delay_alterado_einar.awk trust.tr
0.00245529