Ver um Único Post
Antigo 13-12-2011, 09:07 AM   #8 (permalink)
Astry
Membro - Capitão
 
Avatar de Astry
 
Registrado em: Mar 2010
Localização: Salvador
Posts: 125
Agradeceu: 25
Agradecido 10 Vezes em 9 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Enviar mensagem via Windows Live Messenger para Astry
Nome Real: Magno Lima

Inventório de Astry

Padrão

Olá @marciomacedo, amigo eu não tenho como fazer um teste agora pq estou no trab. mas baixei uma REV de Oliver12. dentro dessa pasta (gameserver\data\scripts\quests\130_PathToHellboun d) edit esse __init__.

Tente nodificar essa linha:
#ITEMS
CASIAN_BLUE_CRY = 12823 == colocando true no luga dos Numero

class Quest (JQuest) :

def __init__(self,id,name,descr):
JQuest.__init__(self,id,name,descr)
self.questItemIds = [CASIAN_BLUE_CRY]

def onEvent (self,event,st) :
htmltext = event
if event == "30612-03.htm" :
st.set("cond","1")
st.setState(State.STARTED)
st.playSound("ItemSound.quest_accept")
elif event == "32292-03.htm" :
st.set("cond","2")
st.playSound("ItemSound.quest_middle")
elif event == "30612-05.htm" :
st.set("cond","3")
st.giveItems(CASIAN_BLUE_CRY,1)
st.playSound("ItemSound.quest_middle")
elif event == "32292-06.htm" :
st.takeItems(CASIAN_BLUE_CRY,-1)
st.playSound("ItemSound.quest_finish")
st.exitQuest(False) == aqui colocar true no luga de false
return htmltext

Agora eu não sei se esta certo como falei com vc estou no trab. não tenho como fazer o teste. Mas se alguem souber melhor eu aceito correção. Espero que lenha ajudado.

@Oliver teria como posta o SVN desse projeto?

Astry está offline