• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Transferring from Elfbot to OTClient problems

sirwill

New Member
Joined
Nov 28, 2010
Messages
41
Reaction score
0
Hello, I'm working on transferring most of my icon hotkey scripts from elfbot to OTClientV8.
Wonder how I would go about this having a lot of issues, even been trying to search fresh Icon scripts and having issues finding the ones I'm looking for.
I.e
Haste Icon(Not just Spammer proper if not hasted scripts.),
Auto Resetter(The server i play has a reset system using an Item.)
Auto Mana shield(with proper setup not just spammer.)
Pally scripts,
Sharpshooter,
Holy San (not spammer)
Single Hur shooter(not a spammer)
And
Auto HP/MP Runes(Custom Ids, Custom HP,MP... e.x over 1kk hp/mp)
Thanks for any tips in advance
i also had a full Persistent Command List with Display texts im not sure how to convert =/
 
here is a list of scripts i use as icons...
Lclick Icon auto 200 listas 'Manashield Part 1' | setcolor 0 128 255 | if [$inpz==0] say 'Utamo Vita' | wait 2R0000
Rclick icon auto 200 listas 'Manashield Part 2 | setcolor 0 128 255 | if [$mp >= 50 && $inpz==0] manashield
Lclick auto 100 listas 'Use HP Scroll' | useitem 11510
Rclick auto 100 listas 'Use MP Scroll' | useitem 11450
LC useoncreature 3163 self
RC crosshair 3163
LC useoncreature 3162 self
RC useoncreature 3162 self
LC auto 1 listas 'Buy Mana' | setcolor 0 128 255 | {npcsay 'Buy mana'} | {npcsay 'Yes'}
RC auto 1 listas 'Buy HP' | setcolor 0 128 255 | {npcsay 'Buy HP'} | {npcsay 'Yes'}
LC auto 200 listas 'Auto Swiftfoot' | setcolor 0 128 255 | swiftfoot
RC auto 200 listas 'Auto Haste' | setcolor 0 128 255 | haste
LC auto 100 listas 'PVP AOE' | setcolor 0 128 255 | if [$playersaround.1 >= 1 && $skill.distance < 200] say 'exevo holy san' | wait 100
RC auto 100 listas 'PVM AOE' | setcolor 0 128 255 | if [$monstersaround.1 >= 1 && $skill.distance < 200] say 'exevo holy san' | wait 100
LC auto 100 listas 'PVP Sharp Shooter' | setcolor 0 128 255 | if [$skill.distance >= 200 && $playersaround.9 >=1] say 'utito tempo san'
RC auto 100 listas 'PVM Sharp Shooter' | setcolor 0 128 255 | if [$skill.distance >= 200 && $monstersaround.9 >=1] say 'utito tempo san'
LC auto 1 listas 'Dance' | setcolor 0 128 255 | turnn | wait 10 | turne | wait 10 | turns | wait 10 | turnw | wait 10 | turnn
RC auto 1000 dontlist | setcolor 0 128 255 | wait 1000 |turnw| wait 1000 |turns| wait 1000 |turne| wait 1000 |turnn| wait 9000 |
LC auto 200 listas 'Hold Target' | attack target
RC auto 200 if $attacked set $holdd $attacked | if [$attacked != $holdd && $holdd.hppc != 0] attack $holdd.id | ifnot [$holdd.hppc] clear $holdd | setpos [$screenleft-202] [$screentop+50] | setcolor 206 206 206 | if $holdd displaytext 'Hold Target: [$holdd.name]' | ifnot $holdd displaytext 'Hold Target: None'


Here is a list i need to turn into my persistent hud
Code:
~~~~Healing~~~~~~~
auto 100 listas 'Heal HP | setcolor 0 128 255 | if [$hp <= 85] useoncreature 3163 self | 
auto 100 listas 'Heal Mana' | setcolor 0 128 255 | if [$mp <= 97 && $hp >= 80] useoncreature 3162 self |
auto 100 listas 'You cant kill me!' | setcolor 0 128 255 | if [$hp <= 45] useitem 9660 | 

~~~~~~Support~~~~~
auto 100 dontlist | setcolor 0 128 255 | if [$inpz==0] manashield
auto 100 dontlist | setcolor 0 128 255 | if [$inpz==0] say 'Utamo Vita' | wait 60000
auto 1000 listas 'Heal Paralyze' | setcolor 0 128 255 | healparalysis 'Utani Hur'
auto 100000 dontlist | eatfood
auto 500 dontlist | if [$inpz==1 && $poisoned==1] say 'exana pox' | wait 500
auto 500 dontlist 'Crystal to Pure Coin' | setcolor 0 128 255 | if [$itemcount.3043 > 100] { openitem 3043 2 'Demon Backpack'} | if [$itemcount.3043 > 100] { openitem 3043 2 'Backpack'} | if [$itemcount.3043 > 100] { openitem 3043 2 'Master Backpack'}
auto 1000 if [$ss != 1] {if [$sstime != 0] set $ss 1} | if [$connected != 1 && $ss == 1] {wait (1 * 60 * 1000) | reconnect | wait 2000 | openbpitem | set $ss 0} | if [$connected != 1 && $ss != 1] {reconnect | wait 2000 | openbpitem}

Code:
~walk on shit~~~~
auto 100 dontlist | allowwalk 2138 2137 2139 2136 2135 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2800 2809 2810 2811 2812 6114 6115 7864 7865 9061 


~~~~~~PM Box~~
auto 100 dontlist | setcolor 0 128 255 | listboxsetup 1 [$screenleft-180] [$screenbottom-1] 6 4500000 'up' | if [$fileisline.'friends.txt'.'$curmsg.sender' && $curmsg.isprivate] {listboxaddline 1 250 0 30 '$systime [$curmsg.sender]: [$curmsg.content]'} | ifnot [$fileisline.'friends.txt'.'$curmsg.sender'] {if [$curmsg.isprivate] {listboxaddline 1 0 237 242 '$systime [$curmsg.sender]: [$cutstr.'$curmsg.content'.0.40]'}}


~~~~~HUD~~~~~

auto 1000 setpos [$screenleft-180] [$screenbottom-187] | setcolor 200 200 200 | displaytext 'Lvl: $level'
auto 1000 setpos [$screenleft-70] [$screenbottom-187] | setcolor 200 200 200 | displaytext 'Mlvl: $mlevel'

auto 1000 setpos [$screenleft-180] [$screenbottom-205] | setcolor 200 200 200 | displaytext ____________________
auto 1000 setpos [$screenleft-115] [$screenbottom-187] | setcolor 200 200 200 | displaytext ~\,,/~
auto 1000 setpos [$screenleft-180] [$screenbottom-180] | setcolor 200 200 200 | displaytext ____________________
auto 100 setpos [$screenleft-90] [$screenbottom-250] | setcolor 200 200 200 | displaytext 'My Speed: $self.speed'
auto 100 setpos [$screenleft-90] [$screenbottom-235] | setcolor 0 255 255 | displaytext 'Friends: $friendcount'
auto 100 setpos [$screenleft-90] [$screenbottom-220] | setcolor 255 0 0| displaytext 'Enemys: $enemycount $enemy.exposedcount '

auto 100 setpos [$screenleft-180] [$screenbottom-295] | setcolor 200 200 200 | displaytext 'Target: $target.name'
auto 100 setpos [$screenleft-180] [$screenbottom-220] | setcolor 200 200 200 | displaytext 'Speed: $target.speed'
auto 100 setpos [$screenleft-180] [$screenbottom-235] | setcolor 200 200 200 | displaytext 'Voc: $target.voc'
auto 100 setpos [$screenleft-180] [$screenbottom-280] | setcolor 200 200 200 | displaytext 'Health: $target.hp "[$target.hp+650] Max"'
auto 100 setpos [$screenleft-180] [$screenbottom-265] | setcolor 200 200 200 | displaytext 'Mana: $target.mp'
auto 100 setpos [$screenleft-180] [$screenbottom-250] | setcolor 200 200 200 | displaytext 'Guild: $target.guild'

auto 1000 setpos [$screenleft-180] [$screenbottom-155] | setcolor 0 250 0 | displaytext Exp/hr:
auto 1000 setpos [$screenleft-180] [$screenbottom-140] | setcolor 250 0 250 | displaytext Exp TNL:
auto 1000 setpos [$screenleft-180] [$screenbottom-125] | setcolor 250 125 0 | displaytext Time TNL:
auto 1000 setpos [$screenleft-180] [$screenbottom-110] | setcolor 150 150 0 | displaytext Stamina:

auto 1000 setpos [$screenleft-120] [$screenbottom-155] | setcolor 0 250 0 | displaytext $formatnum.$exph
auto 1000 setpos [$screenleft-120] [$screenbottom-140] | setcolor 250 0 250 | displaytext $formatnum.$exptnl
auto 1000 setpos [$screenleft-118] [$screenbottom-125] | setcolor 250 125 0 | displaytext $formattime.$timetnl
auto 1000 setpos [$screenleft-120] [$screenbottom-110] |setcolor 250 0 0} | else setcolor 150 150 0 | displaytext '$formattime.$stamina'

auto 1000 setpos [$screenleft-180] [$screenbottom-330] | setcolor 0 250 0 | displaytext Total Exp Gained:
auto 1000 setpos [$screenleft-180] [$screenbottom-315] | setcolor 0 250 0 | displaytext $formatnum.$expgained


------
The other script i have not made i need help with is the server has a system where you reset every so many levels... ex level 16250..
you can check this using a simple command !resetlevel .... or you can use an item in game to instantly reset... i'd like to set it up to instantly use item as close to level as i can. Edit everytime i reset it is +100 levels more for next reset. ex.. reset level 10550, next reset level 10650
 
Back
Top