perfect but you forget add line
sendMagicEffect(CONST_ME_POFF) whem player got logout but is ok THX
perfect but you forget add line
perfect but you forget add line
sendMagicEffect(CONST_ME_POFF) whem player got logout but is ok THX
Fixed both , thanks for reporting .View attachment 41279View attachment 41280
new bug look life stripe character and console
after using exura, exura gran d.z.m. what you use life fluid the same but this bug not existing
always
just some times
you make new exe?? if yes pleaseFixed both , thanks for reporting .
Can you explain what kind of errors?command "ghost" for gm have errors
Set 'type' 6 on accounts and 'group_id' 3 on playersi can't use / m / i commands
Add this to login.luahow do this:
player after finish premium account
1) first login in temple own city
2) got outfit available only for free account (automatic self change)
??
-- Outfits
if not player:isPremium() then
if player:getSex() == PLAYERSEX_FEMALE then
local outfit = player:getOutfit()
if outfit.lookType > 139 then
player:setOutfit({lookType = 136, lookHead = 78, lookBody = 106, lookLegs = 58, lookFeet = 95})
end
else
local outfit = player:getOutfit()
if outfit.lookType > 131 then
player:setOutfit({lookType = 128, lookHead = 78, lookBody = 106, lookLegs = 58, lookFeet = 95})
end
end
end
-- Premium system
if player:isPremium() then
player:setStorageValue(43434, 1)
elseif player:getStorageValue(43434) == 1 then
player:setStorageValue(43434, 0)
player:teleportTo({x = 160, y = 54, z = 7})
player:setTown(Town("Motherland"))
player:sendTextMessage(MESSAGE_INFO_DESCR, "Your premium time has expired.")
end
-- Premium system
local rookTownId = 6
local thaisTownId = 2
if player:isPremium() and player:getStorageValue(43434) ~= 1 then
player:setStorageValue(43434, 1)
elseif not player:isPremium() and player:getStorageValue(43434) == 1 then
if player:getVocation():getId() == 0 then
player:setTown(Town(rookTownId))
else
player:setTown(Town(thaisTownId))
end
player:sendTextMessage(22, "Your premium time has expired.")
player:setStorageValue(43434, -1)
player:teleportTo(player:getTown():getTemplePosition())
end
Add this to login.lua
Code:-- Outfits if not player:isPremium() then if player:getSex() == PLAYERSEX_FEMALE then local outfit = player:getOutfit() if outfit.lookType > 139 then player:setOutfit({lookType = 136, lookHead = 78, lookBody = 106, lookLegs = 58, lookFeet = 95}) end else local outfit = player:getOutfit() if outfit.lookType > 131 then player:setOutfit({lookType = 128, lookHead = 78, lookBody = 106, lookLegs = 58, lookFeet = 95}) end end end -- Premium system if player:isPremium() then player:setStorageValue(43434, 1) elseif player:getStorageValue(43434) == 1 then player:setStorageValue(43434, 0) player:teleportTo({x = 160, y = 54, z = 7}) player:setTown(Town("Motherland")) player:sendTextMessage(MESSAGE_INFO_DESCR, "Your premium time has expired.") end
Edit: If you use rookgard you can change to thisto avoid send rookers to main.Code:-- Premium system local rookTownId = 6 local thaisTownId = 2 if player:isPremium() and player:getStorageValue(43434) ~= 1 then player:setStorageValue(43434, 1) elseif not player:isPremium() and player:getStorageValue(43434) == 1 then if player:getVocation():getId() == 0 then player:setTown(Town(rookTownId)) else player:setTown(Town(thaisTownId)) end player:sendTextMessage(22, "Your premium time has expired.") player:setStorageValue(43434, -1) player:teleportTo(player:getTown():getTemplePosition()) end
ok this script working wery good but if yours character is not from thais example from carlin and have not premium outfit then not working properly.Add this to login.lua
Code:-- Outfits if not player:isPremium() then if player:getSex() == PLAYERSEX_FEMALE then local outfit = player:getOutfit() if outfit.lookType > 139 then player:setOutfit({lookType = 136, lookHead = 78, lookBody = 106, lookLegs = 58, lookFeet = 95}) end else local outfit = player:getOutfit() if outfit.lookType > 131 then player:setOutfit({lookType = 128, lookHead = 78, lookBody = 106, lookLegs = 58, lookFeet = 95}) end end end -- Premium system if player:isPremium() then player:setStorageValue(43434, 1) elseif player:getStorageValue(43434) == 1 then player:setStorageValue(43434, 0) player:teleportTo({x = 160, y = 54, z = 7}) player:setTown(Town("Motherland")) player:sendTextMessage(MESSAGE_INFO_DESCR, "Your premium time has expired.") end
Edit: If you use rookgard you can change to thisto avoid send rookers to main.Code:-- Premium system local rookTownId = 6 local thaisTownId = 2 if player:isPremium() and player:getStorageValue(43434) ~= 1 then player:setStorageValue(43434, 1) elseif not player:isPremium() and player:getStorageValue(43434) == 1 then if player:getVocation():getId() == 0 then player:setTown(Town(rookTownId)) else player:setTown(Town(thaisTownId)) end player:sendTextMessage(22, "Your premium time has expired.") player:setStorageValue(43434, -1) player:teleportTo(player:getTown():getTemplePosition()) end
is ok i find bug now is perfect thx and sorry for messok this script working wery good but if yours character is not from thais example from carlin and have not premium outfit then not working properly.
This script i stil testing (version with rookgaard)
If you fixed the script maybe you can share ...ok this script working wery good but if yours character is not from thais example from carlin and have not premium outfit then not working properly.
This script i stil testing (version with rookgaard)
Post automatically merged:
is ok i find bug now is perfect thx and sorry for mess
script working ok i was problem with my mapIf you fixed the script maybe you can share ...
This is the correct behavior ,if you wanna change in your server you will have to edit your tibia.spr and remove this line on items.xml <attribute key="type" value="rune" />script working ok i was problem with my map
Post automatically merged:
View attachment 41590
ok. Next bug.
if you put money to the depo you see thath information and choice but if you wana put to depo runes example 17 sd runes you dont have choiceView attachment 41591
ctrl key on keyboard dont help you hyhy.. (joke)
ok thxThis is the correct behavior ,if you wanna change in your server you will have to edit your tibia.spr and remove this line on items.xml <attribute key="type" value="rune" />