This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

var_pointer error

Old posts that have not been replied to for several years.
Locked
F
Fluxizm

var_pointer error

Post by Fluxizm »

Hi all,

I'm running a egg 1.6.12.
All is ok (or seems to be) Except for a partyline error message which is constantly generated:

(|iUK|AimBot) [02:26] Tcl error in script for 'timer79':
(|iUK|AimBot) [02:26] can't read "var_pointer": no such variable
(|iUK|AimBot) [02:29] Tcl error in script for 'timer80':
(|iUK|AimBot) [02:29] can't read "var_pointer": no such variable
(|iUK|AimBot) [02:30] @#iuk|private (+tnk woot) : [m/5 o/5 h/0 v/0 n/0 b/0 e/- I/-]
(|iUK|AimBot) [02:33] Nick change: |iUK|Koo|mIRC -> |iUK|Koo
(|iUK|AimBot) [02:35] @#iuk|private (+tnk woot) : [m/5 o/5 h/0 v/0 n/0 b/0 e/- I/-]
(|iUK|AimBot) [02:36] Nick change: |iUK|OxO| -> |iUK|OxO|ZzZzZz
(|iUK|AimBot) [02:36] Tcl error in script for 'timer117':

Does anyone know what causes this error? And how to resolve it?

Thanks in advance for any help :D
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Yes and no.

Yes: This error is coded by a improperly setup and/or coded script. As stated in the error, it is cased by a variable not being set. The timer error, is likely to be exactly the same problem, however, due tot he way timers work, error messages are limited, and only the timer it occured in is posted.

No: You will have to work out which script is causeing this.
F
Fluxizm

Post by Fluxizm »

Thanks ppslim for the reply. Is there anyway I can increase the amount of info being generated about this error so as to point to the script causing it?
Failing that, I guess I'll have to comment out each script in turn, and see if the error stops...

Thanks again :D
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Place this script in a file in the scripts directory.

Code: Select all

rename timer _timer
rename utimer _utimer

proc timer {time arg} {
  _timer $time [list my_timer "" $arg]
}
proc utimer {time arg} {
  _utimer $time [list my_timer u $arg]
}
proc my_timer {t arg} {
  if {[catch $arg a]} {
    putlog "${t}timer error: [lindex $cmd 0] : $a"
  }
}
Save the file.

Edit your config file, and locate the section at the bottom, where scripts get loaded.

Place a line to load the scrpt, just before this. IE

source scripts/script.tcl

naming it accordingly.
F
Fluxizm

Post by Fluxizm »

Once again thanks for the replies, greatly appreciated :)

/me takes a packet of gold sticky stars out his pocket and slaps one on ppslim's forehead :wink:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Thats if ya can find room for one more.
F
Fluxizm

Post by Fluxizm »

ppslim, I got another gold star for you maybe :wink:

I tracked down the guilty script, it's one called repeatpro.tcl. Which I find strange cos there really isnt much to configure with this script, maybe its an older script running on a new bot (1.6.12) and the problem lies here, has anyone else had a similar problem running this script with this version of egg? If so how did u solve it? This script does what it says on the tin well, it catches all reapeats, so if I can keep using it I'd like too, but having this var_pointer error isnt acceptable really. So failing this can anyone recommend a quality anti repeat script which is happy with my version of egg? Thanks people :D
Locked