View Full Version : General question about random solving
litoris
07-27-2011, 04:18 PM
So, let's say that in a scripts, nothing is specified as to what to do with the reward of a random event, but the script does check for randoms. Which reward will be taken, and if it is xp, how will the xp be used?
footballjds
07-27-2011, 04:37 PM
Found in antirandoms.simba i believe.
By default if nothing is set for box rewards XP is selected.
if (Length(Trim(srl_Implode(Players[CurrentPlayer].BoxRewards, ''))) = 0) then
Players[CurrentPlayer].BoxRewards := ['XP'];
Found in SRL.scar
So by default the lamp skill is mining
LampSkill := 'mining';
litoris
07-27-2011, 04:48 PM
Mining= Why mining? Why not prayer or something? >_>
Thanks for the info, I'm editing that now :D
footballjds
07-27-2011, 04:52 PM
mining is pretty much the basis of autoing since scar was release :D
Harry
07-27-2011, 04:53 PM
Mining= Why mining? Why not prayer or something? >_>
Thanks for the info, I'm editing that now :D
Because Mining is the least obtrusive skill. If someone gets extra mining levels it probably won't break their account's goals.
bolshak25
07-27-2011, 05:07 PM
Mining= Why mining? Why not prayer or something? >_>
Thanks for the info, I'm editing that now :D
you dont need to edit those files, you can just add it into your script what you want for a reward, and if its xp, what xp to take. idr what the exact lines are, but someone here will. just put it in your declare players
litoris
07-27-2011, 05:08 PM
you dont need to edit those files, you can just add it into your script what you want for a reward, and if its xp, what xp to take. idr what the exact lines are, but someone here will. just put it in your declare players
I'm editing it so that I don't get useless mining xp with scripts that don't have it. cba to edit every single script without LampSkill.
bolshak25
07-27-2011, 05:34 PM
its not that hard to add two lines to each script, plus if you want different skills on different accounts, it works nicely
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.