PDA

View Full Version : Few suggestions



Lanibox
02-21-2012, 08:42 PM
Hey, some suggestions me and propably somebody else would like to see too :)

1st. Simple scripting system.
Would be nice to use 1 line scripts like "If mppc > 90 then | say("exura") | eatfood" as example.

2nd. Few functions.

- Count cap which makes possible to count cap + item cap + required money to buy. Like spear buyer from npc.

- Check pos from x y z to x y z. Required for svargrond buddel boat as example. Check if your in that x y z -> x y z else, talk to npc again.

- Buy from npc...

3rd. Fixed/Advanced targetting.

I have found out that if your using keep distance at targetting. It runs to worst places at most time. Would be awesome if u could make it run back to same place where u came there. So player wont face new monsters when u try to kill current monster.

Sorry if its hard to read/bit unclear, im bit tired.

sam.i
02-21-2012, 09:24 PM
BUUUUUUUUUUUUUUUMP i totally agree with all those suggestions!

Spectrus
02-21-2012, 10:47 PM
Hey, some suggestions me and propably somebody else would like to see too :)

1st. Simple scripting system.
Would be nice to use 1 line scripts like "If mppc > 90 then | say("exura") | eatfood" as example.

2nd. Few functions.

- Count cap which makes possible to count cap + item cap + required money to buy. Like spear buyer from npc.

- Check pos from x y z to x y z. Required for svargrond buddel boat as example. Check if your in that x y z -> x y z else, talk to npc again.

- Buy from npc...

3rd. Fixed/Advanced targetting.

I have found out that if your using keep distance at targetting. It runs to worst places at most time. Would be awesome if u could make it run back to same place where u came there. So player wont face new monsters when u try to kill current monster.

Sorry if its hard to read/bit unclear, im bit tired.

The first will not happen unless someone develops some sort of intermediate language for you to use. Reason for this is when deciding what language to use for Xenobot's scripter, Lua was chosen for it's functionality. It beats a simple "scripting" language like Tcl.

The second is pretty easy, most are already possible. The last one (trading with NPC's) is currently not, but should be soon. I'll edit this and put the scripts for you in a moment.



-- Checks inputted location against your current location. If they are the same, returns true, else returns false.

function checkLocation(x, y, z)
if(Self.Position().x == x and Self.Position().y == y and Self.Position().z == z) then
return true
else
return false
end
end

--Checks if cap is above inputted amount. If it is, returns true, else returns false.

function isCapAbove(cap)
if(Self.Cap() > cap) then
return true
else
return false
end
end


The third is already a reported problem, and is being worked on.