
Originally Posted by
xEnt
Ultimation and Korvacs are right. I simply said NPC's are not coding. Yes you will need to hardcode some sort of methods, for example a quest npc, that would need to be hardcoded, or parsed from txt that runs a method which does it. NPCs (monsters that you kill) is definitively not coding.
There is little script-like engines people make, that are written and parsed from txt according to how it was written and loaded in the language its self.
But i was referring to James as he always talks about how he "coded" npcs when im guessing it was just some txt spawns.
Fsockopen is also correct, an npc that needs to calculate player values + some luck (tc artisan for example) would usually a Boolean formula. But even that NPC wouldent be running the thread for updating that. Clicking him would hand it over to UpgradeWindow handler.
If it was a script-engine for example
Npc333
START=ShowUpgradeWindow();
Or something like that, youd be limited to what you can use, and wouldent even understand how the methods work behind it, ur simply telling something to run something that you have to use. The script-engine designer would be the "coder" and the person doing the .txt would be more of a scripter.
Even a script-engine with very C#-like syntax would be very limited to what it can do, it wouldn't be able to use constructors, keywords, library, would not be able to communicate with any of the classes unless it was a very advanced script-engine which i don't see the point of even making because if you need to use things like constructors/keywords and other library then you might as well just code in C# and do it in a class.
Sorry if i didn't explain that well, but most people should understand.