For people who don't know much about lua, and don't know how to add rewars or something like that.
When i make a script, i think in people that are new in this, i try to write script with the minimun configuration.
If i write ascript and i write in my post (Example: "Configure rewards creating or deleting the rewards table, or disabling the rewards").. noobs can write something bad and get a error in console..if that happens, the my post will have so much replies about errors or something..
SORRY IF I WRITE IN BAD ENGLISH ;D!
Well, it seems that every second post there is about misconfiguration or error in script. I don't get it, if wou wrote it for newbies then why are they having problems with it?
local creature = questCreatures[getCreatureName(target)]
local creature = questCreatures[getCreatureName(target):lower()]
["troll"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 10, raceName = "Trolls"},
[1] = {questStarted = 1510, questStorage = 65000, killsRequired = 10, raceName = "Trolls", rewards = {first = {enable = true, type = "exp", values = 200}, second = {enable = true, type = "money", values = 200}, third = {enable = false, type = nil, values = {nil, nil}}}},
<monster name="Troll" nameDescription="a troll" race="blood" experience="20" speed="126" manacost="290">
01:00 Michael [978]: report
01:00 Grizzly Adams: Current 1 Trolls killed, you need to kill 100.
I've killed many trolls but i can not finish task :/ npc says all time "1 trolls killed"
there are no errors in console..
creaturescripts/scrips/killinginthenameof.lua
Code:["troll"] = {questStarted = 1510, questStorage = 65000, creatureStorage = 15000, killsRequired = 10, raceName = "Trolls"},
npc/scripts/killinginthenameof.lua
Code:[1] = {questStarted = 1510, questStorage = 65000, killsRequired = 10, raceName = "Trolls", rewards = {first = {enable = true, type = "exp", values = 200}, second = {enable = true, type = "money", values = 200}, third = {enable = false, type = nil, values = {nil, nil}}}},
monster/Trolls/troll.xml
Code:<monster name="Troll" nameDescription="a troll" race="blood" experience="20" speed="126" manacost="290">
Is there any error? [tfs 0.3.6]
It's First task where npc should teleport me to boss so its when i said "report" after killed 300 Crocodiles
how can i fix problem?
thanks
[1] [dragon] kills: 350
[2] [ancient scarab] kills: 400
[3] [giant spider] kills: 450
[4] [hydra] kills: 500
[5] [sea serpent] kills: 550
[6] [dragon lord] kills: 600
[7] [serpent spawn] kills: 650
[8] [behemoth] kills: 700
[9] [hellfire] fighter kills: 750
[10][demon] kills: 800
[11][ghastly dragon] kills: 1600