» TeamX (����� ������)«


����� TeamX » ������������ » ��������� �� ������ (�����)

������� �� �����
<< ����. ����. >>
������������ �������� ���� ����

 
Raven
������������

������: ������
�����������: ����. 2004

�����: 408 ���������

� ��� ���� ������ ������� (IDA Pro - ������, ���� ��� ������ ������ ��� �):
-------------------------------------
skill_contest [3];
sfx_build_scenery_name [3];
sfx_build_ambient_name [1];
sfx_build_interface_name [1];
sfx_build_item_name [1];
sfx_build_open_name [2];
int roll_dice [2];
int reaction_influence [3];
make_daytime [0];
game_time_in_seconds [0];
void addbuttonflag [2];
void addregionflag [2];
void addregionrightproc [3];
void addbuttonrightproc [3];
-------------------------------------
����, ����� ������� ���� ���� � reaction [-20;20].

�� ������ ���������� �������. ����� ��������� (���������, �����������):
-------------------------------------
//protinst_use_item_ proc
switch(obj_item_subtype(item)){
case [0,1,4,6] : display_msg("That does nothing."); break; //proto.msg, line 582
case 2 : return -1; break;
case [3,5] :
 <...>
 //��������������� �������� ����� ������ ���:
 //����� (����)
 //flare (����)
 //misc item (������)
 //radio == misc item (������)
 //explosive (����)
 //��� ������ � �������� (����)
}
-------------------------------------

�����: ������, ������������ use ����� ������ ��� misc-������ � ������. ��� ���� � ������� ����� ��������� �������� (��������, item_m_uses_charges ��������� ��� ��� � �������).

��� mapper2.cfg. ��������, ��� ��� ��� ����� :-), �� ��� ���� ����� ��������. � [debug] ����� ��������� �������� mode=environment �� mode=log � �� ����� ������� ������ � debug.log ����� �������� ������ ����������. ���������� ����������� �������� ������� �� ������ ������:
-------------------------------------
output_map_data_info=1 //������ ������ ������������ ���-��
show_load_info=1 //���� � �������� ������������� ������
show_script_messages=1 //�������� ����� display_msg
show_tile_num=1 //? �� ����
-------------------------------------

����� log ����� ���������� screen � mono. ���� ��� ���� - ���������. ����, mono �������� ����� � ���. ��� � ������������? :-) �, �������, �����-�����: mode=gnw. ��� ���� � ������ ���������� debug-������, ������� ��������� ������������ PID ������� ���������� �������, ����� ������� ���������� ����� � �.�. � �.�. ������ - �� ���������. ��� ����� ���������� � ���������, �� ��� ��������� ����������� ���� ��� ���������. � ��� ����� ���������� - ������ ���� "Invalid arg 4 given to sayscrollup" ��� ������ �������.

�����. ������� ������� ������ ���� - ������ ����� ��� � ���, ������� �� ������ � �.�. ��������� �� ��� � ������ "IDA View ESP". ��������� � �����. ��� ���������� ������. ������, �� ����� ������, �� ����� ��������� ������ ��� ���� � ������� �� ���� - ����� � ���� ����. �����, ������� - ���������, ���, ��� ����� ���������� ��������������� ���� ������ �������� � ���������.

������ - ���, ����������, �����. ������ ��������. ��� - _perk_data. ������ (� ������) - 0x0055B5A0. ������ ���� ����������� 19-� dd ������:
1. ��������� �� ������ � ������
2. ��������� �� ������ � ���������
3. 48h (72) ��� Awarness, +1 ��� ������� ������������
4. ������� ��� ����� ����� ����
5. ����������� �������
6. ����� ���� (STAT_ �� define.h) �������������� (-1=0x0FFFFFFFF ����� �������)
7. �� ������� ��������������
8. ����� ����� (SKILL_), ���� ���� ������� �� ����������� �������� ����� (-1 ���� ���)
9. ��������� �������� �����
10. [0/1/2] ���� ���������� �� ������ ��� - 0. ���� ���������� �� ������ ����� - 0. ���� �� ���� - 1 ��� 2, ������� ������ �� �����.
11. ���������� 8, ��� ���� ����
12. ���������� 9
13-19. ���������� �� ������� (13 - Strenght, 19 - Luck)

����� ������ (77h) ������� ��������, ���� ���������� � �������� ���������� ��������. ������� ������, ������� ���� �� ����� � ������, � ���-������ ������, ����������� *�������� � ���� ��������������� ��������*. ��������, ������� Bonus HtH attacks (1) � Bonus rate of fire (5) ����������� *��� ������ ������* item_w_mp_cost (��������� AP ��� �����) � ������ ��� �� ������������ ���-�� AP ������ ������������ �� ��������.

�����: �������� � ������� �������� ��������. ��� ���������� ����� �������:
1. ������� ������� ����, ������� ��� ��� 77h �� ������ ��������
2. ������ ������ ���������� ����� ��������� � ������ perk_data

��� ��������� (� �������, �����������) �������� ��� � ���������� ��������� ����� �� ����� "����-�-�����". ���������� ������ � ����� ������� �������� ��������� ����������� ����� (�.�. ��������� ������������ ������� � � ��� �� ������� ����������� ���������). �� ���� ���, ����� ������, ����������������. � ������ ������� - ��-���� ����������: IDA, Hiew � �����-����� ������� ��� :-)

P.S. ��� ��-�-�-������� ��������� ����� �� mapper_names.idc

����������: 12:28 - 14 ���., 2005
Ray
���������

������: ������,�������
�����������: ���. 2004

�����: 746 ���������

>>�, �������, �����-�����: mode=gnw. ��� ���� � ������ ���������� debug-������, ������� ��������� ������������ PID ������� ���������� �������, ����� ������� ���������� ����� � �.�. � �.�

����� ������������� �����, �� ��� ������ PID'� � ���� �� ����������. � ���� �� ����� - � ��� ���������� �� ������ �������. (��, ������ � ��������� ��������)

P.S. � ��� ����� - ��� �����. � ��������, ��� �� � ��� ��������, �� ��� ��������� �� ����. ����� ��� ���-�� � ����������, �� � ���������. ���� ��� - �� ������� �� ����.  ������ ����� �����.

-----
�� ������ ����������� ����� � ������ ���� �������.

����������: 12:48 - 14 ���., 2005
Raven
������������

������: ������
�����������: ����. 2004

�����: 408 ���������

>>� ��� ����� - ��� �����

� ���� ��� switch-�! ��� � � ��-�������� ���������� �����.

������, switch ����� ������������:
--------------------------------
variable switch_var;
#define switch(x) switch_var:=x; if(x!=x) then begin display_msg("Bug") else  begin
#define case(x) end if switxh_var==x then begin
--------------------------------

switch(my_var)
case(1) display_msg("One");
case(2) display_msg("Two");
case(3) display_msg("Three");
end

� ��� ������ ����� �������
show_pid_numbers=1
� ������ [mapper] mapper2.cfg.

����������: 12:53 - 14 ���., 2005
Wasteland Ghost
��������� ���� ����������

������: ������, ������
�����������: ���. 2002

�����: 2251 ���������

game_time_in_seconds ��� ������ � ��� � ���������� ����:
int game_time_in_seconds - ���������� ������� ������� ����� (�����, ��������� �� ������ ����) � ��������
���������:
���
������������ ��������:
������� ������� ����� � ��������

����������: 14:09 - 14 ���., 2005
 

������� �� �����
<< ����. ����. >>
������������ �������� ���� ����


Powered by Ikonboard 2.1.9 RUS
Modified by RU.Board Team
© 2000 Ikonboard.com