Jump to content
  • 0

cant make clan and alliance


Question

Recommended Posts

  • 0
Posted

this is inside the vilage master folder init file

 

import sys

 

from com.l2jarchid.gameserver.model.quest        import State

from com.l2jarchid.gameserver.model.quest        import QuestState

from com.l2jarchid.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]

 

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(STARTED)

    return "9000-01.htm"

 

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

CREATED    = State('Start',    QUEST)

STARTED    = State('Started',  QUEST)

COMPLETED  = State('Completed', QUEST)

 

QUEST.setInitialState(CREATED)

 

 

for item in NPC:

### Quest NPC starter initialization

  QUEST.addStartNpc(item)

### Quest NPC initialization

  QUEST.addTalkId(item)

 

 

should i change anything?

  • 0
Posted

not clan's init but the folders inits(jscript,quest) .. check if all folders are inside and try putting them from A to Z .. and not the first quest in the end and the one in the middle in first place ..

  • 0
Posted

ok um there are a lot of lists from 1 to '653_WildMaiden',

'659_IdRatherBeCollectingFairyBreath',

'660_AidingtheFloranVillage',

'999_C3Tutorial'

'9000_Clan',

'9001_Alliance',

up to here up to 999. last two i added 9000 and 9001 clan and alliance but still the samething.

  • 0
Posted

but i think im missing the clan and alliance folders. every folde ris in order just like that only clan and alliance folder are missing. do u know how can i download it or get it ?

  • 0
Posted

'9000_Clan',

'9001_Alliance',

 

to

 

'9000_Clan',

'9001_Alliance'

 

so you are using l2jarchid? do the same for jscript's init

  • 0
Posted

yea im using l2archid. but i copied that list from init file of quests. there are no folders for clan and alliance. i added them in init file and i will add them in jscrip init file too. and i will tell u if it works

  • 0
Posted

no it does samething not working. :(( ok in jscrip folder ih ave two init files __init__$py one named this and second __init__ this

i added in both  and it looks like this '3995_echo',

'4000_ShadowWeapons',

'6050_KetraOrcSupport',

'6051_VarkaSilenosSupport',

'7000_HeroItems',

'8000_RaidbossInfo',

'9999_NPCBuffer',

'9000_Clan',

'9001_Alliance'

for both.

i think  __init__$py  this must be different

  • 0
Posted

no it does samething not working. :(( ok in jscrip folder ih ave two init files __init__$py one named this and second __init__ this

i added in both  and it looks like this '3995_echo',

'4000_ShadowWeapons',

'6050_KetraOrcSupport',

'6051_VarkaSilenosSupport',

'7000_HeroItems',

'8000_RaidbossInfo',

'9999_NPCBuffer',

'9000_Clan',

'9001_Alliance'

for both.

i think  __init__$py  this must be different

 

i tried with version 358 and its working fine ...

 

use this init for jscript folder

use this init for village_master folder

use this init for quest folder

  • 0
Posted

it does the samething. :(( i think i know the problem. if i go to html folder and find vilage masters folder and choose one npc and open it as notepad look what it gives

<html><body>Grand Master Hannavalt:<br>

Welcome, lad. I am Grand Master Hannavalt, the head of this Warriors Guild. All ambitious young fighters who wish to improve themselves both physically and mentally are welcome.<br>

<a action="bypass -h npc_%objectId%_Quest 30109_hannavalt_occupation_change">Listen to information about second class transfer.</a><br>

<a action="bypass -h npc_%objectId%_Link villagemaster/SubClass.htm">Sub Class.</a><br>

<a action="bypass -h npc_%objectId%_Quest 9000_clan">Clan.</a><br>

<a action="bypass -h npc_%objectId%_Quest 9001_alliance">Alliance.</a><br>

<a action="bypass -h npc_%objectId%_Quest 4000_ShadowWeapons">Use Shadow Weapon Exchange Coupon.</a><br>

<a action="bypass -h npc_%objectId%_Quest">Quest.</a>

</body></html>

 

infront of clan and alliance says quest if i change it to Link then when i click on clan it says im missing my text here. in front of subclass is link and sub class is working regularly. any ideas

?

  • 0
Posted

try download a newer version or updating to a newer version ... the html is alright , you have nothing to change ..

  • 0
Posted

try download a newer version or updating to a newer version ... the html is alright , you have nothing to change ..

i know the answer...if you have your server folder in desktop put it into hard disk and you ok.....gl

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

    • Hello everyone, we now have Adena for these projects: l2rebon signature x1 - 1kk = $0.8 l2reborn x10 - 500kk = $3.5 E-Global x Lu4 - 1kk = $1.8 ElmoreLab x5 - 1kk = $1.7 DISCORD - GODDARDSHOP
    • 新品上线! 快来抢购最优质的 GMAIL 账号,享受 超低价格,注册年份范围从 2005–2022! 老版 Gmail.com 账号(已启用 2FA 双重验证) | 使用 MIX IP 注册 | 年份:2005 至 2022(可自行选择) | 账号可能包含邮件 | 格式:email:password:submail | 无需短信验证 | 已启用 IMAP | 附带 Submail | 价格起步:$0.9 我们还提供 Outlook、Firstmail、Rambler、Onet、Gazeta.pl、GMX、Yahoo、Proton、Web.de 等邮箱账号。 立即通过我们的网站或机器人购买! 活跃链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 方便快捷地访问商店。 其他服务: Telegram Stars 购买机器人:进入 – 快速又实惠地购买 Telegram Stars。 SMM 面板:进入 – 推广您的社交媒体账号。 我们为您呈现当前 促销活动 与 特别优惠,适用于购买我们的商品和服务: 1. 优惠码 OCTOBER2025(8% 折扣)适用于九月在我们的商店(网站、机器人)购物!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获取 $1 商店余额或 10–20% 折扣 —— 注册后在我们网站的论坛贴中按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..."。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(Support)中创建名为 “Get Trial Bonus” 的支持工单。 4. 每周在我们的 Telegram 频道和 Stars 购买机器人中举行 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器:https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram:https://t.me/socnet_support ➡ WhatsApp:https://wa.me/79051904467 ➡ Discord:socnet_support ➡ ✉ 邮箱:solomonbog@socnet.store
    • 新品上线! 快来抢购最优质的 GMAIL 账号,享受 超低价格,注册年份范围从 2005–2022! 老版 Gmail.com 账号(已启用 2FA 双重验证) | 使用 MIX IP 注册 | 年份:2005 至 2022(可自行选择) | 账号可能包含邮件 | 格式:email:password:submail | 无需短信验证 | 已启用 IMAP | 附带 Submail | 价格起步:$0.9 我们还提供 Outlook、Firstmail、Rambler、Onet、Gazeta.pl、GMX、Yahoo、Proton、Web.de 等邮箱账号。 立即通过我们的网站或机器人购买! 活跃链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 方便快捷地访问商店。 其他服务: Telegram Stars 购买机器人:进入 – 快速又实惠地购买 Telegram Stars。 SMM 面板:进入 – 推广您的社交媒体账号。 我们为您呈现当前 促销活动 与 特别优惠,适用于购买我们的商品和服务: 1. 优惠码 OCTOBER2025(8% 折扣)适用于九月在我们的商店(网站、机器人)购物!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获取 $1 商店余额或 10–20% 折扣 —— 注册后在我们网站的论坛贴中按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..."。 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(Support)中创建名为 “Get Trial Bonus” 的支持工单。 4. 每周在我们的 Telegram 频道和 Stars 购买机器人中举行 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道:https://t.me/accsforyou_shop ➡ WhatsApp 频道:https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器:https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram:https://t.me/socnet_support ➡ WhatsApp:https://wa.me/79051904467 ➡ Discord:socnet_support ➡ ✉ 邮箱:solomonbog@socnet.store
    • New Products! Hurry up and grab the best GMAIL accounts at low prices with creation years from 2005–2022! Old Gmail.com accounts (with 2FA enabled) | Registered with MIX IP | Age: from 2005 to 2022 (choose the year you prefer) | Accounts may contain messages | Format: email:password:submail | No SMS verification required | IMAP enabled | Submail included | Price from: $0.9 We also offer email accounts for Outlook, Firstmail, Rambler, Onet, Gazeta.pl, GMX, Yahoo, Proton, and Web.de. Buy now in our store via website or bot! Active Links: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store directly through Telegram messenger. Other Services: Telegram Bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during September! You can also use the first-time promo code: SOCNET (15% discount). 2. Get $1 to your store balance or a 10–20% discount — simply post your username after registration on our website using the following format "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

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