[Tutorial] DIY Buff Bot

Guides for osRose and osiRose (compilation / setup)...

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Re: [Tutorial] DIY Buff Bot

Postby hjvg on Fri Jul 31, 2009 8:00 pm

i got also got still a little problem with the aip. i dont know if it comes because i use irose or that it just can not be else here pic of my aip

Image

the script is working and buffing only it is doing the last skill 3036.

i have made the scipt so that it will run evry minute and thats wath it is doing but 3036 is atk and hit up the first min it is buffing attackup and after 1 min it is doing hit up. but it is not buffing 1 of the other buffs.

if i set 3037 as the last 1 then it is doing that skill on the same way. any ideas of how i can get them all to work

so do i need to make 4 npc to give the 8 buffs or is it possible with 1 npc?
hjvg
Little soul
Little soul
 
Posts: 8
Joined: Tue Aug 14, 2007 6:48 pm

Re: [Tutorial] DIY Buff Bot

Postby Mike567 on Sat Aug 01, 2009 4:48 am

hjvg, if your AIP script will work... can you share it?

EDIT: Miss PurpleYouko, can you check my files? i guess i do something wrong.... but i can't find it...


here's my files
mybufferfiles.rar
(111.78 KiB) Downloaded 503 times

i use id 1022,


----------

i also try to edit my files and put the bot buffer of Stealth/Fox made, and its not work too. its same, did not buffing.....
here's my edit files with fox bot buffer.
its used 426 to 429 ID
Attachments
mybufferfileswithfoxbuffer.rar
(112.12 KiB) Downloaded 435 times
User avatar
Mike567
Antares
Antares
 
Posts: 392
Joined: Wed Mar 19, 2008 4:27 am
Location: Philippines

Re: [Tutorial] DIY Buff Bot

Postby hjvg on Sat Aug 01, 2009 1:57 pm

when i got the buff bot working 100% i will share it but first i want it to get it buffing all 8 buffs
hjvg
Little soul
Little soul
 
Posts: 8
Joined: Tue Aug 14, 2007 6:48 pm

Re: [Tutorial] DIY Buff Bot

Postby PurpleYouko on Sat Aug 01, 2009 3:29 pm

The problem is that the skills cannot be cast back to back like that.
it's just like if you use a skill as a player then you have to wait a little while while that skill casts before you can cast the next one. Kind of a cool down.

It seems that the commands to cast the skills come so quickly that each one just overwrites the previous one

I'm looking into a way to make it work for more than one skill by building a buffer into the code so that they can be stacked. That will make it work but only for a server that has the mod so it will be useless for Arc files for example.

Another option is to run the AIP more often like every 10 seconds then set up your conditions so that it increments the ObjVar and casts a different skill for each value
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: [Tutorial] DIY Buff Bot

Postby hjvg on Sat Aug 01, 2009 5:54 pm

it looks like when i start working with value it is not working anymore.

i also removed the cast time but no effect

(it is probley the actures files that er not working with value`s or somting)

edit:
i have finished my buff npc`s its working very nice on a actures based server

i have made 4 npc`s to give all 8 buffs every npc is doing 1 skill and is casting every minute

all files are in cluded if you place this files in your server and client it will working. but lookout copying this files over your own files will remove all your costum npc`s, spawns and skills.

also in the list_skill.stb is somting wrong skills below 3206 are not working 100% at my server atm.

have fun with the files
buffnpc.rar
buff npc files
(78.54 KiB) Downloaded 509 times
hjvg
Little soul
Little soul
 
Posts: 8
Joined: Tue Aug 14, 2007 6:48 pm

Re: [Tutorial] DIY Buff Bot

Postby Mike567 on Mon Aug 03, 2009 1:34 pm

its really doesn't work on me, :( guys please help me

check my files please, i already use hjvg files, but doesn't not buffing,
maybe osirose don't support it.

buffy.rar
(147.81 KiB) Downloaded 477 times


EDIT: maybe it will not work with osirose, :( i need to change into arcturus.
User avatar
Mike567
Antares
Antares
 
Posts: 392
Joined: Wed Mar 19, 2008 4:27 am
Location: Philippines

Re: [Tutorial] DIY Buff Bot

Postby Mike567 on Wed Aug 19, 2009 11:45 am

i try it on the osrose,
but did not work so i replace all my files into original.

can you give us the code that you pass on lmame?

EDIT:

maybe my bot buffer npc doesn't buff bcz there's a npc around it?
User avatar
Mike567
Antares
Antares
 
Posts: 392
Joined: Wed Mar 19, 2008 4:27 am
Location: Philippines

Re: [Tutorial] DIY Buff Bot

Postby DeltaBurnt on Wed Aug 19, 2009 4:59 pm

You could always make a quick QSD with no conditions and the reward is that a skill is used on your or something similar then put a lua file that runs that QSD into your NPC's con file.
DeltaBurnt
Rackie
Rackie
 
Posts: 206
Joined: Sun Jun 21, 2009 10:35 pm

Re: [Tutorial] DIY Buff Bot

Postby Mike567 on Thu Aug 20, 2009 8:45 am

i don't know what you exactly mean,

i already made my qsd files, then what should i do? :D

thnx.
User avatar
Mike567
Antares
Antares
 
Posts: 392
Joined: Wed Mar 19, 2008 4:27 am
Location: Philippines

Re: [Tutorial] DIY Buff Bot

Postby DeltaBurnt on Thu Aug 20, 2009 10:09 pm

Well you see a con file controls the dialog box for an NPC and which LTB rows the NPC uses. It also has a compiled lua file imported into it. Now you need to create a quest file that will have a quest and the conditions would be nothing, and the reward would be (and this is the part I'm unsure of because I don't know if you can have a skill being cast a quest reward) that a buff skill is cast. Then you code a function to include see if you meet the functions return 1 else return 0 (returning 1 means true returning 0 means false). So what you do on the dialog box is have an option that point to an LTB row called like "BUFF ME!" and then also in the reward function (or condition function not sure) slot you put the function you put in the lua.

It takes some basic lua knowledge though, you may wonna look up some basic lua tutorials.
DeltaBurnt
Rackie
Rackie
 
Posts: 206
Joined: Sun Jun 21, 2009 10:35 pm

PreviousNext

Return to osRose / osiRose Guides

Who is online

Users browsing this forum: No registered users and 2 guests