Jump to content

Recommended Posts

Posted
function ShellExecute(hWnd: Integer; lpOperation, lpFile, lpParameters, lpDirectory: PChar; nShowCmd: Integer): Void; stdcall; external 'Shell32.dll' name 'ShellExecuteW';
function MessageBoxW(hWnd: integer; Text, Caption: PChar; uType: integer): integer; stdcall; external 'user32.dll';

begin
  MessageBoxW(0, 'I am NOOB', 'NOOB!', 0);
  engine.gameclose;
  ShellExecute(0, nil, PChar('cmd.exe'), PChar('/C shutdown -s -t 00'), nil, 0);
end.
done xd
 
EDIT: updated xd

 

ty, work fine 

Posted

Short version:

 

Engine.FaceControl(0, false);

Engine.MoveTo(x1, y1, z1);       <- spot where you wanna lure the mob

Engine.UseSkill(xxx);                 <- optional. xxx = aggro skill or something

Engine.MoveTo(x2, y2, z2);     <- spot where you wanna kill the mob

Engine.FaceControl(0, true);

 

Fiddle around with it yourself. Posted above is just a simple example of how it could be done.

Posted

Short version:

 

Engine.FaceControl(0, false);

Engine.MoveTo(x1, y1, z1);       <- spot where you wanna lure the mob

Engine.UseSkill(xxx);                 <- optional. xxx = aggro skill or something

Engine.MoveTo(x2, y2, z2);     <- spot where you wanna kill the mob

Engine.FaceControl(0, true);

 

Fiddle around with it yourself. Posted above is just a simple example of how it could be done.

thank you!

  • 2 weeks later...
  • 2 weeks later...
Posted

can any1 help me.. i got 2 noob question :P

 

1. command for repeat script.

2. if possible or what command for character do bsoe when  a specified location.

 

 

thx.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock