View Single Post
Old 15.07.2007, 13:46   #423
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Fixed.

1) '0 line' bug cause progressbar.
2) class citizen.txt have incorrect code (if we told about standarts)
this:
your
Code:
L56
        //push_event    //  gg
        //push_const 632
        //add
        //fetch_i
        //func_call 218103810   //  func[IsEventServer]
        //push_const 1
        //equal
        //branch_false L59
        jump    L59
L58
correct retail code
Code:
L56
        push_event      //  gg
        push_const 632
        add
        fetch_i
        func_call 218103810     //  func[IsEventServer]
        push_const 1
        equal
        branch_false L59
L58
jump Lxxx
Lxxxx
block always define Else block. If you have // then you no must have jump.
Correct code:
Code:
				ElseIf ( (reply == 532 || reply == 549) )
				{
					If ( gg->IsEventServer() == 1 )
					{
						myself->ShowMultisell(reply, talker);
your decompilation:
Code:
 ElseIf ( (reply == 532 || reply == 549) )
 {
 }
 Else
 {
         myself->ShowMultisell(reply, talker);
HF is offline