Riiicardoo Posted October 13, 2011 Author Share Posted October 13, 2011 Server SideCreate a checkBox, textBox a timer and 2 textBox with the following settingscheckBoxName: chkMulttimerName: tmrMultInterval = 1Enabled = FalseTextBox1Name: txtMultText: TempTextBox2Name: txtMult2Text: experimentWithin the timer add:```chkMult.Value = 0tmrMult.Enabled = False```Within the checkBox add:```If chkMult.Value = 1 ThentmrMult.Interval = txtMult.Text * 1000tmrMult.Enabled = TrueCall GlobalMsg("The experiment is being multiplied by " & txtMult2.Text, 1)End If```Within the textBox1 add:```If chkMult.Value = 1 ThentmrMult.Interval = txtMult.Text * 1000End If```Within the checkBox2 add:```If chkMult.Value = 1 ThenCall GlobalMsg("The experiment is being multiplied by " & txtMult2.Text, 1)End If```Look for:``` ' Calculate exp to give attacker exp = (GetPlayerExp(victim) \ 10)```And add up:Look for:``` ' Multiplier Exp If frmServer.chkMult.Value = 1 Then exp = exp * frmServer.txtMult2.Text End If`````` ' Calculate exp to give attacker exp = NPC(npcNum).exp```And add up:``` ' Multiplier Exp If frmServer.chkMult.Value = 1 Then exp = exp * frmServer.txtMult2.Text End If```Credits:me Link to comment Share on other sites More sharing options...
Justn Posted October 13, 2011 Share Posted October 13, 2011 I tried this out and it doesn't work at all besides displaying your displaying your global msg…. Also i dont understand why you added the timer with```chkMult.Value = 0tmrMult.Enabled = False```also dont know how it will work with just adding "exp = exp * frmServer.txtMult2.Text" I thought adding a NPC(npcNum).exp * instead would work and it didn't? Am I just having trouble understanding you or did you not even test this? Link to comment Share on other sites More sharing options...
Riiicardoo Posted October 13, 2011 Author Share Posted October 13, 2011 I tested here and take, I q and a fault was in the abir chekbox first and then by the values ​​of the textbox to fix it so put this code in textbox1:If chkMult.Value = 1 ThentmrMult.Interval = txtMult.Text * 1000End IfAnd textBox2If chkMult.Value = 1 ThenCall GlobalMsg("The experiment is being multiplied by " & txtMult2.Text, 1)End If Link to comment Share on other sites More sharing options...
Justn Posted October 13, 2011 Share Posted October 13, 2011 Ok cool but can you explain to me what this does? I thought it was just for changing the exp rate (like double exp weekends =p)? Which I got it to do but I deleted the timer and first txt box and changed the code slightly…. Or is it suppose to do something else sorry im just confused :embarrassed: Link to comment Share on other sites More sharing options...
Riiicardoo Posted October 13, 2011 Author Share Posted October 13, 2011 The system works like this:You enter the time you want the last event in txtMult more per second, and doubled as places of experience in txtMult2, there is then only activate chekBox that the event will run Link to comment Share on other sites More sharing options...
Justn Posted October 13, 2011 Share Posted October 13, 2011 Oh ok hints the name "Multiplier" sorry i was working off your first post and wasn't really sure what I was trying to fix… I haven't tried it again but seems like some people would find this helpful =) 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