TomBartezz
Member
- Joined
- May 29, 2016
- Messages
- 159
- Reaction score
- 17
Hey would it be possible to put a script system into elfbot? like if items = this then put into x backpack and if items 3 or more then use item on x item?
ScriptToLoad = {
Waypoints = {
waypointList = {},
},
Target = {
targetList = {},
},
AFK = {
magicTraining = {
manaRequired = 1,
words = "",
magicTraining = false,
},
antiKick = false,
runes = {
runeMaker = false,
runeSpellText = "",
checkOpenContainers = false,
},
fishing = {
autoFishing = false,
checkCap = false,
},
alertCreatureAppearence = false,
weapons = {
item = 0,
autoReplaceWeapon = false,
hand = {
text = "Left Hand",
},
},
creatureList = {
alertForNonWhiteListedCreatures = false,
alertForBlackListedCreature = true,
blackList = {},
whiteList = {},
},
food = {
selectedFood = {
text = "Any",
},
eatFood = false,
},
},
PvP = {},
Bot = {
precisionMode = false,
enabled = false,
},
Support = {
healthBar = 1,
itemHealthBar = 1,
currentManaItem = 0,
autoInvisible = false,
autoHaste = false,
ringToReplace = {
text = "Life Ring",
},
autoParalyzeHeal = false,
autoReplaceRing = false,
hasteSpellText = "",
paralyzeHealText = "",
itemManaBar = 1,
autoManaItem = false,
autoHealthItem = false,
hasteHealthBar = 1,
autoHeal = false,
currentHealthItem = 0,
healSpellText = "",
autoManaShield = false,
},
}
Yes it is posible, I wrote a small simple parser and saver that im gonna upload soon, you could via that parser then make it load elfbot scripts and use as much as we can (aka have implemented into candybot).
This is kinda how my version looks;
Lua:ScriptToLoad = { Waypoints = { waypointList = {}, }, Target = { targetList = {}, }, AFK = { magicTraining = { manaRequired = 1, words = "", magicTraining = false, }, antiKick = false, runes = { runeMaker = false, runeSpellText = "", checkOpenContainers = false, }, fishing = { autoFishing = false, checkCap = false, }, alertCreatureAppearence = false, weapons = { item = 0, autoReplaceWeapon = false, hand = { text = "Left Hand", }, }, creatureList = { alertForNonWhiteListedCreatures = false, alertForBlackListedCreature = true, blackList = {}, whiteList = {}, }, food = { selectedFood = { text = "Any", }, eatFood = false, }, }, PvP = {}, Bot = { precisionMode = false, enabled = false, }, Support = { healthBar = 1, itemHealthBar = 1, currentManaItem = 0, autoInvisible = false, autoHaste = false, ringToReplace = { text = "Life Ring", }, autoParalyzeHeal = false, autoReplaceRing = false, hasteSpellText = "", paralyzeHealText = "", itemManaBar = 1, autoManaItem = false, autoHealthItem = false, hasteHealthBar = 1, autoHeal = false, currentHealthItem = 0, healSpellText = "", autoManaShield = false, }, }
Could you upload a simple elfbot script?
auto 1000 listas 'smash1' | if [$itemcount.3398 > 2] useoninventoryitem 7409 3398 | if [$itemcount.3397 > 2] useoninventoryitem 7409 3397 | if [$itemcount.3442 > 2] useoninventoryitem 7409 3442 | if [$itemcount.3281 > 2] useoninventoryitem 7409 3281 | if [$itemcount.3068 > 2] useoninventoryitem 7409 3068 | if [$itemcount.3294 > 2] useoninventoryitem 7409 3294 | if [$itemcount.3303 > 2] useoninventoryitem 7409 3303 | if [$itemcount.6432 > 2] useoninventoryitem 7409 6432
auto 1000 listas 'smash2' | if [$itemcount.5907 > 2] useoninventoryitem 7409 5907 | if [$itemcount.3554 > 2] useoninventoryitem 7409 3554 | if [$itemcount.7449 > 2] useoninventoryitem 7409 7449 | if [$itemcount.3097 > 2] useoninventoryitem 7409 3097 | if [$itemcount.3291 > 2] useoninventoryitem 7409 3291 | if [$itemcount.7432 > 2] useoninventoryitem 7409 7432 | if [$itemcount.3351 > 2] useoninventoryitem 7409 3351 | if [$itemcount.3432 > 2] useoninventoryitem 7409 3432
auto 1000 listas 'smash3' | if [$itemcount.8082 > 2] useoninventoryitem 7409 8082 | if [$itemcount.3357 > 2] useoninventoryitem 7409 3357 | if [$itemcount.3302 > 2] useoninventoryitem 7409 3302 | if [$itemcount.3307 > 2] useoninventoryitem 7409 3307 | if [$itemcount.3065 > 2] useoninventoryitem 7409 3065 | if [$itemcount.3004 > 2] useoninventoryitem 7409 3004 | if [$itemcount.3556 > 2] useoninventoryitem 7409 3556 | if [$itemcount.7385 > 2] useoninventoryitem 7409 7385
auto 1000 listas 'smash4' | if [$itemcount.3390 > 2] useoninventoryitem 7409 3390 | if [$itemcount.3417 > 2] useoninventoryitem 7409 3417 | if [$itemcount.3363 > 2] useoninventoryitem 7409 3363 | if [$itemcount.3344 > 2] useoninventoryitem 7409 3344 | if [$itemcount.3399 > 2] useoninventoryitem 7409 3399 | if [$itemcount.8028 > 2] useoninventoryitem 7409 8028 | if [$itemcount.3324 > 2] useoninventoryitem 7409 3324 | if [$itemcount.3053 > 2] useoninventoryitem 7409 3053
auto 1000 listas 'smash5' | if [$itemcount.3229 > 2] useoninventoryitem 7409 3229 | if [$itemcount.3424 > 2] useoninventoryitem 7409 3424 | if [$itemcount.10387 > 2] useoninventoryitem 7409 10387 | if [$itemcount.7380 > 2] useoninventoryitem 7409 7380 | if [$itemcount.8049 > 2] useoninventoryitem 7409 8049 | if [$itemcount.3278 > 2] useoninventoryitem 7409 3278 | if [$itemcount.3312 > 2] useoninventoryitem 7409 3312 | if [$itemcount.8027 > 2] useoninventoryitem 7409 8027
auto 1000 listas 'smash6' | if [$itemcount.7382 > 2] useoninventoryitem 7409 7382 | if [$itemcount.3388 > 2] useoninventoryitem 7409 3388 | if [$itemcount.7379 > 2] useoninventoryitem 7409 7379 | if [$itemcount.3230 > 2] useoninventoryitem 7409 3230 | if [$itemcount.8021 > 2] useoninventoryitem 7409 8021 | if [$itemcount.7381 > 2] useoninventoryitem 7409 7381 | if [$itemcount.6553 > 2] useoninventoryitem 7409 6553 | if [$itemcount.3438 > 2] useoninventoryitem 7409 3438
auto 1000 listas 'smash7' | if [$itemcount.6093 > 2] useoninventoryitem 7409 6093 | if [$itemcount.3389 > 2] useoninventoryitem 7409 3389 | if [$itemcount.10323 > 2] useoninventoryitem 7409 10323 | if [$itemcount.3092 > 2] useoninventoryitem 7409 3092 | if [$itemcount.3284 > 2] useoninventoryitem 7409 3284 | if [$itemcount.7420 > 2] useoninventoryitem 7409 7420 | if [$itemcount.8025 > 2] useoninventoryitem 7409 8025 | if [$itemcount.5908 > 2] useoninventoryitem 7409 5908
auto 1000 listas 'smash8' | if [$itemcount.3322 > 2] useoninventoryitem 7409 3322 | if [$itemcount.7454 > 2] useoninventoryitem 7409 7454 | if [$itemcount.3405 > 2] useoninventoryitem 7409 3405 | if [$itemcount.3414 > 2] useoninventoryitem 7409 3414 | if [$itemcount.3558 > 2] useoninventoryitem 7409 3558 | if [$itemcount.3366 > 2] useoninventoryitem 7409 3366 | if [$itemcount.3275 > 2] useoninventoryitem 7409 3275 | if [$itemcount.5908 > 2] useoninventoryitem 7409 5908
auto 1000 listas 'smash9' | if [$itemcount.4033 > 2] useoninventoryitem 7409 4033 | if [$itemcount.5461 > 2] useoninventoryitem 7409 5461 | if [$itemcount.6299 > 2] useoninventoryitem 7409 6299 | if [$itemcount.3550 > 2] useoninventoryitem 7409 3550 | if [$itemcount.3311 > 2] useoninventoryitem 7409 3311 | if [$itemcount.8099 > 2] useoninventoryitem 7409 8099 | if [$itemcount.3557 > 2] useoninventoryitem 7409 3557
auto 1000 listas 'smash10' | if [$itemcount.7404 > 2] useoninventoryitem 7409 7404
auto 1000 listas 'smash11' | if [$itemcount.3362 > 2] useoninventoryitem 7409 3362 | if [$itemcount.3245 > 2] useoninventoryitem 7409 3245 | if [$itemcount.3379 > 2] useoninventoryitem 7409 3379 | if [$itemcount.6390 > 2] useoninventoryitem 7409 6390 | if [$itemcount.3375 > 2] useoninventoryitem 7409 3375 | if [$itemcount.3551 > 2] useoninventoryitem 7409 3551
auto 1000 listas 'smash12' | if [$itemcount.10390 > 2] useoninventoryitem 7409 10390 | if [$itemcount.7419 > 2] useoninventoryitem 7409 7419 | if [$itemcount.7416 > 2] useoninventoryitem 7409 7416 | if [$itemcount.8093 > 2] useoninventoryitem 7409 8093 | if [$itemcount.8022 > 2] useoninventoryitem 7409 8022 | if [$itemcount.7341 > 2] useoninventoryitem 7409 7341
Code:auto 1000 listas 'smash1' | if [$itemcount.3398 > 2] useoninventoryitem 7409 3398 | if [$itemcount.3397 > 2] useoninventoryitem 7409 3397 | if [$itemcount.3442 > 2] useoninventoryitem 7409 3442 | if [$itemcount.3281 > 2] useoninventoryitem 7409 3281 | if [$itemcount.3068 > 2] useoninventoryitem 7409 3068 | if [$itemcount.3294 > 2] useoninventoryitem 7409 3294 | if [$itemcount.3303 > 2] useoninventoryitem 7409 3303 | if [$itemcount.6432 > 2] useoninventoryitem 7409 6432 auto 1000 listas 'smash2' | if [$itemcount.5907 > 2] useoninventoryitem 7409 5907 | if [$itemcount.3554 > 2] useoninventoryitem 7409 3554 | if [$itemcount.7449 > 2] useoninventoryitem 7409 7449 | if [$itemcount.3097 > 2] useoninventoryitem 7409 3097 | if [$itemcount.3291 > 2] useoninventoryitem 7409 3291 | if [$itemcount.7432 > 2] useoninventoryitem 7409 7432 | if [$itemcount.3351 > 2] useoninventoryitem 7409 3351 | if [$itemcount.3432 > 2] useoninventoryitem 7409 3432 auto 1000 listas 'smash3' | if [$itemcount.8082 > 2] useoninventoryitem 7409 8082 | if [$itemcount.3357 > 2] useoninventoryitem 7409 3357 | if [$itemcount.3302 > 2] useoninventoryitem 7409 3302 | if [$itemcount.3307 > 2] useoninventoryitem 7409 3307 | if [$itemcount.3065 > 2] useoninventoryitem 7409 3065 | if [$itemcount.3004 > 2] useoninventoryitem 7409 3004 | if [$itemcount.3556 > 2] useoninventoryitem 7409 3556 | if [$itemcount.7385 > 2] useoninventoryitem 7409 7385 auto 1000 listas 'smash4' | if [$itemcount.3390 > 2] useoninventoryitem 7409 3390 | if [$itemcount.3417 > 2] useoninventoryitem 7409 3417 | if [$itemcount.3363 > 2] useoninventoryitem 7409 3363 | if [$itemcount.3344 > 2] useoninventoryitem 7409 3344 | if [$itemcount.3399 > 2] useoninventoryitem 7409 3399 | if [$itemcount.8028 > 2] useoninventoryitem 7409 8028 | if [$itemcount.3324 > 2] useoninventoryitem 7409 3324 | if [$itemcount.3053 > 2] useoninventoryitem 7409 3053 auto 1000 listas 'smash5' | if [$itemcount.3229 > 2] useoninventoryitem 7409 3229 | if [$itemcount.3424 > 2] useoninventoryitem 7409 3424 | if [$itemcount.10387 > 2] useoninventoryitem 7409 10387 | if [$itemcount.7380 > 2] useoninventoryitem 7409 7380 | if [$itemcount.8049 > 2] useoninventoryitem 7409 8049 | if [$itemcount.3278 > 2] useoninventoryitem 7409 3278 | if [$itemcount.3312 > 2] useoninventoryitem 7409 3312 | if [$itemcount.8027 > 2] useoninventoryitem 7409 8027 auto 1000 listas 'smash6' | if [$itemcount.7382 > 2] useoninventoryitem 7409 7382 | if [$itemcount.3388 > 2] useoninventoryitem 7409 3388 | if [$itemcount.7379 > 2] useoninventoryitem 7409 7379 | if [$itemcount.3230 > 2] useoninventoryitem 7409 3230 | if [$itemcount.8021 > 2] useoninventoryitem 7409 8021 | if [$itemcount.7381 > 2] useoninventoryitem 7409 7381 | if [$itemcount.6553 > 2] useoninventoryitem 7409 6553 | if [$itemcount.3438 > 2] useoninventoryitem 7409 3438 auto 1000 listas 'smash7' | if [$itemcount.6093 > 2] useoninventoryitem 7409 6093 | if [$itemcount.3389 > 2] useoninventoryitem 7409 3389 | if [$itemcount.10323 > 2] useoninventoryitem 7409 10323 | if [$itemcount.3092 > 2] useoninventoryitem 7409 3092 | if [$itemcount.3284 > 2] useoninventoryitem 7409 3284 | if [$itemcount.7420 > 2] useoninventoryitem 7409 7420 | if [$itemcount.8025 > 2] useoninventoryitem 7409 8025 | if [$itemcount.5908 > 2] useoninventoryitem 7409 5908 auto 1000 listas 'smash8' | if [$itemcount.3322 > 2] useoninventoryitem 7409 3322 | if [$itemcount.7454 > 2] useoninventoryitem 7409 7454 | if [$itemcount.3405 > 2] useoninventoryitem 7409 3405 | if [$itemcount.3414 > 2] useoninventoryitem 7409 3414 | if [$itemcount.3558 > 2] useoninventoryitem 7409 3558 | if [$itemcount.3366 > 2] useoninventoryitem 7409 3366 | if [$itemcount.3275 > 2] useoninventoryitem 7409 3275 | if [$itemcount.5908 > 2] useoninventoryitem 7409 5908 auto 1000 listas 'smash9' | if [$itemcount.4033 > 2] useoninventoryitem 7409 4033 | if [$itemcount.5461 > 2] useoninventoryitem 7409 5461 | if [$itemcount.6299 > 2] useoninventoryitem 7409 6299 | if [$itemcount.3550 > 2] useoninventoryitem 7409 3550 | if [$itemcount.3311 > 2] useoninventoryitem 7409 3311 | if [$itemcount.8099 > 2] useoninventoryitem 7409 8099 | if [$itemcount.3557 > 2] useoninventoryitem 7409 3557 auto 1000 listas 'smash10' | if [$itemcount.7404 > 2] useoninventoryitem 7409 7404 auto 1000 listas 'smash11' | if [$itemcount.3362 > 2] useoninventoryitem 7409 3362 | if [$itemcount.3245 > 2] useoninventoryitem 7409 3245 | if [$itemcount.3379 > 2] useoninventoryitem 7409 3379 | if [$itemcount.6390 > 2] useoninventoryitem 7409 6390 | if [$itemcount.3375 > 2] useoninventoryitem 7409 3375 | if [$itemcount.3551 > 2] useoninventoryitem 7409 3551 auto 1000 listas 'smash12' | if [$itemcount.10390 > 2] useoninventoryitem 7409 10390 | if [$itemcount.7419 > 2] useoninventoryitem 7409 7419 | if [$itemcount.7416 > 2] useoninventoryitem 7409 7416 | if [$itemcount.8093 > 2] useoninventoryitem 7409 8093 | if [$itemcount.8022 > 2] useoninventoryitem 7409 8022 | if [$itemcount.7341 > 2] useoninventoryitem 7409 7341
Didn't mean hotkeys, ment a waypoint script for hunting etc
Hotkeys can be added aswell with some time and effort
Elfbots cavebot scripts are jumbled garbage if opened with a notepad, most likely why he didn't reply.
Well that makes things abit harder haha
Unless someone knows how to get a plain text from the scripts I have no ide on how to write a converter, otherwise they have to be converted manually
But I still need to make the looter better, right now it pretty much is the same as the one you can download from github.
Honestly converting cavebot scripts is probably the least important part- It's easy to put together some cavebot waypoints, most don't even use refillers.
Elfbots main use is for it's hotkeys & Icons, it's ability to automate tasks, for example the original poster is playing Deathszot- if you have 3 of the same item you can use an item called a "Smasher" to smash those 3 items together to create a tier above those 3 items.
That script automates the process, smashing every item you have 3 of automatically so you don't have too.
Most of this is possible with Elfbots varibles, you can still use google to find most of them.
The screenshot below will show what Icons look like.
The backpacks on the far right there for example, if I click one there's a script attached to it that will throw "Gems" Into a blue backpack & my Tier 1,2,3 etc into the corrosponding backpacks.
auto 200 listas 'Gem Sort' | moveitems 3030 'Blue Backpack' | moveitems 9057 'Blue Backpack' | moveitems 3599 'Blue Backpack' | moveitems 3033 'Blue Backpack' | moveitems 3029 'Blue Backpack' | moveitems 3032 'Blue Backpack' | moveitems 8192 'Blue Backpack' | moveitems 11510 'Blue Backpack' |
Here's a picture of the Icon interface, how you create & set them up
And here it is in text.
Name: Gem Sort ---------------------
Enabled: yes
DrawAsBackground: yes
Size: Small
LeftCommand: auto 200 listas 'Gem Sort' | moveitems 3030 'Blue Backpack' | moveitems 9057 'Blue Backpack' | moveitems 3599 'Blue Backpack' | moveitems 3033 'Blue Backpack' | moveitems 3029 'Blue Backpack' | moveitems 3032 'Blue Backpack' | moveitems 8192 'Blue Backpack' | moveitems 11510 'Blue Backpack' |
RightCommand:
State: Inactive
IconType: Normal
IconIds: 2869 0 0 0
BkgType: Normal
BkgIds: 0 0 0 0
AlignX: Right
PositionX: 10
AlignY: Top
PositionY: 150
Text: Gem.
TextColor: 33505
HoverColor: 65535
State: Active
IconType: Normal
IconIds: 2869 0 0 0
BkgType: Normal
BkgIds: 0 0 0 0
AlignX: Right
PositionX: 10
AlignY: Top
PositionY: 150
Text: Gem.
TextColor: 4259584
HoverColor: 65535
i have an script of elfbot manabar hud(upon character) can you make it compatible with otclient?Things like that are no problems, since we can do w/e we wan't with the UI.
Right now my focus with the bot is getting a good way to save and load scripts while also having the ability to write short scripts (hotkeys)
But it will be pure Lua, not random words and symbols like elfbot is to me
i have an script of elfbot manabar hud(upon character) can you make it compatible with otclient?
auto 200 listas 'Gem Sort' | moveitems 3030 'Blue Backpack' | moveitems 9057 'Blue Backpack' | moveitems 3599 'Blue Backpack' | moveitems 3033 'Blue Backpack' | moveitems 3029 'Blue Backpack' | moveitems 3032 'Blue Backpack' | moveitems 8192 'Blue Backpack' | moveitems 11510 'Blue Backpack' |