[5270] - cofr33dom

07/03/2010 03:08 DeathByMoogles#256
Common Problems with CoFr33dom And Their Solutions Respectively:

-My CoFr33dom stops responding when it open it, how can i fix this?

Make sure your antivirus is not interfering, you have admin permissions, and you have .net framework 3.5 or above.

-Whenever I try to make my character cast spell/use skill X, it uses it once then disconnects.

Make sure that you have a wait after the spell/skill
Example:
Code:
attack monster MonsterX with skill Thunder
sleep 1000
-When I press the "Launch Conquer Online" button, CO launches, but then CoFr33dom closes.

You do not have the latest patch, and/or are using a hacked client. Installing the latest official patch should fix this problem. If not, try reinstalling CO.

-I disconnect all the time

This happens, nothing you can do besides make sure that use a sleep after every skill use (this includes XP skills, stamina skills, spells, and everything else that isn't a direct attack) and are using correct syntax.

-My character sits there and does nothing/not exactly what i want it to do.

This is a result of crappy coding.
all skills need to have the "skill" tag before them
Code:
 attack monster MonsterX with skill Skillname
when attacking or casting/use a skill/spell on a monster, be sure to use the "monster" tag.
Code:
attack monster MonsterX
Those are the most common mistakes in coding, for more advanced things visit [Only registered and activated users can see links. Click Here To Register...]

That concludes the CoFr33dom Tips Guide!

Hopefully this can answer people's questions.
07/03/2010 03:40 DeathByMoogles#257
a suggestion to clinton:

add superspeed to fatal strike like in melee.dll if possible please.
07/03/2010 04:08 sharinggan#258
ok im done reading all the pages. now its time to ask a question. has anyone came up with a script to dc on other players? thnx
07/03/2010 04:13 DeathByMoogles#259
Quote:
Originally Posted by sharinggan View Post
ok im done reading all the pages. now its time to ask a question. has anyone came up with a script to dc on other players? thnx
no function available for that, and also seems pretty pointless. think about it; you go to bed, and 10 minutes after you go to sleep some noob crosses the screen and you disconnect and sit there for the rest of the night.
07/03/2010 04:25 miradorf#260
CoFr33dom hey is for the version of the Spanish Conquest?
07/03/2010 06:01 clarkkenth2005#261
Finally i run the bot smothly with trial and error :) thanks for clint its working fine with my ninja so far... will i hope clint can faster the speed of fatalstrike.. it would be so cool... will the whole bot is perfect :) gratz clint good job..
07/03/2010 09:31 raptordin#262
Hi dudes, I have the following code giving me the error "Undifined Variable"

Could some point me to a better code.

Code:
# 20/06/2010 5:04:00 PM universal time
when true
    attack self with skill fatalstrike
    sleep 250
    if hp < 1000
        use item panacea
    end
end

while true
    attack Hawking

end

while true
    attack Hawkl93

end

while true
    attack BirdMan

end

while true
    attack BirdManL88


end

while true
    attack EvilBlade


end

while true
    attack SlowApe


end

while true
    attack LapidatingMob

    

end

while true

    attack SandElf

end

while true

    attack ToughMonster

end

while true
    loot item dragonball
    loot item meteor
    loot item WorldCupToken
    loot item EbonyCPBox
    loot item MahoganyCPBox
    loot item DiligenceBook
    loot item cloudCPBox
    loot item rosewoodCPBox
    loot item GoldBar
    loot item GoldBars
    loot item Bullion
    loot item Meteor
    loot item DragonBall
    loot item RainbowGem
    loot item DragonGem
    loot item FuryGem
    loot item MoonGem
    loot item VioletGem
    if amount of item panacea < 5
        loot item panacea
end    

    if amount of item EbonyCPBox > 0
        use item EbonyCPBox
    end
    if amount of item MahoganyCPBox > 0
        use item MahoganyCPBox
    end
    if amount of item CloudCpBox > 0
        use item CloudCpBox
    end
    if amount of item RosewoodCpBox > 0
        use item rosewoodCpBox
    end
end
Regards.
07/03/2010 09:55 gunite69#263
Quote:
Originally Posted by bart502 View Post
Alright. i'm using the 1.2.1 version, I assume this is the newest and best version?

I tried to do the:
var x = random 1,10

if found monster lapidatingmob
attack monster lapidatingmob
else
jump to posx + random 0,6 - 3, posy + random 0,6 - 3
end

but it aint working.

so i just did this.

while true
attack monster lapidatingmob
jump to posx + random 0,6 - 3, posy + random 0,6 - 3
end

but now it hits a mob like 1 time without killing it and it goes looking for new mobs.

so i make like 10 kills with my superman =D

and that kinda sucks soo.
i also have that problem i dont know why...... anyone know how to fix it? i tried using

goto x,y
and others but doesnt work


_________________________________________________-
Code:
# 20/06/2010 5:04:00 PM universal time
var pot = item ginseng
var mob = monster BanditL97, BanditL98       <, dunno if thats how u do it
var x = random 1, 10
when hp < 2800
    use item pot
end

when true
attack self with skill FatalStrike
sleep 1000
end


if found monster mob
    attack monster mob
    loot item ThunderGem
    loot item DragonGem
    loot item PhoenixGem
    loot item MoonGem
    loot item KylinGem
    loot item TortoiseGem
    loot item RainbowGem
    loot item VioletGem
    loot item FuryGem
    loot item GloryGem
    loot item dragonball
    loot item meteor
    loot item EbonyCPBox
    loot item MahoganyCPBox
    loot item DiligenceBook
    loot item cloudCPBox
    loot item rosewoodCPBox
    loot item gold
    loot item GoldBar
    loot item GoldBars
    loot item Bullion
    else
    jump to posx + random 0,6 - 3, posy + random 0,6 - 3
    if amount of item ginseng < 10
        # loot item ginseng
    end
    if amount of item EbonyCPBox > 0
        use item EbonyCPBox
    end
    if amount of item MahoganyCPBox > 0
        use item MahoganyCPBox
    end
    if amount of item CloudCpBox > 0
        use item CloudCpBox
    end
    if amount of item RosewoodCpBox > 0
        use item rosewoodCpBox
    end
end
i rlly want to make goto x,y work that way it always just stays in 1 side of the map. like instead of doing random jumps can it be told where to go ?
07/03/2010 10:15 gunite69#264
Sorry for double posting >.>

Im still trying to solve the solution for goto and here is my code so far:
It still doesnt seem to "GOTO x,y" location

Code:
# 20/06/2010 5:04:00 PM universal time
when true
    attack self with skill FatalStrike
    sleep 1000
    if hp < 2400
        use item ginseng
    end
end
while true
    if found monster BanditL97
	attack monster BanditL97
	else goto x,y
end
while true
    if found monster BanditL98
	attack monster BanditL98
	else goto x,y
end
while true
    loot item ThunderGem
    loot item DragonGem
    loot item PhoenixGem
    loot item MoonGem
    loot item KylinGem
    loot item TortoiseGem
    loot item RainbowGem
    loot item VioletGem
    loot item FuryGem
    loot item GloryGem
    loot item dragonball
    loot item meteor
    loot item EbonyCPBox
    loot item MahoganyCPBox
    loot item DiligenceBook
    loot item cloudCPBox
    loot item rosewoodCPBox
    loot item gold
    loot item GoldBar
    loot item GoldBars
    loot item Bullion
    if amount of item ginseng < 10
        # loot item ginseng
    end
    if amount of item EbonyCPBox > 0
        use item EbonyCPBox
    end
    if amount of item MahoganyCPBox > 0
        use item MahoganyCPBox
    end
    if amount of item CloudCpBox > 0
        use item CloudCpBox
    end
    if amount of item RosewoodCpBox > 0
        use item rosewoodCpBox
    end
end
07/03/2010 10:40 bart502#265
Well it SHOULD do that on its own, but it isnt that is why i was asking =D

so again.. anyone knows why my script hits the mob a few times and before it is even dead, it starts looking for other mobs.

this is my entire script.

var x = random 1, 10
when hp < 500
use item panacea
end
when true
attack self with skill Superman
sleep 1500
end
when true
revive here
sleep 1500
end
while true
attack monster sandmonster
attack monster sandmonsterL68
loot item ThunderGem
loot item DragonGem
loot item PhoenixGem
loot item MoonGem
loot item KylinGem
loot item TortoiseGem
loot item RainbowGem
loot item VioletGem
loot item FuryGem
loot item GloryGem
loot item GoldBars
loot item meteor
loot item dragonball
loot item legendrefinerypack
jump to posx + random 0,6 - 3, posy + random 0,6 - 3
end

i'm not using the

if found monster sandmonster
attack monster sandmonster
else
jump..... etc
end

because it was not working.

v1.2.1
07/03/2010 11:38 gunite69#266
Are you sure u can make it attack more than 2 monsters?

i had it attack this mob and attack this other mob (with the "lvl" in its name), and it just attacked one mob and went searching for another one (which is the issue ur having).

Try getting rid of of "attack monster sandmonsterL68"

maybe that would work, i dont think this bot can hit more than 1 mob...
__________________________________________________ ________________________________

also i randomly dc every 30 mins? does anyone get this?

server disccount etc error and then there was another one with host force something..

ill take a ss if it happens again
07/03/2010 14:12 DeathByMoogles#267
if you had read all the pages, on one of them clinton answers my question about attacking multiple monsters; it cannot be done atm.
07/03/2010 14:18 gunite69#268
Quote:
Originally Posted by DeathByMoogles View Post
if you had read all the pages, on one of them clinton answers my question about attacking multiple monsters; it cannot be done atm.
wait, it can be done... just that it bugs the bot out, hitting 1 monster and randomly finding a new one.... but sometimes it will come back and kill it
07/03/2010 14:21 DeathByMoogles#269
Quote:
Originally Posted by gunite69 View Post
wait, it can be done... just that it bugs the bot out, hitting 1 monster and randomly finding a new one.... but sometimes it will come back and kill it
according to clinton it can't

page 17
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
"Also... multiple mobs or mob arrays can not declare yet"
07/03/2010 14:29 retarted_warlord#270
how come i keep on dcing after 10-15 mins? is this because i putted sleep to low? (i putted sleep on 100)