Page 2 of 2

Re: Gunner.lua

Posted: Fri Mar 10, 2017 4:57 pm
by notteccy
Ok noob question :)
this is ofc is for ranger, but works for your gunner as it is. ?
more info would be great im trying to understand this lua stuff from scratch. :)
great site great job with AS btw nucular.
im not just looking for myself if i could make these i would post for all.
thanks in advance.

Re: Gunner.lua

Posted: Fri Mar 10, 2017 6:09 pm
by nucular
notteccy wrote:
Fri Mar 10, 2017 4:57 pm
Ok noob question :)
this is ofc is for ranger, but works for your gunner as it is. ?
more info would be great im trying to understand this lua stuff from scratch. :)
great site great job with AS btw nucular.
im not just looking for myself if i could make these i would post for all.
thanks in advance.
Thanks.
You have to understand coding.
Basically you have to write everything in lua language.

https://www.tutorialspoint.com/lua/lua_overview.htm look here. print doesnt work because you have no console to output it to, so you have to use Write("lalala") because Blastradius made it like that.
To see what AionScript lua functions exists, you have to look into the download folder AionScript.pdf shows you all possible options and which variables and classes are available inside lua to access the game.

Re: Gunner.lua

Posted: Sat Mar 11, 2017 1:13 am
by notteccy
thanks for reply and links will keep reading. ;) :geek:

Re: Gunner.lua

Posted: Thu Mar 16, 2017 8:03 pm
by mnwaxep
- Unable to find a class or player controller!
- invalid arguments to method call
- Object reference not set to an instance of an object.

:cry: :cry:

Re: Gunner.lua

Posted: Thu Mar 16, 2017 8:07 pm
by FarAwaY
mnwaxep wrote:
Thu Mar 16, 2017 8:03 pm
- Unable to find a class or player controller!
- invalid arguments to method call
- Object reference not set to an instance of an object.

:cry: :cry:
Add this to your AS\Scripting\OfficialGrinderFramework\Settings.lua

Code: Select all

self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};

Re: Gunner.lua

Posted: Thu Mar 16, 2017 8:48 pm
by mnwaxep
FarAwaY wrote:
Thu Mar 16, 2017 8:07 pm
mnwaxep wrote:
Thu Mar 16, 2017 8:03 pm
- Unable to find a class or player controller!
- invalid arguments to method call
- Object reference not set to an instance of an object.

:cry: :cry:
Add this to your AS\Scripting\OfficialGrinderFramework\Settings.lua

Code: Select all

self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
same problem

Re: Gunner.lua

Posted: Thu Mar 16, 2017 10:34 pm
by FarAwaY
mnwaxep wrote:
Thu Mar 16, 2017 8:48 pm
FarAwaY wrote:
Thu Mar 16, 2017 8:07 pm
mnwaxep wrote:
Thu Mar 16, 2017 8:03 pm
- Unable to find a class or player controller!
- invalid arguments to method call
- Object reference not set to an instance of an object.

:cry: :cry:
Add this to your AS\Scripting\OfficialGrinderFramework\Settings.lua

Code: Select all

self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
same problem
NA or EU Server? and your Classes script Needs to be on EU: Gunslinger.lua and NA Gunner.lua

Code: Select all

NA Server:
self.Gunner = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};


EU Server:
self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};

Re: Gunner.lua

Posted: Fri Mar 17, 2017 5:07 pm
by mnwaxep
FarAwaY wrote:
Thu Mar 16, 2017 10:34 pm
mnwaxep wrote:
Thu Mar 16, 2017 8:48 pm
FarAwaY wrote:
Thu Mar 16, 2017 8:07 pm


Add this to your AS\Scripting\OfficialGrinderFramework\Settings.lua

Code: Select all

self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
same problem
NA or EU Server? and your Classes script Needs to be on EU: Gunslinger.lua and NA Gunner.lua

Code: Select all

NA Server:
self.Gunner = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};


EU Server:
self.Gunslinger = {
			-- Indicates whether or not approaching a target is allowed (for attack AND for looting). Auto approach must be enabled for this to work.
			AllowApproach = true			
		};
Thx big))

Re: Gunner.lua

Posted: Mon Aug 21, 2017 8:53 am
by sanane
hey

my gunner isnt using any skills he is only autoshooting on targets. What have i to change for using skills.

thx