Thread: Adding weapons
View Single Post
  #19  
Old 08-16-2005, 11:07 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Sweet, the peanut gallery is here for the party. Let's dance!

Quote:
Originally Posted by protagonist
I think it is quite obvious that what Calani provided was simply an example of using the triggeraction and addweapon commands in conjunction; a skeleton script, if you will.
It was insecure code without an explanation. See also: the part where I already explained this!

Quote:
As long as the author of the thread understands this, no harm can come of it.
Do you honestly suppose that without the resultant discussion, the author would have understood this? Calani didn't bother saying anything about it until I commented, after all.

Quote:
Besides, are you suggesting she post a fully functional, fully secure script for him/her? Now that would be breaking the rules.
Certainly not. If you bothered to pay attention, you'd have noticed I already noted that by posting all that code with no explanation that she was violating rule 2 as it is. If she's going to post some copy&paste code, she should at least make it secure. Otherwise, she's just doing more harm than good.

Quote:
Just about every programming guide there is starts you out with writing "Hello world" to the screen.
1) This is not a programming guide.
2) There is no "Hello world" involved.

Since we are now 0/2 in the "talking about related things" department, I must ask: relevance?

Quote:
The guide doesn't explain complex concepts like security, addresses, or ways that people hack your program until much later (if at all).
1) This is still not a programming guide.
2) Calani still didn't explain any concepts (simple or 'complex').

You do realize that to have a good analogy, you need to compare related things, right?

Quote:
Security and scripting are two different things. Learning scripting first is essential to understanding security.
Learning about script security is an integral part of learning how to script. If you cannot script something securely, you cannot script well.

Quote:
The author didn't ask for a secure script, just an example of weapons being added.
I believe you need to recheck your facts.
  • The author asked for the how, not for an example, and certainly not for the posting of a full script and violation of the forum rules.
  • The author asked for a weapon being added by a level npc. Calani supplied an (insecure) weapon triggeraction (and no way to connect it with a level NPC, even if she was interested in answering the author's question).
Reply With Quote