Felipe93
Ghost Member
Hello
I was cheking promotion in my server it's not working.
I took promotion and the npc removed my money and said this
then i re log in again click on my character to see if it's already promoted and not it's the same vocation
so i spoke with the npc again and he said that im already promoted
Must add that npc wont sell npc if im not premium or below level 20 so it seems to be working
this is my lib/core/storages.lua file
my tibia.lua (custom module)
that is handled via npcsystem.lua
Please help !
I was cheking promotion in my server it's not working.
I took promotion and the npc removed my money and said this
Code:
22:59 Blex [20]: hail king
22:59 Stutch: HAIL TO THE KING!
22:59 King Tibianus: I greet there, my loyal subject.
22:59 Harsky: HAIL TO THE KING!
22:59 Blex [20]: promotion
22:59 King Tibianus: Do you want to be promoted in your vocation for 20000 gold?
22:59 Blex [20]: yes
22:59 King Tibianus: Congratulations! You are now promoted.
then i re log in again click on my character to see if it's already promoted and not it's the same vocation
Code:
23:00 You see yourself. You are a sorcerer.
Code:
3:01 Blex [20]: hail king
23:01 Stutch: HAIL TO THE KING!
23:01 King Tibianus: I greet there, my loyal subject.
23:01 Harsky: HAIL TO THE KING!
23:01 Blex [20]: promotion
23:01 King Tibianus: Do you want to be promoted in your vocation for 20000 gold?
23:01 Blex [20]: yes
23:01 King Tibianus: You are already promoted!
this is my lib/core/storages.lua file
Code:
--[[
Reserved storage ranges:
- 300000 to 301000+ reserved for achievements
- 20000 to 21000+ reserved for achievement progress
- 10000000 to 20000000 reserved for outfits and mounts on source
]]--
PlayerStorageKeys = {
annihilatorReward = 30015,
promotion = 30018,
delayLargeSeaShell = 30019,
firstRod = 30020,
delayWallMirror = 30021,
madSheepSummon = 30023,
crateUsable = 30024,
afflictedOutfit = 30026,
afflictedPlagueMask = 30027,
afflictedPlagueBell = 30028,
nailCaseUseCount = 30031,
swampDigging = 30032,
insectoidCell = 30033,
vortexTamer = 30034,
mutatedPumpkin = 30035,
achievementsBase = 300000,
achievementsCounter = 20000,
}
GlobalStorageKeys = {
}
my tibia.lua (custom module)
Code:
STORAGE_PROMOTION = 30018
Please help !