Jump to content
  • 0

probleam with clan and ally


Question

Posted

pedia otan paei kapoios na ftei3i clan to bgazi script error kai afto problima sto game server http://img151.imageshack.us/img151/5489/probleam.jpg

to idio me to ally ama patisis sto ally to idio problima

pliz help kai fast ama ginete!

 

pack interlude l2j

8 answers to this question

Recommended Posts

  • 0
Posted

pedia otan paei kapoios na ftei3i clan to bgazi script error kai afto problima sto game server http://img151.imageshack.us/img151/5489/probleam.jpg

to idio me to ally ama patisis sto ally to idio problima

pliz help kai fast ama ginete!

 

pack interlude l2j

 

pira3es tpt apo to script ?

 

to ekanes download apo tin l2j?

  • 0
Posted

dn ekana tpt sto script...to apck to exw agwrasi apo ton krash !

 

tote giati den tou stelneis ena pm na  sou dosei to fix ma fou apo ayton to agorases?

  • 0
Posted

Kane paste edw thn gramh 35 h 36 (den blepw pia einai akribos) apo to /gameserver/jscript/village_master/9000_clan/__init__.py file.

Exw basika thn entyposh oti exeis problhma se kapio html poy paei na fortosei to script

  • 0
Posted

line 35-36

    st.setState(State.STARTED)

    return "9000-01.htm"

======================================================

olokliro to script

=================================================

#

# Created by DraX on 2005.08.12

# minor fixes by DrLecter 2005.09.10

 

import sys

 

from net.sf.l2j.gameserver.model.quest        import State

from net.sf.l2j.gameserver.model.quest        import QuestState

from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

 

qn = "9000_clan"

NPC=[30026,30031,30037,30066,30070,30109,30115,30120,30154,30174,30175,30176,30187, \

    30191,30195,30288,30289,30290,30297,30358,30373,30462,30474,30498,30499,30500, \

    30503,30504,30505,30508,30511,30512,30513,30520,30525,30565,30594,30595,30676, \

    30677,30681,30685,30687,30689,30694,30699,30704,30845,30847,30849,30854,30857, \

    30862,30865,30894,30897,30900,30905,30910,30913,31269,31272,31276,31279,31285, \

    31288,31314,31317,31321,31324,31326,31328,31331,31334,31755,31958,31961,31965, \

    31968,31974,31977,31996,32092,32093,32094,32095,32096,32097,32098,32145,32146, \

    32147,32150,32153,32154,32157,32158,32160,32171,32193,32199,32202,32213,32214, \

    32221,32222,32233,32234]

 

class Quest (JQuest) :

 

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 

def onEvent (self,event,st):

  htmltext    = event

  return htmltext

 

def onTalk (Self,npc,player):

  st = player.getQuestState(qn)

  npcId = npc.getNpcId()

  if npcId in NPC:

    st.set("cond","0")

    st.setState(State.STARTED)

    return "9000-01.htm"

 

QUEST      = Quest(9000,qn,"village_master")

 

 

 

 

for item in NPC:

### Quest NPC starter initialization

  QUEST.addStartNpc(item)

### Quest NPC initialization

  QUEST.addTalkId(item)

  • 0
Posted

Sorry alla den to blepw sosto to py :P

 

#
# Created by DraX on 2005.08.12
# minor fixes by DrLecter 2005.09.10

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

qn = "9000_clan"
NPC=[30026,30031,30037,30066,30070,30109,30115,30120,30154,30174,30175,30176,30187, \
     30191,30195,30288,30289,30290,30297,30358,30373,30462,30474,30498,30499,30500, \
     30503,30504,30505,30508,30511,30512,30513,30520,30525,30565,30594,30595,30676, \
     30677,30681,30685,30687,30689,30694,30699,30704,30845,30847,30849,30854,30857, \
     30862,30865,30894,30897,30900,30905,30910,30913,31269,31272,31276,31279,31285, \
     31288,31314,31317,31321,31324,31326,31328,31331,31334,31755,31756,31757,31958, \
     31961,31965,31968,31974,31977,31996,32092,32093,32094,32095,32096,32097,32098, \
     32145,32146,32147,32150,32153,32154,32157,32158,32160,32171,32193,32199,32202, \
     32213,32214,32221,32222,32229,32230,32233,32234]

class Quest (JQuest) :

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

def onAdvEvent (self,event,npc, player) :
   htmltext = event
   if event == "9000-03.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-03-no.htm"
   elif event == "9000-04.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-04-no.htm"
   elif event == "9000-05.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-05-no.htm"
   elif event == "9000-07.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-06a.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-12a.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-12b.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-13a.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-13b.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-14a.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-14b.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   elif event == "9000-15.htm" :
      if player.getClan() == None or not player.isClanLeader():
         return "9000-07-no.htm"
   return htmltext

def onTalk (Self,npc,player):
   st = player.getQuestState(qn)
   npcId = npc.getNpcId()
   if npcId in NPC:
     st.set("cond","0")
     st.setState(State.STARTED)
     return "9000-01.htm"

QUEST       = Quest(-1,qn,"village_master")

for item in NPC:
### Quest NPC starter initialization
   QUEST.addStartNpc(item)
### Quest NPC initialization
   QUEST.addTalkId(item)

 

Ayto einai to sosto pantos :P

  • 0
Posted

thx file....mporeis na me help kai me to ally.to idio problima exw geia des to!

#

# Created by DraX on 2005.08.12

# minor fixes by DrLecter 2005.09.10

 

import sys

 

from net.sf.l2j.gameserver.model.quest        import State

from net.sf.l2j.gameserver.model.quest        import QuestState

from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest

qn = "9001_alliance"

NPC=[30026,30031,30037,30066,30070,30109,30115,30120,30154,30174,30175,30176,30187, \

    30191,30195,30288,30289,30290,30297,30358,30373,30462,30474,30498,30499,30500, \

    30503,30504,30505,30508,30511,30512,30513,30520,30525,30565,30594,30595,30676, \

    30677,30681,30685,30687,30689,30694,30699,30704,30845,30847,30849,30854,30857, \

    30862,30865,30894,30897,30900,30905,30910,30913,31269,31272,31276,31279,31285, \

    31288,31314,31317,31321,31324,31326,31328,31331,31334,31755,31958,31961,31965, \

    31968,31974,31977,31996,32092,32093,32094,32095,32096,32097,32098,32145,32146, \

    32147,32150,32153,32154,32157,32158,32160,32171,32193,32199,32202,32213,32214, \

    32221,32222,32233,32234]

 

class Quest (JQuest) :

 

def onEvent (self,event,st):

  ClanLeader = st.getPlayer().isClanLeader();

  Clan = st.getPlayer().getClanId();

  htmltext = event

  if event == "9001-01.htm": htmltext = "9001-01.htm"

  elif (Clan == 0):

    st.exitQuest(1);

    htmltext = "<html><body>You must be in Clan.</body></html";

  elif event == "9001-02.htm": htmltext = "9001-02.htm"

  return htmltext

 

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

 

def onTalk (Self,npc,player):

  st = player.getQuestState(qn)

  npcId = npc.getNpcId()

  ClanLeader = st.getPlayer().isClanLeader();

  Clan = st.getPlayer().getClan();

  if npcId in NPC:

    st.set("cond","0")

    st.setState(State.STARTED)

    return "9001-01.htm"

 

QUEST      = Quest(9001,qn,"village_master")

 

 

 

for item in NPC:

### Quest NPC starter initialization

  QUEST.addStartNpc(item)

### Quest NPC initialization

  QUEST.addTalkId(item)

  • 0
Posted

Parto kai to ally:

 

#
# Created by DraX on 2005.08.12
# minor fixes by DrLecter 2005.09.10

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
qn = "9001_alliance"
NPC=[30026,30031,30037,30066,30070,30109,30115,30120,30154,30174,30175,30176,30187, \
     30191,30195,30288,30289,30290,30297,30358,30373,30462,30474,30498,30499,30500, \
     30503,30504,30505,30508,30511,30512,30513,30520,30525,30565,30594,30595,30676, \
     30677,30681,30685,30687,30689,30694,30699,30704,30845,30847,30849,30854,30857, \
     30862,30865,30894,30897,30900,30905,30910,30913,31269,31272,31276,31279,31285, \
     31288,31314,31317,31321,31324,31326,31328,31331,31334,31755,31958,31961,31965, \
     31968,31974,31977,31996,32092,32093,32094,32095,32096,32097,32098,32145,32146, \
     32147,32150,32153,32154,32157,32158,32160,32171,32193,32199,32202,32213,32214, \
     32221,32222,32229,32230,32233,32234]

class Quest (JQuest) :

def onAdvEvent (self,event,npc, player) :
   htmltext = event
   st = player.getQuestState(qn)
   if not st : return
   ClanLeader = player.isClanLeader();
   Clan = player.getClanId();
   htmltext = event
   if event == "9001-01.htm": htmltext = "9001-01.htm"
   elif (Clan == 0):
    st.exitQuest(1);
    htmltext = "<html><body>You must be in Clan.</body></html";
   elif event == "9001-02.htm": htmltext = "9001-02.htm"
   return htmltext

def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr)

def onTalk (Self,npc,player):
   st = player.getQuestState(qn)
   npcId = npc.getNpcId()
   ClanLeader = player.isClanLeader();
   Clan = player.getClan();
   if npcId in NPC:
     st.set("cond","0")
     st.setState(State.STARTED)
     return "9001-01.htm"

QUEST      = Quest(-1,qn,"village_master")



for item in NPC:
### Quest NPC starter initialization
   QUEST.addStartNpc(item)
### Quest NPC initialization
   QUEST.addTalkId(item)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • L2Virus the one who buyed those files from me.
    • Hi ️ Are you a supplier or do you have your own modem and are looking for a place to sell numbers?  SMS.PRO - The best option for selling your numbers  You choose the selling price yourself  Sale option: public (to everyone) or private (you choose who you want to sell to)  Everything works automatically  The simplest possible connection  Visit the website SMS.PRO and start selling your numbers.  Support @alismsorg_bot
    • Good luck to anyone playing on this server . Kamael items are bugged ( stats are insane ) Commands not working properly ( .getreward for example  ... gives u free reward without voting ). When i had those files , i fixed most of the stuff .   Every 2-3 years , he closes the server because players report bugs to him about items , he dont know how to fix then he repeating the process again https://ibb.co/Fkv7y9hJ https://ibb.co/fdYP2bVQ https://ibb.co/sp1f8C61 https://ibb.co/CKZnCgL7 https://ibb.co/Z6GktJgP  
    • Hello and welcome Server started 2026-01-05 Web site: https://l2dragonlands.eu Discrod: https://discord.gg/ngQUY8FB8G Rates >Xp x500 >Sp x500 >Drop x25 >Spoil x25 Enchant rates: Safe/max enchant +500  Blessed and simple scrolls max enchant (+200)  Enchant maneger to make +500.  In server items are progresed in tiers. Weapons: Starter > Vesper > Vorpal > Elegia > Ferrum. Armors: Starter > Moirai > Vesper > Vesper Noble > Vorpal > Elegia > Scarlet. Jewels: Starter > Vesper > Vorpal > Elegia > Ferrum. Cloaks: Pearl White > Pitch Black > Frintezza > Class Cloka > Hero > Scarlet. Acessories: Goblin Circlet 1/2lvl > Half Mask Mage 1/2lvl > Half Mask Fighter 1/2lvl > Flame of valakas > Gem Mask > Ferrum Helmet. Belt: Mithril Belt > Vitality Belt. Badges: For fighter and mage from 1lvl to 6lvl upgraded in order. Bracelets: Mithril > Shiny Fighter/Mage > 1/2lvl custom talismans in bracelest. Agathion: 7 tiers upgrade in order eatch one. Clan item shop/ New weapon Spadona upgradeble from 1lvl till 85lvl. Farm zones in order: >Giran Harbor > WasteLand > Gateway > Valley of Saints > Chromatic > Ruins of Despair > Soul Harbor > Dragon Valley. >LvL up zone >PvP zone Custom instance zone. Custom buff maneger it will grand big boost in stats. Lotery maneger to gamble. Extra features ALT+B: >Events  >Rankings  >Clan  >RB Status  >Updates and other Auto Event system: >Team VS Team event - Auto event  >Capture The Flag - Auto event Olympiad: >Retail olympiad game  >Competition period [2] week  >Olympiad start time [18:00] end [00:00]  >Maximum enchant in the Olympiad is +10, not custom items in olympiada only normal ones from shop.
    • L2 VOID - ADVERTISING BANNER   L2 FURY - ANIMATED BANNER   L2 HEROIC - ANIMATED BANNER   L2 WEED - ANIMATED BANNER   L2 REFORGE - ANIMATED LOGO   L2 WARZONE - ANIMATED LOGO   L2 ACME - SPLASH SCREEN   L2 DRUGS - ANIMATED BANNER   L2 GOLD - ADVERTISING BANNER   L2 AARON - ADVERTISING BANNER  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock