Quess Posted June 10, 2011 Author Share Posted June 10, 2011 Lastly, I had a problem with healing spells which don't heal instantly and only when you got some damage it was refreshed. That meant that you couldn't see healing when not in combat. I managed to solve that problem and now decided to share this with those who have the same problem ;)Go to server-side and search for those in modCombat:```TempPlayer(Index).SpellCD(spellslot) = GetTickCount + (Spell(spellnum).CDTime * 1000)Call SendCooldown(Index, spellslot)```Place those lines below:```Call SendVital(Index, Vitals.HP)If TempPlayer(Index).inParty > 0 Then SendPartyVitals TempPlayer(Index).inParty, Index```Hope I helped someone ;) Link to comment Share on other sites More sharing options...
Joyce Posted June 10, 2011 Share Posted June 10, 2011 They heal instantly, the value just isn't sent to your client. It's not really affecting anything but the client-side interface. ;)But you are correct, this is a minor issue with healing spells.. :) You can heal any kind of NPC as well, making for some excellent griefing when someone is fighting mobs! Link to comment Share on other sites More sharing options...
Quess Posted June 10, 2011 Author Share Posted June 10, 2011 @Quess:> That meant that you couldn't see healing when not in combat.I know, healing spells adds health instantly but don't send information about it to your client (NPCs damage does). That tutorial just allows you to see it instantly on your HP bar ^^ Link to comment Share on other sites More sharing options...
Helladen Posted June 10, 2011 Share Posted June 10, 2011 Thank you for finding this bug and sharing it with the community. Link to comment Share on other sites More sharing options...
kevinsnider Posted June 29, 2011 Share Posted June 29, 2011 This is a great!!! Thank you for sharing. Link to comment Share on other sites More sharing options...
jjdr92 Posted June 30, 2011 Share Posted June 30, 2011 didn't work :( any suggestion?… Link to comment Share on other sites More sharing options...
Greendude120 Posted June 30, 2011 Share Posted June 30, 2011 @juanjo. Undo changes. Re-read the post properly.@Quess. nice catch i didnt notice that. yami is right tho too, maybe u should add a fix in here so that players cant heal npcs (unless its a player owned pet) Link to comment Share on other sites More sharing options...
ramoneknot Posted July 1, 2011 Share Posted July 1, 2011 they will work if you heal spells are set in self cast otherwise if your heal spell have range(to heal you and your friends) they will dont update HP Link to comment Share on other sites More sharing options...
Exvayate Posted July 14, 2011 Share Posted July 14, 2011 Do I cut the lines and then paste them under the next lines of code? Link to comment Share on other sites More sharing options...
GKO Posted July 14, 2011 Share Posted July 14, 2011 Yes. Link to comment Share on other sites More sharing options...
Exvayate Posted July 14, 2011 Share Posted July 14, 2011 And so the spell should make my HP bar rise up instantly if I casted a self-cast healing spell? Link to comment Share on other sites More sharing options...
GKO Posted July 14, 2011 Share Posted July 14, 2011 Yes, thats what it is for.Regards,GKO Link to comment Share on other sites More sharing options...
Exvayate Posted July 14, 2011 Share Posted July 14, 2011 I'm gonna try it again. Thanks for helping me verify! :] Link to comment Share on other sites More sharing options...
Annahstas Posted July 17, 2011 Share Posted July 17, 2011 Thank you ^^ 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