Profile for Spidweb

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).

Recent posts

Pages

AuthorRecent posts
A thought about the line number "bug". in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #28
Hokay. I just put in some code that watches for Windows style line endings and adjusts for them appropriately. I'll probably upgrade the debug-version BoA soon.

However, this will do nothing for the weird situation where the given line number for the error is over twice the length of the file. I'll look at it, but that's something really odd.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #27
"E-mailed the script, but I neglected to say that I am mainly using Scintilla. I also use EditPad Pro and others - but each of them understands Mac/Windows line endings."

Could you resend it? Never got it at my end.

"The problem is in the parser."

I feel that remains to be seen. That the reported line number is more than twice the length of the script makes me suspect that your text editor is doing something funky. I am not sure that I am going to be able to make BoA work with every text editor using every setting.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #27
"E-mailed the script, but I neglected to say that I am mainly using Scintilla. I also use EditPad Pro and others - but each of them understands Mac/Windows line endings."

Could you resend it? Never got it at my end.

"The problem is in the parser."

I feel that remains to be seen. That the reported line number is more than twice the length of the script makes me suspect that your text editor is doing something funky. I am not sure that I am going to be able to make BoA work with every text editor using every setting.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
debug mode still doesn't work (for me) in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #10
"Please don't think I'm being too 'pushy', but is it possible to make these upgrade/fixes in the form of patches, instead of having to download the entire app again?"

I have never seen a program to patch a Windows app (all game updates I've ever seen just replace the whole .exe). Once I saw a program to patch Mac apps, but that was a long time ago, and it's a lot easier to patch Mac apps because of the way the programs are put together. So I don't think I can.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
debug mode still doesn't work (for me) in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #10
"Please don't think I'm being too 'pushy', but is it possible to make these upgrade/fixes in the form of patches, instead of having to download the entire app again?"

I have never seen a program to patch a Windows app (all game updates I've ever seen just replace the whole .exe). Once I saw a program to patch Mac apps, but that was a long time ago, and it's a lot easier to patch Mac apps because of the way the programs are put together. So I don't think I can.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
debug mode still doesn't work (for me) in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #8
Damn it, damn it, damn it, damn it, damn it.

Uploading v101c (Win)/v1.1c (Mac) now.

Will link to and should work tomorrow.

Sorry about that. :(

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
debug mode still doesn't work (for me) in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #8
Damn it, damn it, damn it, damn it, damn it.

Uploading v101c (Win)/v1.1c (Mac) now.

Will link to and should work tomorrow.

Sorry about that. :(

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #25
"Have you received any scripts from Windows users that show that problem? If not I will semd you one showing an error, just for example, at line number 476, when in fact the entire script has less than 230 lines."

Go ahead and E-mail me that example. And tell me what text editor you're using.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #25
"Have you received any scripts from Windows users that show that problem? If not I will semd you one showing an error, just for example, at line number 476, when in fact the entire script has less than 230 lines."

Go ahead and E-mail me that example. And tell me what text editor you're using.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
print_big_str_color() not working? in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #4
Found the error. Typo in my code. Note to be put on the editor support area:

print_big_str_color Has Wrong Name

The call print_big_str_color is actually called print_big_str_num. It works exactly like print_big_str_color, as described in the editor documentation.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
print_big_str_color() not working? in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #4
Found the error. Typo in my code. Note to be put on the editor support area:

print_big_str_color Has Wrong Name

The call print_big_str_color is actually called print_big_str_num. It works exactly like print_big_str_color, as described in the editor documentation.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #23
I'm putting up a long thing on the support page about line numbers. I'll probably expand it soon. Hopefully this will help.

If anyone wants to write an article on line numbers (perhaps incorporating my tech support message and some things from this thread), it would be hugely useful.

But I really have to stress that this is not an issue of something I can do but won't because it's hard. This is something that really can't be done. The game can only tell you where it finds an error, where it sees that the script has gone off the rails. That this is sometimes in a different line from where the actual typo is is unfortunate, but unavoidable.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #23
I'm putting up a long thing on the support page about line numbers. I'll probably expand it soon. Hopefully this will help.

If anyone wants to write an article on line numbers (perhaps incorporating my tech support message and some things from this thread), it would be hugely useful.

But I really have to stress that this is not an issue of something I can do but won't because it's hard. This is something that really can't be done. The game can only tell you where it finds an error, where it sees that the script has gone off the rails. That this is sometimes in a different line from where the actual typo is is unfortunate, but unavoidable.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #21
Kelandon, I appreciate your confusion in this situation. Lord knows, in my years of programming, I've been annoyed by my share of cryptic or misleading compiler messages. But it really is inevitable.

Consider example 2, in your case. You set a dialog string to be something long and strange, and then followed it with an unknown variable name (i.e. "Error"). The program correctly returned the line number where the error occured.

A human can look at that and instantly say, "Oh. That's not right. A string shouldn't look like that." But you seem to expect my compiler to have some sort of AI which can interpret that quote as not being what the user intends. That can't happen. Or maybe it can, but its far beyond what any compiler I know of does.

Example 3 is weird. Not sure why it's doing that.

And BoA's behavior in example 1 is correct. Line 17 is where the error is. That's where you're using the name of a procedure call in a mathematical expression, which is naughty. The code doesn't tell you where you made your mistake, but where the syntax goes bad. Different things. It's not possible to do the first one, only the second.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #21
Kelandon, I appreciate your confusion in this situation. Lord knows, in my years of programming, I've been annoyed by my share of cryptic or misleading compiler messages. But it really is inevitable.

Consider example 2, in your case. You set a dialog string to be something long and strange, and then followed it with an unknown variable name (i.e. "Error"). The program correctly returned the line number where the error occured.

A human can look at that and instantly say, "Oh. That's not right. A string shouldn't look like that." But you seem to expect my compiler to have some sort of AI which can interpret that quote as not being what the user intends. That can't happen. Or maybe it can, but its far beyond what any compiler I know of does.

Example 3 is weird. Not sure why it's doing that.

And BoA's behavior in example 1 is correct. Line 17 is where the error is. That's where you're using the name of a procedure call in a mathematical expression, which is naughty. The code doesn't tell you where you made your mistake, but where the syntax goes bad. Different things. It's not possible to do the first one, only the second.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
Nothing loads anymore in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #3
"Er, if you're waiting for Jeff, you may be waiting for some time."

Yep.

There are two possibilites for something like this. User error, in which case I don't have time to handhold every user over every thing.

Or a bug. And I usually don't suspect a bug until at least two people have identical problems and can E-mail me clear reports explaining the situation here. Which is not really the case here.

So GIFTSare2nice, good luck. And if you determine that you made an error, be sure to post what went wrong here so that others may benefit.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
Nothing loads anymore in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #3
"Er, if you're waiting for Jeff, you may be waiting for some time."

Yep.

There are two possibilites for something like this. User error, in which case I don't have time to handhold every user over every thing.

Or a bug. And I usually don't suspect a bug until at least two people have identical problems and can E-mail me clear reports explaining the situation here. Which is not really the case here.

So GIFTSare2nice, good luck. And if you determine that you made an error, be sure to post what went wrong here so that others may benefit.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
debug mode still doesn't work (for me) in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #5
Check the docs. There's a keyboard combination you need to use to turn on the keyboard shortcuts. } then, =, I think.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
debug mode still doesn't work (for me) in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #5
Check the docs. There's a keyboard combination you need to use to turn on the keyboard shortcuts. } then, =, I think.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #16
Excellent! I'll sort through the links and come up with some useful info for the site. Thanks!

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #16
Excellent! I'll sort through the links and come up with some useful info for the site. Thanks!

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
New Blades App With Debug Enabled Available in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #3
The fix will be merged into the next Blades upgrade. I just wanted to fire off a quick update to help testers out.

I don't care whether players cheat or not. That's why I make an editor. :)

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
New Blades App With Debug Enabled Available in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #3
The fix will be merged into the next Blades upgrade. I just wanted to fire off a quick update to help testers out.

I don't care whether players cheat or not. That's why I make an editor. :)

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum Editor
Board Administrator
Member # 1
Profile Homepage #11
Can anyone recommend a good freeware text editor for Windows which is compatible with Blades line-numbers-wise? I'll link to it in the workshop.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00
A thought about the line number "bug". in Blades of Avernum
Board Administrator
Member # 1
Profile Homepage #11
Can anyone recommend a good freeware text editor for Windows which is compatible with Blades line-numbers-wise? I'll link to it in the workshop.

- Jeff Vogel

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00

Pages