Log in

View Full Version : Lootdrop tutorial.



TheJagNG
01-02-2009, 03:50
I just made this tutorial for a guy that asked how to make the bot drop loot, and I think other ppl may need some help to.

Step 1

Do like this in the end of your waypoints before "gotoscriptline 0":

IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$

that will go to a line that says ':deposit' if your cap is 100 or less

Step 2

now you need to do a line that says ':deposit' after goto scriptline 0.

like this:

move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit


Step 3

And after :deposit you make your waypoints to the lootdrop place
example




move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move xyz
move xyz
move xyz
move xyz
move 32789,31140,10 (<-DROP LOOT HERE)

Step 4

If you wanna drop all loot, you just put "dropLootOnGround 32789,31140,10


move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move xyz
move xyz
move xyz
move xyz
move 32789,31140,10 (<-DROP LOOT HERE)
waitX 1 (wait 1 second, not needed)
dropLootOnGround 32789,31140,10
waitX 1

continue to step 5 if you wanna drop all your loot (gold too)

Step 4.1

and if you don't wanna drop all loot on your lootlist you will need the command "resetloot"


move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move xyz
move xyz
move xyz
move xyz
move 32789,31140,10 (<-DROP LOOT HERE)
resetloot


Step 4.2


then you put all the items you wanna drop


move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move xyz
move xyz
move xyz
move xyz
move 32789,31140,10 (<-DROP LOOT HERE)
resetloot
setLoot (viking helpmet)
setLoot (brass helmet)
setLoot (whatever)

Step 4.3

and then you put put 'dropLootOnGround 32789,31140,10'


move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move xyz
move xyz
move xyz
move xyz
move 32789,31140,10 (<-DROP LOOT HERE)
resetloot
setLoot (viking helpmet)
setLoot (brass helmet)
setLoot (whatever)
waitX 1 (wait 1 second, not needed)
dropLootOnGround 32789,31140,10
waitX 1


Step 4.4


and then you gotta put 'resetloot' again, and put ALL the ID's you had in the beginning



move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move xyz
move xyz
move xyz
move xyz
move 32789,31140,10 (<-DROP LOOT HERE)
resetloot
setLoot (viking helpmet)
setLoot (brass helmet)
setLoot (whatever)
waitX 1 (wait 1 second, not needed)
dropLootOnGround 32789,31140,10
waitX 1
resetloot
setLoot D6 0C
setLoot C0 0C
setLoot 53 0D
setLoot 27 0D
setLoot D7 0B
setLoot 71 90
setLoot 31 0D

Step 5


That is how you make the bot drop loot on x sqm, now you just gotta make waypoints back to where your script starts



move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move xyz
move xyz
move xyz
move xyz
move 32789,31140,10 (<-DROP LOOT HERE)
resetloot
setLoot (viking helpmet)
setLoot (brass helmet)
setLoot (whatever)
waitX 1 (wait 1 second, not needed)
dropLootOnGround 32789,31140,10
waitX 1
setLoot D6 0C
setLoot C0 0C
setLoot 53 0D
setLoot 27 0D
setLoot D7 0B
setLoot 71 90
setLoot 31 0D
move xyz
move xyz
move xyz
move xyz
move xyz
gotoscriptline 0


and don't forget gotoscriptline 0.


And the final script will be:


onGMpause
setMeleeKill ghoul
setMeleeKill skeleton
setMeleeKill crypt shambler
setPriority crypt shambler:+1
setLoot D6 0C
setLoot C0 0C
setLoot 53 0D
setLoot 27 0D
setLoot D7 0B
setLoot 71 90
setLoot 31 0D
move 32782,31142,9
move 32767,31128,9
move 32768,31128,9
move 32763,31128,9
move 32757,31137,9
move 32757,31136,9
move 32754,31146,9
move 32754,31145,9
move 32757,31145,9
move 32758,31157,9
move 32756,31160,9
move 32757,31161,9
move 32754,31161,9
move 32752,31145,9
move 32752,31144,9
move 32761,31128,9
move 32761,31115,9
move 32753,31103,9
move 32753,31108,9
move 32761,31124,9
move 32777,31131,9
move 32781,31140,9
IfTrue ($mycap$#number<=#10000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move xyz
move xyz
move xyz
move xyz
move 32789,31140,10 (<-DROP LOOT HERE)
resetloot
setLoot (viking helpmet)
setLoot (brass helmet)
setLoot (whatever)
waitX 1 (wait 1 second, not needed)
dropLootOnGround 32789,31140,10
waitX 1
resetloot
setLoot D6 0C
setLoot C0 0C
setLoot 53 0D
setLoot 27 0D
setLoot D7 0B
setLoot 71 90
setLoot 31 0D
move xyz
move xyz
move xyz
move xyz
move xyz
gotoscriptline 0


Example made from this script:
http://blackdtools.net/showthread.php?p=266193#post266193


hope it helped

TheJagNG
01-02-2009, 03:58
You can tell me if the tutorial is good or bad, if it is missing something, if you need help, or if I explain something bad.

Idk if I missed something, this was made 3:00 in my country =)

ty

Ericks
01-02-2009, 19:05
Really good! :)

TheJagNG
01-04-2009, 13:49
^^ ty

hope noobs will stop telling other ppl to add it to their scripts now

PikaBoo
01-08-2009, 18:18
Thanks, damn easy to understand for newbies and to recreate / modify ;)

n00barN^
01-17-2009, 17:53
Very nice turorial dude ;]

Guigozer
01-20-2009, 01:05
Very nice tutorial

help me a lot ! :D

Piottumi
01-26-2009, 12:22
It will be perfect, when you edit it "setLoot (viking helpmet)". ;)

TheJagNG
01-29-2009, 17:34
= )

lille12
02-03-2009, 16:17
This is a very nice tutorial you made, thanks !

jacobed
02-17-2009, 01:10
it helped me thx

Robinioo
02-20-2009, 02:58
yea thanks :)

St12fags
04-28-2009, 22:30
This is my tutorial, check the IP and delete the thread please, either that or correct your mistake and unbann me.

Luazinhu
05-02-2009, 06:17
to separate the loot so

x sqm only loot to sell darashia
x sqm only loot to sell carlin
x sqm only golds
??

is more or less so?


resetLoot
waitX 1
setLoot x
setLoot x
setLoot x
waitX 1
droplootground xx4,xx4,x (darashia only)
waitX 1
resetloot
waitX 1
setLoot x
setLoot x
setLoot x
waitX 1
droplootground xx5,xx4,x (carlin only)
waitX 1
resetloot
waitX 1
setLoot x
waitX 1
droplootground xx5,xx5,x (golds only)
waitX 1
resetloot
setLoot x
setLoot x
setLoot x
setLoot x
setLoot x
setLoot x
gotoline 0