Jump to content

Question

Posted

Hello i have these file below for my clan manager and i wanna change this to ask the requiremenets i want for clan level 8 instantly how can i do it?

Now its normal level per level i wanna press the button and go for lvl 8 instantly by ask sp+50gb+500glit.

<html><body><title>Jack Sage</title><br><center>

<center><img src="l2font-e.replay_logo-e" width=255 height=60>
<center>
<br1>
<table cellspacing=-1>
<tr>
<td><img src="L2UI.SquareBlank" width=40 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=40 height=20></td>
</tr>
</table>
<center><img src="L2UI.SquareWhite" width=200 height=1></center>
<table bgcolor=3c3c3c width=204>
<tr>
<td><center><font color="FFFF00">* Raise The Clan Level *</font></center></td>
</tr>
</table>
<center><img src="L2UI.SquareWhite" width=200 height=1></center>
<table cellspacing=-1>
<tr>
<td><img src="L2UI.SquareBlank" width=40 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=32 height=20></td>
<td><img src="L2UI.SquareBlank" width=40 height=20></td>
</tr>
</table>
<tr><td></td></tr>
<td><img src=L2UI_CH3.bloodhood_icon01 width=34 height=33></td>
<br><font color="FF4040">Requirements for level 8</font><br>
</center>
<button value="Clan Level 8" action="bypass -h npc_%objectId%_increase_clan_level 8" width=120 height=20 back="1st_Buttons.11" fore="1st_Buttons.11"></td>
<font color="00FF7F"> 20000 SP </font><font color="FFFF00">+ 50 Gold Bars + 500 Glittering Medals</font><br>
<center>
<img src="L2UI_CH3.herotower_deco" width=256 height=32>
<table><tr>
<td><img src="L2UI_CH3.shortcut_prev_over" width=16 height=16></td>
<td><button value="Back" action="bypass -h npc_%objectId%_Chat 0" width=120 height=20 back="1st_Buttons.11" fore="1st_Buttons.11"></td>
</tr></table>
</center><br></body></html>

 

7 answers to this question

Recommended Posts

  • 0
Posted (edited)
22 minutes ago, abcdefghijklmnopqrstuvwxyz said:

i foudn the npc html + multisell on a share post and it had 8 buttons (1 for each level) but i want o make it have only one and then to make a clan from level 1 to level 8 with the upper reqs. Im kinda new to all of this so i might say some stupid things too 😄

 

so , you have to find the code to do that work. 
here is the npc u want to :  http://www.mediafire.com/?nse5uj8n1tk61b4

go to script ~> _init_.py open and edit these as you want  ~>
REQUESTED_ITEM=9560
REQUESTED_AMOUNT=10


for example: this is the retail :

Spoiler

 def onEvent(self,event,st):
               htmltext = "<html><head><body>I have nothing to say you</body></html>
count=st.getQuestItemsCount(REQUESTED_ITEM)
               if event == "66667-clanOk.htm" :
                   if st.getPlayer().isClanLeader() and st.getPlayer().getClan().getLevel()<8:
                       if st.getPlayer().isNoble() and count >= REQUESTED_AMOUNT:
                            htmltext=event
                            st.getPlayer().getClan().changeLevel(8)
                            st.playSound("ItemSound.quest_finish")
                            st.takeItems(REQUESTED_ITEM,REQUESTED_AMOUNT)
                       else :
                            htmltext="66667-no_clan.htm"
                            st.exitQuest(1)
                   else :
                       htmltext="66667-no_clan.htm"
                       st.exitQuest(1)
               elif event == "66667-repOk.htm" :
    


if you want 25 gb
change :
REQUESTED_ITEM=6522
REQUESTED_AMOUNT=25

Edited by Irrelevant
  • 0
Posted
11 minutes ago, abcdefghijklmnopqrstuvwxyz said:

i dont have a script for that so i should try and make a script for that?

how u have these files if you dont have the code/script ? :/ 

  • 0
Posted

i foudn the npc html + multisell on a share post and it had 8 buttons (1 for each level) but i want o make it have only one and then to make a clan from level 1 to level 8 with the upper reqs. Im kinda new to all of this so i might say some stupid things too 😄

 

Guest
This topic is now closed to further replies.


×
×
  • Create New...