clan system

Discussion in 'Help' started by locpaulo, Jan 8, 2011.

  1. locpaulo

    locpaulo AdvExt64 Customers (IL)

    I'm not getting in the clan get skill npc when clike not appear anything

    something wrong?

    --------------------------------------------------------------------------------
    nao estou conseguindo pegar skill de clan no npc, quando clike nao aparece nada

    alguma coisa errada?
    ----------------------------------------------------------------------------------

    AI.OBJ
    Code:
    	// New clan system
    L2651
    	push_event	//  ask
    	push_const 160
    	add
    	fetch_i4
    	push_const 5
    	negate
    	equal
    	branch_false L2971
    L2961
    	push_event	//  reply
    	push_const 164
    	add
    	fetch_i4
    	push_const 0
    	equal
    	branch_false L2991
    L2981
    	push_event	//  talker
    	push_const 40
    	add
    	fetch_i	//  is_pledge_master
    	push_const 800
    	add
    	fetch_i4
    	push_const 0
    	not_equal
    	branch_false L2983
    L2982
    	push_event	//  myself
    	push_const 704
    	add
    	fetch_i
    	push_event	//  talker
    	push_const 40
    	add
    	fetch_i
    S111.	"pl001a.htm"
    	push_string S111
    	func_call 184680516	//  func[ShowPage]
    	shift_sp -2
    	shift_sp -1
    L2983
    L2991
    L2971
    	// New clan system End
    HTML

    Code:
    <html><body>
    What do you want to do?
    
    <br><STRONG>Clan Management:</STRONG>
    <br><a action="bypass -h menu_select?ask=-3&reply=1">Increase Clan Level</a>
    <br><a action="bypass -h menu_select?ask=-3&reply=2">Dissolve Clan</a>
    <br><a action="bypass -h menu_select?ask=-3&reply=3">Recover Clan</a>
    <br>
    <br><a action="bypass -h learn_pledge_skill">Clan Skills (clan level 6 and above)</a>
    <br>
    <br><STRONG>Academy Management:</STRONG>
    <br><a action="link pla.htm">Academy System</a>
    </body></html>
     
  2. loest

    loest New Member

    if you're using advext, the clan skills, are defined at skillaquire.txt
    i guess that is your problem.

    btw, you paste a smal part of the ai.obj, which means nothing
     
  3. locpaulo

    locpaulo AdvExt64 Customers (IL)

    not understand, much!
    I add anywhere from SkillAcquire.txt?
    or have some specific place?
    --------------------------------------------------- BR
    nao entendo , muito
    posso adicionar em qualquer lugar do SkillAcquire.txt ?
    ou tem algum lugar especifico?
     
  4. loest

    loest New Member

    Code:
    pledge_begin
    skill_begin	skill_name=[SKILL_NAME]	get_lv=5	lv_up_sp=1500	item_needed={{[ITEM_NAME];AMOUNT}}	skill_end
    pledge_end
    
    after the fishing settings
     
  5. FidoW

    FidoW AdvExt64 Customers (IL)

    Code:
    <a action="bypass -h learn_skill">Acquire Clan Skill.</a>

    add to class 1 guild_master
    Code:
    handler 33 14	//  LEARN_SKILL_REQUESTED
    	variable_begin
    		"talker"
    		"myself"
    		"_choiceN"
    		"_code"
    		"_from_choice"
    	variable_end
    
    	push_event	//  myself
    	push_const 704
    	add
    	fetch_i
    	push_event	//  talker
    	push_const 40
    	add
    	fetch_i
    	push_const 2
    S961.	""
    	push_string S961
    	func_call 184746187	//  func[ShowEtcSkillList]
    	shift_sp -3
    	shift_sp -1
    handler_end
    
    handler 35 18	//  ONE_SKILL_SELECTED
    	variable_begin
    		"talker"
    		"skill_name_id"
    		"need_quest"
    		"myself"
    		"_choiceN"
    		"_code"
    		"_from_choice"
    	variable_end
    
    	push_event	//  myself
    	push_const 704
    	add
    	fetch_i
    	push_event	//  talker
    	push_const 40
    	add
    	fetch_i
    	push_event	//  skill_name_id
    	push_const 180
    	add
    	fetch_i4
    	push_const 2
    S20.	""
    	push_string S20
    	func_call 184811724	//  func[ShowGrowEtcSkillMessage]
    	shift_sp -4
    	shift_sp -1
    handler_end
     
  6. locpaulo

    locpaulo AdvExt64 Customers (IL)

    replace???


    Code:
    	// New clan system
    L2651
    	push_event	//  ask
    	push_const 160
    	add
    	fetch_i4
    	push_const 5
    	negate
    	equal
    	branch_false L2971
    L2961
    	push_event	//  reply
    	push_const 164
    	add
    	fetch_i4
    	push_const 0
    	equal
    	branch_false L2991
    L2981
    	push_event	//  talker
    	push_const 40
    	add
    	fetch_i	//  is_pledge_master
    	push_const 800
    	add
    	fetch_i4
    	push_const 0
    	not_equal
    	branch_false L2983
    L2982
    	push_event	//  myself
    	push_const 704
    	add
    	fetch_i
    	push_event	//  talker
    	push_const 40
    	add
    	fetch_i
    S111.	"pl001a.htm"
    	push_string S111
    	func_call 184680516	//  func[ShowPage]
    	shift_sp -2
    	shift_sp -1
    L2983
    L2991
    L2971
    	// New clan system End
     
  7. FidoW

    FidoW AdvExt64 Customers (IL)

    I'm surprised you managed to set up the box and run the server, really.
     
  8. Dazzel

    Dazzel New Member

    [Help] Clan Manager

    English:
    lack only the part of ai.obj
    the file that comes in depmax64 dis to add these lines in ai.obj
    already added the skill, and code in html, so this part of the lack ai.obj
    anyone can solve this doubt?

    but I did not understand because it is not equal to the ai.obj as the correct way would be to add?

    =====================
    Português:
    falta so a parte do ai.obj
    no arquivo que vem no depmax64 dis para adicionar essas linhas no ai.obj
    ja adicionei as skill, e o codigo no html, so falta esta parte do ai.obj
    alguem pode resolver esta duvida?

    mais eu nao entendi, pois ela não estão iguais a do ai.obj como seria a forma correta de adicionar?

    i have depmax64
     
  9. Nish

    Nish AdvExt64 Customers (IL)

    if i understand your problem correctly, you must compile the code you posted.

    also if you have depmax64 why dont you have Depmax customer in your forum handle ?
     
  10. loest

    loest New Member

    it is not Dazzel the one who is a customer, it is locpaulo, i guess they work as a team, or something

    anyhow, what you need is to decompile your actual ai.obj, and them find the correct class, and finaly change insert the new handlers, after that you will need to compile it again.

    PS. my suggestion, buy the script pack if you have advext there are many things that you probably don't have yet.
     
  11. FidoW

    FidoW AdvExt64 Customers (IL)

    You don't need to do all that, i already give the damm handler compiled, you just need to add it to the class, doing more will need me to copy and paste the text in their ai.obj file, seriouslly.
     
  12. locpaulo

    locpaulo AdvExt64 Customers (IL)

    anybody here from the forum, all selling script
    advext for?
    working!,
    type clan system,,
    everything changes after that I put advext ....
     
  13. loest

    loest New Member