Page 1 of 1

GAME/EDITING: Critical error if weapon with runes

Posted: Mon Jan 26, 2004 6:39 pm
by beowuuf
At what stage is the support for weapons being allowed runes?
Twice I have tried to associate runes to a weapon (ok, all the runes to one weapon) and twice I have got this critical error:

*** CRITICAL ERROR (line 643, item reference 1040 - WEAPON_TORCH): Found additional parameter "14426128" on line number 643. Expecting only 6 parameters. Line begins with "1040 WEAPON_TORCH 10 6 0 NORTH CHARGE=(100) RUNES=(111111,111111,111111,111111)"

The first time the number was different, but that's the general idea...

Posted: Mon Jan 26, 2004 7:13 pm
by Gambit37
You probably have a space instead of a tab.

If it's not that, then I suspect RTC can't handle an object with all the runes assigned to it. It certainly works with one or two runes assigned as I've tested it with no problems.

Posted: Mon Jan 26, 2004 7:18 pm
by beowuuf
Done through George's editor
I also tried with only one row of power, plus not sure why it would complain since you have to declare 1 or 0 for each rune position, right?

Posted: Wed Jan 28, 2004 11:46 am
by PicturesInTheDark
I probably missed some thread here ... what exactly are the runes for when allowed on weapons? What is their function and how is it used by the player?

Regards, PitD

Posted: Wed Jan 28, 2004 12:36 pm
by Gambit37
Don't you remember our long discussion about spells, about two years ago? ;)

Runes are purely for the new RTC rules on magic using the spell book. One of the suggestions was to allow other items besides scrolls to carry runes. So you might have to find a fire sword to learn the FUL rune, before you can inscribe it in your spell book... :)

That's why I made the suggestion for extending the description of items so that you can which runes an item carries, by holding it up to your eye.

Of course, it can be more subtle than that -- maybe just by designing new images for some weapons that have the rune on them but no actual description...

Posted: Wed Jan 28, 2004 12:39 pm
by PicturesInTheDark
I remember some ice spell proposal... *g* yes, but since when did the runes appear in the code? Was that a hidden feature existing already? Hmm, need to eat more garlic I think :wink:

Regards, PitD

Posted: Wed Jan 28, 2004 12:41 pm
by Gambit37
Not sure, think it was v0.12 that introduced the spellbook/runes so I imagine it's been possible since then! (August 2001!!!)

v0.16 was the first one to allow full editing, so I imagine this was the first time we could try it for ourselves. That was February 2002.

That's given me an idea for a sticky post. An RTC chronology. I'm on to it as we speak! :-)

Posted: Wed Jan 28, 2004 12:52 pm
by beowuuf
The prupose of runes on objects other than scrolls so you could have a sword that could give you not only the power to fireball indirectly (not a fury, but one that gave you say on ful ir), and also it seemed logical that if there were runes on items other than scrolls, you shoudl also be able to transcribe them into the spell book

Posted: Wed Jan 28, 2004 1:34 pm
by PicturesInTheDark
I see the point, thanks both of you for the quick answers. So that means until you look at the item (weapon) or use it onto the spell book, you won't be able to use the rune, right? Is that ability restricted to weapons or can any old item be used for it?

Regards, PitD

Posted: Wed Jan 28, 2004 1:40 pm
by PicturesInTheDark
Thanks for the sticky post regarding RTC history, Gambit. Maybe links to code examples (already existant here) for some of the improvements would enhance it? I'm asking since it's locked so I cannot add something to it if I find it...

Regards, PitD

Posted: Wed Jan 28, 2004 1:42 pm
by Gambit37
Any item can have runes attached to it, but to use them they must all be dropped into the spellbook to inscribe the rune... There's a sample of this in my dungeon (the one that I uploaded but doesn't currently work!)

I'll work on code examples another time, I don't want to confuse the history post with other stuff. It's just a snapshot of the basic changes between each version.

Posted: Wed Jan 28, 2004 1:59 pm
by beowuuf
i thought you had the runes holding the object also?
Just the spellbook was easier than carrying aroudn a scroll of fireball...

Posted: Wed Jan 28, 2004 2:00 pm
by PicturesInTheDark
Yummy option. But very tricky if you keep forgetting what's possible already in RTC like I did :lol:

Regards, PitD

Posted: Wed Jan 28, 2004 2:03 pm
by Gambit37
@Beo: No, I believe that idea was ditched. AFAIK you have to inscribe the runes before they can be used.

Will test it out to be sure though.

Posted: Wed Jan 28, 2004 4:44 pm
by WolfHeart
[quote="PicturesInTheDark"]Thanks for the sticky post regarding RTC history, Gambit. Maybe links to code examples (already existant here)

Are you saying there is and area here that contains code examples for RTC??

Posted: Wed Jan 28, 2004 4:50 pm
by Gambit37
To quote someone, you must have a closing end tag: [/quote] But it's not realy necessary when the posts are so close together. Juts use @Person's name to refer to their posts.

There are some examples of code dotted around this forum, mostly posted by myself or Andyboy. I think that's what PitD means.

Posted: Wed Feb 04, 2004 10:21 am
by PicturesInTheDark
Wolfheart: Unfortunately no, but scattered throughout the various threads some people like Gambit or Andyboy thankfully have left some examples. My question was if those could be unified by having one sticky post including the links and maybe 2 or 3 words of description. Seems not to have found many supporters so far ;)

Regards, PitD

Posted: Wed Sep 08, 2004 10:29 am
by George Gilbert
Just noticed this post - any chance that you can still repeat this error beowuuf?

If so, can you send me the txt file and I'll sort it out for you.

Posted: Wed Sep 08, 2004 1:22 pm
by beowuuf
ok, i'll try and recreate it

Posted: Thu Sep 09, 2004 9:53 am
by George Gilbert
Fixed for V0.29