nee man kann das net beschleunigen, da es von der attackspeed abhängt... besorg dir 100% attackspeed und es geht rasend schnell
zum thema wie lange ich schon lua lerne ^^
ich hab mich erst vorgestern mit LUA befasst und das auch nur mit wtfux script. da ich mich recht gut in c++ auskenne und lua relativ ähnlich ist konnte ich viel erschließen
local tom = { } -- Functions
local tomv = { } -- Variables
RemoveCommand ( "Attackall" )
function tom.attackall ( Arguments , Device )
local Actors = GetActors ()
for k, Actor in pairs(Actors) do
local Player = GetPlayer ()
if ( Actor:Get ( "Attackable" ) ) and ( Actor ~= Player ) 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" )
dieser code ist ganz gut, leider greift es auch nur einmal an, ABER wenn man das hier SPAMMT...BOOOOOM : @ StartSpam @Attackall
das ist ja schließlich das gleiche wie wenn man meinen code unter ontick stellt nut ohne cycle protection ^^
hatte eig gehofft dass die anderen da auch druf kommen. es bringt halt net so viel, da es zwar dann 2-5 monster gleichzeitig angreift aber auch net mehr. außerdem macht das internet nach ner zeit net mehr mit
werd ma schauen ob ich das für 1 monster einstellen kann ^^
EDIT: Wenn ichs auf 1 monster einstelle, dann greifts nur einmal an, d.h. es ist das gleiche wie @startgrinding nur um einiges miserabler. ich werde die idee verwerfen
ich üb net lua xD
ich schau mir das script von wtfux an und merke mir die funktionen. die befehle sind fast immer gleich wie in c++ und so kann ich daraus schließen ^^
dann übertrage ich das ganze so wie ich es brauche und veränder es
schade das es mitm blade nicht geht naja dann muss ich mir mal was anderes überlegen
PS: habt ihr schon gemerkt das in der automation präsentation alle befehle drinstehen die man dafür brauch um zu scripten ist ja mal voll leicht nur eben übersetzen dann gehts los mit dem scripten
es ist im Ordner:Programme\Flyff Automaton\documentation
Blacklotos ich hab jetzt ein Theard aufgemacht wo du mein scrippt loaden kannst, da ihr es
einfach scheinbar ügberliest, du brauchst es nicht spammen, im scrippt gibt es eine aoe funktion schon
ähm, bin ein totaler noob und weiß überhaupt net wo man diesen code einbinden soll, kann mir das einer ausführlicher erklären xD ? muss ich mir wat laden oder sonstiges ?
jo auf einer bekannten anderen seite sind glaub ich 3 verschiedene
Hier nochmal die MageGrinding von Blacklotos
MageGrinding:
Quote:
function Example.OnTick ( DeltaTime )
local Player = GetPlayer ()
if ( Player == nil ) then return end
local PPos = Player:Get ( "Position" )
local PLev = Player:Get ( "Level" )
if ( Follow ~= nil ) and ( not Grinding ) then
if ( not Follow:Get ( "Destroyed" ) ) then
local FPos = Follow:Get ( "Position" )
local FDist = Distance ( PPos, FPos )
if ( FDist > 1 ) then
Move ( FPos.x, FPos.y, FPos.z )
end
else
Follow = nil
end
end
if ( not Grinding ) then return end
if ( LastTarget == nil ) then
local Best = { Actor = nil, Distance = nil }
local Actors = GetActors ()
for k, Actor in pairs(Actors) do
local APos = Actor:Get ( "Position" )
local ALev = Actor:Get ( "Level" )
if ( not IsPlayer ( Actor ) ) and ( Actor:Get ( "Attackable" ) ) and ( PLev >= ( ALev - LevelRange ) ) then
local Dist = Distance ( PPos, APos )
if ( Best.Distance == nil ) or ( Best.Distance > Dist ) then
Best.Distance = Dist
Best.Actor = Actor
end
end
end
if ( Best.Actor ~= nil ) then
LastTarget = Best.Actor
LogF ( "Attacking %s!", LastTarget:Get ( "Name" ) )
local Position = LastTarget:Get ( "Position" )
Move ( Position.x, Position.y, Position. z )
UseSkill ( LastTarget, XX )
end
else
if ( LastTarget:Get ( "Destroyed" ) ) or ( not LastTarget:Get ( "Attackable" ) ) then
LastTarget = nil
else
LastCycle = LastCycle + DeltaTime
if ( LastCycle > CycleInterval ) then
local Position = LastTarget:Get ( "Position" )
Move ( Position.x, Position.y, Position.z )
UseSkill ( LastTarget, XX )
LastCycle = 0
end
end
end
end
Bei XX einfach die Nummern von den Skills einsetzen
kriegt einer nen Script hin, der die Petfoodbags ersetzt? O.o ...
Wär n1^^
automaton hat soweit ich weiss keine solchen funktionen drin ^^
btw: Hab mein Attackall cmd auch noch ne perm funktion gegeben
Kommando: startattackall / stopattackall Effekt:
Fast gleich wie die AOE funktion aus GZP.
JEDOCH:
- greift einen nicht selber an
- man kann distanz einstellen
- man kann skill benutzen (jawohl es geht jetzt einigermaßen)
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" )
@Item Petfood Id diese findest du im data.res DropItem irgendwas.
dann ein ´scrippt schreiben das nur noch die taste enter gedrückt wird fertig ^^.
Ja ich weis wie Enter per Bot gesendet wird, aber warum so nen aufwand machen und sie posten?
es Gibt eine Such Funktion und dort wirst du ein schon Fertigen Bot finden ^^
[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)