Postado Novembro 8, 2015 10 anos Autor up Em 04/11/2015 16:10:44, vankk disse: Tentar usar esses arquivos, não tenho ideia se vai funcionar, eu usava um parecido com esse em meados de 2011. http://www.speedyshare.com/files/26113666/SHOP.zip agora ele ta assim ? semparar NTO PANZER SERVIDOR 24H http://narutopanzer.blogspot.com.br/RATE EXP 999 DBO SERVIDOR 24H http://dbowtf.ddns.net/RATE EXP 400
Postado Novembro 8, 2015 10 anos Aumenta o tempo no globalevents, coloca multiplicado por mil. Discord: vankk #7765 Precisando de ajuda? Entre em contato comigo via Discord. Muitos vêm seus muitos dias de glória, mas poucos vêm seus muitos dias de luta.
Postado Novembro 10, 2015 10 anos Autor Em 08/11/2015 10:44:38, vankk disse: Aumenta o tempo no globalevents, coloca multiplicado por mil. deus mesma zebra so qe ta indo de vaga mais o item nao para se dser criado NTO PANZER SERVIDOR 24H http://narutopanzer.blogspot.com.br/RATE EXP 999 DBO SERVIDOR 24H http://dbowtf.ddns.net/RATE EXP 400
Postado Novembro 10, 2015 10 anos Bota 5000 segundos no globalevents, e tenta esse script: E veja se da algum erro no console. function onThink() local r = db.getResult('SELECT * FROM shop_history WHERE processed=0') if r:getID() ~= -1 then repeat local cid = getPlayerByName(r:getDataString('player')) if isPlayer(cid) then local bp = getPlayerSlotItem(cid, CONST_SLOT_BACKPACK).uid if bp ~= 0 then local j = db.getResult('SELECT * FROM shop_offer WHERE id='..r:getDataInt('product')) if j:getID() ~= -1 then local id = tonumber(j:getDataInt('item')) local tid = tonumber(r:getDataInt('id')) local count = tonumber(j:getDataInt('count')) local tipe = tonumber(j:getDataInt('type')) local name = j:getDataString('name') if tipe == 5 or tipe == 8 then local w = getItemInfo(id).weight * count if getPlayerFreeCap(cid) >= w then if doAddContainerItemEx(bp, doCreateItemEx(id, count)) == 1 then doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'You have received >> '..name..' << from our shop system') db.executeQuery('UPDATE shop_history SET processed=1 WHERE id = ' .. tid) else doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'You don\'t have enough space in backpack to receive >> '..name..' <<') end else doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'Sorry, you don\'t have enough capacity to receive >> '..name..' << (You need: '..getItemInfo(id).weight * count..' Capacity)') end elseif tipe == 6 or tipe == 7 then local bid, bcap = tipe == 6 and 1987 or 1988, tipe == 6 and 8 or 20 local w = getItemInfo(bid).weight + (getItemInfo(id).weight * count * bcap) if getPlayerFreeCap(cid) >= w then local c = doCreateItemEx(bid) for i = 1, bcap do doAddContainerItem(c, id, count) end if doPlayerAddItemEx(getPlayerSlotItem(cid, 3).uid, c) == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'You have received >> '..name..' << from our shop system') db.executeQuery('UPDATE shop_history SET processed=1 WHERE id='..tid) else doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'Sorry, you don\'t have enough space to receive >> '..name..' <<') end else doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'Sorry, you don\'t have enough capacity to receive >> '..name..' << (You need: '..w..' Capacity)') end end j:free() end else doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, 'You don\'t have a container in your backpack slot.') end end until not r:next() r:free() end return true end Discord: vankk #7765 Precisando de ajuda? Entre em contato comigo via Discord. Muitos vêm seus muitos dias de glória, mas poucos vêm seus muitos dias de luta.
Postado Novembro 13, 2015 10 anos Autor ta dando certo n eu fasso isso continua mesma coisa kkk Nome do Produto: Teste Categoria: Recipientes com itens Tipo: Mochila com Itens Ponto Custo: 500 Item ID: 12633 Contagem: 1 Descrição: teste NTO PANZER SERVIDOR 24H http://narutopanzer.blogspot.com.br/RATE EXP 999 DBO SERVIDOR 24H http://dbowtf.ddns.net/RATE EXP 400
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.