Log in

View Full Version : Cyclopolis script for Knight and Paladins by Afwasmiddel



Afwasmidd
06-12-2013, 12:26
Hi guys,

I just finished my new script for the Cyclopolis. My Royal Paladin reached lvl 40 and needed a new hunting spot. So I decided to make a Cyclopolis script. At first it will only hunt the first floor. When you reach lvl 50 or higher it will also move to the second floor after clearing the first floor. With some nice gear on, you should be able to make profit. It will replenish your potions and Royal Spears (20) and deposit any remaining Gold and rare loot.

The script hunts for all creatures on the the first and second floor. However it won't move to the north-east corner of the first floor if you have less than 10 Health Potions (where the elves, minotaurs and orcs lure). It pretty much loots everything that can be sold for 50 Gold or more in Edron. However I also set it up rare and very rare items that can't be sold like Axe Ring, Club Ring, Cyclops Trophy, Dark Helmet and more. It also loots Health Potions and White Mushrooms. With my added conditionals it will maintain a maximum of 20 white mushrooms. If you bring your own food you might want to delete the setLoot for it. It will also flee from battle when you hit 0 Royal Spears or 0 Health Potions (without finishing off the monster) and leave the cave immediately. It is set up to cast exura or exura ico when too low on HP (70%) and it heals with Health Potion when your HP gets below 40%. It will buy some Mana Potions so you will be able to cast exura for a while, also making sure you raise your magic lvl. This conditional works better than the HP and Mana tool from Blackdtools, because it won't try to cast over and over when out of mana, making it less suspicious.

So what will it sell:
- Battle Axe
- Battle Hammer
- Battle Shield
- Brass Armor
- Chain Armor
- Double Axe
- Dwarven Shield
- Halberd
- Iron Helmet
- Plate Shield
- Steel Helmet
- Steel Shield
If you have any of these items set up as your gear, it will sell these as well. So make sure you delete the lines that sell that gear if you want to keep it. Or make it sell all of it but one. I am using a Dwarven Shield and a Steel Helmet so I set it up to sell all of it but 1.
When checking what to sell:

IfTrue ($countitems:17 0D$#number>#1) Goto $nlineoflabel:sellgear$
IfTrue ($countitems:61 0D$#number>#1) Goto $nlineoflabel:sellgear$
When selling looted gear:

sayMessage exiva sell:17 0D:$numericalexp:{$countitems:17 0D$}-1$
waitX 1
sayMessage exiva sell:61 0D:$numericalexp:{$countitems:61 0D$}-1$
waitX 1

What rare loot will it deposit:
- Axe Ring
- Blank Rune
- Club Ring
- Cyclops Trophy
- Dark Helmet
- Elvish Bow
- Iron Ore
- Minotaur Trophy
- Plate Armor
- Plate Legs
- Piercing Bolts (only for Paladins)
- Small Amethyst
- Spiked Squelcher
- Strong Health Potion
- Strong Mana Potion
- Sword Ring
- Wand of Cosmic Energy
- Warrior Helmet
- Yellow Gem
If you carry any of these things you should adjust the lines for it as well. Else it will try to deposit that item over and over. All items you have equipped won't be deposited, but it still sees it as an item that requires the action deposit. I, for example, use a Dark Helmet which is also in the deposit list. I change the lines for it like this:
From

IfTrue ($countitems:38 0D$#number>#0) Goto $nlineoflabel:depositloot$
to

IfTrue ($countitems:38 0D$#number>#1) Goto $nlineoflabel:depositloot$
Instead of greater than 0, it becomes greater than 1. That's all you have to keep in mind.



THE SCRIPTS:
7851
7852

THE CONDITIONALS:
7817
7818



***UPDATES***
- 14/06/2013:
I uploaded the wrong knight script. The older version malfunctioned when buying potions. Also instead of 15 health potions, this one gets 30.
- 15/06/2013:
Fixed a similar bug that happened when the amount of gold needed to be withdrawn was greater than 100. This caused a loop withdrawing and depositing gold.
- 16/06/2013:
I added the second floor to the script. It will now move to -2 after clearing -1 when you are level 50 or higher. I also added the north east corner to the script. It will go there when you have at least 10 Health Potions left. Rare loot will now be deposited. Check the description for the item list.
- 18/06/2013:
Small amethyst is now added to the deposit list instead of the sell list. I increased the amount of potions needed before hunting. It will now also leave when your Health Potions drop below the amount of 10 instead of 3. When I ran the script I died a couple of times by a Dwarf Guard. With 10 potions at every waypoint this shouldnt happen so fast. I also increased the amount of spears needed to hunt to 20 from 15. There seemed to be a typo in the waypoints for floor -2. That is now fixed.
- 19/06/2013:
Fixed a typo in the waypoints for the first floor when checking for the north east corner. I also reworked the sell loot so it will check for each item if it's in your inventory. If not, it will move on to the next item and so on.
- 19/06/2013:
Script will attempt to deposit loot before buying potions. It will calculate the exact amount of gold needed to buy potions and it will keep in mind your empty flasks. This halves traveling time for buying potions and depositing gold!

burosek
06-13-2013, 14:45
Using this script is a sure ban, Red text that appears on the server log can be detected by the anti bot system, you're stupid if you're writing a script Good Luck.

Afwasmidd
06-13-2013, 15:07
Using this script is a sure ban, Red text that appears on the server log can be detected by the anti bot system, you're stupid if you're writing a script Good Luck.

Many scripts use colored text. I never heard of it being harmful. So far I didn't receive any bans. I could easily remove those lines if someone could verify that what Burosek said is true. Hearing this from a Junior Member on the forum doesn't give much value to me :/

xHellsx
06-13-2013, 17:11
Using this script is a sure ban, Red text that appears on the server log can be detected by the anti bot system, you're stupid if you're writing a script Good Luck.

That text is client sided, it never gets sent to the server and is therefore undetectable.

What is detectable is incorrect packets (such as those we use to walk/attack creatures) and that is why I don't reccomend using premium accounts with blackdproxy at the moment.

Afwasmidd
06-13-2013, 23:42
That text is client sided, it never gets sent to the server and is therefore undetectable.

What is detectable is incorrect packets (such as those we use to walk/attack creatures) and that is why I don't reccomend using premium accounts with blackdproxy at the moment.

All right, thx for the info. I just enjoy making scripts and all my friends use premium as well. I believe all of them use a bot too. However they use iBot which you have to pay for. Which wouldn't be such a big issue if they had some kind of tutorial for the commands and stuff in order to make scripts. I came across Blackdtools and explored the forum. I liked what I saw even though most important posts were from 2011 and before. Of course you risk getting banned when using bots, this counts for all bots. So I don't mind using premium for it. Besides, premium adds so much more to the game.

Afwasmidd
06-15-2013, 16:41
I fixed some bugs that can cause a loop when withdrawing gold for potions or spears. So if you downloaded the scripts before 15-06, you should delete them in download the new ones instead. If someone comes across any kind of bug please report it to me :)

Afwasmidd
06-16-2013, 13:43
I added floor -2 and a rare loot depositer! It will also attempt to hunt the north east corner of -1 if you have 10 Health Potions or more.

ryan1169
06-17-2013, 23:52
where should i put the conditionals part of the script?

Afwasmidd
06-18-2013, 00:19
where should i put the conditionals part of the script?

You save it in your conds folder in blackdproxy, then you open blackd proxy en click on the "?" tile on the far right. This is the conditional tool. In here you can search your folder (where it says file:). You might need to reload first. After selecting, click Load conds and you're done.

qelsik
06-18-2013, 12:11
cool scripts :)) nice job

Afwasmidd
06-18-2013, 14:01
I made some new changes that will make the script more durable. It now gets 50 Mana potions and 30 Health potions before hunting. It also buys 20 Royal Spears instead of 15 if you are a Paladin. Small amethyst is removed from the sell list and added to the deposit list. Fixed a typo in the waypoints for floor -2 that caused it to stop moving after clearing that floor.

ryan1169
06-18-2013, 16:54
You save it in your conds folder in blackdproxy, then you open blackd proxy en click on the "?" tile on the far right. This is the conditional tool. In here you can search your folder (where it says file:). You might need to reload first. After selecting, click Load conds and you're done.

Thanks, I ran it for awhile without the conditionals and it worked great. Thanks for the fast reply and help! :)

NGH_95
06-18-2013, 23:33
no clue why im getting this..
16:32 Start.
16:32 Determining next action.
16:32 Selling looted gear.
16:32 Blackd Proxy [255]: Cavebot syntax error: expecting to jump to a line number. You typed something can NOT be converted to a number: <nlineoflabel:huntnoextra
16:32 Cavebot script finished!

NGH_95
06-18-2013, 23:49
Also, my bot just sits next to williard giving me this message
16:48 Blackd Proxy is unable to sell that: amount should be positive
16:48 Blackd Proxy is unable to sell that: amount should be positive
16:48 Blackd Proxy is unable to sell that: amount should be positive
16:48 Blackd Proxy is unable to sell that: amount should be positive

Afwasmidd
06-19-2013, 01:00
no clue why im getting this..
16:32 Start.
16:32 Determining next action.
16:32 Selling looted gear.
16:32 Blackd Proxy [255]: Cavebot syntax error: expecting to jump to a line number. You typed something can NOT be converted to a number: <nlineoflabel:huntnoextra
16:32 Cavebot script finished!

Ok I fixed it. It misses a "$" sign. You can download the new version or just add it yourself in the script. Just search for huntnoextra and add a $. It should look like this:

IfTrue ($countitems:0A 01$#number<#20) Goto $nlineoflabel:huntnoextra$

You can also change it when in Cavebot. The easiest way is to just copy paste the whole thing and then load it into cavebot and then save it. Or you could scroll down to find the line, add the "$" and save.

Afwasmidd
06-19-2013, 01:03
Also, my bot just sits next to williard giving me this message
16:48 Blackd Proxy is unable to sell that: amount should be positive
16:48 Blackd Proxy is unable to sell that: amount should be positive
16:48 Blackd Proxy is unable to sell that: amount should be positive
16:48 Blackd Proxy is unable to sell that: amount should be positive

This is kinda weird, it doesn't continue? The script will try to sell all the items on the list. If you don't have them in your inventory it will eventually jump to the next item. Selling the gear takes some time. If this problem persists I'll have to modify those lines in order to sell it the precise items.
When I run the script it does continue so...

*Just in case I uploaded a new version that does check each item separately. This should fix your problem!

ryan1169
06-19-2013, 01:37
Mine goes to the bank without selling and logs out. uploaded the new script 15 min ago, still happens?
Also, keeps saying "list of ignored creatures is reset and clean" constantly

Afwasmidd
06-19-2013, 02:09
Mine goes to the bank without selling and logs out. uploaded the new script 15 min ago, still happens?
Also, keeps saying "list of ignored creatures is reset and clean" constantly

If you find this annoying you should open the Stealth Tool in BlackdProxy The tile that says "STEALTH". Click 'Bot messages here'. Now all bot messages will move to this tool and not to your client. You can also check your exp here.

About the bank and logout thingy. 1. You probably didn't setup a safelist. This is a list of monsters that won't be seen as dangerous when attacking you. Players won't be on this list and will therefore be seen as dangerous when attacking you causing the alarm to go off.
Or/and 2. you started it at the bank. Try to go downstairs where you will find the lockers and then activate the script. Or move to the shopping area and activate it.

This is a safelist that I use. It contain nearly all monsters.
7845
Save it into your Blackdproxy folder.
Start Blackdproxy. Click on the "RUNEMAKER" tile. On the right side click load. I am not sure if you'll need to select a file or need to write it in the box. In the last case write fri.txt and click load.
~You always need to load this list before starting a script!!!

ryan1169
06-19-2013, 14:28
It's working great for me now, thank you very much. My one suggestion would be when it buys potions, it deposits remaining gold in bank, which is a waste of time because you have less than 45 gold on you and it goes to deposit it.

EDIT: Just ran into an error, sometimes it will go down to -1 level, kill monsters on screen, and then begin fleeing to safe zone. Also, avoiding the main dwarf area on level 1 might be good, there is alot of waste there because 2 or even 3 dwarf guards can be hitting you at once.

Also doesn't loot creature products

Overall working, 21k xp/hr with lvl 32 knight 62/55 not sure on waste/gain per hour

Afwasmidd
06-19-2013, 14:58
It's working great for me now, thank you very much. My one suggestion would be when it buys potions, it deposits remaining gold in bank, which is a waste of time because you have less than 45 gold on you and it goes to deposit it.

EDIT: Just ran into an error, sometimes it will go down to -1 level, kill monsters on screen, and then begin fleeing to safe zone. Also, avoiding the main dwarf area on level 1 might be good, there is alot of waste there because 2 or even 3 dwarf guards can be hitting you at once.

Fleeing to safezone? or does it say:"Leaving Cyclopolis". The script leaves if you carry less than 10 Health Potions or when you Capacity drops below 30. It also leaves if your hppercent is below 20%. If it says fleeing to safezone it's probably due to the safelist. The Dwarf section can indeed be hard, but it's good for loot and you can get your White Mushrooms there which are useful for regen wasting less potions.

About the buying potions thingy. It will go back to buy mana potions as well so i doesn't really matter. I was thinking about calculating the gold needed for both potions considering the empty flasks you carry. This will make you move only once towards the potion shop.

Are you using the Paladin or the knight script? Because the Paladin script for levels below 50 can be annoying since 20 royal spears + the potions and your gear leave little more capacity for loot. Causing it to retreat early if it gets some fast loot like spears or weapons, because you get below the 30 capacity. I personally use a customized version with 15 royal spears for my lvl 40 Paladin. And it keeps in mind some gear which I carry, so it doesn't sell it.

ryan1169
06-19-2013, 15:23
Fleeing to safezone? or does it say:"Leaving Cyclopolis". The script leaves if you carry less than 10 Health Potions or when you Capacity drops below 30. It also leaves if your hppercent is below 20%. If it says fleeing to safezone it's probably due to the safelist. The Dwarf section can indeed be hard, but it's good for loot and you can get your White Mushrooms there which are useful for regen wasting less potions.

About the buying potions thingy. It will go back to buy mana potions as well so i doesn't really matter. I was thinking about calculating the gold needed for both potions considering the empty flasks you carry. This will make you move only once towards the potion shop.

Are you using the Paladin or the knight script? Because the Paladin script for levels below 50 can be annoying since 20 royal spears + the potions and your gear leave little more capacity for loot. Causing it to retreat early if it gets some fast loot like spears or weapons, because you get below the 30 capacity. I personally use a customized version with 15 royal spears for my lvl 40 Paladin. And it keeps in mind some gear which I carry, so it doesn't sell it.

Im using the knight script. As I'm worried about XP more than money atm, how could I remove the leave at 30 oz cap and make it just stay until low on potions?

Afwasmidd
06-19-2013, 15:35
Im using the knight script. As I'm worried about XP more than money atm, how could I remove the leave at 30 oz cap and make it just stay until low on potions?

Delete all these lines:

IfTrue ($mycap$#number<=#3000) Goto $nlineoflabel:leave$

There are quite a few of them so good luck :p

ryan1169
06-19-2013, 21:14
Still logs out at bank for some reason

wellz
06-19-2013, 22:20
Mine gets stuck in a "depositing rare loot" loop:(

Afwasmidd
06-19-2013, 23:12
Still logs out at bank for some reason

Does it log out immediately or after the hunt?
Did you or did you not make use of the safelist? Without it you basically can't use any hunting scripts!
Pls tell me which steps you take before you start the script (start from starting Blackdproxy).

I can't think of any other reason for it to dc than not having loaded the safelist or starting it at a wrong position. If you start it too close to the bank it often thinks it's in the onDanger part and will logout to safety. Start it downstairs where the lockers are or at the weapon shop and see what happens.
If these things don't help I'll gues you'll have to use the script without the onDanger part. This does make you way more vulnerable for PK. This ofc isn't a problem when you are on a non-pvp server.
Here is the modified version where I disabled the ondanger lines:

7853

Afwasmidd
06-19-2013, 23:15
Mine gets stuck in a "depositing rare loot" loop:(

This probably means you carry gear that is on the deposit list, plate armor perhaps?

- Axe Ring
- Blank Rune
- Club Ring
- Cyclops Trophy
- Dark Helmet
- Elvish Bow
- Iron Ore
- Minotaur Trophy
- Plate Armor
- Plate Legs
- Piercing Bolts (only for Paladins)
- Small Amethyst
- Spiked Squelcher
- Strong Health Potion
- Strong Mana Potion
- Sword Ring
- Wand of Cosmic Energy
- Warrior Helmet
- Yellow Gem
In my intro post you can find a way to fix this problem:

If you carry any of these things you should adjust the lines for it as well. Else it will try to deposit that item over and over. All items you have equipped won't be deposited, but it still sees it as an item that requires the action deposit. I, for example, use a Dark Helmet which is also in the deposit list. I change the lines for it like this:

IfTrue ($countitems:38 0D$#number>#1) Goto $nlineoflabel:depositloot$
There are 3 location where you will find these lines.
1. at the start above the hunting label
2. & 3. in the deposit gold part

If you're having trouble changing these lines send me a pm with your gear and I will adjust it for you.

Lemmy
06-23-2013, 22:39
you got level 3 or just 1 and 2?

Afwasmidd
06-24-2013, 01:46
you got level 3 or just 1 and 2?

Just 1 and 2 since 3 is kinda shit with the elementals. It's not really worth it to go 3 or 4 when 1 and 2 have the same to offer with less waste.

ryan1169
06-24-2013, 15:32
Just started running the no ondanger script, noticed that even if you have no gold on you it will go to bank and try to deposit, as well as try to sell vials and buy new pots even if you have the required number of pots on you already. I don't know if there's a way to avoid that. I will edit this post with how it works when its done with the first cycle. Also I think killing the weaker monsters first works better for lower levels.

Sometimes it will chase an elf scout into a group of 3+ orc berserkers and leaders and waste a bunch of potions.

Ok, it ran through cyc and sold items, deposited all gold, withdrew some, went and sold vials, went back to bank and deposited, withdrew again, went to potion store, then looped to bank and potion store repeatedly. I believe this is caused by having more than 50 mana pots or more than 30 health pots upon starting.

Works fine now and cycles correctly after starting with only 50/30 pots.

Afwasmidd
06-24-2013, 16:54
Just started running the no ondanger script, noticed that even if you have no gold on you it will go to bank and try to deposit, as well as try to sell vials and buy new pots even if you have the required number of pots on you already. I don't know if there's a way to avoid that. I will edit this post with how it works when its done with the first cycle. Also I think killing the weaker monsters first works better for lower levels.

Sometimes it will chase an elf scout into a group of 3+ orc berserkers and leaders and waste a bunch of potions.

hmm it shouldn't go deposit or buy/sell anything if you have enough, unless you are carrying gear that is on the deposit or sell list. It will get into a loop when you carry more than 30 Health Potions or more than 50 Mana Potions because the calculation won't work that way.

You can't really hunt that east corner without running into Orc Berserkers and wasting some potions, if you turn chase off you will die beacuse of the archers. However they have many possible rare loots that I found to be interesting, so I made it optional to go there if you have enough potions with you.

I am considering to change lots of variables into custom ones so everyone can customize the script to their own needs. Think of minimum cap to leave, amount of potions and or spears bought before hunt and more!

mackosawk
09-04-2013, 00:45
Hi, has anyone converted the script on the same exp?

Tony32
09-27-2013, 11:27
That text is client sided, it never gets sent to the server and is therefore undetectable.

What is detectable is incorrect packets (such as those we use to walk/attack creatures) and that is why I don't reccomend using premium accounts with blackdproxy at the moment.

What if part of the anti bot detection also lays within the client? It might send secret reports to CIP if the client detects abnormal messages not sent by the server? :o

xHellsx
09-27-2013, 21:32
What if part of the anti bot detection also lays within the client? It might send secret reports to CIP if the client detects abnormal messages not sent by the server? :o

Is possible. But unlikely. When using blackdproxy it is the incorrect packets for attacks and movements (which causes all the random behavior when using the cavebot) that is more likely to be detected.

If the messages are detectable we would have reports of people using just the healer and the alarm (and subsquent red message) causing deletions. But we have no reports of that.

gulczasek
10-18-2013, 00:01
Thank you for your script! it works great 27k exp/h!
Good luck

Tompan
05-03-2014, 14:56
hey to me it just walks down the stairs to the cave and stops. My char just stands there and nothing happens.
What may be the problem??

Tompan
05-03-2014, 15:03
hey to me it just walks down the stairs to the cave and stops. My char just stands there and nothing happens.
What may be the problem??