Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 04.05.2007, 12:32   #1
esson
Архивный участник
 
Join Date: Apr 2007
Posts: 24
Default Some questions..

1. Is there any way I can block a player that has a certain item in his inventory/equipped from viewing a HTML? If there is .. how

2. How can I add the hero aura to an item, like old style hero aura, when you equip a circlet it gives you the aura.Can I edit the hero aura? If yes, how?

3. Any way I could create a NPC buffer that buffs players that are are under 61 ONLY?

4. I added a "Sell" section to one of my GM shops, it does sell the item, but crashes the client.. anyone got any idea why?
I used this : action="bypass -h menu_select?ask=-1&reply=8"

Thanks in advance.
esson is offline  
Old 04.05.2007, 12:52   #2
Syndicate
Архивный участник
 
Join Date: Apr 2007
Posts: 7
Default

Quote:
Originally Posted by esson View Post
1. Is there any way I can block a player that has a certain item in his inventory/equipped from viewing a HTML? If there is .. how

2. How can I add the hero aura to an item, like old style hero aura, when you equip a circlet it gives you the aura.Can I edit the hero aura? If yes, how?

3. Any way I could create a NPC buffer that buffs players that are are under 61 ONLY?

4. I added a "Sell" section to one of my GM shops, it does sell the item, but crashes the client.. anyone got any idea why?
I used this : action="bypass -h menu_select?ask=-1&reply=8"

Thanks in advance.
Im not a real expert and ill probabaly get flamed but

1. dunno

2. server side make extra item? and add glow or do it with some texture editor. READ alot on the forum cuz i think i have seen those questions more then once. On how to make extra custom items

3. Look at the newbie buffer data and add another NPC to add NPCdata there a post about that too.

4.??????
Syndicate is offline  
Old 04.05.2007, 14:01   #3
zcold
Архивный участник
 
Join Date: Nov 2005
Posts: 146
Default

Quote:
Originally Posted by esson View Post
1. Is there any way I can block a player that has a certain item in his inventory/equipped from viewing a HTML? If there is .. how
ban player with item in inventory?
Easy way:
update user_data set account_id=-1 where char_id in (select char_id from user_item where item_type=<your_item>)

Quote:
Originally Posted by esson View Post
3. Any way I could create a NPC buffer that buffs players that are are under 61 ONLY?
There is a share of NPC buffer on forum. Just add level check - it's simply.
Something like:
Code:
        push_event      //  talker
        push_const 40
        add
        fetch_i //  level
        push_const 1092
        add
        fetch_i4
        push_const 60  <--- your char level here
        less_equal
        branch_false L4444 <--- enter to your buffer's AI code
        push_event      //  myself
        push_const 704
        add
        fetch_i
        push_event      //  talker
        push_const 40
        add
        fetch_i
        push_parameter fnYouCantRecieveBuff
        func_call 184680516     //  func[ShowPage]
        shift_sp -2
        shift_sp -1
        jump L4445  <--- exit from your buffer's AI
and add to parameter string fnYouCantRecieveBuff, that points to html with "bye-bye, buffz only for 60-"
zcold is offline  
Old 04.05.2007, 17:07   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

About the first question, i think zcold misunderstand you...

Of course you can, using func[OwnItemCount]

if (myself->OwnItemCount(talker,itemid) > 0) ShowPage...
else {

}



About the second.. you cant..


And the third... has been answer already

Question 4# ... i dont understand, sorry.
FidoW is offline  
Old 04.05.2007, 17:39   #5
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

2. HeroWeaponTex=LineageEffectsTextures.Hero.Hero_Aur a001_Shader01
HeroAuraTex=LineageEffectsTextures.Hero.Hero_Aura0 00_Shader00
HeroAuraMesh=LineageWeapons.rangesample
LineageEffect.e_u091_aura

do it in weapongrp on specific enchant for example dual dragon slayer + 50 or think.. u can do something similar =p

0 28031 1 1 6 1 0 LineageWeapons.dragon_slayer_m00_wp LineageWeaponsTex.dragon_slayer_t00_wp icon.weapon_dragon_slayer_i00 LineageWeapons.dragon_slayer_m00_wp LineageWeaponsTex.dragon_slayer_t00_wp icon.weapon_dragon_slayer_i00 icon.weapon_dual_sword_i00 95 9000 51 1 0 14 3 2 LineageWeapons.dragon_slayer_m00_wp LineageWeapons.dragon_slayer_m00_wp 2 LineageWeaponsTex.dragon_slayer_t00_wp LineageWeaponsTex.dragon_slayer_t00_wp 4 ItemSound.public_sword_shing_8 ItemSound.sword_great_4 ItemSound.sword_mid_2 ItemSound.public_sword_shing_4 ItemSound.itemdrop_sword ItemSound.itemequip_sword 10 30000 30000 8 5 20 0 0 0 0 600 0 1 1 1000 0 -1 0 LineageEffect.e_u091_aura LineageEffect.e_u091_aura 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 1.79999995 1.79999995 1.70000005 1.70000005 LineageWeapons.rangesample LineageWeapons.rangesample 0.01000000 0.01000000 0.01000000 0.01000000 0.01000000 0.01000000 9.00000000 0.00000000 0.00000000 9.00000000 0.00000000 0.00000000
tpuNIsher is offline  
Old 04.05.2007, 19:41   #6
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by tpuNIsher View Post
2. HeroWeaponTex=LineageEffectsTextures.Hero.Hero_Aur a001_Shader01
HeroAuraTex=LineageEffectsTextures.Hero.Hero_Aura0 00_Shader00
HeroAuraMesh=LineageWeapons.rangesample
LineageEffect.e_u091_aura

do it in weapongrp on specific enchant for example dual dragon slayer + 50 or think.. u can do something similar =p

0 28031 1 1 6 1 0 LineageWeapons.dragon_slayer_m00_wp LineageWeaponsTex.dragon_slayer_t00_wp icon.weapon_dragon_slayer_i00 LineageWeapons.dragon_slayer_m00_wp LineageWeaponsTex.dragon_slayer_t00_wp icon.weapon_dragon_slayer_i00 icon.weapon_dual_sword_i00 95 9000 51 1 0 14 3 2 LineageWeapons.dragon_slayer_m00_wp LineageWeapons.dragon_slayer_m00_wp 2 LineageWeaponsTex.dragon_slayer_t00_wp LineageWeaponsTex.dragon_slayer_t00_wp 4 ItemSound.public_sword_shing_8 ItemSound.sword_great_4 ItemSound.sword_mid_2 ItemSound.public_sword_shing_4 ItemSound.itemdrop_sword ItemSound.itemequip_sword 10 30000 30000 8 5 20 0 0 0 0 600 0 1 1 1000 0 -1 0 LineageEffect.e_u091_aura LineageEffect.e_u091_aura 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 0.00000000 1.79999995 1.79999995 1.70000005 1.70000005 LineageWeapons.rangesample LineageWeapons.rangesample 0.01000000 0.01000000 0.01000000 0.01000000 0.01000000 0.01000000 9.00000000 0.00000000 0.00000000 9.00000000 0.00000000 0.00000000
Yes.. of course, but i think he was asking in server side...
FidoW is offline  
Old 04.05.2007, 21:30   #7
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

Serverside would require a dll i guess, but client mod is close by lol i suppose.
tpuNIsher is offline  
Old 05.05.2007, 12:16   #8
esson
Архивный участник
 
Join Date: Apr 2007
Posts: 24
Default

#1, #2, #3 solved, thanks MrMac, tpuNIsher, FidoW.
Still can't figure out how to add a Sell Item section to a custom NPC. Players can sell the items to the custom NPC, but the client crashes afterwards..

Oh yes! and another question.

Wanna use effect_c={[LineageEffect.w_vari_r4_007_a]} for the hero weapons, instead of their normal glows. Any way I could MOVE that little glow UP? what's the attrb i have to edit in order to do that? Thanks
esson is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:05.