• 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!

AAC ZNOTE ACC - start position old rookgaard

thomson9292

New Member
Joined
Feb 28, 2017
Messages
97
Solutions
1
Reaction score
2
How can I set starting position to old rookgaard (in temple with cipfriend). 6,30,32 all those towns are the same Rookgaard Tutorial Island.
I use tfs 1.3
 
Solution
I see there is no default items for no vocation character. Should I create array [0] in firstitems.lua and put item it there?

edit.
Adding it to array [0] doesn't work for me.

edit2. maybe I can't change the amount of items in array? Rookgaard chracter has less items than main.

What TFS are you using?

firstitems.lua
Code:
--// Add IDs to this array.
local firstItems = {1987}

function onLogin(player)
   if player:getLastLoginSaved() == 0 then
      for i = 1, #firstItems do
         player:addItem(firstItems[i], 1)
      end
   end
   return true
end
Rme shows me that rookgaard positions are correct but new character still starts on tutorial island. I think there is still sth I need to unlock.

HOpBLss.jpg
 
I see there is no default items for no vocation character. Should I create array [0] in firstitems.lua and put item it there?

edit.
Adding it to array [0] doesn't work for me.

edit2. maybe I can't change the amount of items in array? Rookgaard chracter has less items than main.
 
Last edited:
I see there is no default items for no vocation character. Should I create array [0] in firstitems.lua and put item it there?

edit.
Adding it to array [0] doesn't work for me.

edit2. maybe I can't change the amount of items in array? Rookgaard chracter has less items than main.

What TFS are you using?

firstitems.lua
Code:
--// Add IDs to this array.
local firstItems = {1987}

function onLogin(player)
   if player:getLastLoginSaved() == 0 then
      for i = 1, #firstItems do
         player:addItem(firstItems[i], 1)
      end
   end
   return true
end
 
Solution
Back
Top