Page 1 of 2

Example of Airline Using

Posted: Sat Aug 19, 2017 11:53 am
by agonic
Asmo Nosra town teleporter is main target..

Code: Select all

function OnLoad()
timer=0
wait=250

end

function OnRun()
if Time() > timer then
	for ID, Entity in DictionaryIterator( EntityList:GetList()) do
	local mobRange = Player:GetPosition():DistanceToPosition( Entity:GetPosition());	
	local dist = Entity:GetPosition():DistanceToPosition( Player:GetPosition());
		if Entity ~= nil and Entity:GetId() ~= Player:GetID() and mobRange <= dist and Entity:GetName() == "Kreus" and not Player:IsBusy() then

			PlayerInput:Console("/select Kreus");
		end
	

if Entity ~= nil and Entity:GetName() == "Kreus" then
	if not DialogList:GetDialog( "dlg_dialog" ):IsVisible() then
		PlayerInput:Console( "/Attack" );
	elseif DialogList:GetDialog( "dlg_dialog/html_view/1" ):Click() then
	end
	if DialogList:GetDialog( "airline_service_dialog" ):IsVisible() then
		DialogList:GetDialog( "airline_service_dialog/map_image/airport482" ):Click()
	end
	end
end
end
timer=Time() + wait
end
482,443 saphora forest
481,442 sea of life
467, 480,441 plateau retribution
479,440 cursed gorge

Re: Example of Airline Using

Posted: Tue Aug 22, 2017 12:46 pm
by pawelgbw
good example, thank you

Re: Example of Airline Using

Posted: Thu Aug 31, 2017 11:25 pm
by cooco
Agonic how confirm teleport?

Re: Example of Airline Using

Posted: Fri Sep 01, 2017 12:43 am
by agonic
cooco wrote:
Thu Aug 31, 2017 11:25 pm
Agonic how confirm teleport?
Emm, have you tried and gotten a problem ? Or just asking ? I am really asking because I couldn't understand there was a problem or not :? :?

Re: Example of Airline Using

Posted: Fri Sep 01, 2017 12:07 pm
by cooco
agonic wrote:
Fri Sep 01, 2017 12:43 am
cooco wrote:
Thu Aug 31, 2017 11:25 pm
Agonic how confirm teleport?
Emm, have you tried and gotten a problem ? Or just asking ? I am really asking because I couldn't understand there was a problem or not :? :?
No sorry. Is working perfectly tnx.
I don't understand what lane of code confirm fly (button "yes"). I need to investigate your scritp.
Tnx :)

Re: Example of Airline Using

Posted: Sun Sep 03, 2017 6:51 pm
by agonic
Ehm. I guess the code has iteration when active, it clicks always accept/yes button when working. Like when botting, if you get invitation, it accepts automatically

Re: Example of Airline Using

Posted: Fri Nov 03, 2017 2:50 am
by smaion40
agonic wrote:
Sat Aug 19, 2017 11:53 am
482,443 saphora forest
481,442 sea of life
467, 480,441 plateau retribution
479,440 cursed gorge
Hello agonic, thank you for this contribution. I have a question, how did you find all these codes for different locations?, I'm looking for the Illuma - elyos codes.

Re: Example of Airline Using

Posted: Fri Nov 03, 2017 3:14 pm
by agonic
smaion40 wrote:
Fri Nov 03, 2017 2:50 am
agonic wrote:
Sat Aug 19, 2017 11:53 am
482,443 saphora forest
481,442 sea of life
467, 480,441 plateau retribution
479,440 cursed gorge
Hello agonic, thank you for this contribution. I have a question, how did you find all these codes for different locations?, I'm looking for the Illuma - elyos codes.
Do you know using Dialogs, Dialog list?

Re: Example of Airline Using

Posted: Sat Nov 04, 2017 12:16 am
by smaion40
agonic wrote:
Fri Nov 03, 2017 3:14 pm
smaion40 wrote:
Fri Nov 03, 2017 2:50 am
agonic wrote:
Sat Aug 19, 2017 11:53 am
482,443 saphora forest
481,442 sea of life
467, 480,441 plateau retribution
479,440 cursed gorge
Hello agonic, thank you for this contribution. I have a question, how did you find all these codes for different locations?, I'm looking for the Illuma - elyos codes.
Do you know using Dialogs, Dialog list?
Wow, I had no idea I could get that much information from there, thanks agonic. :)

Re: Example of Airline Using

Posted: Sun Nov 05, 2017 12:52 am
by cooco
smaion40 wrote:
Sat Nov 04, 2017 12:16 am
Wow, I had no idea I could get that much information from there, thanks agonic. :)
I hope this image can explain how to find airport code :oops: