the star Posted July 28, 2012 Author Share Posted July 28, 2012 How to stop this problem -after battle player regain their health without any healing system or inn.i want to stop that problem.plz help me Link to comment Share on other sites More sharing options...
Agoraphobic Posted July 28, 2012 Share Posted July 28, 2012 What you're wanting to do is a source edit. You will need a copy of vb6 to open up the Server.vbp.Find this code.```Function GetPlayerVitalRegen(ByVal index As Long, ByVal Vital As Vitals) As Long Dim i As Long ' Prevent subscript out of range If IsPlaying(index) = False Or index <= 0 Or index > MAX_PLAYERS Then GetPlayerVitalRegen = 0 Exit Function End If Select Case Vital Case HP i = (GetPlayerStat(index, Stats.Willpower) * 0.8) + 6 Case MP i = (GetPlayerStat(index, Stats.Willpower) / 4) + 12.5 End Select If i < 2 Then i = 2 GetPlayerVitalRegen = iEnd Function```Change it to this to completely stop regeneration.```Function GetPlayerVitalRegen(ByVal index As Long, ByVal Vital As Vitals) As Long Dim i As Long ' Prevent subscript out of range If IsPlaying(index) = False Or index <= 0 Or index > MAX_PLAYERS Then GetPlayerVitalRegen = 0 Exit Function End If Select Case Vital Case HP i = 0 Case MP i = 0 End Select GetPlayerVitalRegen = iEnd Function``` Link to comment Share on other sites More sharing options...
Justn Posted July 28, 2012 Share Posted July 28, 2012 Or u could read this http://www.touchofdeathforums.com/smf2/index.php/topic,74300.0.html and do as it says and that way its still not running in your server loop :) and u can also just remove the whole system Link to comment Share on other sites More sharing options...
the star Posted July 29, 2012 Author Share Posted July 29, 2012 thanks to both of u :) Link to comment Share on other sites More sharing options...
Alerd Posted October 22, 2012 Share Posted October 22, 2012 Is it possible to do to repair itself of 0.01 rather than 2.0? Link to comment Share on other sites More sharing options...
abhi2011 Posted October 23, 2012 Share Posted October 23, 2012 Necro Poster.What do you mean by 0.01 rather than 2.0? Link to comment Share on other sites More sharing options...
lanshan75 Posted October 23, 2012 Share Posted October 23, 2012 I am totally agree with what you said,but my English is poor, sometiomes I don't know how to express my feeling,I just want to make some friends who can help me in my English and share the happiness with each other.__________________________________share love,share happy,share useful information about [http://www.mmolive.com/](http://www.mmolive.com/) and [http://www.mmohome.com](http://www.mmohome.com) Link to comment Share on other sites More sharing options...
Alerd Posted October 23, 2012 Share Posted October 23, 2012 Dont work to change 2 to 0.1 i try to change and dont work because i ask. 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