-
PutteN
- Posts: 15
- Joined: Thu Jan 14, 2010 11:16 am
#1
Post
by PutteN » Thu Jan 14, 2010 11:23 am
Hi,
I have try make some repair WP.
But i cant get it work
So whats wrong ?
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="XX" z="XX"> </waypoint>
<!-- # 2 --><waypoint x="XX" z="XX"> </waypoint>
<!-- # 3 --><waypoint x="XX" z="XX"> </waypoint>
<!-- # 25 --><waypoint x="-2836" z="9294"> player:merchant("XXX");
load_paths("back.xml")
</waypoint>
</waypoints>
Thx in advance
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#2
Post
by Administrator » Thu Jan 14, 2010 11:30 am
PutteN wrote:
So whats wrong ?
I don't know. You tell me.
-
PutteN
- Posts: 15
- Joined: Thu Jan 14, 2010 11:16 am
#3
Post
by PutteN » Thu Jan 14, 2010 12:34 pm
I will post the error massage later thx !
/PutteN
-
arntom
- Posts: 15
- Joined: Fri Dec 11, 2009 2:40 am
#4
Post
by arntom » Thu Jan 14, 2010 2:16 pm
your loadpath command is out of date, use:
-
PutteN
- Posts: 15
- Joined: Thu Jan 14, 2010 11:16 am
#5
Post
by PutteN » Thu Jan 14, 2010 3:12 pm
Thx i will give it a try
/PutteN
-
PutteN
- Posts: 15
- Joined: Thu Jan 14, 2010 11:16 am
#6
Post
by PutteN » Thu Jan 14, 2010 5:06 pm
I have now try but cant get it work
WP
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-823" z="-5916"> </waypoint>
<!-- # 2 --><waypoint x="-1072" z="-5903"> </waypoint>
<!-- # 3 --><waypoint x="-1150" z="-5869"> </waypoint>
<!-- # 4 --><waypoint x="-1223" z="-5779"> </waypoint>
<!-- # 5 --><waypoint x="-1342" z="-5528"> </waypoint>
<!-- # 6 --><waypoint x="-1430" z="-5107"> </waypoint>
<!-- # 7 --><waypoint x="-1438" z="-4697"> </waypoint>
<!-- # 8 --><waypoint x="-1340" z="-4346"> </waypoint>
<!-- # 9 --><waypoint x="-1595" z="-4204"> </waypoint>
<!-- # 10 --><waypoint x="-1788" z="-4128"> </waypoint>
loadPaths("wolf/wolf.xml");
</waypoint>
</waypoints>
Error
Code: Select all
Thu Jan 14 23:02:36 2010 : ...acro/micromacro/scripts/rom/classes/waypointlist.lua:21: XML Parse Error.
File: .../micromacro/scripts/rom/waypoints/Wolf/wolf-back.xml
Line: 12
Column: 32
Message: mismatched tag
Thu Jan 14 23:02:36 2010 : Execution error: Runtime error
Thu Jan 14 23:02:36 2010 : ...s\Putte\Downloads\micromacro\micromacro\lib\net.lua:4: attempt to call global 'registerKey' (a nil value)
My first repair script
/PutteN
-
PutteN
- Posts: 15
- Joined: Thu Jan 14, 2010 11:16 am
#8
Post
by PutteN » Fri Jan 15, 2010 5:47 am
Now i have done like this
Code: Select all
<!-- # 22 --><waypoint x="xx" z="xx"> </waypoint>
<!-- # 23 --><waypoint x="xx" z="xx"> </waypoint>
<waypoint>
loadpaths("xx/xx-RUN.xml")
</waypoint>
And when it come to to #23 it got to #24 that have X-0 Y-0
Did i do wrong again
?
/PutteN
(I have try read wiki but it had the old system)
-
arntom
- Posts: 15
- Joined: Fri Dec 11, 2009 2:40 am
#9
Post
by arntom » Fri Jan 15, 2010 9:25 am
Code: Select all
<!-- # 22 --><waypoint x="xx" z="xx"> </waypoint>
<!-- # 23 --><waypoint x="xx" z="xx">
loadpaths("xx/xx-RUN.xml");
</waypoint>
<!-- # 24 --><waypoint x="xx" z="xx"> </waypoint>
-
PutteN
- Posts: 15
- Joined: Thu Jan 14, 2010 11:16 am
#10
Post
by PutteN » Tue Jan 19, 2010 3:06 pm
I cant get it work >.<
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="3384" z="5286"> </waypoint>
<!-- # 2 --><waypoint x="3470" z="5649"> </waypoint>
<!-- # 3 --><waypoint x="3636" z="5640"> </waypoint>
<!-- # 4 --><waypoint x="3680" z="5527"> </waypoint>
<!-- # 5 --><waypoint x="3773" z="5360"> </waypoint>
<!-- # 6 --><waypoint x="3859" z="5225"> </waypoint>
<!-- # 7 --><waypoint x="3855" z="5174"> </waypoint>
<!-- # 8 --><waypoint x="3968" z="5327"> </waypoint>
<!-- # 9 --><waypoint x="4062" z="5221"> </waypoint>
<!-- # 10 --><waypoint x="4164" z="5039"> </waypoint>
<!-- # 11 --><waypoint x="4420" z="5087"> </waypoint>
<!-- # 12 --><waypoint x="4380" z="5217"> </waypoint>
<!-- # 13 --><waypoint x="4137" z="5309"> </waypoint>
<!-- # 14 --><waypoint x="4125" z="5423"> </waypoint>
<!-- # 15 --><waypoint x="4015" z="5487"> </waypoint>
<!-- # 16 --><waypoint x="3890" z="5490"> </waypoint>
<!-- # 17 --><waypoint x="3796" z="5381"> </waypoint>
<!-- # 18 --><waypoint x="3302" z="5304">
if( player.free_flag1 == true ) then
player.free_flag1 = false;
loadPaths("farm_npc.xml");
end
</waypoint>
<!-- # 19 --><waypoint x="3302" z="5304"> </waypoint>
</waypoints>
"[string " ..."]:2: attempt to call global 'loadpaths' (a nil value)"
Whats wrong >.<?
-
raff
- Posts: 96
- Joined: Thu Jan 22, 2009 10:46 am
#11
Post
by raff » Wed Jan 20, 2010 12:02 pm
are you using the latest micromacro version or/and latest bot version?
-
PutteN
- Posts: 15
- Joined: Thu Jan 14, 2010 11:16 am
#12
Post
by PutteN » Wed Jan 20, 2010 2:17 pm
Yes i do
I have really try to slove this myself but i cant xD
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#13
Post
by Administrator » Wed Jan 20, 2010 6:21 pm
You had 'loadPaths' in the code example, but 'loadpaths' in the error you posted. Make up your mind. It also helps when you copy and paste the error from the log instead of typing it out yourself.
-
PutteN
- Posts: 15
- Joined: Thu Jan 14, 2010 11:16 am
#14
Post
by PutteN » Thu Jan 21, 2010 12:45 pm
still this error
Code: Select all
Thu Jan 21 10:00:35 2010 : [string " ..."]:2: attempt to call global 'loadpaths' (a nil value)
Thu Jan 21 10:00:35 2010 : Execution error: Runtime error
Thu Jan 21 10:00:35 2010 : ...s\Puffen\Downloads\micromacro\micromacro\lib\net.lua:4: attempt to call global 'registerKey' (a nil value)
Thu Jan 21 10:03:49 2010 : Executing script 'bot.lua'
I have use many bots but this time i dont have any clue...
/Patrik
-
Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
#15
Post
by Administrator » Thu Jan 21, 2010 5:22 pm
The function is loadPaths(), not loadpaths(). Yes, there is a difference.
Who is online
Users browsing this forum: Google [Bot] and 3 guests