• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

MoveEvent Slot system

@MrLipzZz
Tray now :)
@all
Bugs fixed.
more bugs? please post ;D
 
eeeeeeeeeeeeeeeeeh, i dont think so :S
/i golden boots (Yeah, this part always occurs ok)


but, when try to remove bots, TAAAAAAAAAAN crash!

:p
 
Awesome idea but script is damn ugly : (. You write too much useless code in your scripts.
 
Mock, it's still crashes : D

Look:
1.
/i golden boots (they must apear in feet slot)
2.
Try to put boots on ground

I don't understand how it works ; <
I believe in you! ^^
 
@squidy
Hum
you say:
/i golden boots
next put it on ground and crash?

WTF ._.'
I AM USIING TFS 0.3.6 pl1 without changes and it dont crash LOL

can someone help? ._.'
 
Hmmm

Try to have clean all slots

Backpack feet, armor, everything.
Then try to do /i golden boots a few times.

Meybe me&MrLipzzz doing something wrong, I don't know : D
 
Yeah mock, just, if the item get directly on our body, and we do any move with ..crashes :/
 
[@mr~
try now
Lua:
function onEquip(cid, item, slot) --By mock the bear
        if equips_lvl[item.itemid] then
                if (equips_lvl[item.itemid].lvl and equips_lvl[item.itemid].lvl > getPlayerLevel(cid))  or (#equips_lvl[item.itemid].voc > 0 and not isInArray(equips_lvl[item.itemid].voc,getPlayerVocation(cid))) then
                        return false
                end
        end
        equip(cid)
        return true
end

function onDeEquip(cid, item, slot)
        equip(cid,nil,slot)
end

Read the thread.
 
mock tpw, no video tutorial que o rapais feiz ali, num precisa por nenhum aid mudar position de alavanca nem nada em nenhuma parte do script??

quando vai fazer a golden boots aqui o server cai tb igual os cara ali, mias por exp só cai qdo eu faço ela e tpw equipa ela saka? ai eu vo desekipa e cai, amis se por exp eu ja tiver com alguma bota sem espaço no inventorio e fazer ela no chão ja por não ter espaço, ai da pra por o crystal...
 
Last edited:
@pedralves
o sistema do video nao é o do topico eiu disse isso.
 
Mock, crash!

Substitui esse onEquip por o que tava la no final do movements, ta certo?

-
i rewrite this on equip by the last on equip on movements, right?

Crash again!
 
pedralves > yeah, one more player with our problem

- Mock, isnt easy , change the function /i , to put itens always in backpack ?
and in quest, change to go directly to backpack..


Ah ow, vo portugues mesmo
n é mais facil nao mock?
ao inves de quebrar cabeça no script, mudar o /i pra ir direto pra bag.
e mudar o bau das chests, pra ir pra bag tambem?
 
@MrLipzZz
nao é bem simples assim.
if it crash when you put the boots and remove and crash
there are another kind to crash :S
first we have to fix this crash (i am doing it not atm)

---Edit
Try now.
Lua:
function onEquip(cid, item, slot) --By mock the bear
	if equips_lvl[item.itemid] then
		if (equips_lvl[item.itemid].lvl and equips_lvl[item.itemid].lvl > getPlayerLevel(cid))  or (#equips_lvl[item.itemid].voc > 0 and not isInArray(equips_lvl[item.itemid].voc,getPlayerVocation(cid))) then
			return false
		end
	end
	if item.uid ~= 0 then
		local mm = getSlotType(getItemName(item.uid))
		if mm then
			equip(cid)
		end
	end
	return true
end
 
Talvez seja necessario tu saber disso, mas..
Quando você adiciona a bots, e ela vai pro corpo, nao crasha..
Crasha quando você tenta executar alguma açao com ela, desde LOOK, até MOVER :)

entendeu agora?
Estranho demais!
até quando da look crasha :S
 
Back
Top