Kalispera ... Exw ena problima me ton server mou . To problima einai oti exw ftiaksei enan clan reputation manager gia na perneis kapoia reputation points... otan anoigw ton server mou ola douleuoun entaksei xwris error alla otan pataw panw tou gia na parw ta clan reputation den deixnei tpt alla kai pali den bgazei kanena error ... Oriste o kwdikas
import sys
from com.l2jserver.gameserver.model.quest import State
from com.l2jserver.gameserver.model.quest import QuestState
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
from com.l2jserver.gameserver.network.serverpackets import PledgeShowInfoUpdate
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
There is one bug. When the character is running and you try to use frenzy, the server does not send the character's stop packet to the client. You'll get a knockback loop.
(same thing when using summon pet without a crystal) or calling a friend outside the zone. We need a specialist who understands packages.
Don't worry, this is just the beginning.
In the next days I will publish a complete package
Server+Extender+Scripts+Client Interlude (C4 Cumulative)
You will be able to have your own (C4 Cumulative) server with just 1 Click.
The package will be already configured so you can use it in a matter of seconds.
Keep throwing Hate, more things I will share to the community.
😉
bY Guytis
Keep in mind, do the people who post DownVote know who they are?
*the ones who want to keep ripping you off*.
they hate it when I post for free! 🙂
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchiha.sellpass.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
Malossi
Kalispera ... Exw ena problima me ton server mou . To problima einai oti exw ftiaksei enan clan reputation manager gia na perneis kapoia reputation points... otan anoigw ton server mou ola douleuoun entaksei xwris error alla otan pataw panw tou gia na parw ta clan reputation den deixnei tpt alla kai pali den bgazei kanena error ... Oriste o kwdikas
import sys
from com.l2jserver.gameserver.model.quest import State
from com.l2jserver.gameserver.model.quest import QuestState
from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest
from com.l2jserver.gameserver.network.serverpackets import PledgeShowInfoUpdate
qn = "8205_ClanPoints"
npcId = 613
# Setup !!!
Soldier = 7216
SoldierCount = 1000
Captain = 7217
CaptainCount = 5000
General = 7218
GeneralCount = 10000
# End Setup !!
QuestId = 8205
QuestName = "ClanPoints"
QuestDesc = "custom"
InitialHtml = "1.htm"
print "INFO Loaded: Clan Points AVOCADO !!!"
class Quest (JQuest) :
def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)
def onEvent(self,event,st):
htmltext = event
count=st.getQuestItemsCount(Soldier)
count1=st.getQuestItemsCount(Captain)
count2=st.getQuestItemsCount(General)
# first item
if count == 0 and st.getPlayer().getClan == None and event == "2":
htmltext = "Error1.html"
elif count1 == 0 and st.getPlayer().getClan == None and event == "3":
htmltext = "Error2.html"
elif count2 == 0 and st.getPlayer().getClan == None and event == "4":
htmltext = "Error3.html"
else:
st.getPlayer().setTarget(st.getPlayer())
if event == "2":
if st.getPlayer().getClan() == None or st.getPlayer().getClan().getLeader() == 0:
return "You have to be a Clan Leader !!!!"
st.takeItems(Soldier, 1)
st.getPlayer().getClan().addReputationScore(SoldierCount,True)
st.playSound("ItemSound.quest_finish")
st.setState(State.COMPLETED)
st.exitQuest(1)
return "End.html"
if htmltext != event:
st.setState(State.COMPLETED)
st.exitQuest(1)
return htmltext
# 2 item
st.getPlayer().setTarget(st.getPlayer())
if event == "3":
if st.getPlayer().getClan() == None or st.getPlayer().getClan().getLeader() == 0:
return "You have to be a Clan Leader !!!!"
st.takeItems(Captain, 1)
st.getPlayer().getClan().addReputationScore(CaptainCount,True)
st.playSound("ItemSound.quest_finish")
st.setState(State.COMPLETED)
st.exitQuest(1)
return "End2.htm"
if htmltext != event:
st.setState(State.COMPLETED)
st.exitQuest(1)
return htmltext
# 3 ite
st.getPlayer().setTarget(st.getPlayer())
if event == "4":
if st.getPlayer().getClan() == None or st.getPlayer().getClan().getLeader() == 0:
return "You have to be a Clan Leader !!!!"
st.takeItems(General, 1)
st.getPlayer().getClan().addReputationScore(GeneralCount,True)
st.playSound("ItemSound.quest_finish")
st.setState(State.COMPLETED)
st.exitQuest(1)
return "End3.htm"
if htmltext != event:
st.setState(State.COMPLETED)
st.exitQuest(1)
return htmltext
def onTalk (self,npc,player):
st = player.getQuestState(qn)
htmltext = "<html><head><body>I have nothing to say to you</body></html>"
st.setState(State.STARTED)
return InitialHtml
QUEST = Quest(QuestId,str(QuestId) + "_" + QuestName,QuestDesc)
QUEST.addStartNpc(npcId)
QUEST.addTalkId(npcId)
An mporei kapoios na me help :/
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.