Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   Some questions.. (https://postpacific.mmorpg-game.online/showthread.php?t=7495)

esson 04.05.2007 12:32

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 :D

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? :D

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.

Syndicate 04.05.2007 12:52

Quote:

Originally Posted by esson (Post 85281)
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 :D

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? :D

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.??????

zcold 04.05.2007 14:01

Quote:

Originally Posted by esson (Post 85281)
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 :D

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 (Post 85281)
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-"

FidoW 04.05.2007 17:07

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.

tpuNIsher 04.05.2007 17:39

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

FidoW 04.05.2007 19:41

Quote:

Originally Posted by tpuNIsher (Post 85300)
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...

tpuNIsher 04.05.2007 21:30

Serverside would require a dll i guess, but client mod is close by lol i suppose.

esson 05.05.2007 12:16

#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


All times are GMT. The time now is 21:45.