Da ich mir gedacht hab, dass nicht nur ich einer bin, der an dem Automaton Script rumbastelt und ich gerne auch mal von anderen Leuten etwas sehen würde, kam mir die Idee hier einen Sammelthread zu erstellen.
Das soll nicht bedeuten, dass hier einige wenige Leute ihre harte Arbeit reinposten und alle anderen das einfach benutzen. Ich will Eigeninitiative sehen!
Die Scriptteile werden bitte in Codeboxen gestellt.
Im großen und ganzen hoffe ich, dass das hier mal etwas wird und dass hier viel profitiert wird
Doch jetzt ist genug um den heißen Brei herumgeredet worden. Hier kommt mein erstes Scriptteil. Einfach das normale Script nehmen und meinen Teil ZWISCHEN irgendwelchewelche der Funktionen stellen:
Kommando: attackall Effekt: Greift alle monster und Spieler, die angreifbar sind genau einmal an. Es kann dazu benutzt werden, in der duelarena ne menge noobs zu killen oder sich in kürzester Zeit eine Menge AOE Monster zu beschaffen. Während der Befehlausführung habt ihr immernoch volle Kontrolle über euren Charakter. Schreibt ihr hinter das CMD die Skillid, so wird der Skill anstatt dem Angriff benutzt (funzt noch net richtig). Fast ganz am Anfang könnt ihr die Range sprich die Distanz in welchem umkreis das ganze geschehen soll festlegen:
Code:
local tom = { } -- Functions
local tomv = { } -- Variables
-----Change here-----
tomv.range = 100 --Range of attackall command
-----Do not change below if you do not know what you do-----
function tom.distance ( Source, Target )
return math.sqrt ( math.pow ( Target.x - Source.x, 2 ) + math.pow ( Target.y - Source.y, 2 ) + math.pow ( Target.z - Source.z, 2 ) )
end
function tom.attackall ( Arguments , Device )
local Actors = GetActors ()
for k, Actor in pairs(Actors) do
local Player = GetPlayer ()
local PPos = Player:Get ( "Position" )
tomv.location = Actor:Get('Position')
tomv.dist = tom.distance (PPos, tomv.location)
if ( Actor:Get ( "Attackable" ) ) and ( Actor ~= Player ) and (tomv.dist < tomv.range) then
if (Arguments == nil) or (Arguments == "") then
tomv.useskill = 0
Attack (Actor, 0)
else
tomv.useskill = 1
UseSkill (Actor, Arguments)
end
end
end
if (tomv.useskill == 0) then
OutputF ( Device, NAME_Log, "Started attacking all enemys around for 1 time", Arguments )
else
OutputF ( Device, NAME_Log, "Started using the Skill at all enemys around for 1 time", Arguments )
end
return true
end
Register ( tom, "tom" )
AddCommand ( tom.attackall, "Attackall", "<ID>", "Attacks everything around" )
Kommando: startattackall / stopattackall Effekt:
Greift von allen Monstern in der gewählten distanz immer 2 - 5 gleichzeitig in geschwindichkeit der atkspd an. Funktioniert auch mit Skills. Dafür einfach die Skillid hinter startattackall schreiben ^^
Code:
local tom = { } -- Functions
local tomv = { } -- Variables
-----Change here-----
tomv.range = 100 --Range of attackall command
-----Don't change here if you don't know what you do-----
tomv.grind = 0
tomv.skillid = nil
tomv.lcycle = 0
tomv.cinterval = 0.50
function tom.distance ( Source, Target )
return math.sqrt ( math.pow ( Target.x - Source.x, 2 ) + math.pow ( Target.y - Source.y, 2 ) + math.pow ( Target.z - Source.z, 2 ) )
end
function wtfux.OnTick ( DeltaTime )
-----If you wanna add my script part to another script, then you have to put the code from now on till my next message into the OnTick function of the script-----
if (tomv.grind == 1) then
tomv.lcycle = tomv.lcycle + DeltaTime
if ( tomv.lcycle > tomv.cinterval ) then
local Actors = GetActors ()
for k, Actor in pairs(Actors) do
local Player = GetPlayer ()
local PPos = Player:Get ( "Position" )
tomv.location = Actor:Get('Position')
tomv.dist = tom.distance (PPos, tomv.location)
if ( Actor:Get ( "Attackable" ) ) and ( Actor ~= Player ) and (tomv.dist < tomv.range) then
if (tomv.skillid == nil) or (tomv.skillid == "") then
Attack (Actor, 0)
else
UseSkill (Actor, tomv.skillid)
end
end
end
tomv.lcycle = 0
end
return true
end
-----Stop copying the code here-----
end
function tom.startattackall ( Arguments, Device )
Game:Set ( "CollisionDetection", false )
tomv.grind = 1
if ( Arguments == nil ) or ( Arguments == "" ) then
tomv.skillid = nil
else
tomv.skillid = Arguments
end
OutputF ( Device, NAME_Log, "Started perm using Attackall")
return true
end
function tom.stopattackall ( Arguments, Device )
Game:Set ( "CollisionDetection", true )
tomv.grind = 0
tomv.skillid = nil
wtfuxv.lasttarget = nil
OutputF ( Device, NAME_Log, "Stopped perm using Attackall")
return true
end
Register ( tom, "tom" )
AddCommand ( tom.startattackall, "StartAttackall", "<ID>", "Attacks everything around permanently" )
AddCommand ( tom.stopattackall, "StopAttackall", "<ID>", "Stops Attacking everything around permanently" )
Doch jetzt ist genug um den heißen Brei herumgeredet worden. Hier kommt mein erstes Scriptteil. Einfach das normale Script nehmen und meinen Teil ZWISCHEN irgendwelchewelche der Funktionen stellen: Effekt: Greift alle monster und Spieler, die angreifbar sind genau einmal an. Es kann dazu benutzt werden, in der duelarena ne menge noobs zu killen oder sich in kürzester Zeit eine Menge AOE Monster zu beschaffen. Während der Befehlausführung habt ihr immernoch volle Kontrolle über euren Charakter.
Super danke teste ich gleich mal auf Flyff Japan mit MasakamanGER
Ich definier meine Variablen und Funktionen mit nem tom. vornedran und er mit nem wtfux. bzw wtfuxv. vornedran. Hier bin ich hier nur der Nachmacher ^^
Und zu deiner Frage: Auf die Art sieht man dass diese Variablen und Funktionen zu ihm gehören, falls man ma ein komplett zusammengewürfeltes script hat. Ich weiss nicht was seine Gründe sind aber ich nehme an sie erkannt zu haben
Wenn ihr hier die Codes postet , wie soll ich es zu einem Script oder so machen das ich es mit dem Automaton benutzen kann?
Sry bin aber kompletter no0b bei sowas xD::
Wenn ihr hier die Codes postet , wie soll ich es zu einem Script oder so machen das ich es mit dem Automaton benutzen kann?
Sry bin aber kompletter no0b bei sowas xD::
kopier die scripts einfach in die .atmt datei und starte den flyff automaton[das is der teil der das script aus ausführt[der macht auch noch ein paar andere sachen is aber auch egal]]
hab ein problem:
ich starte den automaton und danach flyff, nun drück ich die
taste Einfg/Bildlauf und es passiert...NICHTS.
Aber wenn ich die Taste Ende drücke dann öffen sich 2 fenster: eins grün eins Blau doch ich komme einfach nicht in die DOS artige Konsole..-.-
[Automaton Script] Teleport Scripts 06/20/2010 - Flyff - 6 Replies Beschreibung:
Ein Scriptpaket, das alle Koordinaten von Monstern, NPCs und Extraplätzen enthält.
Eine genaue Liste der Befehle findet ihr in der im Paket enthaltenen ReadMe.txt
_____
Installation:
Entpackt die Scripts einfach in den Ordner:
[ReLoad] Automaton Scripts 02/27/2010 - Flyff Hacks, Bots, Cheats, Exploits & Macros - 42 Replies Automaton Scripts
1. WtFux Script
Das wohl bekannteste und beste!
Funktionen:
Download:
http://www.elitepvpers.com/forum/attachments/flyff -main-discussions-questions/11039d1206622702-wtfux -script-0-8-wtfux-0.8.rar
Automaton scripts? lulwhut :c 08/16/2009 - Flyff - 1 Replies Hi i need some info about automaton scripts, how to get them to work and such. Like i just downloaded the automaton and i have no idea at all about how to get it to work. What the commands are and such, tho i have seen a stat hack and i would like to have that but all i saw people responding with was some text. And i want to know how do i get that text (script) get to work? I want to use the stat hack for fly for fame and 1 hit giants to gain penya. anyone could give me some info? thanks in...
Frage zu Automaton Scripts 07/20/2008 - Flyff - 10 Replies Hi!
ich habe jetzt automaton auf meinem dFlyff zum laufen bekommen!
das teleportieren geht alles und auch dieses autofooden bei so und soviel hp...
ich hab mir hier aus dem forum so ein scriptteil geholt...
ich hab nur ein paar problemen und zwar:
das startlooting ist doch dafür da das er die sachen einsammelt oder?
wenn ich das macht dann bringt er immer diesen error in der cosole
Scripting: Call to wtfux.OnTick failed: :342: attempt to index global 'wtfuxloc' (a nil value)