• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Having a hard time creating quest scripts/runes

Zaggyzigzig

plx itens menz
Joined
Aug 25, 2014
Messages
386
Reaction score
50
Location
Canada Ontario
I have been trying to create a quest rune so when you click it it compleates a quest for you, Example (Post Mans Quest) Just simply click a scroll/rune and it will complete it! Cant seem to figure it out,


Also I wonder if it is possible to make it so when a player creates his character he has quests already
pre-compleated

Working on TFS 10.77 Version 1.1
 
You can achieve this by adding the required storages on login or in a rune script as you metioned.
Code:
player:setStorageValue(storageID, storageNumber)

For example:
Code:
ORTS:
player:setStorageValue(Storage.InServiceofYalahar.Questline, 45)

NOT ORTS:
player:setStorageValue(12240, 45)
This should give access to all gates in Yalahar.
 
You can achieve this by adding the required storages on login or in a rune script as you metioned.
Code:
player:setStorageValue(storageID, storageNumber)

For example:
Code:
ORTS:
player:setStorageValue(Storage.InServiceofYalahar.Questline, 45)

NOT ORTS:
player:setStorageValue(12240, 45)
This should give access to all gates in Yalahar.
How did you check this line "45"? I want to make The new frontier unlocked how do i find the line?
 
I checked the storage from ORTS lib files.
All storage is saved/loaded from a specefic folder in data/libs on ORTS.
i still dont understand why "45"

and im adding it to login.lua in creaturescripts?

4da28aefc6218226584a6fb8abdfc9d6.png
 
Last edited:
Back
Top