Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Bugs : Bugs regarding weapon scripting
New Topic New Poll Post Reply
Poster Message
Zaratustra
Level: Delver
Rank Points: 55
Registered: 01-29-2004
IP: Logged

File: Little Shop Of Wonders.drh (3.3 KB)
Downloaded 7 times.
License: Public Domain
icon Bugs regarding weapon scripting (0)  
Custom weapons with a script that has an 'End' in it won't work once you leave the room you got them from.

In addition, dropped custom weapons behave oddly. Check the annexed hold for details.

Also, I can't figure for the life of me how to make transparent custom graphics on this.

[Last edited by Zaratustra at 09-13-2008 07:48 AM]
09-13-2008 at 07:48 AM
View Profile Send Private Message to User Visit Homepage Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 4472
Registered: 02-04-2003
IP: Logged
icon Re: Bugs regarding weapon scripting (0)  
quote:
Zaratustra wrote:
Custom weapons with a script that has an 'End' in it won't work once you leave the room you got them from.
This doesn't sound like a bug...what would you expect?
quote:
In addition, dropped custom weapons behave oddly. Check the annexed hold for details.
Mmm...okay. Would you please give us a rundown of the issue here, though?
quote:
Also, I can't figure for the life of me how to make transparent custom graphics on this.
The transparent color key is different in this game: (255,0,255).

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
09-13-2008 at 07:50 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Zaratustra
Level: Delver
Rank Points: 55
Registered: 01-29-2004
IP: Logged
icon Re: Bugs regarding weapon scripting (+1)  
quote:
mrimer wrote:
quote:
Zaratustra wrote:
Custom weapons with a script that has an 'End' in it won't work once you leave the room you got them from.
This doesn't sound like a bug...what would you expect?


Uh, for the weapon to keep working as long as you have it in your possession? Am I being unreasonable?

quote:
mrimer wrote:
quote:
Zaratustra wrote:
In addition, dropped custom weapons behave oddly. Check the annexed hold for details.
Mmm...okay. Would you please give us a rundown of the issue here, though?


Ah, I've been able to get more detail on it. When you swap one of the aforementioned nerfed weapons for another one, it leaves behind a buggy chest.

To simulate the problem:

1) Go to the weapon room (1N1E), touch the northwest wubba.

2) leave the room, enter. The sword becomes +0 ATK and has no abilities.

3) Touch the southwest wubba, leaving a chest.

4) Leave without hitting any roaches and enter again. The chest vanishes.

5) Touch the southeast wubba, leaving another chest.

6) Leave and enter again. The chest vanishes and a ghost Beethro appears.


09-13-2008 at 09:06 AM
View Profile Send Private Message to User Visit Homepage Show all user's posts Quote Reply
eytanz
Level: Smitemaster
Avatar
Rank Points: 2708
Registered: 02-05-2003
IP: Logged
icon Re: Bugs regarding weapon scripting (+1)  
quote:
Zaratustra wrote:
quote:
mrimer wrote:
quote:
Zaratustra wrote:
Custom weapons with a script that has an 'End' in it won't work once you leave the room you got them from.
This doesn't sound like a bug...what would you expect?


Uh, for the weapon to keep working as long as you have it in your possession? Am I being unreasonable?


A bit, yes, as it is the job of the 'end' command to make a script stop working. Why would you use the 'end' command if you don't want the script to end?


____________________________
I got my avatar back! Yay!
09-13-2008 at 01:58 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Sillyman
Level: Smiter
Avatar
Rank Points: 337
Registered: 09-08-2006
IP: Logged
icon Re: Bugs regarding weapon scripting (0)  
Feature request: "Stop". It has the effect of going to the last line of the script (that is, making the script stop and wait for special triggers or reentering the room)

____________________________
Who, me?
FNORD
09-13-2008 at 06:58 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 4472
Registered: 02-04-2003
IP: Logged
icon Re: Bugs regarding weapon scripting (0)  
To make your custom weapons work properly:
Instead of "End", place a Label at the end of the script, and replace the End with "Go to <label name>".
quote:
Zaratustra wrote:
4) Leave without hitting any roaches and enter again. The chest vanishes.

5) Touch the southeast wubba, leaving another chest.

6) Leave and enter again. The chest vanishes and a ghost Beethro appears.
This was a bug. I've fixed it for the next build.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
09-13-2008 at 07:16 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Bugs : Bugs regarding weapon scripting
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.