joaquimandrade / Hamsandwich-Update

Updating and fixing hamsandwich for the good of mankind (or at least some part of it)
5 stars 5 forks source link

hamdata.ini errors #1

Closed joaquimandrade closed 13 years ago

joaquimandrade commented 13 years ago

Those are the errors I got by checking hamdata.ini with a script: These calculations are made taking into account the first difference between the offsets for windows and linux. Like: If for linux spawn is 0 and for windows is 3, if for linux becomedead is 10 it must be 13 for windows. (But the first it takes isn't necessarily from spawn because of other thing but it doesn't matter) It is no good if there are disalignments in the middle of the offsets or if the offset used to compare is the fucked one. Anyway, if this says that there is problems is because there are problems! Now fix them up motherfuckers.

Checking mod ag Assuming a disalignment of -2

addplayeritem has 23. Should be: 22
    <div style='padding-left:5%'><b>addpoints</b> has <b><i>21</i></b>. Should be: <b><i>20</i></b></div>
    <div style='padding-left:5%'><b>addpointstoteam</b> has <b><i>22</i></b>. Should be: <b><i>21</i></b></div>
    <div style='padding-left:5%'><b>becomedead</b> has <b><i>69</i></b>. Should be: <b><i>68</i></b></div>
    <div style='padding-left:5%'><b>bestvisibleenemy</b> has <b><i>71</i></b>. Should be: <b><i>70</i></b></div>
    <div style='padding-left:5%'><b>blocked</b> has <b><i>47</i></b>. Should be: <b><i>46</i></b></div>
    <div style='padding-left:5%'><b>bodytarget</b> has <b><i>55</i></b>. Should be: <b><i>54</i></b></div>
    <div style='padding-left:5%'><b>center</b> has <b><i>52</i></b>. Should be: <b><i>51</i></b></div>
    <div style='padding-left:5%'><b>changeyaw</b> has <b><i>64</i></b>. Should be: <b><i>63</i></b></div>
    <div style='padding-left:5%'><b>damagedecal</b> has <b><i>29</i></b>. Should be: <b><i>28</i></b></div>
    <div style='padding-left:5%'><b>earposition</b> has <b><i>54</i></b>. Should be: <b><i>53</i></b></div>
    <div style='padding-left:5%'><b>eyeposition</b> has <b><i>53</i></b>. Should be: <b><i>52</i></b></div>
    <div style='padding-left:5%'><b>fademonster</b> has <b><i>121</i></b>. Should be: <b><i>120</i></b></div>
    <div style='padding-left:5%'><b>fbecomeprone</b> has <b><i>51</i></b>. Should be: <b><i>50</i></b></div>
    <div style='padding-left:5%'><b>fvecvisible</b> has <b><i>58</i></b>. Should be: <b><i>57</i></b></div>
    <div style='padding-left:5%'><b>fvisible</b> has <b><i>57</i></b>. Should be: <b><i>56</i></b></div>
    <div style='padding-left:5%'><b>getdelay</b> has <b><i>26</i></b>. Should be: <b><i>25</i></b></div>
    <div style='padding-left:5%'><b>getnexttarget</b> has <b><i>43</i></b>. Should be: <b><i>42</i></b></div>
    <div style='padding-left:5%'><b>gibmonster</b> has <b><i>118</i></b>. Should be: <b><i>117</i></b></div>
    <div style='padding-left:5%'><b>giveammo</b> has <b><i>25</i></b>. Should be: <b><i>24</i></b></div>
    <div style='padding-left:5%'><b>hasaliengibs</b> has <b><i>120</i></b>. Should be: <b><i>119</i></b></div>
    <div style='padding-left:5%'><b>hashumangibs</b> has <b><i>119</i></b>. Should be: <b><i>118</i></b></div>
    <div style='padding-left:5%'><b>hastarget</b> has <b><i>38</i></b>. Should be: <b><i>37</i></b></div>
    <div style='padding-left:5%'><b>illumination</b> has <b><i>56</i></b>. Should be: <b><i>55</i></b></div>
    <div style='padding-left:5%'><b>irelationship</b> has <b><i>66</i></b>. Should be: <b><i>65</i></b></div>
    <div style='padding-left:5%'><b>isalive</b> has <b><i>35</i></b>. Should be: <b><i>34</i></b></div>
    <div style='padding-left:5%'><b>isbspmodel</b> has <b><i>36</i></b>. Should be: <b><i>35</i></b></div>
    <div style='padding-left:5%'><b>isinworld</b> has <b><i>39</i></b>. Should be: <b><i>38</i></b></div>
    <div style='padding-left:5%'><b>ismoving</b> has <b><i>27</i></b>. Should be: <b><i>26</i></b></div>
    <div style='padding-left:5%'><b>isnetclient</b> has <b><i>41</i></b>. Should be: <b><i>40</i></b></div>
    <div style='padding-left:5%'><b>isplayer</b> has <b><i>40</i></b>. Should be: <b><i>39</i></b></div>
    <div style='padding-left:5%'><b>issneaking</b> has <b><i>34</i></b>. Should be: <b><i>33</i></b></div>
    <div style='padding-left:5%'><b>item_addduplicate</b> has <b><i>61</i></b>. Should be: <b><i>60</i></b></div>
    <div style='padding-left:5%'><b>item_addtoplayer</b> has <b><i>60</i></b>. Should be: <b><i>59</i></b></div>
    <div style='padding-left:5%'><b>item_attachtoplayer</b> has <b><i>72</i></b>. Should be: <b><i>71</i></b></div>
    <div style='padding-left:5%'><b>item_candeploy</b> has <b><i>63</i></b>. Should be: <b><i>62</i></b></div>
    <div style='padding-left:5%'><b>item_canholster</b> has <b><i>65</i></b>. Should be: <b><i>64</i></b></div>
    <div style='padding-left:5%'><b>item_deploy</b> has <b><i>64</i></b>. Should be: <b><i>63</i></b></div>
    <div style='padding-left:5%'><b>item_drop</b> has <b><i>70</i></b>. Should be: <b><i>69</i></b></div>
    <div style='padding-left:5%'><b>item_getiteminfo</b> has <b><i>62</i></b>. Should be: <b><i>61</i></b></div>
    <div style='padding-left:5%'><b>item_getweaponptr</b> has <b><i>77</i></b>. Should be: <b><i>75</i></b></div>
    <div style='padding-left:5%'><b>item_holster</b> has <b><i>66</i></b>. Should be: <b><i>65</i></b></div>
    <div style='padding-left:5%'><b>item_itemslot</b> has <b><i>78</i></b>. Should be: <b><i>76</i></b></div>
    <div style='padding-left:5%'><b>item_kill</b> has <b><i>71</i></b>. Should be: <b><i>70</i></b></div>
    <div style='padding-left:5%'><b>item_postframe</b> has <b><i>69</i></b>. Should be: <b><i>-2</i></b></div>
    <div style='padding-left:5%'><b>item_preframe</b> has <b><i>68</i></b>. Should be: <b><i>67</i></b></div>
    <div style='padding-left:5%'><b>item_primaryammoindex</b> has <b><i>73</i></b>. Should be: <b><i>72</i></b></div>
    <div style='padding-left:5%'><b>item_secondaryammoindex</b> has <b><i>74</i></b>. Should be: <b><i>73</i></b></div>
    <div style='padding-left:5%'><b>item_updateclientdata</b> has <b><i>76</i></b>. Should be: <b><i>74</i></b></div>
    <div style='padding-left:5%'><b>item_updateiteminfo</b> has <b><i>67</i></b>. Should be: <b><i>66</i></b></div>
    <div style='padding-left:5%'><b>look</b> has <b><i>61</i></b>. Should be: <b><i>60</i></b></div>
    <div style='padding-left:5%'><b>monsterinitdead</b> has <b><i>68</i></b>. Should be: <b><i>67</i></b></div>
    <div style='padding-left:5%'><b>oncontrols</b> has <b><i>33</i></b>. Should be: <b><i>32</i></b></div>
    <div style='padding-left:5%'><b>overridereset</b> has <b><i>28</i></b>. Should be: <b><i>27</i></b></div>
    <div style='padding-left:5%'><b>painsound</b> has <b><i>126</i></b>. Should be: <b><i>125</i></b></div>
    <div style='padding-left:5%'><b>reflectgauss</b> has <b><i>37</i></b>. Should be: <b><i>36</i></b></div>
    <div style='padding-left:5%'><b>removeplayeritem</b> has <b><i>24</i></b>. Should be: <b><i>23</i></b></div>
    <div style='padding-left:5%'><b>reportaistate</b> has <b><i>97</i></b>. Should be: <b><i>96</i></b></div>
    <div style='padding-left:5%'><b>respawn</b> has <b><i>49</i></b>. Should be: <b><i>48</i></b></div>
    <div style='padding-left:5%'><b>settogglestate</b> has <b><i>30</i></b>. Should be: <b><i>29</i></b></div>
    <div style='padding-left:5%'><b>startsneaking</b> has <b><i>31</i></b>. Should be: <b><i>30</i></b></div>
    <div style='padding-left:5%'><b>stopsneaking</b> has <b><i>32</i></b>. Should be: <b><i>31</i></b></div>
    <div style='padding-left:5%'><b>teamid</b> has <b><i>42</i></b>. Should be: <b><i>41</i></b></div>
    <div style='padding-left:5%'><b>think</b> has <b><i>44</i></b>. Should be: <b><i>43</i></b></div>
    <div style='padding-left:5%'><b>touch</b> has <b><i>45</i></b>. Should be: <b><i>44</i></b></div>
    <div style='padding-left:5%'><b>updateowner</b> has <b><i>50</i></b>. Should be: <b><i>49</i></b></div>
    <div style='padding-left:5%'><b>use</b> has <b><i>46</i></b>. Should be: <b><i>45</i></b></div>
    <div style='padding-left:5%'><b>weapon_addweapon</b> has <b><i>81</i></b>. Should be: <b><i>79</i></b></div>
    <div style='padding-left:5%'><b>weapon_extractammo</b> has <b><i>79</i></b>. Should be: <b><i>77</i></b></div>
    <div style='padding-left:5%'><b>weapon_extractclipammo</b> has <b><i>80</i></b>. Should be: <b><i>78</i></b></div>
    <div style='padding-left:5%'><b>weapon_isusable</b> has <b><i>85</i></b>. Should be: <b><i>83</i></b></div>
    <div style='padding-left:5%'><b>weapon_playemptysound</b> has <b><i>82</i></b>. Should be: <b><i>80</i></b></div>
    <div style='padding-left:5%'><b>weapon_primaryattack</b> has <b><i>86</i></b>. Should be: <b><i>84</i></b></div>
    <div style='padding-left:5%'><b>weapon_reload</b> has <b><i>88</i></b>. Should be: <b><i>86</i></b></div>
    <div style='padding-left:5%'><b>weapon_resetemptysound</b> has <b><i>83</i></b>. Should be: <b><i>81</i></b></div>
    <div style='padding-left:5%'><b>weapon_retireweapon</b> has <b><i>90</i></b>. Should be: <b><i>88</i></b></div>
    <div style='padding-left:5%'><b>weapon_secondaryattack</b> has <b><i>87</i></b>. Should be: <b><i>85</i></b></div>
    <div style='padding-left:5%'><b>weapon_sendweaponanim</b> has <b><i>84</i></b>. Should be: <b><i>82</i></b></div>
    <div style='padding-left:5%'><b>weapon_shouldweaponidle</b> has <b><i>91</i></b>. Should be: <b><i>89</i></b></div>
    <div style='padding-left:5%'><b>weapon_usedecrement</b> has <b><i>92</i></b>. Should be: <b><i>90</i></b></div>
    <div style='padding-left:5%'><b>weapon_weaponidle</b> has <b><i>89</i></b>. Should be: <b><i>87</i></b></div>

Checking mod cstrike Assuming a disalignment of -2

Checking mod dod Assuming a disalignment of -2

Checking mod esf Assuming a disalignment of 2

Checking mod esf_openbeta Assuming a disalignment of 0

becomedead has 71. Should be: 73
    <div style='padding-left:5%'><b>bestvisibleenemy</b> has <b><i>73</i></b>. Should be: <b><i>75</i></b></div>
    <div style='padding-left:5%'><b>blocked</b> has <b><i>51</i></b>. Should be: <b><i>53</i></b></div>
    <div style='padding-left:5%'><b>bodytarget</b> has <b><i>58</i></b>. Should be: <b><i>60</i></b></div>
    <div style='padding-left:5%'><b>center</b> has <b><i>55</i></b>. Should be: <b><i>57</i></b></div>
    <div style='padding-left:5%'><b>changeyaw</b> has <b><i>66</i></b>. Should be: <b><i>68</i></b></div>
    <div style='padding-left:5%'><b>earposition</b> has <b><i>57</i></b>. Should be: <b><i>59</i></b></div>
    <div style='padding-left:5%'><b>eyeposition</b> has <b><i>56</i></b>. Should be: <b><i>58</i></b></div>
    <div style='padding-left:5%'><b>fademonster</b> has <b><i>123</i></b>. Should be: <b><i>125</i></b></div>
    <div style='padding-left:5%'><b>fbecomeprone</b> has <b><i>54</i></b>. Should be: <b><i>56</i></b></div>
    <div style='padding-left:5%'><b>fvecvisible</b> has <b><i>61</i></b>. Should be: <b><i>63</i></b></div>
    <div style='padding-left:5%'><b>fvisible</b> has <b><i>60</i></b>. Should be: <b><i>62</i></b></div>
    <div style='padding-left:5%'><b>getnexttarget</b> has <b><i>47</i></b>. Should be: <b><i>49</i></b></div>
    <div style='padding-left:5%'><b>gibmonster</b> has <b><i>120</i></b>. Should be: <b><i>122</i></b></div>
    <div style='padding-left:5%'><b>hasaliengibs</b> has <b><i>122</i></b>. Should be: <b><i>124</i></b></div>
    <div style='padding-left:5%'><b>hashumangibs</b> has <b><i>121</i></b>. Should be: <b><i>123</i></b></div>
    <div style='padding-left:5%'><b>illumination</b> has <b><i>59</i></b>. Should be: <b><i>61</i></b></div>
    <div style='padding-left:5%'><b>irelationship</b> has <b><i>68</i></b>. Should be: <b><i>70</i></b></div>
    <div style='padding-left:5%'><b>isnetclient</b> has <b><i>43</i></b>. Should be: <b><i>45</i></b></div>
    <div style='padding-left:5%'><b>look</b> has <b><i>63</i></b>. Should be: <b><i>65</i></b></div>
    <div style='padding-left:5%'><b>monsterinitdead</b> has <b><i>70</i></b>. Should be: <b><i>72</i></b></div>
    <div style='padding-left:5%'><b>painsound</b> has <b><i>128</i></b>. Should be: <b><i>130</i></b></div>
    <div style='padding-left:5%'><b>reportaistate</b> has <b><i>99</i></b>. Should be: <b><i>101</i></b></div>
    <div style='padding-left:5%'><b>respawn</b> has <b><i>52</i></b>. Should be: <b><i>54</i></b></div>
    <div style='padding-left:5%'><b>teamid</b> has <b><i>44</i></b>. Should be: <b><i>46</i></b></div>
    <div style='padding-left:5%'><b>think</b> has <b><i>48</i></b>. Should be: <b><i>50</i></b></div>
    <div style='padding-left:5%'><b>touch</b> has <b><i>49</i></b>. Should be: <b><i>51</i></b></div>
    <div style='padding-left:5%'><b>updateowner</b> has <b><i>53</i></b>. Should be: <b><i>55</i></b></div>
    <div style='padding-left:5%'><b>use</b> has <b><i>50</i></b>. Should be: <b><i>52</i></b></div>

Checking mod ns Assuming a disalignment of 0

becomedead has 71. Should be: 73
    <div style='padding-left:5%'><b>bestvisibleenemy</b> has <b><i>78</i></b>. Should be: <b><i>80</i></b></div>
    <div style='padding-left:5%'><b>changeyaw</b> has <b><i>65</i></b>. Should be: <b><i>67</i></b></div>
    <div style='padding-left:5%'><b>fademonster</b> has <b><i>68</i></b>. Should be: <b><i>70</i></b></div>
    <div style='padding-left:5%'><b>gibmonster</b> has <b><i>69</i></b>. Should be: <b><i>71</i></b></div>
    <div style='padding-left:5%'><b>hasaliengibs</b> has <b><i>67</i></b>. Should be: <b><i>69</i></b></div>
    <div style='padding-left:5%'><b>hashumangibs</b> has <b><i>66</i></b>. Should be: <b><i>68</i></b></div>
    <div style='padding-left:5%'><b>irelationship</b> has <b><i>73</i></b>. Should be: <b><i>75</i></b></div>
    <div style='padding-left:5%'><b>look</b> has <b><i>77</i></b>. Should be: <b><i>79</i></b></div>
    <div style='padding-left:5%'><b>monsterinitdead</b> has <b><i>76</i></b>. Should be: <b><i>78</i></b></div>
    <div style='padding-left:5%'><b>painsound</b> has <b><i>74</i></b>. Should be: <b><i>76</i></b></div>
    <div style='padding-left:5%'><b>reportaistate</b> has <b><i>75</i></b>. Should be: <b><i>77</i></b></div>

Checking mod tfc Assuming a disalignment of -2

Checking mod ts Assuming a disalignment of -2

Checking mod valve Assuming a disalignment of -2

Arkshine commented 13 years ago

Check again.

joaquimandrade commented 13 years ago

Checking mod esf_openbeta Assuming a disalignment of -2 player_shouldfadeondeath has 61. Should be: 60

joaquimandrade commented 13 years ago

I closed without wanting! Fix it and then close and then suck my cock gently.

Arkshine commented 13 years ago

It's fixed. Good to got this problem, because the offset were wrong.

joaquimandrade commented 13 years ago

Sorry, there was one more! I didn't saw it. From now on i will post everything.

Checking mod ag Assuming a disalignment of -2

Checking mod cstrike Assuming a disalignment of -2

Checking mod dod Assuming a disalignment of -2

Checking mod esf Assuming a disalignment of -2

Checking mod esf_openbeta Assuming a disalignment of -2 player_shouldfadeondeath has 61. Should be: 60

Checking mod ns Assuming a disalignment of -2 giveammo has 26. Should be: 25

Checking mod tfc Assuming a disalignment of -2

Checking mod ts Assuming a disalignment of -2

Checking mod valve Assuming a disalignment of -2

joaquimandrade commented 13 years ago

Checking mod ag Assuming a disalignment of -2

Checking mod cstrike Assuming a disalignment of -2

Checking mod dod Assuming a disalignment of -2

Checking mod esf Assuming a disalignment of -2

Checking mod esf_openbeta Assuming a disalignment of -2

Checking mod ns Assuming a disalignment of -2

Checking mod tfc Assuming a disalignment of -2

Checking mod ts Assuming a disalignment of -2

Checking mod valve Assuming a disalignment of -2

But, ns displacement was 0!

joaquimandrade commented 13 years ago

Fucking "comment + CLOSE" button

joaquimandrade commented 13 years ago

Checking mod ag Assuming a disalignment of -2

Checking mod cstrike Assuming a disalignment of -2

Checking mod dod Assuming a disalignment of -2

Checking mod esf Assuming a disalignment of -2

Checking mod esf_openbeta Assuming a disalignment of 0

Checking mod ns Assuming a disalignment of 0

Checking mod tfc Assuming a disalignment of -2

Checking mod ts Assuming a disalignment of -2

Checking mod valve Assuming a disalignment of -2

Seems ok! Closing. For now!

joaquimandrade commented 13 years ago

Fuck! esf is +2 not -2. Fix it!

joaquimandrade commented 13 years ago

Ok esf is -2 because Arkshine switched linux and windows from their original positions so this is good to go! Suce ma bite!

joaquimandrade commented 13 years ago

Checking mod ag Assuming a disalignment of -2

Checking mod cstrike Assuming a disalignment of -2

Checking mod dod Assuming a disalignment of -2

Checking mod esf Assuming a disalignment of -2

Checking mod esf_openbeta Assuming a disalignment of 0

Checking mod ns Assuming a disalignment of 0 ns_effectiveplayerclasschanged has 93. Should be: 95 ns_getadrenalinefactor has 104. Should be: 106 ns_getanimationforactivity has 100. Should be: 102 ns_getauthenticationmask has 92. Should be: 94 ns_getcanuseweapon has 108. Should be: 110 ns_geteffectiveplayerclass has 91. Should be: 93 ns_gethull has 79. Should be: 81 ns_getmaxwalkspeed has 88. Should be: 90 ns_givenameditem has 106. Should be: 108 ns_initplayerfromspawn has 97. Should be: 99 ns_needsteamupdate has 94. Should be: 96 ns_packdeadplayeritems has 98. Should be: 100 ns_savedataforreset has 64. Should be: 66 ns_sendteamupdate has 95. Should be: 97 ns_sendweaponupdate has 96. Should be: 98 ns_setbonecontroller has 63. Should be: 65 ns_setteamid has 90. Should be: 92 ns_startobserver has 102. Should be: 104 ns_stopobserver has 103. Should be: 105
ns_suicide has 107. Should be: 109 ns_weapon_defaultdeploy has 95. Should be: 97 ns_weapon_defaultreload has 96. Should be: 98 ns_weapon_getdeploytime has 97. Should be: 99 ns_weapon_getisweaponprimed has 92. Should be: 94 ns_weapon_getisweaponpriming has 93. Should be: 95 ns_weapon_getweaponprimetime has 90. Should be: 92 ns_weapon_primeweapon has 91. Should be: 93

Checking mod tfc Assuming a disalignment of -2

Checking mod ts Assuming a disalignment of -2

Checking mod valve Assuming a disalignment of -2 [andrade@fedora quim]$

joaquimandrade commented 13 years ago

Just a random quality control test!

Checking mod ag Assuming a disalignment of -2

Checking mod cstrike Assuming a disalignment of -2 fvecvisible has 56. Should be: 57 fvisible has 57. Should be: 56

Checking mod dod Assuming a disalignment of -2

Checking mod esf Assuming a disalignment of -2

Checking mod esf_openbeta Assuming a disalignment of 0

Checking mod ns Assuming a disalignment of 0

Checking mod tfc Assuming a disalignment of -2

Checking mod ts Assuming a disalignment of -2

Checking mod valve Assuming a disalignment of -2

Seems ok! :D

Arkshine commented 13 years ago

Check please.

Arkshine commented 13 years ago

This motherfucker doesn't have the script anymore... What a useless guy!