[5270] - cofr33dom

07/01/2010 15:07 clintonselke#166

someone asked a vid b4, dont remember who.. but there's one.
07/01/2010 16:20 DeathByMoogles#167
thank you so much, this is by far one of the most amazing things i have ever seen (once made something similar for a different game). I am a .NET coder and will thoroughly enjoy what you have given me. You have made so many contributions through the years, and all are very much appreciated.

thank you.

also, quick question.

i noticed this
(using version 1.1 btw)

Code:
var mobs = monster birdman
while true
    attack mobs
end
how do i declare multiple instances of mobs?
Code:
var mobs = monster birdman and monster othermonster?
-
var mobs = monster birdman , monster othermonster?
-
var mobs = monster birdman
var mobs = monster othermonster
just curious.

also this gives me an undefined variable error

Code:
when hp < 40
    use item Stancher
end
when true
attack self with Superman
end
while true
    attack monster Pheasant
    loot item meteor
    loot item dragonball
    loot item gold
end
also could you provide the code for scanning to see if monster x is visible, and if not jump randomly?
something like
Code:
if can see monster X
attack monster x
loot item gold
loot item meteor
loot item dragonball
else jump posx - random(1,10), posy - random(1,10)
end
07/01/2010 17:40 Always|Thinking#168
Hey, using this program what would the code be to make it constantly cast a skill on another player? Say if you right clicked them with stig how would i make it keep casting stig constantly?
07/01/2010 18:00 clintonselke#169
Quote:
Originally Posted by DeathByMoogles View Post
thank you so much, this is by far one of the most amazing things i have ever seen (once made something similar for a different game). I am a .NET coder and will thoroughly enjoy what you have given me. You have made so many contributions through the years, and all are very much appreciated.

thank you.

also, quick question.

i noticed this
(using version 1.1 btw)

Code:
var mobs = monster birdman
while true
    attack mobs
end
how do i declare multiple instances of mobs?
Code:
var mobs = monster birdman and monster othermonster?
-
var mobs = monster birdman , monster othermonster?
-
var mobs = monster birdman
var mobs = monster othermonster
just curious.

also this gives me an undefined variable error

Code:
when hp < 40
    use item Stancher
end
when true
attack self with Superman
end
while true
    attack monster Pheasant
    loot item meteor
    loot item dragonball
    loot item gold
end

also could you provide the code for scanning to see if monster x is visible, and if not jump randomly?
something like
Code:
if can see monster X
attack monster x
loot item gold
loot item meteor
loot item dragonball
else jump posx - random(1,10), posy - random(1,10)
end
there is actually something for that

in my messy documentation
Value := "random" S Expression "," S Expression `value = new RandomNode(results[1].Value, results[3].Value)`

that means you can define a random number between 1 and 10 like so...

Code:
var x = random 1, 10
Code:
jump to posx + random 0,6 - 3, posy + random 0,6 - 3
It looks like a mess, but it does work. Also I've completely forgot about negative numbers as a constant "var x = -3" == fail. I should add that later.


Also... multiple mobs or mob arrays can not declare yet and

Code:
attack self with skill Superman
needs the skill keyword
07/01/2010 18:29 DeathByMoogles#170
Quote:
Originally Posted by clintonselke View Post
there is actually something for that

in my messy documentation
Value := "random" S Expression "," S Expression `value = new RandomNode(results[1].Value, results[3].Value)`

that means you can define a random number between 1 and 10 like so...

Code:
var x = random 1, 10
Code:
jump to posx + random 0,6 - 3, posy + random 0,6 - 3
It looks like a mess, but it does work. Also I've completely forgot about negative numbers as a constant "var x = -3" == fail. I should add that later.


Also... multiple mobs or mob arrays can not declare yet and

Code:
attack self with skill Superman
needs the skill keyword
<3

ok one little thing
Code:
when hp < 40
    use item Stancher
end

when true
attack self with skill Superman
end

while true
    attack monster Pheasant
    loot item meteor
    loot item dragonball
    loot item gold
    loot item sycee
end
DC's me. do i need to add a sleep to the skill command?
07/01/2010 18:35 DeathByMoogles#171
added sleep works now nvm

crap now another undefined variable error using this code

Code:
# 20/06/2010 5:04:00 PM universal time
var pot = Amrita
var mob = Pheasant
var x = random 1, 10
when hp < 40
    use item pot
end

when true
attack self with skill Superman
sleep 2000
end


if found monster mob
    attack monster mob
    loot item meteor
    loot item dragonball
    loot item gold
    loot item sycee
    else
    jump to posx + random 0,6 - 3, posy + random 0,6 - 3
end
07/01/2010 19:12 clintonselke#172
Quote:
Originally Posted by DeathByMoogles View Post
added sleep works now nvm

crap now another undefined variable error using this code

Code:
# 20/06/2010 5:04:00 PM universal time
var pot = Amrita
var mob = Pheasant
var x = random 1, 10
when hp < 40
    use item pot
end

when true
attack self with skill Superman
sleep 2000
end


if found monster mob
    attack monster mob
    loot item meteor
    loot item dragonball
    loot item gold
    loot item sycee
    else
    jump to posx + random 0,6 - 3, posy + random 0,6 - 3
end
Code:
var pot = item Amrita
var mob = monster Pheasant
needs item / monster keywords (sorta like the type of the value being set to the variable)

I can see my documentation needs work
07/01/2010 19:43 DeathByMoogles#173
Quote:
Originally Posted by clintonselke View Post
Code:
var pot = item Amrita
var mob = monster Pheasant
needs item / monster keywords (sorta like the type of the value being set to the variable)

I can see my documentation needs work
that would make it
use item item amrita
and
attack monster monster pheasant.

is that still right?

also, now i get "expected whitespace or = at line x at column x"
07/01/2010 20:31 mimi3011#174
the program runs on server french ?
07/01/2010 21:49 macavladu#175
Guys , a question , does it work on Windows 7 ? :D
07/01/2010 22:00 LadoK ;)#176
Quote:
Originally Posted by DeathByMoogles View Post
that would make it
use item item amrita
and
attack monster monster pheasant.

is that still right?

also, now i get "expected whitespace or = at line x at column x"
no,

put only

var mob = monster Pheasant

attack mob

like this...

might it work
07/01/2010 22:06 DeathByMoogles#177
if that works, then great but i just did a system restore and am reinstalling CO because i replaces conquer.exe with a hacked one and then the bot didnt work so i ran latest patch and it still didnt work so i reinstalled and still didnt work so i did a system restore. now im stuck with version one because shitcash wont let me download.

=/

hope it works now.
07/01/2010 22:07 mimi3011#178
the program runs on server french ???? :(
07/01/2010 22:14 LadoK ;)#179
Quote:
Originally Posted by DeathByMoogles View Post
if that works, then great but i just did a system restore and am reinstalling CO because i replaces conquer.exe with a hacked one and then the bot didnt work so i ran latest patch and it still didnt work so i reinstalled and still didnt work so i did a system restore. now im stuck with version one because shitcash wont let me download.

=/

hope it works now.
i see,

when you download the new patch, read the Private Message,
thanks, it might work now !
;)
07/01/2010 22:14 DeathByMoogles#180
Quote:
Originally Posted by mimi3011 View Post
the program runs on server french ???? :(
why dont you try it instead of standing here asking?