Log in

View Full Version : [SOLVED] I get dc when trying to caveboting



oskar123
12-16-2012, 20:40
Hi! When i tryied to make a deposit script (just testing) i got constantly dc all the time, after some secs. My char runs and do whats the scripts says but i get dc in the progress. Can some1 help me with my problem!

Btw sry for my english ;)

Lithium
12-16-2012, 21:39
I would have to see the script to offer some suggestions, there is nothing wrong on my side of things, but maybe it is something you haven't included in your script? Other then that maybe there is something in your script that is wrong, I have heard my cousin make this mistake and it would immediately disconnect his client and it had something to do with either a typo or a bad line he had in his script, anyways need a little more information my friend..

-Lith

oskar123
12-17-2012, 08:55
:testar
setLoot 0C 01
setLoot DB 0B
move 32347,32222,7
move 32344,32225,7
move 32347,32227,7
IfTrue ($mycap$#number<=#700) Goto deposit
gotoScriptLine testar
:deposit
move 32349,32226,7
move 32348,32226,6
move 32344,32219,5
putLootOnDepot
move 32348,32224,5
move 32349,32226,6
gotoScriptLine testar

Lithium
12-17-2012, 11:15
As far as I can tell your script is missing a few things,
ex; IfTrue ($mycap$#number<=#700) Goto deposit ( $nlineoflabel:deposit$ )?
Also, 700 means 7 cap, 7000 70 cap and etc.

My suggestion is try using numbers instead of :testar and :deposit basically count every line as a number starting with 1 and so forth.

setLoot 0C 01
setLoot DB 0B
move 32347,32222,7
move 32344,32225,7
move 32347,32227,7
IfTrue ($mycap$#number<=#7000) GotoScriptLine 8
gotoScriptLine 0
move 32349,32226,7
move 32348,32226,6
move 32344,32219,5
putLootOnDepot
move 32348,32224,5
move 32349,32226,6
gotoScriptLine 0

I hope this makes sense Oskar,

-Lith

oskar123
12-17-2012, 13:43
Thanks for helping me out, gonna try this.

Bye!

oskar123
12-17-2012, 18:20
this worked for me, without getting dc or something, instead of "Goto 0" i did Goto $nlineoflabel:deposit$

Here was my final test script for deposit loot items and deposit gold into bank:


setLoot DB 0B
setLoot 0C 01
move 32346,32223,7
move 32343,32223,7
move 32344,32228,7
IfTrue ($mycap$#number<=#70000) Goto $nlineoflabel:deposit$
gotoScriptLine 0
:deposit
move 32349,32226,7
move 32348,32228,6
move 32344,32228,6
move 32344,32230,6
putLootOnDepot
waitX 3
move 32344,32228,6
move 32348,32228,6
move 32350,32227,6
move 32349,32229,7
IfTrue ($mycap$#number<=#70000) Goto $nlineoflabel:gold$
gotoScriptLine 0
:gold
move 32344,32229,7
sayMessage hi
waitX 1
sayInTrade deposit all
waitX 1
sayInTrade yes
gotoScriptLine 0


Thanks for helping me out, Byee!

Lithium
12-17-2012, 19:17
Glad to help and thanks for helping what I said sound a lot clearer zihinu was very late and tired last night =)

-Lith