Ir para conteúdo

Problema Com Bless


noturnokiremya

Posts Recomendados

cara as bless no meu server nao estao funciando,

 

1# cada vez que você loga tem que por a bless dinovo

 

2# ela nao salva os itens

 

porfavor alguem m arranja um script que a bless funcione perfeitamente tipo o player nao tenha que por cada vez que logue

e que nao deixe dropar item nem level =/ porfavor só falta isso pra terminar o server

Link para o comentário
Compartilhar em outros sites

Tenta Isso No Arquivo .lua Do Bless

 

function onSay(cid, words, param)

if getPlayerBlessing(cid, 1) or getPlayerBlessing(cid, 2) or getPlayerBlessing(cid, 3) or getPlayerBlessing(cid, 4) or getPlayerBlessing(cid, 5) then

doPlayerSendCancel(cid,'Voce Ja Tem Todas As Bless!')

else

if doPlayerRemoveMoney(cid, 100000) == TRUE then

doPlayerAddBlessing(cid, 1)

doPlayerAddBlessing(cid, 2)

doPlayerAddBlessing(cid, 3)

doPlayerAddBlessing(cid, 4)

doPlayerAddBlessing(cid, 5)

doSendMagicEffect(getPlayerPosition(cid), 28)

doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'You have been blessed by the gods!')

else

doPlayerSendCancel(cid, "You need 100k to get blessed!")

end

end

return TRUE

end

Link para o comentário
Compartilhar em outros sites

bom vo testa amanha ja do resposta se funcionar te amo e me ensina a dar respeito que ti do =p

 

outra coisa como limito o poder dos tutores a apenas falar em laranja(sl a cor) no help e ver positions pq no meu eles pode fazer tudo igual gm ou god -.-" desde j obrigdo

Editado por noturnokiremya
Link para o comentário
Compartilhar em outros sites

Posta aqui a sua talkactions.XML , entao assim poderei te ajudar , senao , nao tenho ideia de qual eh o erro , pois podem ser varios !!

 

Para dar REP+ , ali no canto direito abaixo do meu post ..

Editado por StremeMakky
Link para o comentário
Compartilhar em outros sites

talkactions xml

 

<?xml version="1.0" encoding="UTF-8"?>

<talkactions>

<!-- Gods -->

<talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/>

<talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/>

<talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/>

<talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/>

<talkaction log="yes" words="/addskill" access="5" event="skill.lua"/>

<talkaction log="yes" words="/promote;/demote" access="5" event="script" value="promote.lua"/>

<talkaction log="yes" words="/shutdown" access="5" event="script" value="shutdown.lua"/>

<talkaction log="yes" words="/mode" access="5" event="script" value="mode.lua"/>

<talkaction words="!removeskull" event="script" value="removeskull.lua"/>

<talkaction words="!black" script="removeblack.lua"/>

 

<!-- Community Managers -->

<talkaction words="!aol" event="script" value="aol.lua"/>

<talkaction words="!bless" script="bless.lua" />

<talkaction log="yes" words="/s" access="4" event="script" value="summon.lua"/>

<talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/>

<talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/>

<talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/>

<talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/>

<talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/>

<talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/>

<talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/>

<talkaction log="yes" words="/storage" access="4" event="script" value="storage.lua"/>

<talkaction log="yes" words="/config" access="4" event="script" value="configinfo.lua"/>

<talkaction log="yes" words="/i" access="4" event="script" value="createitem.lua"/>

<talkaction log="yes" words="/bc" access="4" event="script" value="broadcastclass.lua"/>

<talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/>

<talkaction access="4" words="/z" event="script" value="magiceffect.lua"/>

<talkaction access="4" words="/x" event="script" value="animationeffect.lua"/>

<talkaction access="4" words="/y" event="script" value="animatedtext.lua"/>

 

<!-- Gamemasters -->

<talkaction log="yes" words="/ghost;/invisible" access="1" event="function" value="ghost"/>

<talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/>

<talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/>

<talkaction log="yes" words="/t" access="1" event="script" value="teleportmaster.lua"/>

<talkaction log="yes" words="/c" access="1" event="script" value="teleporthere.lua"/>

<talkaction log="yes" words="/goto" access="1" event="script" value="teleportto.lua"/>

<talkaction log="yes" words="/a" access="1" event="script" value="teleporttiles.lua"/>

<talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/>

<talkaction log="yes" words="/send" access="3" event="script" value="teleportsend.lua"/>

<talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/>

<talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/>

<talkaction log="yes" words="/up" access="1" event="script" value="teleportfloor.lua"/>

<talkaction log="yes" words="/down" access="1" event="script" value="teleportfloor.lua"/>

<talkaction log="yes" words="/save" access="3" event="script" value="save.lua"/>

<talkaction log="yes" words="/clean" access="3" event="script" value="clean.lua"/>

<talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/>

<talkaction log="yes" words="/mc" access="3" event="script" value="multicheck.lua"/>

<talkaction log="yes" words="/wp" access="3" event="script" value="waypoints.lua"/>

<talkaction log="yes" words="/jail;/unjail" access="3" event="script" value="jail.lua"/>

<talkaction log="yes" words="/goto" access="1" event="script" value="teleportto.lua"/>

 

<!-- Senior Tutors -->

<talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/>

<talkaction log="yes" words="/gethouse" access="2" event="script" value="gethouse.lua"/>

<talkaction log="yes" words="/b" access="2" event="script" value="broadcast.lua"/>

<talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/>

 

<!-- Tutors -->

<talkaction log="yes" access="1" words="/baninfo" event="function" value="banishmentInfo"/>

<talkaction log="yes" access="1" words="/pos" event="script" value="position.lua"/>

<talkaction log="yes" access="1" hide="yes" words="!pos" event="script" value="position.lua"/>

 

<!-- Players -->

<talkaction words="!frags;/frags" event="script" value="frags.lua"/>

<talkaction words="!uptime;/uptime" event="script" value="uptime.lua"/>

<talkaction words="!addon" event="script" value="addondoll.lua"/>

<talkaction words="!commands;/commands" event="script" value="commands.lua"/>

<talkaction words="!changesex;/changesex;/changender" script="changesex.lua" />

<talkaction words="!rest" event="script" value="conjure.lua" />

<talkaction words="!buybless;/buybless;!bless;/bless" script="bless.lua" />

<talkaction words="!go" script="go.lua"/>

<talkaction words="!removeskull" event="script" value="removeskull.lua"/>

<talkaction words="!black" script="removeblack.lua"/>

 

<!-- Houses -->

<talkaction words="!buyhouse;/buyhouse" filter="word-spaced" event="function" value="houseBuy"/>

<talkaction words="!sellhouse;/sellhouse" filter="word-spaced" event="function" value="houseSell"/>

<talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/>

<talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/>

<talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/>

<talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/>

<talkaction words="!leavehouse;/leavehouse;alana som" filter="word-spaced" event="script" value="leavehouse.lua"/>

 

<!-- Guilds -->

<talkaction words="!createguild;/createguild" event="function" value="guildCreate"/>

<talkaction words="!joinguild;/joinguild" event="function" value="guildJoin"/>

<talkaction log="yes" access="5" words="/installvip;/addvip;/removevip;/checkvip" event="script" value="vipaccgod.lua"/>

<talkaction words="/vipdays" event="script" value="vipaccplayer.lua"/>

 

<!-- Guild System -->

<talkaction words="/war" channel="0" event="script" value="war.lua" desc="(Guild channel command) War management."/>

<talkaction words="/balance" channel="0" event="script" value="balance.lua" desc="(Guild channel command) Balance management."/>

<talkaction filter="word" words="!guild;/guild" script="guildcast.lua"/>

</talkactions>

 

e o script da bless ta esse

 

function onSay(cid, words, param)

if getPlayerBlessing(cid, 1) or getPlayerBlessing(cid, 2) or getPlayerBlessing(cid, 3) or getPlayerBlessing(cid, 4) or getPlayerBlessing(cid, 5) then

doPlayerSendCancel(cid,'Voce Ja Tem Todas As Bless!')

else

if doPlayerRemoveMoney(cid, 100000) == TRUE then

doPlayerAddBlessing(cid, 1)

doPlayerAddBlessing(cid, 2)

doPlayerAddBlessing(cid, 3)

doPlayerAddBlessing(cid, 4)

doPlayerAddBlessing(cid, 5)

doSendMagicEffect(getPlayerPosition(cid), 28)

doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE, 'You have been blessed by the gods!')

else

doPlayerSendCancel(cid, "You need 100k to get blessed!")

end

end

return TRUE

end

 

a bless nao ta funcionndo ainda ela dropa item e tem que por cada vez q entra =/ ajuda ai

Link para o comentário
Compartilhar em outros sites

Olha O Seu Erro :

 

<!-- Gamemasters -->

<talkaction log="yes" words="/ghost;/invisible" access="1" event="function" value="ghost"/>

<talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/>

<talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/>

<talkaction log="yes" words="/t" access="1" event="script" value="teleportmaster.lua"/>

<talkaction log="yes" words="/c" access="1" event="script" value="teleporthere.lua"/>

<talkaction log="yes" words="/goto" access="1" event="script" value="teleportto.lua"/>

<talkaction log="yes" words="/a" access="1" event="script" value="teleporttiles.lua"/>

<talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/>

<talkaction log="yes" words="/send" access="3" event="script" value="teleportsend.lua"/>

<talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/>

<talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/>

<talkaction log="yes" words="/up" access="1" event="script" value="teleportfloor.lua"/>

<talkaction log="yes" words="/down" access="1" event="script" value="teleportfloor.lua"/>

<talkaction log="yes" words="/save" access="3" event="script" value="save.lua"/>

<talkaction log="yes" words="/clean" access="3" event="script" value="clean.lua"/>

<talkaction log="yes" words="/reports" access="3" event="script" value="reports.lua"/>

<talkaction log="yes" words="/mc" access="3" event="script" value="multicheck.lua"/>

<talkaction log="yes" words="/wp" access="3" event="script" value="waypoints.lua"/>

<talkaction log="yes" words="/jail;/unjail" access="3" event="script" value="jail.lua"/>

<talkaction log="yes" words="/goto" access="1" event="script" value="teleportto.lua"/>

 

Vermelho -- Ai esta o erro , vc tem que colocar access="3" ao inves de access="1". Por isso que os tutores estavam com comandos de GOD e GM .

 

Abracos.

Editado por StremeMakky
Link para o comentário
Compartilhar em outros sites

vlw veio nos coisa dos tutor ja era mas ajuda nas bless ai akela ainda nao funciono

quando vc loga o xar vc tm q compra dinovo e quando morre perde itens como arrumo isso?

vlw desde de ja se tive msn manda ai

Editado por noturnokiremya
Link para o comentário
Compartilhar em outros sites

Infelizmente , eu nao sei o que esta acontencendo para nao funcionar , pois eu uso no meu OT e funciona perfeitamente, eu nao conheco outro script de bless , mas se voce procurar aqui mesmo no XTibia , voce acho que voce encontrara .. :unsure:

 

Desculpa ai , manow !

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...