-
Total de itens
120 -
Registro em
-
Última visita
Tipo de Conteúdo
Perfis
Fóruns
Calendário
Publique
Tudo que BennyDz postou
-
Need import map
-
reupload
- 9 respostas
-
- rme
- utilitários
-
(e 1 mais)
Tags:
-
precisam desses items.otb items.zip
-
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
i try this: function getAllItemsById(self, id) local containers = {} local items = {} for i = CONST_SLOT_HEAD, CONST_SLOT_AMMO do local item = self:getSlotItem(i) if item then if item:isContainer() then table.insert(containers, item:getUniqueId()) elseif not id or id == item:getId() then table.insert(items, item:getUniqueId()) end end end while #containers > 0 do for k = (Container(containers[1]):getSize() - 1), 0, -1 do local tmp = Container(contain -
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
do you think you can help me convert this function to tfs 1.2? function getAllItemsById(cid, id) local containers = {} local items = {} for i = CONST_SLOT_FIRST, CONST_SLOT_LAST do local sitem = getPlayerSlotItem(cid, i) if sitem.uid > 0 then if isContainer(sitem.uid) then table.insert(containers, sitem.uid) elseif not(id) or id == sitem.itemid then table.insert(items, sitem) end end end while #containers > 0 do for k = (getContainerSize(containers[1]) -
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
Are you going to use this script? onLogin? I think if this is it, the player will be offline on verification. R= I had thought to use it in a globalevent. I think the best option would be to use it in OnStartUp, and create another onlogin script, that verifies items on players online, with addEvent (checkitems, 2000) to check the slots and the items inside the backpack -
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
Can not load script: lua:9 ')' expected near 'timerOnExp' try to execute the following command directly in the database with the online player: DELETE FROM `player_items` WHERE `player_id`=196 AND `sid` = 107 and it is not eliminated. I think the same thing happens as when you try to change a player's value, if it is online there is no effect. Can you think of an idea? -
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
now dont have error in console but dont delete items He should have eliminated those 3 items, but they are not deleted -
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
same result only delete for players not connected -
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
only delete if the player is not connected -
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
-
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
-
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
-
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
-
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
-
Normal Tfs 1.2 Delete items em player_items, player_depotitems
BennyDz postou um tópico em Suporte Tibia OTServer
oi galera estou tentando SELECT `player_id`,`pid`,`sid`,CONVERT(`attributes` USING latin1 ) FROM `player_items` WHERE CONVERT(`attributes` USING latin1 ) LIKE '%timerOnExp%' Recebo os seguintes resultados a idéia é usá-lo em um globalvent if timerOnExp < os.time() then delete items end -
Normal OT 8.60 Baiak erro TRADE OFF me ajudem xD
BennyDz respondeu ao tópico de willks123 em Suporte Tibia OTServer
tente instalar este sistema: database execute ALTER TABLE `players` ADD `auction_balance` INT( 11 ) NOT NULL DEFAULT '0'; CREATE TABLE `auction_system` ( `id` int(11) NOT NULL auto_increment, `player` int(11), `item_id` int(11), `item_name` varchar(255), `count` int(11), `cost` int(11), `date` int(11), PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; auctionsystem.php <?PHP $auctions = $SQL->query('SELECT `auction_system`.`player`, `auction_system`.`id`, `auction_system`.`item_name`, `auction_system`.`item_id`, `aucti -
Normal OT 8.60 Baiak erro TRADE OFF me ajudem xD
BennyDz respondeu ao tópico de willks123 em Suporte Tibia OTServer
try this local config = { levelRequiredToAdd = 20, maxOffersPerPlayer = 5, SendOffersOnlyInPZ = true, blocked_items = {2165, 2152, 2148, 2160, 2166, 2167, 2168, 2169, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2343, 2433, 2640, 6132, 6300, 6301, 9932, 9933} } function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") return true end local t = string.explode(param, " -
Normal getSpecialAttribute on all items
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
:7: bad argument #1 to 'len' <string expected, got boolean) Line 7: local attrnumber = tonumber(string.sub(attrstring, -12, string.len(attrstring)-2)) -- here I try to get only the number (I'm not sure if it will work) Can not this be adapted to do what I'm looking for? Anti-Dupe - Delete all items with duplicated serial from your database. tablesToCheck = {"player_items", "player_depotitems", "tile_items", {"player_items", {"player_depotitems", "tile_items"}}, {"player_depotitems", "tile_items"}} function onStartup() local text, final = "", -
Normal getSpecialAttribute on all items
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
my results: I would appreciate your' help, since I do not know how to finish it -
Normal getSpecialAttribute on all items
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
I do not have much experience with MySQL. How could I use it in global event, to find atribute item:setSpecialAttribute("timerOnExp", os.time()+60*60) how declare delete items, if os.time() > getSpecialAttribute("timerOnExp") ? I plan to implement it in a globalevent.xml -
Normal getSpecialAttribute on all items
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
if I know those functions, the problem that the decay stops when the character logout, or when they put it in the depot, then I'm trying to make a system where certain items expire in a certain time. as in tibia rl 11:53 You see a temple teleport scroll that will expire in 7 days. It weighs 1.20 oz. If you do not use the item in 7 days, it disappears. -
Normal getSpecialAttribute on all items
BennyDz respondeu ao tópico de BennyDz em Suporte Tibia OTServer
functions: setSpecialAttribute and getSpecialAttribute() Example: i put SpecialAttrubute with: local new_item = player:addItem(itemId, 1) new_item:setSpecialAttribute("timerOnExp", os.time()+60*60) ---------------------------------------------------------------------------------- and call with: item:getSpecialAttribute("timerOnExp") this return valor "os.time()+60*60" ---------------------------------------------------------------------------------- need call all items in globalevents: If Allitems:getSpecialAttribute("tim -
HiIs it possible to consult the special attributes in all the items?Depot, Players, Houses, Tiles Etc.I USE TFS 1.2I want to transform items with a certain attribute.Example:If Allitems(itemid):getSpecialAttribute <= 12345 thentransformto()endto place it in a globalevent
-
FEYRIST (SUMMER UPDATE TIBIA) includes monsters MONSTERS INCLUDES: SCREENSHOTS: https://www.virustotal.com/es/url/0ea71ec1452a8f525d4aa9d45e97187346f33054e5c23fb830632510ea092430/analysis/1510271568/ Map Feyrist.rar https://www.virustotal.com/#/url/2f47c27fcc19799620a4f23f6a3f0651d6aa5cd6808d0c9f4b9688347a0d5632/detection Monsters Feyrist.rar
TibiaKing
Open Tibia Server
Quer aprender a criar seu próprio servidor de Tibia? Então está no lugar certo, aqui você encontrará milhares de tutorias, scripts, códigos, mapas e utilitários para que você possa fazer o seu próprio servidor de Tibia começando do zero.
Anuncie no TibiaKing
Precisa de mais visibilidade em seus projetos? Quer fazer um plano publicitário para o seu servidor? Anuncie no OTKing e faça sua divulgação, possuímos centenas de acessos simultâneos e milhares diários, com certeza será a sua solução!