Register for your free account! | Forgot your password?

You last visited: Today at 04:50

  • Please register to post and access all features, it's quick, easy and FREE!

 

AionScript

Reply
 
Old   #346
 
elite*gold: 0
Join Date: Jan 2016
Posts: 47
Received Thanks: 0
Has anyone some troubles with Bard script when Sleep is enabled?



Locatelli1 is offline  
Old   #347
 
elite*gold: 0
Join Date: Jan 2012
Posts: 28
Received Thanks: 3
I got some problems with my Sorc.lua.
Stamina Absorbtion and Frost both results in my Sorc not casting any spells afther he used one of them.
I correkted wrong names in Skills.lua but nothing changed.
My Sorcerer.lua looks like this:
Code:
--[[

	--------------------------------------------------
	Copyright (C) 2011 Blastradius

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
	--------------------------------------------------
	
]]--

--- Perform the attack routine on the selected target.
--
-- [MENTION=1985011]param[/MENTION]	Entity	Contains the entity we have targeted.
-- [MENTION=1985011]param[/MENTION]	double	Contains the distance to the target
-- [MENTION=1985011]param[/MENTION]	bool	Indicates whether or not the target is stunned.
-- [MENTION=1985011]param[/MENTION]	mixed	Indicates whether or not to ignore Lumiel's Effect for the fusion chain.
-- [MENTION=326673]return[/MENTION]	bool

function Attack( Entity, Range, Stunned, Ignore )
	
	-- Check if Flame Cage has been applied on the target.
	local FlameCageEffect = Entity:GetState():GetState( Helper:CheckName( "Flame Cage" ));
	
	-- Check if Lumiel's Wisdom has been applied on the player.
	local LumielsWisdomEffect = Player:GetState():GetState( Helper:CheckName( "Vaizel's Wisdom" ));
	
	-- Check if the player has Lumiel's Wisdom and assume we always have its effect when we do not!
	if not Settings.Sorcerer.AllowMpConservation or AbilityList:GetAbility( Helper:CheckName( "Vaizel's Wisdom" )) == nil then
		LumielsWisdomEffect = true;
		self._LumielsWisdom = Time() + 15000;
	end
	
--Nukes--
	--Delayed Blast--
	if Helper:CheckAvailable( "Delayed Burst" ) then
		Helper:CheckExecute( "Delayed Burst" );
		return false;
	end
		--Storm Strike(Cyclone Strike)--
	if Helper:CheckAvailable( "Cyclone Strike" ) and Entity:GetHealth() > 70 then
		Helper:CheckExecute( "Cyclone Strike" );
		return false;
	end
	--Aetheric Spell--
	if Helper:CheckAvailable( "Aetheric Spell" ) and Entity:GetHealth() > 70 and Player:GetDP() >= 2000 then
		Helper:CheckExecute( "Aetheric Spell" );
		return false;
	end
	--Aether´s Hold--
	if Helper:CheckAvailable( "Aether's Hold" ) and Entity:GetHealth() > 70 then
		Helper:CheckExecute( "Aether's Hold" );
		return false;
	end
--Sitiational/long cd--
	--Stamina Absorption--
		if Helper:CheckAvailable( "Stamina Absorption" ) and Player:GetHealth() < 70 then
		Helper:CheckExecute( "Stamina Absorption" );
		return false;
	end
	--Freeze(Frost)--
	if Helper:CheckAvailable( "Frost" ) then
		Helper:CheckExecute( "Frost" );
		return false;
	end
	--Arcane Thunderbold--
	if Helper:CheckAvailable( "Arcane Thunderbolt" ) then
		Helper:CheckExecute(" Arcane Thunderbolt" );
		return false;
	end
	-- Ice Chain --
	if Helper:CheckAvailable( "Ice Chain" ) then
		Helper:CheckExecute("Ice Chain");
		return false;	
	end
--Mana--
	if Helper:CheckAvailable( "Refracting Shard" ) and Player:GetManaCurrent() < Player:GetManaMaximum() - 1643 then
		Helper:CheckExecute( "Refracting Shard" );
		return false;
	end
--Core Rotation--
		-- Flame Fusion
	if Helper:CheckAvailable( "Flame Fusion" ) then
		Helper:CheckExecute( "Flame Fusion", Entity );
		return false;
	end
	-- Flame Cage
	if Helper:CheckAvailable( "Flame Cage" ) and FlameCageEffect == nil then
		Helper:CheckExecute( "Flame Cage", Entity );
		return false;
	end
		-- Flame Harpoon
	if Helper:CheckAvailable( "Flame Harpoon" ) then
		Helper:CheckExecute( "Flame Harpoon", Entity );
		return false;
	end
	
	-- Nothing was executed, continue with other functions.
	return false;
	
end

--- Perform the safety checks before moving to the next target.
--
-- [MENTION=326673]return[/MENTION]	bool

function Pause()

	local EntityState = Player:GetState();
	
	-- Buff: Absorb Energy
	--if Helper:CheckAvailable( "Absorb Energy" ) and Player:GetManaMaximum() - Player:GetManaCurrent() > 226 then
	--	Helper:CheckExecute( "Absorb Energy" );
	--	return false;
	--end
	
	-- Buff: Stone Skin
	if Helper:CheckAvailable( "Stone Skin" ) and EntityState:GetState( Helper:CheckName( "Stone Skin" )) == nil then
		Helper:CheckExecute( "Stone Skin" );
		return false;
	end
	
	-- Buff: Robe of Flame
	if Helper:CheckAvailable( "Flame Robes" ) and EntityState:GetState( Helper:CheckName( "Flame Robes" )) == nil then
		Helper:CheckExecute( "Flame Robes" );

		return false;
	end
	
	-- Gain Mana (Assuming highest level of Absorb Energy)
	if Helper:CheckAvailable( "Gain Mana" ) and Player:GetManaCurrent() < Player:GetManaMaximum() - 1590 then
		Helper:CheckExecute( "Gain Mana" );
		return false;
	end

	-- Nothing was executed, continue with other functions.
	return true;
	
end
Anyone has a clue how to fix this?


zeroschwul is offline  
Old   #348
 
elite*gold: 0
Join Date: Apr 2015
Posts: 182
Received Thanks: 25
dont have sorc but maybe this work
--Stamina Absorption--
if Helper:CheckAvailable( "Stamina Absorption" ) and Player:GetHealth() < 70 then
Helper:CheckExecute( "Stamina Absorption", Entity );
return false;
end

i used sorc half year ago o sthing like this.
i edit so sorc use cast speed.

nussxxx is offline  
Thanks
1 User
Old   #349
 
elite*gold: 0
Join Date: Apr 2014
Posts: 6
Received Thanks: 1
i got it from a guy here its work fine for me
sorcerer


marinos122 is offline  
Thanks
1 User
Old   #350
 
elite*gold: 0
Join Date: Jan 2012
Posts: 28
Received Thanks: 3
Thank you
The ",Entity" solved my problem, now i only need to tweak a few things in my script and im ready to go
zeroschwul is offline  
Old   #351
 
elite*gold: 0
Join Date: Aug 2016
Posts: 35
Received Thanks: 5
Anyone else crafting script not work?
gorguss is offline  
Old   #352
 
elite*gold: 0
Join Date: Oct 2012
Posts: 1
Received Thanks: 0
hey i can use the "Aionscript3 -backup.rar" from the Gladiator - Kopie
but i want to ask some qus, i don't know what can i do next
don't know how to use the farming stuff or the dropdown list of .lua and .xml

I'm a lvl 70 Gladiator asmo I would like to learn about it
also can do some qus or something
skill that is exploits or good things for PVP stuff
lordoforz is offline  
Old   #353
 
elite*gold: 0
Join Date: Apr 2015
Posts: 182
Received Thanks: 25
u need read all posted i guess.

U new. disabel panic mode.
press on entities interface. SHIFT + ; and diabel PANIC MODE
GM will instantly ban u account if u logout

lost cleric this way. i was just running in gelkmaros. GM poped directly on me. client crashed(panic mode). atfter relog the account was permaly banned. i did not even kill 1 mob xD

and i think is also better not to AFK botting with lvl 70 char. gms kinda activ on new maps.(office time 8 - 17)
if u cant answer the GMs questen while u not playing. the account is 100% perma ban.
nussxxx is offline  
Old   #354
 
elite*gold: 0
Join Date: Aug 2016
Posts: 35
Received Thanks: 5
Quote:
Originally Posted by nussxxx View Post
u need read all posted i guess.

U new. disabel panic mode.
press on entities interface. SHIFT + ; and diabel PANIC MODE
GM will instantly ban u account if u logout

lost cleric this way. i was just running in gelkmaros. GM poped directly on me. client crashed(panic mode). atfter relog the account was permaly banned. i did not even kill 1 mob xD

and i think is also better not to AFK botting with lvl 70 char. gms kinda activ on new maps.(office time 8 - 17)
if u cant answer the GMs questen while u not playing. the account is 100% perma ban.
lol the command Shift, plus, ; does not work on my Aionscripts. I have to press ; plus Shift. just a random comment to anyone that can't get Entities Interface to show up....
gorguss is offline  
Old   #355
 
elite*gold: 0
Join Date: Jan 2012
Posts: 28
Received Thanks: 3
Quote:
Originally Posted by nussxxx View Post
u need read all posted i guess.

U new. disabel panic mode.
press on entities interface. SHIFT + ; and diabel PANIC MODE
GM will instantly ban u account if u logout

lost cleric this way. i was just running in gelkmaros. GM poped directly on me. client crashed(panic mode). atfter relog the account was permaly banned. i did not even kill 1 mob xD

and i think is also better not to AFK botting with lvl 70 char. gms kinda activ on new maps.(office time 8 - 17)
if u cant answer the GMs questen while u not playing. the account is 100% perma ban.
Its nice to have a sound played if you get a wisper, i used aion rainmeters triggers to play a mp3 if i reseve a whisper just a tipp
zeroschwul is offline  
Old   #356
 
elite*gold: 0
Join Date: Dec 2005
Posts: 122
Received Thanks: 11
Is there any way to make this tool to start and stop with just 1 key? its annoying to always switch back to menu
makii is offline  
Old   #357
 
elite*gold: 0
Join Date: May 2012
Posts: 15
Received Thanks: 6
i finally found a solution for a problem ( buffs that have a longer duration than cooldown eg. Melody of Discipline / 30min. buff but only 1min. cooldown etc. )

add this to your settings.lua

Code:
self.MelodyofDiscipline = true; -- No more constant Rebuffing
add this to your attack function inside of your class/player .lua

Code:
if Settings.MelodyofDiscipline then
		self:CheckMelodyofDiscipline();
	end
and finally at the end of your class/player .lua file

Code:
function CheckMelodyofDiscipline()

stateID = {4502};
skillName = {"Melody of Discipline"};
flag = 0;

    for _,v in ipairs(stateID) do
        if Player:GetState():GetState( v ) ~= nil then
            flag = flag + 1;
        end
    end

    if flag == 0 then
        for a,b in ipairs(skillName) do
            if Helper:CheckAvailable( b ) then
                Helper:CheckExecute( b );
                break;
            end
        end
    end
return true;

end
to get your stateID go to

if there is an easier way let me know
tentrust is offline  
Thanks
2 Users
Old   #358

 
elite*gold: 16
Join Date: Jun 2016
Posts: 648
Received Thanks: 161
Quote:
Originally Posted by tentrust View Post
i finally found a solution for a problem ( buffs that have a longer duration than cooldown eg. Melody of Discipline / 30min. buff but only 1min. cooldown etc. )

add this to your settings.lua

Code:
self.MelodyofDiscipline = true; -- No more constant Rebuffing
add this to your attack function inside of your class/player .lua

Code:
if Settings.MelodyofDiscipline then
		self:CheckMelodyofDiscipline();
	end
and finally at the end of your class/player .lua file

Code:
function CheckMelodyofDiscipline()

stateID = {4502};
skillName = {"Melody of Discipline"};
flag = 0;

    for _,v in ipairs(stateID) do
        if Player:GetState():GetState( v ) ~= nil then
            flag = flag + 1;
        end
    end

    if flag == 0 then
        for a,b in ipairs(skillName) do
            if Helper:CheckAvailable( b ) then
                Helper:CheckExecute( b );
                break;
            end
        end
    end
return true;

end
to get your stateID go to

if there is an easier way let me know
Dam thanks for this ! Been struggling with this for a week :| Love ya <3
CarolineForbes is offline  
Old   #359
 
elite*gold: 0
Join Date: May 2012
Posts: 15
Received Thanks: 6
Quote:
Originally Posted by CarolineForbes View Post
Dam thanks for this ! Been struggling with this for a week :| Love ya <3

i found an even easier way a few mins ago

just add this to your skills ^^

Code:
-- Melody of Discipline (Knockback Resist)
	if Helper:CheckAvailable( "Melody of Discipline" ) and Player:GetState():GetState( 4502 ) == nil then
		Helper:CheckExecute( "Melody of Discipline" );
		return false;
	end
tentrust is offline  
Thanks
1 User
Old   #360
 
elite*gold: 0
Join Date: Aug 2016
Posts: 35
Received Thanks: 5
Quote:
Originally Posted by tentrust View Post
i found an even easier way a few mins ago

just add this to your skills ^^

Code:
-- Melody of Discipline (Knockback Resist)
	if Helper:CheckAvailable( "Melody of Discipline" ) and Player:GetState():GetState( 4502 ) == nil then
		Helper:CheckExecute( "Melody of Discipline" );
		return false;
	end
We need more users like you helping! I only know so much about the classes I play, which is three. I couldn't help him with this script at all


gorguss is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
What happened to aionscript ?
Took a summerbreak from aion and coming back the website is down? Is aionscript no more ?
2 Replies - Aion Main - Discussions / Questions
Aionscript
Why is Aionscript not working anymore and do they have a ETA on this fix?
4 Replies - Aion Main - Discussions / Questions
AionScript
- Does it still works? - What can a sorc do with it at the moment? - Do ppl. get banned for using it or banned because of own stupidy (: showing...
2 Replies - Aion Main - Discussions / Questions
Aionscript and other Bots
Hey Blastradius isnt supporting AS longer i think because he doesnt answer us... . Do u know another bots which can do solo bosses with no gravity...
0 Replies - Aion Main - Discussions / Questions
Fragen zu AionScript
Ich würde gerne einen Kleriker hinter meinem Ranger herlaufen lassen und diesen als Healbot zu benutzen. Allerdings funzt es nicht so wie es soll,...
0 Replies - Aion Main - Discussions / Questions



All times are GMT +2. The time now is 04:50.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.