AchYlek Posted September 11, 2015 Share Posted September 11, 2015 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 Quote Link to comment Share on other sites More sharing options...
adr.bot Posted September 11, 2015 Share Posted September 11, 2015 ty, work fine np :D Quote Link to comment Share on other sites More sharing options...
Zagati Posted September 12, 2015 Share Posted September 12, 2015 Hello, i want to lure mob and back to center point before attack, it's possible ? Quote Link to comment Share on other sites More sharing options...
cuppacoffee Posted September 13, 2015 Share Posted September 13, 2015 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. Quote Link to comment Share on other sites More sharing options...
Zagati Posted September 13, 2015 Share Posted September 13, 2015 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! Quote Link to comment Share on other sites More sharing options...
cuppacoffee Posted September 13, 2015 Share Posted September 13, 2015 You're welcome. Did anybody ever figure out how to detect base stat (f.ex. INT, STR) from augments? Quote Link to comment Share on other sites More sharing options...
AchYlek Posted September 14, 2015 Share Posted September 14, 2015 You're welcome. Did anybody ever figure out how to detect base stat (f.ex. INT, STR) from augments? no way at adrenalin Quote Link to comment Share on other sites More sharing options...
AlmostGood Posted September 14, 2015 Share Posted September 14, 2015 no way at adrenalin possible, but on 1.99 ) Quote Link to comment Share on other sites More sharing options...
arturo134 Posted September 17, 2015 Share Posted September 17, 2015 someone have example to send mail?! Quote Link to comment Share on other sites More sharing options...
cuppacoffee Posted September 18, 2015 Share Posted September 18, 2015 someone have example to send mail?! Posted previously in this thread if I remember correctly. Else take a look in the help-file for Adr. scripts. It's there as well. Quote Link to comment Share on other sites More sharing options...
abbadon Posted September 27, 2015 Share Posted September 27, 2015 Any way to detect if char is in peace zone? Quote Link to comment Share on other sites More sharing options...
adr.bot Posted September 27, 2015 Share Posted September 27, 2015 hmm how detect peace zone i dont know xd Quote Link to comment Share on other sites More sharing options...
cuppacoffee Posted September 27, 2015 Share Posted September 27, 2015 Me neither... I don't know what it is you're trying to do but a workaround to check if your char is in, for example, Oren could be using the InRange command. Quote Link to comment Share on other sites More sharing options...
abbadon Posted September 27, 2015 Share Posted September 27, 2015 Trying to make a script on a server with mob database. U can port to the mob so when u go to town it can be different areas. Quote Link to comment Share on other sites More sharing options...
lobezno4 Posted October 7, 2015 Share Posted October 7, 2015 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.