Valentine90 Posted January 6, 2013 Author Share Posted January 6, 2013 **Sorry my english**Robin forgot to put a code in the Function that checks the time "attack" of player against a npc, ie, the NPC can be "attacked" before the appointed time. Not a problem for monsters, but for other types of NPCs, as npc shop for example. Don't There is a very serious problem in _Eclipse Origins v2_, but in _Crystal shire_ drifts and other engines that use the types of npcs more than usual yes, however if it is a bug then it should be corrected.**Open Server****1 -** In **modCombat**, search for:``` If Len(Trim$(Npc(npcNum).AttackSay)) > 0 Then PlayerMsg attacker, Trim$(Npc(npcNum).Name) & ": " & Trim$(Npc(npcNum).AttackSay), White End If```**2 -** Below this line add:``` ' Reset attack timerTempPlayer(attacker).AttackTimer = GetTickCount```**Credits:**Valentine Link to comment Share on other sites More sharing options...
Zzbrandon Posted January 6, 2013 Share Posted January 6, 2013 Is this fixed in Eo 3.0? Link to comment Share on other sites More sharing options...
tslusny Posted January 6, 2013 Share Posted January 6, 2013 No Link to comment Share on other sites More sharing options...
Valentine90 Posted January 6, 2013 Author Share Posted January 6, 2013 > Is this fixed in Eo 3.0?I fix bugs of oficial Eclipse Origins v2. Link to comment Share on other sites More sharing options...
Valentine90 Posted January 14, 2013 Author Share Posted January 14, 2013 Sorry the message then, but it is of great importance.A change was made on the topic, the code:```TempPlayer(attacker).AttackTimer = GetTickCount```It should be added after:```If Len(Trim$(Npc(npcNum).AttackSay)) > 0 ThenPlayerMsg attacker, Trim$(Npc(npcNum).Name) & ": " & Trim$(Npc(npcNum).AttackSay), WhiteEnd If```And not after of```If npcNum > 0 And GetTickCount > TempPlayer(attacker).AttackTimer + attackspeed Then```How was the topic before! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now