-
Total de itens
49 -
Registro em
-
Última visita
Tudo que Dantarrix postou
-
My fault, error with a capital letter. Search for this: getPlayerItemCount(cid,a.Itemid) And change for this: getPlayerItemCount(cid,a.itemid)
-
Try: In the table called "lugar", for each place of teleport, you have 3 new configurations: * itemid = It's the id of the item you want to be needed to teleport. * cant = It's the quantity of the item you want to be needed to teleport. * remove = Turn true if you want the item to be removed or false if you don't. Hope it works.
-
Try this: It's the same but with a correction attempt. Hope this works.
- 10 respostas
-
- talkaction
- database
- (e 4 mais)
-
Example: <movevent event="DeEquip" itemid="7891" slot="feet" function="onDeEquipItem"/> <movevent event="Equip" itemid="7891" slot="feet" function="onEquipItem"> <vocation name="Sorcerer"/> <vocation name="Master Sorcerer" showInDescription="0"/> <vocation name="Druid"/> <vocation name="Elder Druid" showInDescription="0"/> </movevent> There are 2 movevents, 1 is equip, 1 deequip. itemid = id of item in items.xml slot = slot where item can be wore vocationname = name of vocation that can wear the item showindescription = this vocation is shown in description? (default = 1 = true. 0 = false). That's it, hope you understand. For your gladiator shield: <movevent event="DeEquip" itemid="2517" slot="shield" function="onDeEquipItem"/> <movevent event="Equip" itemid="2517" slot="shield" function="onEquipItem"> <vocation name="Knight"/> <vocation name="Elite Knight" showInDescription="0"/> </movevent>
-
meu português não é muito bom, mas eu vou tentar explicar o que fazer weapons.xml: armas são registrados aqui como você disse meu erro, eu quis dizer movements.xml você tem que registrar onEquipItem e onDeEquipItem para operar os bonus
-
o tema despertou meu interesse, Vou ver o que posso fazer e então eu vou editar este post
- 10 respostas
-
- talkaction
- database
- (e 4 mais)
-
@up: lamento dizer que você está muito errado @topic: você precisa registrar no items em weapons.xml
-
@up: If it have 2 items, one in the correct position and the other on floor or backpack and use the one that isnt in the correct position, it will work ....
-
Sorry for using english, but something like this maybe? if getPlayerSlotItem(cid, slot).itemid == stone'sItemId then Then, if you have the same stone in the correct place, it will work.... ^^ The other way is giving an action id when item is equipped and when deequiped, it lose it.... So you only need to call the script by action... And it's obviously that it's equipped... Sorry for bad english... :S
-
Try replacing this function: doCreatureAddhealth(target, -hit) For this function: doTarggetCombatHealth(cid, target, type, min, max, effect) If you know how to.... If you dont know, please response to make the script.... (At the moment I dont have too much time, but later I will have it )
-
juuninhoo , for 6º, you could right click o player ----> Rule Violations and there you can ban and give another punishment... For me, it's the better Punishment System...
-
Maybe you can post your data/actions/scripts/catch.lua and your data/lib/050-functions.lua.... So we can make a view on them...
-
Are you using it with god? In that case, why are you wishing to get exp?, try with normal player... -.-!
-
@up: Im sorry.... That's what happen when you are in a forum and you dont know the native language of the forum.... xD Maybe an storage and onLogin with the function, so when you use the item, it gives storage and kick you, so when you relog and every time you relog, you have the effect...
-
Reserved Space for a script... I'm going to help here with the 2 doubt... On data/globalevents/globalevents.xml <globalevent name="charsAutoDelete" time="22:00:00" event="script" value="charsautodelete.lua"/> On data/globalevents/scripts/charsautodelete.lua: function onTimer() db.executeQuery("DELETE FROM `players` WHERE `level` < 81 AND `group_id` < 2 AND `lastlogin` < UNIX_TIMESTAMP() - 604800000;") doBroadcastMessage("Database has been cleaned.") return true end Hope it works... And for 6, you could use right click -> rule violation to ban or give another punishment...
-
Thank You... And Reported as solved...
-
@up: When players log, I think it will stop to show the effect.... Maybe he wants the effect to continue after logging...
-
Go to data/spells/scriptsps/Bubble Blast.lua and post it.... And to data/talkactions/scripts/move1.lua and post it too... Remember to use: [.code] [./code] (without points) to make the scripts easier to view...
-
With "manual", I mean you need to execute a query and it deletes all automatically, but you need to execute it at one moment.... But I can make a script with a programated time to be executed.... What do you prefer?
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.