IL
dúvida

Problema No Geisor

Por ilup, 27 de jul. de 2012 em Archived

4
792
ilupI
27 de julho de 2012 às 00:06

e seguinte meu site quando cria o xar ele ta comensando pelado como eu faso para adicionar os item jah tentei pela database mas nao ta indo ou to errando alguma coisa la mudei posiçao lvl mana life mas item nao consigo por se alguem souber por favor

SociopataaS
28 de julho de 2012 às 16:32

os itens caem no chão?se sim mude o cap nos chares sample se nao poste seu first items.xml

ilupI
29 de julho de 2012 às 14:27

nao eles nao cai no chao nem item vem vem pelado de tudo .. tah ai

 

function onLogin(cid)

if getPlayerGroupId(cid) == 1 and getPlayerStorageValue(cid, 50000) == -1 then

if isSorcerer(cid) then

local bag = doPlayerAddItem(cid, 9774, 1)

 

doAddContainerItem(bag, 2120, 1)

doAddContainerItem(bag, 2554, 1)

doAddContainerItem(bag, 2152, 20)

 

doPlayerAddItem(cid, 2525, 1)

doPlayerAddItem(cid, 2190, 1)

doPlayerAddItem(cid, 2463, 1)

doPlayerAddItem(cid, 2457, 1)

doPlayerAddItem(cid, 2647, 1)

doPlayerAddItem(cid, 2643, 1)

 

setPlayerStorageValue(cid, 50000, 1)

 

elseif isDruid(cid) then

local bag = doPlayerAddItem(cid, 9774, 1)

doAddContainerItem(bag, 2120, 1)

doAddContainerItem(bag, 2554, 1)

doAddContainerItem(bag, 2152, 20)

 

doPlayerAddItem(cid, 2525, 1)

doPlayerAddItem(cid, 2182, 1)

doPlayerAddItem(cid, 2463, 1)

doPlayerAddItem(cid, 2457, 1)

doPlayerAddItem(cid, 2647, 1)

doPlayerAddItem(cid, 2643, 1)

 

setPlayerStorageValue(cid, 50000, 1)

 

elseif isPaladin(cid) then

local bag = doPlayerAddItem(cid, 9774, 1)

doAddContainerItem(bag, 2120, 1)

doAddContainerItem(bag, 2554, 1)

doAddContainerItem(bag, 2152, 20)

 

doPlayerAddItem(cid, 2389, 3)

doPlayerAddItem(cid, 2525, 1)

doPlayerAddItem(cid, 2457, 1)

doPlayerAddItem(cid, 2643, 1)

doPlayerAddItem(cid, 2647, 1)

doPlayerAddItem(cid, 2463, 1)

setPlayerStorageValue(cid, 50000, 1)

 

elseif isKnight(cid) then

local bag = doPlayerAddItem(cid, 9774, 1)

doAddContainerItem(bag, 2120, 1)

doAddContainerItem(bag, 2554, 1)

doAddContainerItem(bag, 2152, 20)

doAddContainerItem(bag, 8601, 1)

doAddContainerItem(bag, 2383, 1)

doAddContainerItem(bag, 2417, 1)

 

 

doPlayerAddItem(cid, 2525, 1)

doPlayerAddItem(cid, 2463, 1)

doPlayerAddItem(cid, 2457, 1)

doPlayerAddItem(cid, 2647, 1)

doPlayerAddItem(cid, 2643, 1)

 

setPlayerStorageValue(cid, 50000, 1)

end

end

return TRUE

end

10279291
30 de julho de 2012 às 14:11

Mudou firstitems.xml da pasta Mods do seu OT?

Mudou firstitems.lua da pasta data/creaturescripts/scripts do seu OT?