Quote:
Originally Posted by esson
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
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-"