bachos93 Posted July 22, 2011 Share Posted July 22, 2011 Hi Guyz Exw enan Buffer kai 9elw osi ine vip chars na borun na xrisimopioun auton tn buffer ti prepi na ala3w sto script sto arxio __init__.py import sys from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance from java.util import Iterator from com.l2jfrozen.gameserver.datatables import SkillTable from com.l2jfrozen.util.database import L2DatabaseFactory from com.l2jfrozen.gameserver.model.quest import State from com.l2jfrozen.gameserver.model.quest import QuestState from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest qn = "15010_NPCBuffer" NPC=[40008] ADENA_ID=57 QuestId = 15010 QuestName = "NPCBuffer" QuestDesc = "custom" InitialHtml = "1.htm" print "NPC Buffer VIP: By DS - Dazzel" class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent(self,event,st): htmltext = event if st.getPlayer().getAccessLevel() < 10 : htmltext = "vip-no.htm" else: st.takeItems(ADENA_ID,0) st.getPlayer().setTarget(st.getPlayer()) if event == "2": st.takeItems(ADENA_ID,0) st.getPlayer().stopAllEffects() Link to comment Share on other sites More sharing options...
0 bachos93 Posted July 22, 2011 Author Share Posted July 22, 2011 Hi Guyz Exw enan Buffer kai 9elw osi ine vip chars na borun na xrisimopioun auton tn buffer ti prepi na ala3w sto script sto arxio __init__.py import sys from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance from java.util import Iterator from com.l2jfrozen.gameserver.datatables import SkillTable from com.l2jfrozen.util.database import L2DatabaseFactory from com.l2jfrozen.gameserver.model.quest import State from com.l2jfrozen.gameserver.model.quest import QuestState from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest qn = "15010_NPCBuffer" NPC=[40008] ADENA_ID=57 QuestId = 15010 QuestName = "NPCBuffer" QuestDesc = "custom" InitialHtml = "1.htm" print "NPC Buffer VIP: By DS - Dazzel" class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent(self,event,st): htmltext = event if st.getPlayer().getAccessLevel() < 10 : htmltext = "vip-no.htm" else: st.takeItems(ADENA_ID,0) st.getPlayer().setTarget(st.getPlayer()) if event == "2": st.takeItems(ADENA_ID,0) st.getPlayer().stopAllEffects() kati alo sto vip system oi chars dn pernun access... Link to comment Share on other sites More sharing options...
0 TheVip Posted July 22, 2011 Share Posted July 22, 2011 Dn epitrepete na dosoume apadhshs gia l2jfrozen pack! sorry. phgene sto forum tous !! Link to comment Share on other sites More sharing options...
0 bachos93 Posted July 22, 2011 Author Share Posted July 22, 2011 lol... Link to comment Share on other sites More sharing options...
0 UnixCode Posted July 22, 2011 Share Posted July 22, 2011 den kserw apo python ala tha kaneis to eksis: otan kapios ginete VIP meso java tha tou dineis kai: setAccessLevel(8) , 8 gia paradigma.... meta sto python tha valeis auto: if st.getPlayer().getAccessLevel() < 8 : return; kapos etsi..pisteuw. Autos enas tropos... Link to comment Share on other sites More sharing options...
0 bachos93 Posted July 22, 2011 Author Share Posted July 22, 2011 to skeutika mia etc ala sto forzen ine ligo kapos ta access... Link to comment Share on other sites More sharing options...
0 FighterBoss Posted July 23, 2011 Share Posted July 23, 2011 Locked,[ΔΙΑΒΑΣΕ ΤΟ] Σημαντικό - Για L2J Projects/Forks. Link to comment Share on other sites More sharing options...
Question
bachos93
Hi Guyz Exw enan Buffer kai 9elw osi ine vip chars na borun na xrisimopioun auton tn buffer ti prepi na ala3w sto script sto arxio __init__.py
Link to comment
Share on other sites
6 answers to this question
Recommended Posts