E
Evil Puncker
Guest
nice script, what about a required level to do the tasks? would be nice
nice script, what about a required level to do the tasks? would be nice
[1] = {level = 50, questStarted = 1510, questStorage = 65000, killsRequired = 100, raceName = "Trolls", rewards = {{enable = true, type = "exp", values = 200}, {enable = true, type = "money", values = 200}}},
Rank Gained Points Reward
Huntsman 5 5000 exp, Ability to sell Cyclops Trophies and Minotaur Trophies (500gp each) and ability to sell some Creature Products.
Ranger 10 8000 exp, Travel with Lorek to Banuta, Chor and near the mountain pass to Darama.
Big Game Hunter 20 10000 exp, Ability to sell Deer Trophies, Lion Trophies and Wolf Trophies (3000gp each) and Bonebeast Trophies (6000 gp).
Trophy Hunter 30 15000 exp, Demon Backpack, Ability to sell Demon Trophies (40,000 gp) Behemoth Trophies (20,000 gp), Dragon Lord Trophies (10,000 gp), Ability to buy Demon Backpack (1,000gp).
Elite Hunter 50 30000 exp, Ability to start Special Tasks from Grizzly Adams (if the requirements are met).
I can't summon my NPC, the console show a lot of erros , how can a lua script ({
[1] = {questStarted.....) start only with that "{"? Please help
local tasks =
{
local tasks =
{
[1] = {questStarted = 1510, questStorage = 65000, killsRequired = 100, raceName = "Trolls", rewards = {{enable = true, type = "exp", values = 200}, {enable = true, type = "money", values = 200}}},
{
[1] = {questStarted = 1510, questStorage = 65000, killsRequired = 100, raceName = "Trolls", rewards = {{enable = true, type = "exp", values = 200}, {enable = true, type = "money", values = 200}}},
add this in first line of npc:
Lua:local tasks = {
Will solve console errors.
@darkhaos
The npc is missing:
Lua:local tasks = { [1] = {questStarted = 1510, questStorage = 65000, killsRequired = 100, raceName = "Trolls", rewards = {{enable = true, type = "exp", values = 200}, {enable = true, type = "money", values = 200}}},
instead:
Lua:{ [1] = {questStarted = 1510, questStorage = 65000, killsRequired = 100, raceName = "Trolls", rewards = {{enable = true, type = "exp", values = 200}, {enable = true, type = "money", values = 200}}},
Oh, thanks very much, i got it!
if i try to change the monsters/sequence will it bug? i tried in another scripts and never be done
another question: If i change the name [1] to [troll] and change the msg of the npc, will be this way: NPC: Hello 'playername'. Player: troll NPC: You started troll task.
Right? [2]
local tasks =
{
["troll"] = {....
}
darkhaos i know, i already tried another times and i dont got it... idk if with this script will be done, i'll try
I will test it.
There's a last thing that i want to request:
Is possible to change "task 1" to "troll" ?
Reason: If player say 'task' will apear a windows if some1 attack player can die easy.