• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

0.3 Quest System

aboout system.lua ... i dont have, am i supposed to download it or make it myself?
 
aboout system.lua ... i dont have, am i supposed to download it or make it myself?

system.lua was released with beta 1 ;> If you use beta 1, then it's already in your data forder\actions\scripts\quests
 
I have tested (advanced use) and dont work, appear errors:

Warning: [Event::loadScript] Can not load script. data/actions/scripts/quests/system.lua
data/actions/scripts/quests/system.lua:3: '}' expected (to close '{' at line 1) near '['
 
Lol, it's your fault. Fix this error, adding } in third line (to close list). Or post the whole script so I will close it for you :F
 
Now, enter data/actions/scripts/quests and open system.lua.
In specialQuests table add the following:
Code:
[actionid] = storageid
where actionid is actionid you have used above, and storageid is storage key you want to be used for your quest.

It....
Default lua:
Code:
local specialQuests = {
    [2001] = 30015 --Annihilator
}

local questsExperience = {
    [30015] = 10000
}
Elf says:
Add [youractionid] = yourstorageid.


I try:
Code:
local specialQuests = {
    [2001] = 30015 --Annihilator
    [2010] = 30020
}

local questsExperience = {
    [30015] = 10000
}
And get error :( .
 
Last edited:
@Binho®, you can't use actionid 2000, it's for standart quests ;) use 2002+
anyway, system.lua is bugged, and will be fixed in beta 2 :> so, all waiting )
 
@Binho®, you can't use actionid 2000, it's for standart quests ;) use 2002+
anyway, system.lua is bugged, and will be fixed in beta 2 :> so, all waiting )

Ohh.. sorry, i not use 2000, i used 2010.
Ye, ill go wait b2. Thanks Fare-Fray ;)
 
[..]
[/code]Elf says:
Add [youractionid] = yourstorageid.


I try:
Code:
local specialQuests = {
    [2001] = 30015 --Annihilator
    [2010] = 30020
}

local questsExperience = {
    [30015] = 10000
}
And get error :( .

Code:
local specialQuests = {
    [2001] = 30015 --Annihilator
    [2010] = 30020
}
should be
Code:
local specialQuests = {
    [2001] = 30015[b],[/b] --Annihilator
    [2010] = 30020
}
 
Why is that? I win a chest and inside this chest is the item o.o'

it's a bug in beta 1. Just wait 2 days more, and 24th December will be released the fixed version ;>
 
"Now, if the item is not a container, just save your map and run on server- reward will be a clone of the item you've used." I don't get that m8, sorry for me, but do I understood well? I use for example tree as "quest container" and I will get tree as reward?xD How can I make quest which gives crown armor from tree (for example, like rl BK Quest)?:D
 
If there is the Orc Fortress Quest, where you get 3 prizes, so 3 uniqueids. When you go to quests.xml, how could you put so any of the 3 uniqueIDs would appear first in the quest list?

Thanks
 
Damn can't make it working with beta 3 :/

edit: lol I forgot that gods cant take reward xD its working :p
 
Last edited:
nice it's work jjajaja XDDD if u check chest with gm surprise gm can't open chest XDDDDDDDDD i don't know if it is a bug but it's work thx :)
 
nice it's work jjajaja XDDD if u check chest with gm surprise gm can't open chest XDDDDDDDDD i don't know if it is a bug but it's work thx :)

It is not a bug. It's supposed to be like that. ;)
But if you want GM's/God's to get rewards, then you will have to remove 3 lines in quest.lua. ;)
 
Back
Top