• 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!

MoveEvent Slot system - Multi slot (No crashes)

Mock, if I apply the upgrade, the % added is random?

And, if I use an item upgrader 2 times, this is going to set so?:
Itemname [Hp. 5%] [Hp. 3%]
Or
Itemname [Hp. 8%]

*Sorry for my bad english :/
 
You can set this?
I want this: all quantity are added to one, only.
Please ...
 
I don't know whether it is a bug (since it's interference in the database), but if you change player coordinates manually in db, this script won't allow you to login. Could someone affirm this? I would be gratefull :)


Btw. Great script Mock, as all your works here :]
 
Last edited:
i got this error:
[30/11/2010 14:00:26] [Error - CreatureScript Interface]
[30/11/2010 14:00:26] In a timer event called from:
[30/11/2010 14:00:26] data/creaturescripts/scripts/slot.lua:eek:nLogin
[30/11/2010 14:00:26] Description:
[30/11/2010 14:00:26] (luaDoPlayerSendTextMessage) Player not found

someone knows how to fix it?
 
I have a problem on my OTS I have a script on the Random Attributes and I can not upgrade armor. How to fix?
 
Ha Ha lulz you haz fail menz.

items = { ---- Only to get attr: slotType because getItemName dont return it -.-'
_VERSION='1.0 By mock',
XML_DIR='data/items/items.xml',
}

>getItemName
>slotType
>trolling.PNG
 
when player got some slots and for example there is a slot opened for mp
if he move out hes wepon and put it again to hand he will gain full mana.
it's not nice becous plaers can train magic level, and its free mana dont need to refile it by mana points.
can u fix it or remove hp and mp slots in your script ?
 
i get this error:
[30/11/2010 14:00:26] [Error - CreatureScript Interface]
[30/11/2010 14:00:26] In a timer event called from:
[30/11/2010 14:00:26] data/creaturescripts/scripts/slot.luanLogin
[30/11/2010 14:00:26] Description:
[30/11/2010 14:00:26] (luaDoPlayerSendTextMessage) Player not found

[27/12/2010 19:38:45] [Error - CreatureScript Interface]
[27/12/2010 19:38:45] buffer:eek:nLogin
[27/12/2010 19:38:45] Description:
[27/12/2010 19:38:45] [string "loadBuffer"]:8: bad argument #1 to 'ipairs' (table expected, got nil)
[27/12/2010 19:38:45] stack traceback:
[27/12/2010 19:38:45] [C]: in function 'ipairs'
[27/12/2010 19:38:45] [string "loadBuffer"]:8: in function <[string "loadBuffer"]:3>
it's something here :p
function onLogin(cid) ---Script by mock the bear!
equip(cid,nil,slot)
addEvent(chk,2000,cid,loadSet(cid)) -- Here we check!
return TRUE
end
 
Last edited:
Putz, gostei muito dos 2 script( esse e o de upgrade)
o de upgrade funciono 100% aki
poreeeem
o de slot
funfa certo mas na hr de logar qualquer char no server buga...

Menssagem do console:
[27/12/2010 23:51:45] [Error - CreatureScript Interface]
[27/12/2010 23:51:45] data/creaturescripts/scripts/slot.lua:eek:nLogin
[27/12/2010 23:51:45] Description:
[27/12/2010 23:51:45] data/creaturescripts/scripts/slot.lua:139: attempt to call global 'getCreatureHealth' (a nil value)
[27/12/2010 23:51:45] stack traceback:
[27/12/2010 23:51:45] data/creaturescripts/scripts/slot.lua:139: in function 'equip'
[27/12/2010 23:51:45] data/creaturescripts/scripts/slot.lua:211: in function <data/creaturescripts/scripts/slot.lua:210>
 
Ei mock tem como colocar valores exatos e randomicos qnd o item for usado? Eu quero abrir o slot com chance de acrescentar de 50 a 200 de hp por exemplo.
eee teria como fazer 2 scripts separados? um para abrir slots e outro para dar atributos, ficaria menos complicado xD
 
Back
Top