Trying to get going

Minky

Member
Hello,

Just found and picked up ISXEve and so far I am amazed at the power of it. However I have been playing around with scripts and have a few errors that I can't seem to resolve even though they seem correct.

function main()
{
; Launch all of my drones
; (Note: There are means available of launching specific drones or types of drones if you so desire)
Me.Ship:LaunchAllDrones


; Wait about 20 seconds or so
wait 50


; populate an index of integers with the ID#s of the entities in the area that are of the category type of "Drone" and
; have "Me" as their owner (ie, all of my drones). Again, you can modify this to exclude or include any types of drones
; you desire. You can also control individual drones by using entity datatype methods. The eve datatype method used below
; (and those similar to it) are used for controlling multiple drones at once.
;
; Once we have the array of ID#s, then we can use it with any of the applicable eve datatype methods. This example simply
; tells all of the drones to return to the drone bay.

variable index:int MyDrones
variable int MyDronesCount
MyDronesCount:Set[${EVE.GetEntityIDs[MyDrones,OwnerID,${Me.CharID},CategoryID,18]}]
echo Populating MyDrones List:: ${MyDronesCount} drones total
EVE:DronesReturnToDroneBay[MyDrones]
}
Trying this out from the code snippets on this forum it does not populate the list and gives me a drone total of 0 (even though I have 4 drones flying about) and they won't return.

Another issue I had was using when I was using:
beltcount:Set[${EVE.GetEntities[belts]}]
where beltcount is an int, I get the following error:
Illegal statement outside of function definition
If anyone could help I would really appreciate it!

Thanks
 

Minky

Member
Fixed

Alright,

after doing some searching I found the answer I needed. They were just in odd places so perhaps when someone is searching for the same problem as me they will find it a bit easier :p

So for the drones:
Switch:
variable index:int MyDrones
To:
variable index:int64 MyDrones
I can only suspect it's because I use a x64 system.

As for the last error a quick reinstall of ISXEVE and Innerspace fixed it all up!
 
Top Bottom