SRL Archive - General Botting Help

About reflection question


meodows92

2015-02-26 06:11:49

Hi i am trying to build a bot that avoid NPC such as sorceress garden to avoid all the sorcerer, i can't find a bot for that as so i have to build it myself but can't find a reflection tutorial to do that, may i have some the sample codes or tutorial to complete this? Sorry i am new to simba and reflection first time came across this word in programming, i have experience in java. Thanks

Brandon

2015-02-26 19:00:11

From: meodows92
Hi i am trying to build a bot that avoid NPC such as sorceress garden to avoid all the sorcerer, i can't find a bot for that as so i have to build it myself but can't find a reflection tutorial to do that, may i have some the sample codes or tutorial to complete this? Sorry i am new to simba and reflection first time came across this word in programming, i have experience in java. Thanks



So.. are you making a "bot" in Java or a "script" in Simba?

Myke

2015-02-26 19:07:52

From: Brandon
So.. are you making a "bot" in Java or a "script" in Simba?


think the latter

From: meodows92
Hi i am trying to build a bot that avoid NPC such as sorceress garden to avoid all the sorcerer, i can't find a bot for that as so i have to build it myself but can't find a reflection tutorial to do that, may i have some the sample codes or tutorial to complete this? Sorry i am new to simba and reflection first time came across this word in programming, i have experience in java. Thanks



https://villavu.com/forum/showthread.php?t=111662

https://villavu.com/forum/showthread.php?t=111664

https://villavu.com/forum/showthread.php?t=111723

meodows92

2015-02-26 20:08:35

From: Myke
think the latter….





Both link i have read a little, but still unable to solve that concept that i mention in the first post, will you mine to tell me under which part, thanks for the replay.

tls

2015-02-26 20:28:01

From: meodows92
Both link i have read a little, but still unable to solve that concept that i mention in the first post, will you mine to tell me under which part, thanks for the replay.


This is an abstract reply.

So you are trying to create a script that runs the sorceress garden? Well first you need to come up with some sort of structure for the script, such as a main script loop. This could be something not so specific:

repeat
log in
repeat
run garden
until breaktime
take break
until stoptime
With this structure, you want to define run garden as a procedure that handles a garden. In it you will need to find the sorceress that you need to dodge, get her location(and probably her orientation as it determines which way she is walking), if she is walking in such a way that if you ran to the next hiding spot and she wouldn't see you, then you would click on the minimap to run to the hiding spot.
The breaking/multiplayer handling/etc are quite specific ideas(not abstract) so I won't discuss them.

meodows92

2015-02-26 21:55:43

From: tls
This is an abstract reply.

So you are trying to create a script that runs the sorceress garden? Well first you need to come up with some sort of structure for the script, such as a main script loop. This could be something not so specific:

repeat
log in
repeat
run garden
until breaktime
take break
until stoptime
With this structure, you want to define run garden as a procedure that handles a garden. In it you will need to find the sorceress that you need to dodge, get her location(and probably her orientation as it determines which way she is walking), if she is walking in such a way that if you ran to the next hiding spot and she wouldn't see you, then you would click on the minimap to run to the hiding spot.
The breaking/multiplayer handling/etc are quite specific ideas(not abstract) so I won't discuss them.


It Is really good concept to start, but i still unable to figure out how is being to avoid the sorcerer may be i explain clearly with some pictures.
[ATTACH=CONFIG]25132[/ATTACH]
On the first picture are the basic which when the sorcerer once it turn around the bot immediately click on the spot that suppose to be going which is the green box.

[ATTACH=CONFIG]25133[/ATTACH]

This is another example which is quite advance which is need to avoid 2 sorcerer to prevent from detection.

So if you have some example will be good for me. Sorry everyone, i an new to reflection and simba, i only have experience in java and C#.

Edit: sorry i forgotten to add the link that i took these picture from is: forum.tip.it/topic/252705-sorceresss-garden-step-by-step/

Kyle

2015-02-26 22:07:26

From: meodows92
It Is really good concept to start, but i still unable to figure out how is being to avoid the sorcerer may be i explain clearly with some pictures.
[ATTACH=CONFIG]25132[/ATTACH]
On the first picture are the basic which when the sorcerer once it turn around the bot immediately click on the spot that suppose to be going which is the green box.

[ATTACH=CONFIG]25133[/ATTACH]

This is another example which is quite advance which is need to avoid 2 sorcerer to prevent from detection.

So if you have some example will be good for me. Sorry everyone, i an new to reflection and simba, i only have experience in java and C#.

Edit: sorry i forgotten to add the link that i took these picture from is: forum.tip.it/topic/252705-sorceresss-garden-step-by-step/


Well it is quite hard for us to do that without ourselves writing the script for you. A script like this takes a decent bit of logic to determine when is the best time to move when it is safe. Your going to have to use a combination of Npc orientation and location in order to do it. Sorry I can't help much more, but if you have a more specific question that would be better since atm it would be more of us doing the script for you.

grats

2015-02-26 22:10:02

seems like you got the logics of your script handled.. you just need to go to step1 and wait for step2 etc..

meodows92

2015-02-26 22:31:41

From: elfyyy
Well it is quite hard for us to do that without ourselves writing the script for you. A script like this takes a decent bit of logic to determine when is the best time to move when it is safe. Your going to have to use a combination of Npc orientation and location in order to do it. Sorry I can't help much more, but if you have a more specific question that would be better since atm it would be more of us doing the script for you.


Do you have any suggest tutorial for that? Can include title section for that, most of the tutorial are just focus on killing NPC and detect object, not really into how to avoid them. Anyways thanks for the replay.

From: grats
seems like you got the logics of your script handled.. you just need to go to step1 and wait for step2 etc..


Sort of, just want to know the syntax on how it being written, which library should i use, how is being detected them and finally the logic of the script. For the rest like anti-ban i can copy from some example somewhere in this forum, but i don't know where to find some samples and example or method to code this i mention in the first post. That's how i done for my school project.