Jump to content
  • 0

Reset Stats More


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello all

can i request script like this function

if player have more stats than 99 like 101 str

its will auto reset stats

and for GM more than lvl 80 no need to reset

thx

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

the problem is how you going to know when they exceed the limit ?

unless you keep check their character every interval of time..

otherwise..i think this is the only way..

[ Pastebin ] Reset Status when Exceed

everytime they , Up Base Level , Up Job Level , Killed Someone / Monster , Login ...

the script will check them...and if their status exceed the limit..then will be reset.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   5
  • Joined:  12/12/11
  • Last Seen:  

resetstatus;

?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

yup

stats

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   4
  • Joined:  12/05/11
  • Last Seen:  

Posted · Hidden by Neblim, March 25, 2012 - Derp. Fail.
Hidden by Neblim, March 25, 2012 - Derp. Fail.

if( bStr > 99 || bAgi > 99 || bVit > 99 || bInt > 99 || bDex > 99 || bLuk > 99 ) {
   if(getgmlevel() >= 80) end;
   dispbottom "Sorry, your stats are too high and thus they have been reset!";
   resetstatus;
}

Something like this?

Link to comment

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   4
  • Joined:  12/05/11
  • Last Seen:  

if( getgmlevel() < 80) {
   if( readparam(bStr) > 99 || readparam(bAgi) > 99 || readparam(bVit) > 99 || readparam(bInt) > 99 || readparam(bDex) > 99 || readparam(bLuk) > 99 ) {
       dispbottom "Sorry, your stats are too high and thus they have been reset!";
       resetstatus;
   }
}

Something like this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

yeah

can give me full script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

thx sir emistry

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...