1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
function trainNecromancy() {
const castSpellDelay = 4000;
const skillValueGoal = 1000;
const target = Player.Serial();
const useSkillDelay = 10250;
var skillValue = Orion.SkillValue('Necromancy');
while (skillValue < skillValueGoal) {
if (skillValue < 600)
var spell = 'Wraith Form';
else if (skillValue < 800)
var spell = 'Horrific Beast';
else
var spell = 'Lich Form';
while (Player.Mana() < 10) {
var meditating = false;
while (!meditating) {
Orion.ClearJournal();
Orion.UseSkill('meditation');
Orion.Wait(250);
if (Orion.InJournal('You cannot focus your concentration|You stop meditating'))
{
Orion.Wait(useSkillDelay);
}
else
{
var meditating = true;
}
}
Orion.WaitJournal('You are at peace', 0, Orion.Now() + 60000);
}
Orion.Cast(spell, target);
Orion.Wait(castSpellDelay);
skillValue = Orion.SkillValue('Necromancy');
}
}
function circuitBreaker(skillValue) {
if (skillValue < 30) {
Orion.Print('[Error] trainNecromancy: Train skill to 30.0 before proceeding.');
Orion.Terminate('trainNecromancy');
}
}
function trainBushido() {
const castSpellDelay = 3000;
const skillValueGoal = 1000;
const target = Player.Serial();
const useSkillDelay = 10250;
var SkillValue = Orion.SkillValue('Bushido', 'real');
while (SkillValue < skillValueGoal) {
if (SkillValue < 600)
var spell = 'Confidence';
else if (SkillValue < 750)
var spell = 'Counter Attack';
else
var spell = 'Evasion';
while (Player.Mana() < 15) {
var meditating = false;
while (!meditating) {
Orion.ClearJournal();
Orion.UseSkill('meditation');
Orion.Wait(250);
if (Orion.InJournal('You cannot focus your concentration|You stop meditating')){
Orion.Wait(useSkillDelay);
}
else
var meditating = true;
}
Orion.WaitJournal('You are at peace', 0, Orion.Now() + 60000);
}
Orion.Cast(spell, target);
Orion.Wait(castSpellDelay);
skillValue = Orion.SkillValue('Bushido', 'real');
}
}
function fishing()
{
while(true)
{
for (var x = -4; x <= 4; x=x+8)
{
for (var y = -4; y <= 4; y=y+8)
{
Orion.EquipT('0x0DC0');
Orion.UseType('0x0DC0', '0xFFFF');
if (Orion.WaitForTarget(1000))
{
Orion.TargetTileRelative('water', x, y, 4);
Orion.Wait('7500');
}
if (Orion.InJournal("biting here", 'my|sys' ,0, any, 0, 0))
{
Orion.Print("fishes all gone");
Orion.ClearJournal();
Orion.Say('forward');
Orion.Wait('7500');
Orion.Say('stop');
}
}
}
}
}
function BagOfSending () {
if (Player.Weight () >= Player.MaxWeight ()-20) {
Orion.UseType('0x0E76');
Orion.Wait(100);
Orion.TargetType('0x0EED');
}
}
Orion.UseType('graphic');
where you would replace the word graphic with the graphic number. 0x0E76 is the graphic for a bag of sending and 0x0EED is the graphic for a gold pile. Orion uses Java and is fairly easy to follow, even if you are like me, and never used Java before. BagOfSending()
Orion.Wait(100);
;===================================================================
; Script Name: Crisis Tinkering Master
; Author: Crisis
; Version: 1.0
; Client Tested with: 7.0.87.11
; EUO version tested with: 1.5 (version 335)
; Shard OSI / FS: OSI
; Release Date: 09/19/2020
; Initial Writing Date: 09/20/2018
; Testing & Reworking Date: 05/11/2020
; Revision Date: N/A
; Purpose:
; . To GM Tinkering
; . Trains from 0
;
; Revisions:
; . None yet
;
; Requirements:
; . Iron ingots and enough tinkering tools until you can craft them on your own.
; . Make sure to have only iron ingots in the resource secure, it will use whatever ingots are in there.
; Future Updates:
; . None Yet
;
; Special Thanks:
; . Manwinc for use of his crafting subs
; . TrailMyx for the use of his sournal handling subs
;
; Copyright: 2020 Crisis
;===================================================================
event pathfind xxxx yyy
until #charposx = xxxx && #charposy = yyy
wait 20