GamerzPlanet - For All Your Online Gaming Needs!!

Go Back   GamerzPlanet - For All Your Online Gaming Needs!! > Online Gaming > FlyFF Discussion



PvP Script..

FlyFF Discussion


Reply
 
Thread Tools Display Modes
Old 06-20-2008, 05:19 PM   #1
Registered User
 
Last Online: 10-06-2008 12:59 PM
Join Date: May 2007
Posts: 141
Thanks: 32
Thanked 149 Times in 33 Posts
skillzkillz™ is on a distinguished road
iTrader: 0 / 0%
Points: 12,733.59
Bank: 0.00
Total Points: 12,733.59
PvP Script..

Could Some One Help Me Make My PvP Script Not Attack Me Dx.. Cause If It Attacks Me I Die Most Of The Time And Lose Exp Lol...

Heres My Function :


Code:
function Example.PvP ( Arguments )
  local Target = GetTarget () 
  if (Target ~= nil) then
    Actor = Target
  else
    Actor = GetPlayer ()
  end
  local ActorName = Actor:Get ( "Name" )
  
  if ( not ActorName == *MyNameHere* ) then
  UseSkill (Actor, tonumber (Arguments))
  end
  return true
end
That Dose Not Seem To Work ._. All It Dose Is Make The Function Fail xD
----------

Ill Check The Post Often.. *Pls Reply Fast xD*

I Got It To Work.. ( If ActorName ~= *MyNameHere* )

Last edited by skillzkillz™; 06-20-2008 at 06:18 PM. Reason: Automerged Doublepost
skillzkillz™ is offline   Reply With Quote
Sponsored Links
Old 06-20-2008, 10:59 PM   #2
Registered User
 
Last Online: 09-24-2008 10:19 AM
Join Date: Jan 2006
Posts: 36
Thanks: 6
Thanked 1 Time in 1 Post
kfir124 is on a distinguished road
iTrader: 0 / 0%
Points: 5,695.87
Bank: 0.00
Total Points: 5,695.87
Re: PvP Script..

hmm i think that this line is what kills you but i dont sure:
Code:
  else
    Actor = GetPlayer ()
GetPlayer() is yourself i think so you are attacking yourself xD
kfir124 is offline   Reply With Quote
Old 06-20-2008, 11:43 PM   #3
Registered User
 
Last Online: 08-20-2008 07:37 AM
Join Date: Jul 2006
Posts: 20
Thanks: 9
Thanked 1 Time in 1 Post
Slaifer is on a distinguished road
iTrader: 0 / 0%
Points: 2,178.19
Bank: 0.00
Total Points: 2,178.19
Re: PvP Script..

ye very good script to get the automaton patched
Slaifer is offline   Reply With Quote
Old 06-21-2008, 08:39 AM   #4
wtfux
Guest
 
Posts: n/a
iTrader: / %
Points: 0
Bank: 0
Total Points: 0
Re: PvP Script..

Code:
function wtfux.pvp ( Arguments , Device)
  local Actor = GetTarget()
  if(Actor == nil) then
    OutputF ( Device, NAME_Warning, "Could not attack target: No target given." )
    return true;
  end
  if(Arguments == nil) or (Arguments == "") then
    Attack(Actor,1)
    OutputF ( Device, NAME_Log, "Attacked %s!", Actor:Get('Name') )
    return true;
  end
  UseSkill (Actor, wtfux.getskill(Arguments)) --U can use tonumber(); to, but then u cant use skill names.
  OutputF ( Device, NAME_Log, "Attacked %s with Skill %s",Actor:Get('Name'), Arguments )
  return true
end
untested, just an idea, might work, no warranty, needs wtfux script to work

With wtfux script, u can target somebody and use the skill command ("Uses a skill on you or your selected target").

Last edited by wtfux; 06-21-2008 at 08:46 AM.
  Reply With Quote
Old 06-21-2008, 08:50 AM   #5
Registered User
 
Last Online: Yesterday 04:59 AM
Join Date: Jun 2008
Age: 19
Posts: 21
Thanks: 2
Thanked 16 Times in 4 Posts
karce is on a distinguished road
iTrader: 0 / 0%
Points: 8,018.11
Bank: 0.00
Total Points: 8,018.11
Re: PvP Script..

Man dont use a script for PVP is a bad idea,this was made to lvl and make more easy to play flyff,but with a pvp script the ppl can detect that ur hacking more easily,well that is my opinion.

karce is offline   Reply With Quote
Old 06-21-2008, 08:54 AM   #6
wtfux
Guest
 
Posts: n/a
iTrader: / %
Points: 0
Bank: 0
Total Points: 0
Re: PvP Script..

Why shouldn't you cast an attack skill on a player?
Ok, an command like startgrinding for hunting ppls is a bad idea!
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT -7. The time now is 02:01 AM.


Powered by: vBulletin
Copyright ©2008, GamerzPlanet.Net
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Network: GamerzPlanet | ForumzPlanet | GzPUpload | GzPArcade | GzP Host | Poker Tips | Watch Desperate Housewives | Visits: