PapaZola Posted March 25, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Share Posted March 25, 2012 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 Quote Link to comment Share on other sites More sharing options...
Emistry Posted March 25, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted March 25, 2012 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. Quote Link to comment Share on other sites More sharing options...
kadze Posted March 25, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 58 Reputation: 5 Joined: 12/12/11 Last Seen: March 10, 2024 Share Posted March 25, 2012 resetstatus; ? Quote Link to comment Share on other sites More sharing options...
PapaZola Posted March 25, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Author Share Posted March 25, 2012 yup stats Quote Link to comment Share on other sites More sharing options...
Neblim Posted March 25, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 50 Reputation: 4 Joined: 12/05/11 Last Seen: August 3, 2023 Share Posted March 25, 2012 · 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
Neblim Posted March 25, 2012 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 50 Reputation: 4 Joined: 12/05/11 Last Seen: August 3, 2023 Share Posted March 25, 2012 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? Quote Link to comment Share on other sites More sharing options...
PapaZola Posted March 25, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Author Share Posted March 25, 2012 yeah can give me full script? Quote Link to comment Share on other sites More sharing options...
PapaZola Posted March 26, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 925 Reputation: 33 Joined: 12/05/11 Last Seen: September 20, 2023 Author Share Posted March 26, 2012 thx sir emistry Quote Link to comment Share on other sites More sharing options...
Question
PapaZola
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.