Quote:
Originally Posted by omitma
WTF ?!?! As i said before you don't want help. You want code which you just have to put at a place which i have to tell you and which works then (also called leeching). And for you working is making a thread, looking few minutes into connectionmanager and then saying IDC how to do it please give me files with everything in there. That is not much work xD
|
you do not understand my problem,
1. I went ConnectionManager (to find effects)
2. I found the effect of battlerepairbot (packet)
{
return;
}
}
Settings.fastRepair = _loc_108;
if (_loc_66 != null)
{
_loc_147 = _loc_66.getTopMenu();
if (_loc_147 != null)
{
if (_loc_108 > 0)
{
_loc_147.setButtonAccess(SuperActionButton.ACTION_ FASTREPAIR, true);
_loc_109 = _loc_147.getButton(SuperActionButton.ACTION_FASTRE PAIR);
_loc_109.setCounterVisibility(true);
_loc_109.setCount(_loc_108);
}
else
{
_loc_147.setButtonAccess(SuperActionButton.ACTION_ FASTREPAIR, false);
_loc_109 = _loc_147.getButton(SuperActionButton.ACTION_FASTRE PAIR);
_loc_109.setCounterVisibility(false);
}
}
}
_loc_9 = this.main.screenManager.map;
if (_loc_9 !=null)
{
_loc_31 = _loc_9.setShipManager();
_loc_10 = _loc_31.getHero();
if (_loc_10 != null)
{
_loc_66.showRadiationWarning(_loc_106);
if (Main.showCross)
{
_loc_66.moveCrosshairs(_loc_5, _loc_6);
}
if (_loc_104 && Hero.repairSkillId != -1)
{
_loc_148 = PatternManager.robotPatterns[Hero.repairSkillId];
if (!this.effectsManager.doesEffectExitsOn(_loc_10, EffectIDList.TECH_BATTLE_REP_BOT_EFFECT))
{
_loc_149 = new BattleRepBotTechEffect(EffectIDlist.TECH_BATTLE_RE P_BOT_EFFECT, new EffectPattern(EffectIDList.TECH_BATTLE_REP_BOT_EFF ECT, _loc_148.resKey));
this.EffectsManager.addEffect(_loc_149, _loc_10, EffectsManager.NORMAL_EFFECT);
}
}
else
{
this.effectsManager.removeEffectByIdFromEntity(_lo c_10, EffectIDList.TECH_BATTLE_REP_BOT_EFFECT);
}
}
}
break;
}
3. How do I put this effect to the game??