ACTool 4.5.8 tested
Quote:
Feature list:
Makes AND Sells DSS
Can be set to "Make Only"
Can be set to Put DSS in Personal Warehouse
Can be set to Put DSS in Clan Warehouse
Can be set to Log you off, after using "Make Only" Mode or after you put DSS in Warehouse
Sets your Sell message for you (User defined)
Sets your price for you (User defined)
2 Lag Level controls for better "Lag around"
ALOT more accurate than 1st version
Security features to ensure safty of Inventory Items
Types out a !Message letting people know you have DSS for sale (User Defined)
Alows you to add other items to sell, while selling your DSS (Manual)
Logout Bug Fixed
Mouse Position Bug Fixed
Code:
//-------------------------------------------------------------------//
// * * * * * * * * *DSSMS Verson 2.4 *By Ravix * * * * * * * * * * * //
//-------------------------------------------------------------------//
//-------------------------------------------------------------------//
// * * *This Macro is Designed for 1024x768 Resolution Only! * * * * //
// * * * * * * *Made in, and runs in AC Tool 4.5.8 * * * * * * * * * //
//-------------------------------------------------------------------// * * * * *
//-------------------------------------------------------------------//
// * * * * * *Putting in the wrong information Below, * * * * * * * *//
// * * * * * *could cause you to sell your DSS Recipe * * * * * * * *//
// * * * * * or anything else in your inventory for 10a. * * * * * * //
// * * * * * * * (or what ever your price set is) * * * * * * * * * *//
// * * * * * * *PLEASE double check your settings! * * * * * * * * * //
// * * * * * * * * * *Do NOT Save Settings, * * * * * * * * * * * * *//
// * * * * or you will disable one of the security Features * * * * *//
//-------------------------------------------------------------------//
//-------------------------------------------------------------------//
// * * * * * * *Put the Recipe in Hotbar slot 1. * * * * * * * * * * //
// * * * *Put the Store "Sell" Icon in the 2nd hotbar slot. * * * * *//
// * * * * *Put the Sit Icon in the 3rd Hotbar Slot. * * * * * * * * //
// * * *Put the Attack Icon (Sword) in the 4th Hotbar Slot. * * * * *//
// * * * * * * Make sure to "Initalize" your HUD * * * * * * * * * * //
//-------------------------------------------------------------------//
*//-----------------------------------------------------------------//
*// * * * * * * * * * * * * Set the * * * * * * * * * * * * * * * * //
* * * * * * * * * * * * * *Constants * * * * * * * * * * * * * * * *
*// * * * * * * * * * * * * *Below * * * * * * * * * * * * * * * * *//
*//-----------------------------------------------------------------//
*
*//-----------------------------------------------------------------//
*// * * * * Amount of Soul Ore you have in your inventory. * * * * *//
*//-----------------------------------------------------------------//
* * * * * * * * * * * * * SoulOre = 0
*//-----------------------------------------------------------------//
*// * * * *Amount of D-Crystals you have in your inventory. * * * * //
*//-----------------------------------------------------------------//
* * * * * * * * * * * * *DCrystals = 0
*//-----------------------------------------------------------------//
*// * * * Your Max MP without buffs or MP enhancements. * * * * * * //
*//-----------------------------------------------------------------//
* * * * * * * * * * * * * *MaxMP = 0
*//-----------------------------------------------------------------//
*// * * * *Amount of time it takes you to regen 30MP * * * * * * * *//
*//-----------------------------------------------------------------//
* * * * * * * * * * * *MPRegen = 30 sec
*//-----------------------------------------------------------------//
*// * * * * * * *Amount in Adena to sell the DSS * * * * * * * * * *//
*//-----------------------------------------------------------------//
* * * * * * * * * * * * * Price = 10
*//-----------------------------------------------------------------//
*// * This is your Sell message; You will have a chance to manualy *//
*// * * add other items to sell, so add those items in message. * * //
*// * * * * * Example: Selling DSS 10a and DSpS 19a * * * * * * * * //
*//-----------------------------------------------------------------//
* * * * * * * *SellMessage = Selling DSS for 10a!
*//-----------------------------------------------------------------//
*// * * Every time you add DSS to your shop, you will Yell this. * *//
*// * * * * * *This will "Yell" about every 5 mins... * * * * * * * //
*// * * * * * * * *It may get could get annoying, * * * * * * * * * //
*// * * * * and players could figure out your macroing. * * * * * * //
*// * * * * * * *Leave the / infront of the text * * * * * * * * * *//
*// * * * * *if you dont want it to show as a "yell". * * * * * * * //
*//-----------------------------------------------------------------//
* * * * * * YellMessage = !Selling DSS - 10a Each!!
*//-----------------------------------------------------------------//
*// * * * * * * * * * * *Set this to Yes, * * * * * * * * * * * * * //
*// * * * only if you only want to Make, and not Sell your DSS * * *//
*//-----------------------------------------------------------------//
* * * * * * * * * * * * *MakeOnly = No
*//-----------------------------------------------------------------//
*// * * * * * * * *Only works with MakeOnly Mode. * * * * * * * * * //
*// * *Set to Yes if you want to drop your DSS in the warehouse. * *//
*//-----------------------------------------------------------------//
* * * * * * * * * * * DropinWarehouse = No
*//-----------------------------------------------------------------//
*// * * * * * Only Works with Drop in Warehouse mode. * * * * * * * //
*// * * * * * Set to Personal for personal warehouse, * * * * * * * //
*// * * * * or Clan for clan warehouse. (Check spelling) * * * * * *//
*//-----------------------------------------------------------------//
* * * * * * * * * * * *DropIn = Personal
*//-----------------------------------------------------------------//
*// * * * * * * * Name of Warehouse Keeper here. * * * * * * * * * *//
*// * * * * * * *The name, not "Warehouse Keeper" * * * * * * * * * //
*//-----------------------------------------------------------------//
* * * * * * * * * * * *NPCName = taurin
*//-----------------------------------------------------------------//
*// * * * * * * *Only works with Make Only Mode. * * * * * * * * * *//
*// * * * * * * * This will Log your Char off, * * * * * * * * * * *//
*// * * * * * * after the DSS is made. (Yes or No) * * * * * * * * *//
*//-----------------------------------------------------------------//
* * * * * * * * * * * * * Logout = No
*//-----------------------------------------------------------------//
*// * * * * * * * * 250-2500 Depending on lag; * * * * * * * * * * *//
*// * * * * * *250 = no lag, 2500 = really bad lag. * * * * * * * * //
*//-----------------------------------------------------------------//
* * * * * * * * * * * * LagLevel = 250
*//-----------------------------------------------------------------//
*// * * * * * * *This is a 2nd Lag Level setting. * * * * * * * * * //
*// * * * * *This one must Eather be 1 sec, or 2 sec. * * * * * * * //
*//-----------------------------------------------------------------//
* * * * * * * * * * * *LagLevel2 = 1 sec
*//-----------------------------------------------------------------//
*// *Start the macro. You will have 20 seconds to get in position. *//
*// * * * * * Macro will remind you to check your hotbar. * * * * * //
*// * * * * * * Macro Displays messages to you Via the * * * * * * *//
*// * * * * * * *chat bar at the bottom of the screen. * * * * * * *//
*// * * * * Don't worry, when the macro clear the chat bar, * * * * //
*// * * * * * * * no text spills out into open chat. * * * * * * * *//
*// * * * * * *Macro will Tell you what step it is on, * * * * * * *//
*// * * * * * * * * *and when it is finnished. * * * * * * * * * * *//
*//-----------------------------------------------------------------//
*
*//-----------------------------------------------------------------//
*// * * * * * * * * * *If there are any bugs, * * * * * * * * * * * //
*// * *please Post in the forum thread you DLed the macro from. * * //
*// * * * * * * * * *Do Not Edit Below This Line * * * * * * * * * *//
*// * * * * * * * * *=========================== * * * * * * * * * *//
*//-----------------------------------------------------------------//
*
*/////////////////////////////////////////////////////////////////////
*/////////////////////////////////////////////////////////////////////
*/////////////////////////////////////////////////////////////////////
*
*
*
*
*SoulShot = {F1}
*Sell = {F2}
*Sit = {F3}
*AttackIcon = {F4}
*NumberofRuns = 0
*NumberofNPCI = 0
*ShopNumber = 0
*WarehouseaddNumber = 0
End
If $SoulOre < $DCrystals
*SetConst NumberofRuns = $SoulOre
Else
*SetConst NumberofRuns = $DCrystals
End
Procedure Clicks
*Loop 25
* *LeftClick
* *Delay 30
*End
End
Procedure SetupShop
*Keydown $Sell 250
*Delay $LagLevel
*MousePos 853, 544
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 561, 388
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*Keys $SellMessage
*Delay $LagLevel
*MousePos 471, 409
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 764, 264
*Delay $LagLevel
*DoubleClick
*Delay $LagLevel
*MousePos 561, 389
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 474, 410
*Delay $LagLevel
*Keys $Price
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 562, 389
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*Keys 10000
*Delay $LagLevel
*MousePos 471, 408
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 931, 543
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 326, 752
*Delay $LagLevel
*LeftClick
*Keys {RETURN}
*Delay $LagLevel
*MousePos 326, 752
*LeftClick
*Keys {RETURN}
*Delay $LagLevel
*Keys {RETURN}/Lets Get alittle MP... 60 Seconds...
*Delay 5 sec
*MousePos 326, 752
*LeftClick
*Keys {RETURN}
*Delay $LagLevel
*Keys {RETURN}/Use this time to add anything else you want to sell...
*Delay 60 sec
End
Procedure StarterDSS
*Compute Laglevel = $Laglevel DIV 2
*Loop $MaxMP
* *Keydown $SoulShot 250
* *Delay $LagLevel
* *MousePos 591, 516
* *Call Clicks
* *MousePos 452, 497
* *Delay 20
* *LeftClick
*End
End
Procedure NPCInteraction
*MousePos 326, 752
*LeftClick
*Keys {RETURN}
*Delay 5 Sec
*Keys {RETURN}/Target $NPCName {RETURN}
*Delay 1 sec
*Keydown $AttackIcon
*Delay 5 sec
*If $DropIn = Clan
* *MousePos 346, 411
* *Delay 2 sec
* *LeftClick
*Else
* *MousePos 344, 357
* *Delay 2 sec
* *LeftClick
*End
*Delay $LagLevel2
*MousePos 764, 263
*Delay $LagLevel2
*DoubleClick
*Delay $LagLevel2
*MousePos 560, 389
*Delay $LagLevel2
*LeftClick
*Delay $LagLevel2
*Keys 10000
*Delay $LagLevel2
*MousePos 471, 408
*Delay $LagLevel2
*LeftClick
*Delay $LagLevel2
*MousePos 851, 543
*Delay $LagLevel2
*LeftClick
*Delay $LagLevel2
*MousePos 958, 214
*Delay $LagLevel2
*LeftClick
*Delay $LagLevel2
End
Procedure Logout
*If $Logout = Yes
* *Delay 1 sec
* *MousePos 996, 742
* *Delay 1 sec
* *LeftClick
* *Delay 1 sec
* *MousePos 899, 293
* *Delay 1 sec
* *LeftClick
* *Delay 1 sec
* *MousePos 475, 409
* *Delay 1 sec
* *LeftClick
* *Delay 1 sec
* *Stop
*Else
* *Stop
*End
End
Procedure AddtoShop
*Delay 1000
*MousePos 326, 752
*LeftClick
*Delay $LagLevel
*Keys {Return}
*Delay $LagLevel
*Keys {Return}/Adding DSS.
*Delay 1000
*Keydown $Sell 250
*Delay $LagLevel
*MousePos 766, 266
*Delay $LagLevel
*DoubleClick
*Delay $LagLevel
*MousePos 563, 388
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 472, 409
*Keys $Price
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 562, 389
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*Keys 10000
*Delay $LagLevel
*MousePos 471, 408
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 932, 544
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*MousePos 326, 752
*Delay $LagLevel
*LeftClick
*Delay $LagLevel
*Keys {Return}
*Delay $LagLevel
*Keys {RETURN}/Lets build alittle MP....
*Delay 35 sec
*MousePos 326, 752
*LeftClick
*Delay $LagLevel
*Keys {Return}
*Delay $LagLevel
*Keys {RETURN}$YellMessage {RETURN}
End
Procedure MakeOnly
*If $SoulOre < $DCrystals
* *SetConst NumberofRuns = $SoulOre
*Else
* *SetConst NumberofRuns = $DCrystals
*End
*KeyDown $Sit 250
*Delay $LagLevel
*Loop $NumberofRuns
* *Keydown $SoulShot 250
* *Delay $LagLevel
* *MousePos 591, 516
* *Call Clicks
* *MousePos 452, 497
* *Delay $LagLevel
* *LeftClick
* *Delay $MPRegen
* *Compute NumberofRuns = {LoopNo} mod 10
* *If $NumberofRuns = 0 and {LoopNo} < 1001 and $DropinWarehouse = Yes
* * *Keys {Return}/Putting DSS in the Warehouse!
* * *Delay 4 sec
* * *KeyDown $Sit 250
* * *Delay 5 sec
* * *Call NPCInteraction
* * *MousePos 326, 752
* * *LeftClick
* * *Delay $LagLevel
* * *Keys {Return}
* * *Delay $LagLevel
* * *MousePos 326, 752
* * *LeftClick
* * *Delay $LagLevel
* * *Keys {Return}
* * *Keys {RETURN}/DSS added to Warehouse for 30a.
* * *Delay $LagLevel
* * *MousePos 326, 752
* * *LeftClick
* * *Delay $LagLevel
* * *Keys {Return}
* * *If $SoulOre < $DCrystals
* * * *SetConst NumberofRuns = $SoulOre
* * *Else
* * * *SetConst NumberofRuns = $DCrystals
* * *End
* *Else
* * *If $SoulOre < $DCrystals
* * * *SetConst NumberofRuns = $SoulOre
* * *Else
* * * *SetConst NumberofRuns = $DCrystals
* * *End
* *End
*End
*MousePos 326, 752
*LeftClick
*Keys {Return}
*Delay $LagLevel
*MousePos 326, 752
*LeftClick
*Keys {Return}
*Delay $LagLevel
*Compute NumberofRuns = $NumberofRuns * 100
*Keys {RETURN}/We made $NumberofRuns DSS!
End
SETActiveWindow Lineage II
If $SoulOre = 0 or $DCrystals = 0 or MaxMP = 0
*Delay 10000
*Keys {RETURN}/Please check your settings! Macro Stopped.
*Stop
Else
*delay 10000
*MousePos 326, 752
*LeftClick
*Delay $LagLevel
*Keys {Return}
*Delay $LagLevel
*Keys {RETURN}/You have 20 seconds to get in position...
*MousePos 500, 387
*RightClick
*delay 20 sec
*MousePos 326, 752
*LeftClick
*Delay $LagLevel
*Keys {RETURN}
*Delay $LagLevel
*Keys {RETURN}/Check Your Hot-Bar! Moving Curser -->
*MousePos 1001, 172
*LeftClick
*Delay 10 Sec
*If $MakeOnly = Yes
* *MousePos 326, 752
* *LeftClick
* *Delay $LagLevel
* *Keys {Return}
* *Delay $LagLevel
* *Keys {RETURN}/Starting Make Only.
* *Call MakeOnly
* *Delay 5 sec
* *MousePos 326, 752
* *LeftClick
* *Delay $LagLevel
* *Keys {Return}
* *Delay $LagLevel
* *
* *Keys {Return}/Macro Stopped
* *Call Logout
* *Stop
*Else
* *Compute MaxMP = $MaxMP DIV 30
* *If $MaxMP >= $NumberofRuns
* * *MousePos 326, 752
* * *LeftClick
* * *Delay $LagLevel
* * *Keys {Return}
* * *Delay $LagLevel
* * *Keys {Return}/You Entered a very Low # of SoulOre or DCrystals
* * *Delay 5 sec
* * *MousePos 326, 752
* * *LeftClick
* * *Delay $LagLevel
* * *Keys {Return}
* * *Delay $LagLevel
* * *Compute NumberofRuns = $NumberofRuns * 100
* * *Keys {Return}/We will make $NumberofRuns DSS then Set up shop.
* * *Call MakeOnly
* * *Delay 5 sec
* * *MousePos 326, 752
* * *LeftClick
* * *Delay $LagLevel
* * *Keys {Return}
* * *Delay $LagLevel
* * *Keys {Return}/Setting up shop!
* * *Delay 4 sec
* * *KeyDown $Sit 250
* * *Delay $LagLevel
* * *Call SetupShop
* * *MousePos 326, 752
* * *LeftClick
* * *Delay $LagLevel
* * *Keys {Return}
* * *Delay $LagLevel
* * *Keys {RETURN}$YellMessage {RETURN}
* * *Delay $LagLevel
* * *Keys {Return}/Macro Stopped
* * *Stop
* *Else
* * *Compute NumberofRuns = $NumberofRuns - $MaxMP
* * *Call StarterDSS
* * *Delay 500
* * *Call SetupShop
* * *Delay 500
* * *Loop $NumberofRuns
* * * *Delay $MPRegen
* * * *Keydown $SoulShot 250
* * * *Delay $LagLevel
* * * *MousePos 591, 516
* * * *Call Clicks
* * * *MousePos 452, 497
* * * *Delay 20
* * * *LeftClick
* * * *Compute ShopNumber = {LoopNo} mod 10
* * * *If *$ShopNumber = 0 and {LoopNo} < 1001
* * * * *Call AddtoShop
* * * *End
* * *End
* *End
*End
*Call AddtoShop
*MousePos 326, 752
*LeftClick
*Delay $LagLevel
*Keys {Return}
*Delay $LagLevel
*Keys {Return}/Macro Stopped.
*Stop
End
//Disclamer: I(Ravix) am not responcible for any loss of items, for any reason.
//I am not responcible for you getting banned.
//I am not responcilbe for ANY negitive outcomes of using this macro.
//Use at your own Risk. Even if all the risks arent listed. (Includes unknown risks)
//Possible risks due to lag, incorrect settings, lack of testing, and Server crashes/diconnects:
//Loss of items.
//Dropping of items.
//Unwillingly selling the wrong Items.
//Detection of macro using.
//Putting the wrong items in the warehouse.






