Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.01.2006, 08:35   #1
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default [SHARE] Token System - ANTI-Exploit

There is a major exploit going around with people over-enchanting. This stops that. Agian, you will deal with the client side modifications, and what this does is, you cannot trade/drop/des any Enchant, BUT you can trade for a Token, which is Sellable/DropAble/Destrutable. So, players can exchange back and forth, and dont have to worry about exploits. Enjoy.

ITEMDATA.txt

Code:
item_begin	etcitem	9200	[token_enchant_wep_d]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9201	[token_enchant_arm_d]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9202	[token_enchant_wep_c]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9203	[token_enchant_arm_c]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9204	[token_enchant_wep_b]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9205	[token_enchant_arm_b]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9206	[token_enchant_wep_a]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9207	[token_enchant_arm_a]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9208	[token_enchant_wep_s]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	9209	[token_enchant_arm_s]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_normal	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
MULTISELL.TXT

Code:
MultiSell_begin [token_to_enchant] 501 
selllist={{{[scrl_of_ench_wp_d];1};{{[token_enchant_wep_d];1}}}; 
{{[scrl_of_ench_am_d];1};{{[token_enchant_arm_d];1}}}; 
{{[scrl_of_ench_wp_c];1};{{[token_enchant_wep_c];1}}}; 
{{[scrl_of_ench_am_c];1};{{[token_enchant_arm_c];1}}}; 
{{[scrl_of_ench_wp_b];1};{{[token_enchant_wep_b];1}}}; 
{{[scrl_of_ench_am_b];1};{{[token_enchant_arm_b];1}}}; 
{{[scrl_of_ench_wp_a];1};{{[token_enchant_wep_a];1}}}; 
{{[scrl_of_ench_am_a];1};{{[token_enchant_arm_a];1}}}; 
{{[scrl_of_ench_wp_s];1};{{[token_enchant_wep_s];1}}}; 
{{[scrl_of_ench_am_s];1};{{[token_enchant_arm_s];1}}}} 
MultiSell_end 

MultiSell_begin [enchant_to_token] 502 
selllist={{{[token_enchant_wep_d];1};{{[scrl_of_ench_wp_d];1}}}; 
{{[token_enchant_arm_d];1};{{[scrl_of_ench_am_d];1}}}; 
{{[token_enchant_wep_c];1};{{[scrl_of_ench_wp_c];1}}}; 
{{[token_enchant_arm_c];1};{{[scrl_of_ench_am_c];1}}}; 
{{[token_enchant_wep_b];1};{{[scrl_of_ench_wp_b];1}}}; 
{{[token_enchant_arm_b];1};{{[scrl_of_ench_am_b];1}}}; 
{{[token_enchant_wep_a];1};{{[scrl_of_ench_wp_a];1}}}; 
{{[token_enchant_arm_a];1};{{[scrl_of_ench_am_a];1}}}; 
{{[token_enchant_wep_s];1};{{[scrl_of_ench_wp_s];1}}}; 
{{[token_enchant_arm_s];1};{{[scrl_of_ench_am_s];1}}}} 
MultiSell_end
NPCDATA.txt
Code:
npc_begin	citizen	15018	[enchant_manager]	level=70	exp=429634524	acquire_exp_rate=0	undying=1	can_be_attacked=0	acquire_sp=469	race=human	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=fist	base_can_penetrate=0	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=40	mp_increase=7	org_hp_regen=8	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=24xx.xx818899627	org_mp=1346	base_defend=2xx.xx2779264	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx3725587608	physical_hit_modify=4.75	physical_avoid_modify=0	base_attack_speed=253	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=-4900	collision_radius=8	collision_height=16	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[blacksmith_of_mammon];{[fnHi]=[enchant_manager.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
enchant_manager.htm
Code:
<html><head><body>
Welcome to the L2P Enchant NPC


<font color="LEVEL">[What is this?]</font>



At L2-Paradise, we need to take every aspect seriously.  There are rumors of an enchant exploit that exists. This NPC will be the stop of it.  You may trade your enchant scroll for a token or a token for an enchant scroll. You may sell tokens, just like normal.  But you cannot drop/trade/destruct a Enchant Scroll any longer.


<font color="LEVEL">[Menu]</font>


<a action="bypass -h multisell?id=501">Tokens to Enchants</a>

<a action="bypass -h multisell?id=502">Enchants to Tokens</a>

</body>
</html>
NPCPOS.txt
Code:
//Enchant Master
territory_begin	[enchantmaster]	{{82291;149596;-3464;-3464};{82291;149596;-3464;-3464};{82291;149596;-3464;-3464};{82291;149596;-3464;-3464}}	territory_end
npcmaker_begin	[enchantmaster]	initial_spawn = all maximum_npc=1
npc_begin [enchant_manager] pos={82291;149596;-3464;49152} total=1 respawn =1min 	npc_end
npcmaker_end
Kenster is offline  
Old 23.01.2006, 11:27   #2
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

This won't work, because output item of a multisell can't be "not tradable",
it just crash server.
hamidouch is offline  
Old 23.01.2006, 12:09   #3
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

(i mean input item can't be not-tradable)
hamidouch is offline  
Old 23.01.2006, 13:38   #4
sct
Архивный участник
 
Join Date: Nov 2005
Posts: 70
Default

Sure it can.
sct is offline  
Old 23.01.2006, 13:40   #5
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

stop fukin replying when u didnt even tried,
input item of a multisell can't be not tradable.

when you'll trade scroll for a token ur server will crash.
hamidouch is offline  
Old 23.01.2006, 13:54   #6
divine
Архивный участник
 
Join Date: Oct 2005
Posts: 115
Default

ahh dosen't make big difference
i have html exploit which allows you to sell anything even those things that are not tradeable.

and it will not solve overenchanting
here is another way:
most of admins before restarting server announcing the time when the server will be restarted so just like 20 seconds before restart you can enchant your wepon if it was succesfull you exit game ( the server will save your record ) if you broke weapon just stay ingame and you will get DC when you login yu will have your weapon back and scrolls too ( rollback )
divine is offline  
Old 23.01.2006, 14:21   #7
sct
Архивный участник
 
Join Date: Nov 2005
Posts: 70
Default

Quote:
Originally Posted by hamidouch
stop fukin replying when u didnt even tried,
input item of a multisell can't be not tradable.

when you'll trade scroll for a token ur server will crash.
Whoa calm down there buddy. Hrm. To bad I have tried though eh?
sct is offline  
Old 23.01.2006, 14:31   #8
sct
Архивный участник
 
Join Date: Nov 2005
Posts: 70
Default

Quote:
Originally Posted by divine
ahh dosen't make big difference
i have html exploit which allows you to sell anything even those things that are not tradeable.

and it will not solve overenchanting
here is another way:
most of admins before restarting server announcing the time when the server will be restarted so just like 20 seconds before restart you can enchant your wepon if it was succesfull you exit game ( the server will save your record ) if you broke weapon just stay ingame and you will get DC when you login yu will have your weapon back and scrolls too ( rollback )
Thats why we dont announce server restarts anymore. Unless we are going to do a drop wipe.
sct is offline  
Old 23.01.2006, 14:37   #9
.akai
Архивный участник
 
Join Date: Oct 2005
Posts: 9
Default

Yeah too bad it does work, as I have tried it as well. Dont speak if you dont know, makes u look less intelligent, you know?
.akai is offline  
Old 23.01.2006, 15:11   #10
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

It does work, sorry Hami.
Kenster is offline  
Old 23.01.2006, 18:10   #11
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

so i figure w/o this system ppl can enchant exploit on retail servers...?
kgptzac is offline  
Old 25.01.2006, 12:30   #12
unk1
Архивный участник
 
Join Date: Jan 2006
Posts: 25
Default

who can share blacksmith_of_mammon's ai?
unk1 is offline  
Old 25.01.2006, 12:46   #13
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

class blacksmith_of_mammon : blacksmith
class_end
Phantom2005 is offline  
Old 25.01.2006, 13:38   #14
napaHouK
Архивный участник
 
Join Date: Mar 2005
Posts: 49
Default

Sorr
I have a problem


01/24/2006 08:09:xx.xx3, Npc[enchant_manager] doesn't have ai handler. cannot set the ai parameter[fnHi]
napaHouK is offline  
Old 18.04.2006, 15:14   #15
Gron1
Архивный участник
 
Join Date: Mar 2006
Posts: 3
Default

dont work
Gron1 is offline  
Old 18.04.2006, 22:31   #16
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

I still use this, and its perfecto.
Kenster 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 20:17.