Hi all.
I have a script that is causing the BBs to crash (freebsd version) when it runs and I have tried a few things to get it working but can't. Can anyoe see what is wrong with this?
top =format(bbs.text(377),"",user.age,user.gender,user.birthdate
,user.name,user.phone,user.computer,user.connection);
bbs.email(bbs.node_val_user,null
,top
,"New user introduction");
top =format(bbs.text(377),"",user.age,user.gender,user.birthdate
,user.name,user.phone,user.computer,user.connection);
top of the text. Any ideas why it doesn't work when I try to populate the string 377 with the users data would be appreciated!
Re: JS error
By: Merlin to All on Wed Dec 20 2006 02:47 pm
top =format(bbs.text(377),"",user.age,user.gender,user.birthdate
,user.name,user.phone,user.computer,user.connection);
top of the text. Any ideas why it doesn't work when I try to populate the string 377 with the users data would be appreciated!
Yeah, you need to pass a string for strings and a number for numbers in the last release version.
ie: String, num, num, string, string, string, string, string
you're passing:
string, num, string, string, string, string, string, string
Try changing user.gender to ascii(user.gender)
This has been fixed for 3.14
you're passing:
string, num, string, string, string, string, string, string
Try changing user.gender to ascii(user.gender)
This has been fixed for 3.14
you're passing:
string, num, string, string, string, string, string, string
Try changing user.gender to ascii(user.gender)
This has been fixed for 3.14
Hi. Thanks. I'll give that a try in a minute, although I am using 3.14 on FreeBSD!
Hi. Thanks. I'll give that a try in a minute, although I am using 3.14
on FreeBSD!
In which case we have a different issue... try adding the params one at a time until it causes the crash... I'll try reproducing on my system.
Re: JS error
By: Merlin to Deuce on Thu Dec 21 2006 05:22 pm
This has been fixed for 3.14
In which case we have a different issue... try adding the params one at a ti until it causes the crash... I'll try reproducing on my system.
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 112:15:36 |
Calls: | 374 |
Calls today: | 1 |
Files: | 2 |
Messages: | 38,881 |