Question about obj_Scavenger.iss

coyan2

Active Member
Well, Since we are waiting on an update for this mornings patch... I thought i would ask a question on this ....

I have a char that i use just for hauling, and looting/salvaging, And I thought that this was the perfect addition to the Evebot package yet... ; )

But, There are a number of issues I'm having with it, and would like to help where I can to get it up and working better....

Now, first off, I could not find any docs on this yet, so I dug into the script, and looked it over to see just what it was supposed to do. From the looks of it, Its supposed to fly between the belts and look for wrecks to loot.. Right? well, all it will do is jump from safe spot to safe spot, Unless i set up my own belt bookmarks, Using Belt as the prefix.... OK, now it goes from belt to belt...(would be nice if it would build its own belt list tho, Like the ratter??)

Ok, at first it would jump in, look for wreaks, give a true/false on weather they where empty or not,(debugging), then fly off... would not even go near them to open or anything...So after looking in the code, i found where it was looking for anything within 3000m, Not a problem, I upped it to 20k, and that helped...

Now it will go up to one wreak, open it, debug it telling you it has something in it, then fly off... ???? Yes, it will not take anything from the wreak, it will only look at one wreak, even if there are many more...

OK, I understand the flow of more programming languages, I am still at a loss as to how many of them work, the wording, syntax, and such, I'm still trying to figure this one out, so fixing this at this time on my own is not gonna happen... Yet.
So, if there are any ideas on where I should start, what I can change, what I can fix, where i should put what, All input would be helpful.. I really think this would be a great addition to the Bot....


Thanks,
Coy
 

coyan2

Active Member
OK, Ive decided to post some logs here, to see if someone can help get this to actually get items off the wreaks...
Code:
23:44:59: Warping...
23:44:59: Reloading Weapons...
23:45:22: Dropped out of warp
23:45:23: obj_Scavenger: DEBUG: Found 2 wrecks.
23:45:23: obj_Scavenger: DEBUG: 2100142710 12452.420078 FALSE
23:45:23: obj_Scavenger: DEBUG: 2100142723 13729.833164 FALSE
23:45:24: Approaching: Crook Guard Wreck - 39 Seconds away
23:45:24: Activating 1MN Afterburner I
23:45:49: Deactivating 1MN Afterburner I
23:45:51: obj_Scavenger: DEBUG:  Wreck contains 1 items.
23:45:57: Memory: Windows (TM) Vista Home Premium Process: 445972kb Free: 2122mb Texture Mem Free: 2213mb FPS: 83 Windowed: TRUE(TRUE) Foreground: TRUE
23:45:58: Preparing for warp
23:45:58: Warping to XXXXX IX - Asteroid Belt 1 @ 0km
23:46:00: Warping...
23:46:00: Reloading Weapons...
23:46:32: Dropped out of warp
23:46:33: obj_Scavenger: DEBUG: Found 0 wrecks.
23:46:40: Preparing for warp
23:46:40: Warping to XXXXX IX - Asteroid Belt 2 @ 0km
23:46:42: Warping...
23:46:42: Reloading Weapons...
23:46:57: Memory: Windows (TM) Vista Home Premium Process: 448096kb Free: 2096mb Texture Mem Free: 2212mb FPS: 33 Windowed: TRUE(TRUE) Foreground: FALSE
23:47:10: Dropped out of warp
23:47:11: obj_Scavenger: DEBUG: Found 0 wrecks.
23:47:18: Preparing for warp
23:47:18: Warping to XXXXX X - Asteroid Belt 1 @ 0km
23:47:21: Warping...
23:47:21: Reloading Weapons...
23:47:57: Memory: Windows (TM) Vista Home Premium Process: 472996kb Free: 2077mb Texture Mem Free: 2187mb FPS: 30 Windowed: TRUE(TRUE) Foreground: FALSE
23:48:01: Dropped out of warp
23:48:02: obj_Scavenger: DEBUG: Found 0 wrecks.
23:48:09: Preparing for warp
23:48:09: Warping to XXXXX X - Asteroid Belt 2 @ 0km
23:48:12: Warping...
23:48:12: Reloading Weapons...
23:48:42: Dropped out of warp
23:48:43: obj_Scavenger: DEBUG: Found 0 wrecks.
23:48:50: Preparing for warp
23:48:50: Warping to XXXXX X - Asteroid Belt 3 @ 0km
23:48:53: Warping...
23:48:53: Reloading Weapons...
As you see in the first part of the log, it found the wreaks, found out what it had, then warped away, left it there to rot....:)

Any ideas how to get it to actually pick up the loot??

OK, Next...
I was able to fix the belt thing, By using the warping part from the ratter....

this is what it was....

Code:
case SCAVENGE
				if ${Station.Docked}
				{
					call Station.Undock
				}
				wait 10
				call Asteroids.MoveToRandomBeltBookMark
				wait 10
				call This.WarpToFirstNonEmptyWreck
				wait 10
				call This.LootClosestWreck
				break
to this

Code:
case SCAVENGE
				if ${Station.Docked}
				{
					call Station.Undock
				}
				wait 10
				call Belts.WarpToNextBelt
				wait 10
				call This.WarpToFirstNonEmptyWreck
				wait 10
				call This.LootClosestWreck
				break
now it will build a belt list, then go to them and check them out...

anyway... on to more learning... :)
coy
 
Top Bottom