hilfe bei scripten
Verfasst: Sa 28. Dez 2013, 10:51
hallo,
gibt es hier jemanden der lust hat einen neuling bei einem mining cript zu helfen?
ich benutze den script von sigenawiki und meine probleme sind folgende:
1. er läuft immer in die gleiche richtung, in die wand. nacht paar runden in der wand fängt er an zu graben.
nach dem ende läuft er wieder in die gleiche wand und immer wieder und immer wieder.
2 er packt das erz nicht in die tasche vom packi, er findet die tasche, aber will immer wieder dort ablegen(ich muss von hand ablegen jedes mal 7 erz, irgend wann sogar 1 erz)
was und wo muss ich etwas ändern damit das einige massen läuft?
ich danke euch im vorraus,
mfg Nike.
;Multi-Mining-Tool 1.4
;Shard : Sigena
;This version was published ON http://www.uosigena.de
;Programmed alias BB21
;Auf die F10 Taste lastObject, WaitforTarget, LastTarget legen
;Ein mal von Hand minen und Script einstellen
initevents
set %ljtool FSF
finditem ZJF
set %1 C_
set %2 #findid
set %ownpack %1 , %2
;Hier die richtige Mine auswählen
;****************E I N S T E L L U N G E N****************
;gosub Eisenmine
;gosub Kohlenmine
;gosub Kupfermine
;gosub Goldmine
gosub Malamine
;****************E I N S T E L L U N G E N****************
sub Eisenmine
GOSUB LJING 1649 1064 0
GOSUB LJING 1652 1062 0
GOSUB LJING 1655 1059 0
GOSUB LJING 1655 1056 0
GOSUB LJING 1652 1054 0
GOSUB LJING 1649 1053 0
GOSUB LJING 1648 1056 0
GOSUB LJING 1645 1057 0
GOSUB LJING 1648 1059 0
GOSUB LJING 1643 1058 0
GOSUB LJING 1640 1058 0
GOSUB LJING 1641 1055 0
GOSUB LJING 1645 1051 0
GOSUB LJING 1640 1052 0
GOSUB LJING 1637 1054 0
GOSUB LJING 1634 1051 0
GOSUB LJING 1631 1053 0
GOSUB LJING 1631 1050 0
GOSUB LJING 1627 1050 0
GOSUB LJING 1627 1044 0
GOSUB LJING 1629 1040 0
GOSUB LJING 1632 1043 0
GOSUB LJING 1634 1039 0
GOSUB LJING 1631 1036 0
GOSUB LJING 1636 1034 0
GOSUB LJING 1636 1031 0
GOSUB LJING 1639 1029 0
GOSUB LJING 1652 1027 0
return
sub Kohlenmine
GOSUB LJING 1931 1134 0
GOSUB LJING 1930 1131 0
GOSUB LJING 1931 1137 0
GOSUB LJING 1929 1128 0
GOSUB LJING 1927 1124 0
GOSUB LJING 1924 1122 0
GOSUB LJING 1921 1121 0
GOSUB LJING 1917 1120 0
GOSUB LJING 1920 1119 0
GOSUB LJING 1921 1119 0
GOSUB LJING 1926 1119 0
GOSUB LJING 1929 1118 0
GOSUB LJING 1931 1115 0
GOSUB LJING 1933 1112 0
GOSUB LJING 1933 1108 0
GOSUB LJING 1936 1111 0
GOSUB LJING 1935 1114 0
GOSUB LJING 1934 1117 0
GOSUB LJING 1932 1120 0
GOSUB LJING 1929 1123 0
GOSUB LJING 1932 1123 0
GOSUB LJING 1935 1123 0
GOSUB LJING 1939 1120 0
GOSUB LJING 1938 1123 0
GOSUB LJING 1935 1125 0
GOSUB LJING 1933 1127 0
GOSUB LJING 1933 1130 0
return
sub Kupfermine
GOSUB LJING 2023 1304 0
GOSUB LJING 2020 1304 0
GOSUB LJING 2017 1301 0
GOSUB LJING 2015 1297 0
GOSUB LJING 2012 1298 0
GOSUB LJING 2010 1301 0
GOSUB LJING 2013 1301 0
GOSUB LJING 2014 1303 0
GOSUB LJING 2013 1306 0
GOSUB LJING 2011 1305 0
GOSUB LJING 2008 1304 0
GOSUB LJING 2008 1308 0
GOSUB LJING 2011 1310 0
GOSUB LJING 2014 1308 0
GOSUB LJING 2015 1311 0
GOSUB LJING 2017 1308 0
GOSUB LJING 2020 1306 0
return
sub Goldmine
GOSUB LJING 645 2390 0
GOSUB LJING 645 2386 0
GOSUB LJING 642 2383 0
GOSUB LJING 639 2380 0
GOSUB LJING 636 2372 0
GOSUB LJING 634 2369 0
GOSUB LJING 631 2367 0
GOSUB LJING 627 2367 0
GOSUB LJING 623 2366 0
GOSUB LJING 618 2363 0
GOSUB LJING 612 2366 0
GOSUB LJING 608 2367 0
GOSUB LJING 605 2365 0
GOSUB LJING 606 2370 0
GOSUB LJING 609 2372 0
GOSUB LJING 613 2371 0
GOSUB LJING 617 2370 0
GOSUB LJING 623 2371 0
GOSUB LJING 632 2376 0
GOSUB LJING 636 2380 0
GOSUB LJING 640 2383 0
return
sub Malamine
GOSUB LJING 341 2120 0
GOSUB LJING 340 2116 0
GOSUB LJING 344 2115 0
GOSUB LJING 344 2111 0
GOSUB LJING 348 2112 0
GOSUB LJING 353 2104 0
GOSUB LJING 350 2099 0
GOSUB LJING 353 2097 0
GOSUB LJING 350 2093 0
GOSUB LJING 346 2096 0
GOSUB LJING 348 2092 0
GOSUB LJING 343 2091 0
GOSUB LJING 339 2091 0
GOSUB LJING 340 2095 0
GOSUB LJING 342 2099 0
GOSUB LJING 338 2100 0
GOSUB LJING 336 2096 0
GOSUB LJING 334 2092 0
GOSUB LJING 330 2093 0
GOSUB LJING 331 2097 0
GOSUB LJING 331 2101 0
GOSUB LJING 333 2105 0
GOSUB LJING 331 2108 0
GOSUB LJING 327 2106 0
GOSUB LJING 341 2102 0
GOSUB LJING 323 2103 0
GOSUB LJING 326 2098 0
GOSUB LJING 329 2095 0
return
halt
walk:
sub ljing
move %1 %2 1
finditem %ljtool
set #lobjectid #findid
goto feldreset
feld1:
set #lasttargetkind 3
set #ltargetx #charposx + 0
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy + 0
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx
set #ltargety #charposy
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy - 1
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy + 0
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy - 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 0
set #ltargety #charposy - 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy + 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy + 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy + 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 0
set #ltargety #charposy + 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy - 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy - 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy - 0
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy - 2
gosub dig
goto walk
sub dig
finditem TWF
set #lobjectid #findid
;wait 2s
key f10
;wait 2s
mienen:
finditem TWF_NPF
set #lobjectid #findid
scanjournal 1
If kein_verwertbares_Erz_gewinnen in #journal
{
set %3 %3 + 1
If %3 > 2
{
return
}
}
if #maxweight < #weight
{
gosub moveStuff
}
If speichere in #journal
{
wait 5s
}
If kein_Erz_mehr_abzubauen in #journal
{
goto setfeld
feldreset:
set %2 1
set %3 0
goto feld1
setfeld:
return
}
;Falls man dort nicht minen kann
If nichts_zu_holen in #journal
{
return
}
key F10
goto mienen
sub moveStuff
event sysmessage Eisen ins Packi lagern
finditem WN
if #findid = X
{
finditem BO
}
set %pferd #findid
set #nextCPosX 1
set #nextCPosY 1
event sysmessage Coords set to #nextCPosX and #nextCPosY
wait 2s
event sysmessage Trying to open packis backpack...
set #LObjectID %pferd
event macro 17 0
wait 2s
finditem DWJ %ownpack
event sysmessage Found #findstack erz...
event Drag #findID
wait 2
msg $
event sysmessage Holding the erz???
wait 3s
click 100 100 p
return
gibt es hier jemanden der lust hat einen neuling bei einem mining cript zu helfen?
ich benutze den script von sigenawiki und meine probleme sind folgende:
1. er läuft immer in die gleiche richtung, in die wand. nacht paar runden in der wand fängt er an zu graben.
nach dem ende läuft er wieder in die gleiche wand und immer wieder und immer wieder.
2 er packt das erz nicht in die tasche vom packi, er findet die tasche, aber will immer wieder dort ablegen(ich muss von hand ablegen jedes mal 7 erz, irgend wann sogar 1 erz)
was und wo muss ich etwas ändern damit das einige massen läuft?
ich danke euch im vorraus,
mfg Nike.
;Multi-Mining-Tool 1.4
;Shard : Sigena
;This version was published ON http://www.uosigena.de
;Programmed alias BB21
;Auf die F10 Taste lastObject, WaitforTarget, LastTarget legen
;Ein mal von Hand minen und Script einstellen
initevents
set %ljtool FSF
finditem ZJF
set %1 C_
set %2 #findid
set %ownpack %1 , %2
;Hier die richtige Mine auswählen
;****************E I N S T E L L U N G E N****************
;gosub Eisenmine
;gosub Kohlenmine
;gosub Kupfermine
;gosub Goldmine
gosub Malamine
;****************E I N S T E L L U N G E N****************
sub Eisenmine
GOSUB LJING 1649 1064 0
GOSUB LJING 1652 1062 0
GOSUB LJING 1655 1059 0
GOSUB LJING 1655 1056 0
GOSUB LJING 1652 1054 0
GOSUB LJING 1649 1053 0
GOSUB LJING 1648 1056 0
GOSUB LJING 1645 1057 0
GOSUB LJING 1648 1059 0
GOSUB LJING 1643 1058 0
GOSUB LJING 1640 1058 0
GOSUB LJING 1641 1055 0
GOSUB LJING 1645 1051 0
GOSUB LJING 1640 1052 0
GOSUB LJING 1637 1054 0
GOSUB LJING 1634 1051 0
GOSUB LJING 1631 1053 0
GOSUB LJING 1631 1050 0
GOSUB LJING 1627 1050 0
GOSUB LJING 1627 1044 0
GOSUB LJING 1629 1040 0
GOSUB LJING 1632 1043 0
GOSUB LJING 1634 1039 0
GOSUB LJING 1631 1036 0
GOSUB LJING 1636 1034 0
GOSUB LJING 1636 1031 0
GOSUB LJING 1639 1029 0
GOSUB LJING 1652 1027 0
return
sub Kohlenmine
GOSUB LJING 1931 1134 0
GOSUB LJING 1930 1131 0
GOSUB LJING 1931 1137 0
GOSUB LJING 1929 1128 0
GOSUB LJING 1927 1124 0
GOSUB LJING 1924 1122 0
GOSUB LJING 1921 1121 0
GOSUB LJING 1917 1120 0
GOSUB LJING 1920 1119 0
GOSUB LJING 1921 1119 0
GOSUB LJING 1926 1119 0
GOSUB LJING 1929 1118 0
GOSUB LJING 1931 1115 0
GOSUB LJING 1933 1112 0
GOSUB LJING 1933 1108 0
GOSUB LJING 1936 1111 0
GOSUB LJING 1935 1114 0
GOSUB LJING 1934 1117 0
GOSUB LJING 1932 1120 0
GOSUB LJING 1929 1123 0
GOSUB LJING 1932 1123 0
GOSUB LJING 1935 1123 0
GOSUB LJING 1939 1120 0
GOSUB LJING 1938 1123 0
GOSUB LJING 1935 1125 0
GOSUB LJING 1933 1127 0
GOSUB LJING 1933 1130 0
return
sub Kupfermine
GOSUB LJING 2023 1304 0
GOSUB LJING 2020 1304 0
GOSUB LJING 2017 1301 0
GOSUB LJING 2015 1297 0
GOSUB LJING 2012 1298 0
GOSUB LJING 2010 1301 0
GOSUB LJING 2013 1301 0
GOSUB LJING 2014 1303 0
GOSUB LJING 2013 1306 0
GOSUB LJING 2011 1305 0
GOSUB LJING 2008 1304 0
GOSUB LJING 2008 1308 0
GOSUB LJING 2011 1310 0
GOSUB LJING 2014 1308 0
GOSUB LJING 2015 1311 0
GOSUB LJING 2017 1308 0
GOSUB LJING 2020 1306 0
return
sub Goldmine
GOSUB LJING 645 2390 0
GOSUB LJING 645 2386 0
GOSUB LJING 642 2383 0
GOSUB LJING 639 2380 0
GOSUB LJING 636 2372 0
GOSUB LJING 634 2369 0
GOSUB LJING 631 2367 0
GOSUB LJING 627 2367 0
GOSUB LJING 623 2366 0
GOSUB LJING 618 2363 0
GOSUB LJING 612 2366 0
GOSUB LJING 608 2367 0
GOSUB LJING 605 2365 0
GOSUB LJING 606 2370 0
GOSUB LJING 609 2372 0
GOSUB LJING 613 2371 0
GOSUB LJING 617 2370 0
GOSUB LJING 623 2371 0
GOSUB LJING 632 2376 0
GOSUB LJING 636 2380 0
GOSUB LJING 640 2383 0
return
sub Malamine
GOSUB LJING 341 2120 0
GOSUB LJING 340 2116 0
GOSUB LJING 344 2115 0
GOSUB LJING 344 2111 0
GOSUB LJING 348 2112 0
GOSUB LJING 353 2104 0
GOSUB LJING 350 2099 0
GOSUB LJING 353 2097 0
GOSUB LJING 350 2093 0
GOSUB LJING 346 2096 0
GOSUB LJING 348 2092 0
GOSUB LJING 343 2091 0
GOSUB LJING 339 2091 0
GOSUB LJING 340 2095 0
GOSUB LJING 342 2099 0
GOSUB LJING 338 2100 0
GOSUB LJING 336 2096 0
GOSUB LJING 334 2092 0
GOSUB LJING 330 2093 0
GOSUB LJING 331 2097 0
GOSUB LJING 331 2101 0
GOSUB LJING 333 2105 0
GOSUB LJING 331 2108 0
GOSUB LJING 327 2106 0
GOSUB LJING 341 2102 0
GOSUB LJING 323 2103 0
GOSUB LJING 326 2098 0
GOSUB LJING 329 2095 0
return
halt
walk:
sub ljing
move %1 %2 1
finditem %ljtool
set #lobjectid #findid
goto feldreset
feld1:
set #lasttargetkind 3
set #ltargetx #charposx + 0
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy + 0
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx
set #ltargety #charposy
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy - 1
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy + 0
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy - 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 0
set #ltargety #charposy - 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy + 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy + 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy + 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 1
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 0
set #ltargety #charposy + 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 1
set #ltargety #charposy - 2
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy - 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx + 2
set #ltargety #charposy + 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy - 1
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy - 0
set %3 0
gosub dig
set #lasttargetkind 3
set #ltargetx #charposx - 2
set #ltargety #charposy - 2
gosub dig
goto walk
sub dig
finditem TWF
set #lobjectid #findid
;wait 2s
key f10
;wait 2s
mienen:
finditem TWF_NPF
set #lobjectid #findid
scanjournal 1
If kein_verwertbares_Erz_gewinnen in #journal
{
set %3 %3 + 1
If %3 > 2
{
return
}
}
if #maxweight < #weight
{
gosub moveStuff
}
If speichere in #journal
{
wait 5s
}
If kein_Erz_mehr_abzubauen in #journal
{
goto setfeld
feldreset:
set %2 1
set %3 0
goto feld1
setfeld:
return
}
;Falls man dort nicht minen kann
If nichts_zu_holen in #journal
{
return
}
key F10
goto mienen
sub moveStuff
event sysmessage Eisen ins Packi lagern
finditem WN
if #findid = X
{
finditem BO
}
set %pferd #findid
set #nextCPosX 1
set #nextCPosY 1
event sysmessage Coords set to #nextCPosX and #nextCPosY
wait 2s
event sysmessage Trying to open packis backpack...
set #LObjectID %pferd
event macro 17 0
wait 2s
finditem DWJ %ownpack
event sysmessage Found #findstack erz...
event Drag #findID
wait 2
msg $
event sysmessage Holding the erz???
wait 3s
click 100 100 p
return