[ns] help in vanet error

2009-06-26 Thread Usman Amin
Hi can anybody please help me with this error. [r...@localhost usman-practice]# ns abc.tcl 14 10 25 num_nodes is set 150 INITIALIZE THE LIST xListHead (_o2415 cmd line 1) invoked from within "_o2415 cmd log-target _o10" invoked from within "catch "$self cmd $args" ret" invoked fr

Re: [ns] Error in creating new agent

2009-05-20 Thread Usman Amin
e "_o1615" line 2) > (SplitObject unknown line 2) > invoked from within > "_o1615 set-suicide" > [r...@localhost VanetCR]# > > Can anybody tell me why this "invoked from within" error comes?? > > > -----

Re: [ns] Error in creating new agent

2009-05-12 Thread Usman Amin
alhost VanetCR]# Can anybody tell me why this "invoked from within" error comes?? ------- On Thu, May 7, 2009 at 1:30 PM, Usman Amin wrote: > Hi > > I added the following definitions in * > > ns-agent.tcl* > > Class Agent/VanetCR -

Re: [ns] Error in creating new agent

2009-05-07 Thread Usman Amin
Hi I added the following definitions in * ns-agent.tcl* Class Agent/VanetCR -superclass Agent Agent/VanetCR instproc init args { $self next $args } Agent/VanetCR set sport_ 0 Agent/VanetCR set dport_ 0 Now the following error is coming. *Error* [r...@localhost VanetCR]# ns b

[ns] Error in creating new agent

2009-05-06 Thread Usman Amin
Hi I have NS2.33 running on FC9 in VMWARE. I have to create a new agent. I have made the following changes in the below listed files *Makefile* VanetCR/vanetcr.o VanetCR/vanetcr_accdb.o VanetCR/vanetcr_myheard.o \ VanetCR/vanetcr_nghbdb.o VanetCR/vanetcr_sspdb.o \ *ns-default.tcl* Agent/Van

[ns] PacketSize issue

2009-04-08 Thread Usman Amin
Hello all, I am using ns-2.33. I have added an agent Vanetcr and then did the necessary changes in Makefile, ns-packet.tcl, ns-default.tcl and packet.tcl. But I am getting the following error *ns: [code omitted because of length] : invalid command name "Agent/VanetCR" while executing "Agent