Novice Land

Moderator: Moderators

Message
Author
User avatar
twist3d
Testers Team
Testers Team
Posts: 94
Joined: 09 Sep 2009, 04:34
Noob?: No
Location: USA

Re: Novice Land

#11 Post by twist3d »

Not to make this post any longer then it already is, but I have tried all of these and could not get any to work. :? So I meshed a few together to make one that did work!

Code: Select all

#-------------[Pick Job for auto macro]------------
#---------[Pick Job & Free item for class]---------

macro JobChange {
   set macro_delay 2
   $choice = 4
  
   if ($choice == 1) goto TheifJob
   if ($choice == 2) goto MageJob
   if ($choice == 3) goto AcolyteJob
   if ($choice == 4) goto MerchantJob
   if ($choice == 5) goto SwordsmanJob
   if ($choice == 6) goto ArcherJob
   if ($choice == 7) goto TaekwonJob
   stop

   :TheifJob
   # Personality Test Response 0000110001011122202201
   do talknpc 100 29 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r1 w1 r1 w1 r0 w1 r0 w1 r0 w1 r1 w1 r0 w1 r1 w1 r1 w1 r1 w1 r2 w1 r2 w1 r2 w1 r0 w1 r2 w1 r2 w1 r0 w1 r1 w1 r0 w1 c c
   pause 2
   goto check


   :MageJob
   # Personality Test
   do talknpc 100 29 r0 w1 r0 w1 r2 w1 r1 w1 r1 w1 r0 w1 r2 w1 r0 w1 r1 w1 r1 w1 r0 w1 r1 w1 r1 w1 r1 w1 r1 w1 r1 w1 r0 w1 r0 w1 r1 w1 r0 w1 r1 w1 r1 w1 r2 w1 r0 w1 c
   pause 2
   goto check

   :AcolyteJob
   # Personality Test Response 2101100101100110110130
   do talknpc 100 29 r0 w1 r2 w1 r1 w1 r0 w1 r1 w1 r1 w1 r0 w1 r0 w1 r1 w1 r0 w1 r1 w1 r1 w1 r0 w1 r0 w1 r1 w1 r1 w1 r0 w1 r1 w1 r1 w1 r0 w1 r1 w1 r3 r0 w1 r0 w1 c
   pause 2
   goto check

   :MerchantJob
   # Personality Test Response 1010010010000000210020
   do talknpc 100 29 r0 w1 r1 w1 r0 w1 r1 w1 r0 w1 r0 w1 r1 w1 r0 w1 r0 w1 r1 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r2 w1 r1 w1 r0 w1 r0 w1 r2 w1 r0 w1 r0 w1 c
   pause 2
   goto check

   :SwordsmanJob
   # Personality Test Response 1010010010000000210020
   do talknpc 100 29 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 r0 w1 c
   pause 2
   goto check

   :ArcherJob
   # Personality Test Response 1011121101000121111312
   do talknpc 100 29 r0 w1 r1 w1 r0 w1 r1 w1 r1 w1 r1 w1 r2 w1 r1 w1 r1 w1 r0 w1 r1 w1 r0 w1 r0 w1 r0 w1 r1 w1 r2 w1 r1 w1 r1 w1 r1 w1 r1 w1 r3 r1 w1 r2 w1 r0 w1 c
   pause 2
   goto check

   TaekwonJob
   # Personality Test Response 1011121101000121111312
   do talknpc 100 29 r0 w1 r1 w1 r0 w1 r1 w1 r1 w1 r1 w1 r2 w1 r1 w1 r1 w1 r0 w1 r1 w1 r0 w1 r0 w1 r0 w1 r1 w1 r2 w1 r1 w1 r1 w1 r1 w1 r1 w1 r3 r1 w1 r2 w1 r0 w1 c
   pause 2
   goto check

   :check
   if ($choice == 1) if (location not morocc) relog
   if ($choice == 2) if (location not geffen) relog
   if ($choice == 3) if (location not prontera) relog
   if ($choice == 4) if (location not alberta) relog
   if ($choice == 5) if (location not izlude) relog
   if ($choice == 6) if (location not payon) relog
   if ($choice == 7) if (location not payon) relog
}

#---------[Novice Training]---------

automacro NewChar {
   location new_1-1,new_2-1,new_3-1,new_4-1,new_5-1
   base == 1
   class Novice
   run-once 1
   call configInicial
}

macro configInicial {
   set macro_delay 2
   do conf statsAddAuto 0
   do conf statsAddAuto_dontUseBonus 0
   do conf statsAddAuto_list 
   do conf skillsAddAuto 1
   do conf skillsAddAuto_list Basic Skill 9
   do conf route_randomWalk 0
   do conf autoTalkCont 0
   do conf attackAuto 0
   do conf lockMap none
   do move 53 112
   call 1-Intro
}


#---------[Novice Intro NPC]---------

macro 1-Intro {
### intro npc
   do talk @npc (53 114)
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk resp 0
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   pause 2
   do talk @npc (53 114)
   do talk cont
   do talk cont
   do talk cont
   pause 2
   do move 148 112
   call 2-Receptionist
}

#---------[Novice Receptionist]---------

macro 2-Receptionist {
### receptionist
   $myname = @eval (return $::char->{name})
   do move 100 25
   #do talknpc 100 29 t=$myname r0 w1 e
   do talk @npc (100 29)
   pause 1
   do talk cont
   pause 2
   do talk text $myname
   pause 1
   do talk cont
   pause 1
   do talk cont
   pause 1
   do talk resp 0
   pause 1
   do talk cont
   pause 1
   do talk cont
   pause 1
   call 3-Interface
}

#---------[Novice Interface NPC]---------

macro 3-Interface {
### interfaces
   do move 99 101
   pause 2
   do talknpc 99 105 c c c c r0 w1 c c c c c c c c c c c c c c c c c c c c c e
   call 4-Skill
}

#---------[Novice Skill NPC]---------

macro 4-Skill {
### [Warped] Skill Tutor
   do move 83 108
   pause 2
   do talk @npc (83 111)
   do talk cont
   do talk resp 0
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   [
      do ss 142 1
   ]
   do talk cont
   [
      do ss 142 1
   ]
   do talk cont
   [
      do ss 142 1
   ]
   do talk cont
   [
      do ss 142 1
   ]
   do talk cont
   do talk cont
   do talk cont
   do talk resp 0
#   do talk cont
   call 5-Items
}

#---------[Novice Item NPC]---------

macro 5-Items {
### Items Tutor
   do move 113 106
   pause 3
   do talk @npc (115 111)
   do talk cont
   do talk resp 0
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   [
      do ss 142 1
   ]
   do talk cont
   do talk cont
   do talk cont
   do talk cont
   do talk resp 0
   do talk cont
   do talk cont
   do talk cont
   call 6-Kafra
}

#---------[Novice Kafra NPC]---------

macro 6-Kafra {
### Kafra Employee
   do talknpc 118 108 c c c r1 w1 c r0 w1 c c c r1 w1 c c c c c c c c r4 c e
   call 7-Monsters
}

#---------[Novice Monster NPC]---------

macro 7-Monsters {
### monsters
   do move 73 106
   pause 1
   do move 21 177
   pause 2
   do talknpc 17 182 c c c r0 w1 c c c c c c c c c c c c r3 c e
   call 8-Entrance
}

macro 8-Entrance {
   do move 34 179
   pause 2
   do talknpc 38 182 c c c c r0 w1 c c e
   call ChangeConfig
}


macro ChangeConfig {
   $mapa = $.map
   do eq Novice Main-Gauche
   do eq Novice Guard
   do eq Tattered Novice Ninja Suit
   do eq Somber Novice Hood
   do eq Novice Slippers
   do eq Novice False Eggshell
   pause 1
   do conf route_randomWalk 1
   do conf attackAuto 2
}

#tank para morir y obtener otro lvl



#entrance

automacro notInArea {
   class Novice
   base >= 6
   mapchange new_1-2, new_2-2, new_3-2, new_4-2, new_5-2
   exclusive 1

   call {
       do conf sellAuto_npc $.map 28 185
       do move 37 180
       pause 2
       do autosell
       pause 2
       do talknpc 38 182 c c r0 w1 c e
       release notInArea
   }
   timeout 15
}


#~~~~~~~cmabiar job

automacro ChangeJob {
   job == 10
   location new_1-3,new_2-3,new_3-3,new_4-3,new_5-3
   run-once 1
   call NoviceTraining2
}

automacro changeJob2 {
   job == 10
   location new_1-4,new_2-4,new_3-4,new_4-4,new_5-4
   run-once 1
   call jobDescription
}

macro NoviceTraining2 {

### Entrance Guard
   do move 35 180
   do talknpc 38 182 r0
   do move 94 171

### Exit Guard
   do talknpc 96 174 r0

   call jobDescription
}

macro jobDescription{
   do conf autoTalkCont 1
   do move 99 22
   pause 1
   do talk @npc (91 22)
   pause 1
   do talk resp 3
   pause 1
   do talk resp 7
   pause 1
   do move 100 25
   call JobChange
}
The biggest problems I had were pauses not being included or missing brackets so it just took some tweaking. Also I added a check to see if you were already in the job change test room, and attempted to make the bot sell if you should die.
Member since 09/09/09, botter since its first creation days. Thanks Kura for the original Kore.

paperone
Human
Human
Posts: 34
Joined: 21 Nov 2009, 18:28
Noob?: Yes

Re: Novice Land

#12 Post by paperone »

awts nothing in here are working in pRO valkyrie...

but anyway thanks for this i'll just put some twist in this to work in pRO valkyrie...
Image

Rkaze
Noob
Noob
Posts: 1
Joined: 22 May 2010, 19:50
Noob?: Yes

Re: Novice Land

#13 Post by Rkaze »

Hi guys, I'm completely new to this so go easy on me please. :D

I'm trying to use the macro posted above by twist3r, when I get to the killing monsters part of the macro I manually use a bwing and it then runs back to new 1-2 and talks to the kafra.
I wanna make it so it talks to the kafra then warps to prontera (was hopefully gonna try figure out how to store the novice potions then delete the char), but it errors and gets stuck.

After the autosale from notInArea autostorage triggers but the save is set to prontera, it runs to the kafra in 1-2 and then errors. I have no idea how to fix this and any help would be greatly appreciated. I've tried reading the manual and other posts on the forums but everything I try doesn't seem to work.

paperone
Human
Human
Posts: 34
Joined: 21 Nov 2009, 18:28
Noob?: Yes

Re: Novice Land

#14 Post by paperone »

please post the code where you stuck so that we can help.
Image

jrelcess25
Noob
Noob
Posts: 4
Joined: 28 May 2011, 05:33
Noob?: Yes

Re: Novice Land

#15 Post by jrelcess25 »

Any updates on this? It does'nt work on pRO. Can someone fix this. Thanks.

dezmay
Noob
Noob
Posts: 19
Joined: 02 Jun 2008, 21:22
Noob?: Yes

Re: Novice Land

#16 Post by dezmay »

does anyone has a new macro that works with svn?

benj1320
Moderators
Moderators
Posts: 403
Joined: 25 Aug 2008, 14:56
Noob?: No
Location: CyberOne Building , Eastwood
Contact:

Re: Novice Land

#17 Post by benj1320 »

“The moon shines to both guilty and innocent alike..”
The Openkore Manual---Global Forum Rules--The Template

smackdownn
Noob
Noob
Posts: 2
Joined: 24 Jul 2010, 03:44
Noob?: No

Re: Novice Land

#18 Post by smackdownn »

iam playing the IRO valkyrie server can someone tell me how to create char then get potions and tickets and then teleport to pront and store items?

jdspringr07
Noob
Noob
Posts: 3
Joined: 01 Jul 2011, 06:38
Noob?: No

Re: Novice Land

#19 Post by jdspringr07 »

Does anyone have an updated version of this?

There's a few major issues with this macro right now and I'm tinkering around with it but I'm new to the macros side of the house. One is that the macro is bugging out in the 2nd series of chat responses at the 2nd step (Kafra). After it bugs out once the bot logs back in it spams "Calculating random route to: new_1-2".

hisokiss
Noob
Noob
Posts: 8
Joined: 29 Jan 2013, 12:12
Noob?: No

Re: Novice Land

#20 Post by hisokiss »

Does any body have an update the novice training does not work anymore can anyone post the latest macro version here? thanks :)

Post Reply