Jump to content

Recommended Posts

Posted

Hi, im trying to find a custom nobless script where you have to be lvl 80 and have 1 subclass, then you must kill 4 raid bosses and get 4 items then trade the items for a nobless tiara, then you get added to the nobless list somehow ? anyone have a script like this ? or a guide on how to make it ? please!

Posted

>>Click Here<<

 

Ok thats a Custom Nobless Quest By Liquid Ice, u can look at it and modify, its easy but u need to think.

My suggestion is to make Multisell shop in the NPC to join the items the rb will drop(custom ones ofc which u shall put in the bosses) Then the requirement for being nobless is just change whats there, im not mistaken that npc asks Lunargetns and hellfire and lv 75 sub..LOok at it and change at ur way :D

 

Hope i could help

 

  • 1 year later...
Posted

THANKS ! im looking this s*it xD i go test ;)

 

Edit:

 

Damn Error 2w5oaja.jpg

 

What is wrong ?

you must register your npc into server/gameserver/data/scripts.cfg file

also wrong section

 

Posted

i add this "custom/9998_Noble/__init__.py" in server/gameserver/data/scripts.cfg file

 

In game gameserver.bat i have error like this:

14o5fkm.jpgp

 

end gameserver create error files in folder 9998_Noble like this:

"__init__.py.error"

 

Error on: C:\Users\Ruter\Desktop\l2j\L2J Free Gracia Part 2\Gameserver\data\scripts\custom\9998_Noble\__init__.py.error.log
Line: -1 - Column: -1

Traceback (innermost last):
  File "__init__.py", line 66, in ?
TypeError: com.l2jfree.gameserver.model.quest.State(): expected 0 args; got 2

 

This is my file __init__.py:

 

import sys
from com.l2jfree.gameserver.model.actor.instance import L2PcInstance
from java.util import Iterator
from com.l2jfree.gameserver.datatables import SkillTable
from com.l2jfree			       import L2DatabaseFactory
from com.l2jfree.gameserver.model.quest import State
from com.l2jfree.gameserver.model.quest import QuestState
from com.l2jfree.gameserver.model.quest.jython import QuestJython as JQuest

qn = "9998_Noble"

NPC=[10003]
NOBLESS_TIARA = 7694
ADENA_ID=57
InitialHtml = "1.htm"

print "importing custom: 9998_Noble"

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(ADENA_ID)
	if count < 1 :
		htmltext = "<html><head><body>You dont have enough adena.</body></html>"
	else:
		if event == "1":
			if st.getPlayer().isNoble() :
				return "noble.htm"	
				st.setState(COMPLETED)
			if not st.getPlayer().isSubClassActive() :	
				return "noSub.htm"
				st.setState(COMPLETED)	
			if st.getPlayer().getLevel() < 75 : 
				return "toLow.htm"
				st.setState(COMPLETED)
			if not st.getPlayer().isNoble() :			
				if st.getPlayer().isSubClassActive() :			
					if st.getPlayer().getLevel() >= 75 :
						st.getPlayer().setNoble(True)
						st.giveItems(NOBLESS_TIARA,1)	
						return "grat.htm"
						st.setState(COMPLETED)

		if event == "2":
			return "no.htm"	
			st.setState(COMPLETED)

		if htmltext != event:
			st.setState(COMPLETED)
			st.exitQuest(1)
	return htmltext


        def onTalk (self,npc,st):
		htmltext = "<html><head><body>I have nothing to say to you</body></html>"
		st = st.getQuestState(qn)  
		st.setState(STARTED)			 
		return InitialHtml



QUEST       = Quest(9998,qn,"Noble")
CREATED=State('Start',QUEST)
STARTED=State('Started',QUEST)
COMPLETED=State('Completed',QUEST)


QUEST.setInitialState(CREATED)

 

Any Idea?

 

Moved post ;) (plz delete this)

Posted

Are you kidding me? Linwelin requested for help on: December 21, 2007, 12:17:14 AM.

 

Topic locked. Ruter 1st warning for bumping!

Guest
This topic is now closed to further replies.


  • Posts

    • We can help your Telegram group or channel grow fast with real, targeted Telegram members, safely and efficiently.   Our Telegram Member Add service lets you add members to Telegram group or channel from real, active communities — not bots or fakes.   With this Telegram group growth service, you’ll see results within hours, backed by clear reporting and safe automation.   ✅ What We Offer   • Done-for-you Telegram Member Add campaigns (Groups · Channels) • Targeted Telegram members from real, active users • Fast growth — up to 10K members in 24 hours • English-speaking or regional audiences (US · UK · EU) • Fully managed Telegram channel growth service with reports & analytics   💡 Why Choose Us   We don’t use spam or fake accounts. Our process safely adds members to your Telegram group or channel through verified multi-account setups, proxy rotation, and opt-out compliance. This ensures lasting growth and minimizes churn. Every campaign is managed by experts using tested Telegram infrastructure and growth systems. We also recommend combining Member Add with Telegram Mass DM for better engagement and retention after join.   🧩 Works Best For   • Businesses or communities launching new Telegram channels • Crypto, SaaS, and marketing projects needing visibility • Influencers and agencies growing multiple Telegram groups • Anyone seeking a reliable Telegram group growth service with real members 📩 To Get More Information   Telegram : @TeleLoopPulse   Website : https://telegramgrowthstudio.com/telegram-member-add.html
    • well,its SharedCreatureData.h problem.   /* 0398 */ //WCHAR m_sResurrectSpellerName[25];   this variable will cause L2server.exe crash...  
    • Custom High Five server L2insolence will open 2025-10-17 21:00 GMT+2 ! ! ! Web site: http://www.l2insolence.eu All info updates on Discord: https://discord.gg/duMjnj3y9A Last wipe was more then 1 year ago. We have custom skill, farm zones, materials for items to buy. Custom wepons, armor, jewels and more. All items in game have own stats. With custom looks. Glowing etc. Rates XP, SP: 25x Spoil and Drop: 10x Adena: 20x Server Hard Farm Enchantment Safe enchant Weapon: +20099 Safe enchant Armor: +20099 Max enchant Weapon: +20099 Max enchant Armor: +20099 Normal scrolls: 100% Blessed scrolls: 100% You can use scrolls or item enchant NPC to make +++ abd life beter. NPC Buffer There's an NPC buffer in all of our main towns: Aden, Giran and Goddard. It supplies Prophet Buffs, Songs and Dances for a small fee. Include all buff. We have custom self buffs learned with npc with custom stats. Global Gatekeeper GM Shop with normal items and custom ones, vote NPC, Event NPC, item upgrader NPC. Raid Bosses, every zone have its own boss and drops for rare mats. Olympiad The olympiad is ongoing every two weeks. Meaning if you become a hero you will have your hero status for two weeks. And hero have own custom stats on items.
  • 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