New OT Project: OTServBR - Global (10x outdated with sprites 12.15)

Evil Puncker

I'd rather kiss a rattlesnake
Joined
May 30, 2009
Messages
5,431
Reaction score
1,562
Location
brazol
Hey, great release. I'm having a wierd problem, there is no loot dropping. All bodies are empty, not even a message "loot: nothing". Any tricks?
if you are using the latest version and think it is a datapack issue, post a new issue here
 

DaveNorth

New Member
Joined
Jan 8, 2019
Messages
7
Reaction score
1
Is there a way to use an earlier version? Sorry for noob questions. New to OT due to the downfall of real tibia.
 

gpedro

web developer
Joined
Dec 5, 2009
Messages
117
Reaction score
37
Location
Brazil
anybody else has this bug¿
when i change floor on stairs or by teleport i lose my outfit and the char got invisible effect instead of an outfit
it happens to me on tibia 1011 and 12
Just disable /ghost mode. LMAO!!

Hey, great release. I'm having a wierd problem, there is no loot dropping. All bodies are empty, not even a message "loot: nothing". Any tricks?
If you are god, disable notgenerateloot flag on xml/groups.xml


Is there a way to use an earlier version? Sorry for noob questions. New to OT due to the downfall of real tibia.
Just download full source on github and compiled version on appveyor. setup and run!
 

DaveNorth

New Member
Joined
Jan 8, 2019
Messages
7
Reaction score
1
If you are god, disable notgenerateloot flag on xml/groups.xml
Hm..tried but no daylight. I'm weighing in the possibility of me being a total jackass. How does autoloot work? The server says the characters are storing items somewhere, but I have no idea where that might be. There are no messages in the lootchannel and no items in the backpacks nor depot.
function onSay(player, words, param)
local lootlist, sum = player:getAutoLootList(), 1
if lootlist then
player:registerEvent('autoloot')
local title = "Autoloot Helper!"
local message = "You are currently looting the following items:"
local window = ModalWindow(1000, title, message)

how do I execute this?
 

dezon

New Member
Joined
Oct 18, 2008
Messages
8
Reaction score
5
Hello,

I would like to know, if there is a way to give all the important quests such as Yalahar, Farmine, Cults of Tibia and Etc, to each new player.

I know that can be possible by using the login.lua but I really don't know how to do, if someone could help me!
 

DaveNorth

New Member
Joined
Jan 8, 2019
Messages
7
Reaction score
1
Hello,

I would like to know, if there is a way to give all the important quests such as Yalahar, Farmine, Cults of Tibia and Etc, to each new player.

I know that can be possible by using the login.lua but I really don't know how to do, if someone could help me!
Try thid

You find all the quest storage IDs in quests.xml
Ive had to add every single mission so say you want to autofinish wrath of the emperor up until the last mission, you have to put the questID and mission number for each part of the quest.

example:

player: getStorageValue(Storage.WrathoftheEmperor.Questline, 1)
player: getStorageValue(Storage.WrathoftheEmperor.Mission01, 3) <-- 3 is the endvalue, 1 is the startvalue, this is because the mission is divided into parts of completion.

Hope it works for you
 

dezon

New Member
Joined
Oct 18, 2008
Messages
8
Reaction score
5
Try thid

You find all the quest storage IDs in quests.xml
Ive had to add every single mission so say you want to autofinish wrath of the emperor up until the last mission, you have to put the questID and mission number for each part of the quest.

example:

player: getStorageValue(Storage.WrathoftheEmperor.Questline, 1)
player: getStorageValue(Storage.WrathoftheEmperor.Mission01, 3) <-- 3 is the endvalue, 1 is the startvalue, this is because the mission is divided into parts of completion.

Hope it works for you
Thank you for your reply!

But, in your release, I can't found the quests.xml, I found quests.lua that hasn't the info you told.

Can you help me please?
I'm using your release!
 

dezon

New Member
Joined
Oct 18, 2008
Messages
8
Reaction score
5
Thank you for your reply!

But, in your release, I can't found the quests.xml, I found quests.lua that hasn't the info you told.

Can you help me please?
I'm using your release!
Well, I got it!

So, I decided to share with all, in creaturescripts\others\login.lua before the:

Lua:
     return true
end
I added this code:

Lua:
    -- TESTE PARA ADD QUESTS AO PLAYER
    player:setStorageValue(Storage.ExplorerSociety.QuestLine, 61)
    player:setStorageValue(Storage.ExplorerSociety.CalassaQuest, 2)
    player:setStorageValue(Storage.spiritHuntersQuest.missionUm, 6)
    player:setStorageValue(Storage.SpikeTaskQuest.QuestLine, 1)
    player:setStorageValue(Storage.SpikeTaskQuest.Gnomilly, 100)
    player:setStorageValue(Storage.SpikeTaskQuest.Gnombold.Points, 100)
    player:setStorageValue(Storage.SpikeTaskQuest.Gnomargery.Points, 100)
    player:setStorageValue(Storage.FathersBurdenQuest.QuestLog, 1)
    player:setStorageValue(Storage.FathersBurdenQuest.Status, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Sinew, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Wood, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Cloth, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Silk, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Crystal, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Root, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Iron, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Scale, 2)
    player:setStorageValue(Storage.BigfootBurden.QuestLine, 23)
    player:setStorageValue(Storage.BigfootBurden.QuestLineComplete, 2)
    player:setStorageValue(Storage.BigfootBurden.Rank, 999999)
    player:setStorageValue(Storage.BigfootBurden.RepairedCrystalCount, 5)
    player:setStorageValue(Storage.BigfootBurden.ExtractedCount, 7)
    player:setStorageValue(Storage.BigfootBurden.ExterminatedCount, 10)
    player:setStorageValue(Storage.BigfootBurden.MushroomCount, 3)
    player:setStorageValue(Storage.BigfootBurden.MatchmakerStatus, 1)
    player:setStorageValue(Storage.BigfootBurden.GolemCount, 4)
    player:setStorageValue(Storage.BigfootBurden.SporeCount, 4)
    player:setStorageValue(Storage.BigfootBurden.GrindstoneStatus, 2)
    player:setStorageValue(Storage.BigfootBurden.Warzone1Access, 2)
    player:setStorageValue(Storage.BigfootBurden.Warzone2Access, 2)
    player:setStorageValue(Storage.BigfootBurden.Warzone3Access, 2)
    player:setStorageValue(Storage.BarbarianTest.Questline, 1)
    player:setStorageValue(Storage.BarbarianTest.Mission01, 3)
    player:setStorageValue(Storage.BarbarianTest.Mission02, 3)
    player:setStorageValue(Storage.BarbarianTest.Mission03, 3)
    player:setStorageValue(Storage.BarbarianTest.Mission03, 3)
    
    player:setStorageValue(Storage.ForgottenKnowledge.Tomes, 1)
    player:setStorageValue(Storage.ForgottenKnowledge.LadyTenebrisKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.LloydKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.ThornKnightKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.DragonkingKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.HorrorKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.TimeGuardianKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.LastLoreKilled, 1522018605)
    
    player:setStorageValue(Storage.TheNewFrontier.Questline, 1)
    player:setStorageValue(Storage.TheNewFrontier.Mission02, 6)
    player:setStorageValue(Storage.TheNewFrontier.Mission03, 3)
    player:setStorageValue(Storage.TheNewFrontier.Mission04, 2)
    player:setStorageValue(Storage.TheNewFrontier.Mission05, 7)
    player:setStorageValue(Storage.TheNewFrontier.Mission06, 3)
    player:setStorageValue(Storage.TheNewFrontier.Mission07, 3)
    player:setStorageValue(Storage.TheNewFrontier.Mission08, 2)
    player:setStorageValue(Storage.TheNewFrontier.Mission09, 3)
    player:setStorageValue(Storage.TheNewFrontier.Mission10, 1)
    player:setStorageValue(Storage.TheNewFrontier.TomeofKnowledge, 12)
    
    player:setStorageValue(Storage.WrathoftheEmperor.Questline, 1)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission02, 3)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission03, 3)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission04, 3)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission05, 3)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission06, 4)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission07, 6)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission08, 2)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission09, 2)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission10, 6)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission11, 2)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission12, 1)
    
    player:setStorageValue(Storage.ThreatenedDreams.Start, 1)   
    player:setStorageValue(Storage.ThreatenedDreams.TroubledMission01, 4)
    
    player:setStorageValue(Storage.InServiceofYalahar.Questline, 1)
    player:setStorageValue(Storage.InServiceofYalahar.Mission01, 6)
    player:setStorageValue(Storage.InServiceofYalahar.Mission02, 8)
    player:setStorageValue(Storage.InServiceofYalahar.Mission03, 6)
    player:setStorageValue(Storage.InServiceofYalahar.Mission04, 6)
    player:setStorageValue(Storage.InServiceofYalahar.Mission05, 8)
    player:setStorageValue(Storage.InServiceofYalahar.Mission06, 5)
    player:setStorageValue(Storage.InServiceofYalahar.Mission07, 5)
    player:setStorageValue(Storage.InServiceofYalahar.Mission08, 4)
    player:setStorageValue(Storage.InServiceofYalahar.Mission09, 2)
    player:setStorageValue(Storage.InServiceofYalahar.Mission10, 5)
    
    player:setStorageValue(Storage.Oramond.QuestLine, 1)
    player:setStorageValue(Storage.Oramond.MissionToTakeRoots, 3000)
    
    player:setStorageValue(Storage.CultsOfTibia.Questline, 1)
    player:setStorageValue(Storage.CultsOfTibia.Minotaurs.jamesfrancisTask, 50)
    player:setStorageValue(Storage.CultsOfTibia.Minotaurs.Mission, 5)
    player:setStorageValue(Storage.CultsOfTibia.MotA.Mission, 15)
    player:setStorageValue(Storage.CultsOfTibia.Barkless.Mission, 7)
    player:setStorageValue(Storage.CultsOfTibia.Misguided.Mission, 5)
    player:setStorageValue(Storage.CultsOfTibia.Orcs.Mission, 3)
    player:setStorageValue(Storage.CultsOfTibia.Life.Mission, 10)
    player:setStorageValue(Storage.CultsOfTibia.Humans.Mission, 3)
 

DaveNorth

New Member
Joined
Jan 8, 2019
Messages
7
Reaction score
1
Well, I got it!

So, I decided to share with all, in creaturescripts\others\login.lua before the:

Lua:
     return true
end
I added this code:

Lua:
    -- TESTE PARA ADD QUESTS AO PLAYER
    player:setStorageValue(Storage.ExplorerSociety.QuestLine, 61)
    player:setStorageValue(Storage.ExplorerSociety.CalassaQuest, 2)
    player:setStorageValue(Storage.spiritHuntersQuest.missionUm, 6)
    player:setStorageValue(Storage.SpikeTaskQuest.QuestLine, 1)
    player:setStorageValue(Storage.SpikeTaskQuest.Gnomilly, 100)
    player:setStorageValue(Storage.SpikeTaskQuest.Gnombold.Points, 100)
    player:setStorageValue(Storage.SpikeTaskQuest.Gnomargery.Points, 100)
    player:setStorageValue(Storage.FathersBurdenQuest.QuestLog, 1)
    player:setStorageValue(Storage.FathersBurdenQuest.Status, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Sinew, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Wood, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Cloth, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Silk, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Crystal, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Root, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Iron, 2)
    player:setStorageValue(Storage.FathersBurdenQuest.Scale, 2)
    player:setStorageValue(Storage.BigfootBurden.QuestLine, 23)
    player:setStorageValue(Storage.BigfootBurden.QuestLineComplete, 2)
    player:setStorageValue(Storage.BigfootBurden.Rank, 999999)
    player:setStorageValue(Storage.BigfootBurden.RepairedCrystalCount, 5)
    player:setStorageValue(Storage.BigfootBurden.ExtractedCount, 7)
    player:setStorageValue(Storage.BigfootBurden.ExterminatedCount, 10)
    player:setStorageValue(Storage.BigfootBurden.MushroomCount, 3)
    player:setStorageValue(Storage.BigfootBurden.MatchmakerStatus, 1)
    player:setStorageValue(Storage.BigfootBurden.GolemCount, 4)
    player:setStorageValue(Storage.BigfootBurden.SporeCount, 4)
    player:setStorageValue(Storage.BigfootBurden.GrindstoneStatus, 2)
    player:setStorageValue(Storage.BigfootBurden.Warzone1Access, 2)
    player:setStorageValue(Storage.BigfootBurden.Warzone2Access, 2)
    player:setStorageValue(Storage.BigfootBurden.Warzone3Access, 2)
    player:setStorageValue(Storage.BarbarianTest.Questline, 1)
    player:setStorageValue(Storage.BarbarianTest.Mission01, 3)
    player:setStorageValue(Storage.BarbarianTest.Mission02, 3)
    player:setStorageValue(Storage.BarbarianTest.Mission03, 3)
    player:setStorageValue(Storage.BarbarianTest.Mission03, 3)
   
    player:setStorageValue(Storage.ForgottenKnowledge.Tomes, 1)
    player:setStorageValue(Storage.ForgottenKnowledge.LadyTenebrisKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.LloydKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.ThornKnightKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.DragonkingKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.HorrorKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.TimeGuardianKilled, 1522018605)
    player:setStorageValue(Storage.ForgottenKnowledge.LastLoreKilled, 1522018605)
   
    player:setStorageValue(Storage.TheNewFrontier.Questline, 1)
    player:setStorageValue(Storage.TheNewFrontier.Mission02, 6)
    player:setStorageValue(Storage.TheNewFrontier.Mission03, 3)
    player:setStorageValue(Storage.TheNewFrontier.Mission04, 2)
    player:setStorageValue(Storage.TheNewFrontier.Mission05, 7)
    player:setStorageValue(Storage.TheNewFrontier.Mission06, 3)
    player:setStorageValue(Storage.TheNewFrontier.Mission07, 3)
    player:setStorageValue(Storage.TheNewFrontier.Mission08, 2)
    player:setStorageValue(Storage.TheNewFrontier.Mission09, 3)
    player:setStorageValue(Storage.TheNewFrontier.Mission10, 1)
    player:setStorageValue(Storage.TheNewFrontier.TomeofKnowledge, 12)
   
    player:setStorageValue(Storage.WrathoftheEmperor.Questline, 1)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission02, 3)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission03, 3)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission04, 3)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission05, 3)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission06, 4)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission07, 6)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission08, 2)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission09, 2)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission10, 6)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission11, 2)
    player:setStorageValue(Storage.WrathoftheEmperor.Mission12, 1)
   
    player:setStorageValue(Storage.ThreatenedDreams.Start, 1)  
    player:setStorageValue(Storage.ThreatenedDreams.TroubledMission01, 4)
   
    player:setStorageValue(Storage.InServiceofYalahar.Questline, 1)
    player:setStorageValue(Storage.InServiceofYalahar.Mission01, 6)
    player:setStorageValue(Storage.InServiceofYalahar.Mission02, 8)
    player:setStorageValue(Storage.InServiceofYalahar.Mission03, 6)
    player:setStorageValue(Storage.InServiceofYalahar.Mission04, 6)
    player:setStorageValue(Storage.InServiceofYalahar.Mission05, 8)
    player:setStorageValue(Storage.InServiceofYalahar.Mission06, 5)
    player:setStorageValue(Storage.InServiceofYalahar.Mission07, 5)
    player:setStorageValue(Storage.InServiceofYalahar.Mission08, 4)
    player:setStorageValue(Storage.InServiceofYalahar.Mission09, 2)
    player:setStorageValue(Storage.InServiceofYalahar.Mission10, 5)
   
    player:setStorageValue(Storage.Oramond.QuestLine, 1)
    player:setStorageValue(Storage.Oramond.MissionToTakeRoots, 3000)
   
    player:setStorageValue(Storage.CultsOfTibia.Questline, 1)
    player:setStorageValue(Storage.CultsOfTibia.Minotaurs.jamesfrancisTask, 50)
    player:setStorageValue(Storage.CultsOfTibia.Minotaurs.Mission, 5)
    player:setStorageValue(Storage.CultsOfTibia.MotA.Mission, 15)
    player:setStorageValue(Storage.CultsOfTibia.Barkless.Mission, 7)
    player:setStorageValue(Storage.CultsOfTibia.Misguided.Mission, 5)
    player:setStorageValue(Storage.CultsOfTibia.Orcs.Mission, 3)
    player:setStorageValue(Storage.CultsOfTibia.Life.Mission, 10)
    player:setStorageValue(Storage.CultsOfTibia.Humans.Mission, 3)
Not My release 😁 glad it worked and thanks for the codes!!
 

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,494
Reaction score
209
Location
Chile
Just disable /ghost mode. LMAO!!



If you are god, disable notgenerateloot flag on xml/groups.xml



Just download full source on github and compiled version on appveyor. setup and run!
uim not using ghost mode bro
 

gpedro

web developer
Joined
Dec 5, 2009
Messages
117
Reaction score
37
Location
Brazil
uim not using ghost mode bro
you are using ghost mode!!!
Listen, if you are god, after login you automatically start in ghost mode. When you set the outfit, only you and other gods can see your outfit but you still on ghost mode. This is not a bug. It's just ghost mode!

Try this:
  • log in (you will start with ghost mode)
  • /ghost (to disable)
  • change outfit
  • use stairs
 
Top