Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Get Past PVP worldhop Dialogue

Joined
Aug 15, 2018
Messages
5
I am stuck. I am trying to make a looter bot for world 417 a PVP world in osrs. However, hoping to this world with

Code:
WorldHop.hopTo(417);

Gets a dialogue box that asks to make sure I want to go to this world. However, ChatDialogue won't register this.

Any suggestions?

Thanks
 
Joined
Aug 15, 2018
Messages
5
I'm not. I'm trying to switch to world 417 but the runescape gives you a warning that you're switching to a pvp world. And my best guess would be to use ChatDialogue but that could be wrong. Is there a better way to get past the world hop warning.
 
easily triggered ✌
Joined
Dec 31, 2015
Messages
4,585
I'm not. I'm trying to switch to world 417 but the runescape gives you a warning that you're switching to a pvp world. And my best guess would be to use ChatDialogue but that could be wrong. Is there a better way to get past the world hop warning.
Yes use ChatDialogue

Is this not already handled by hopTo?
Documentation doesn't specify
 
cuppa.drink(java);
Joined
Mar 13, 2018
Messages
7,097
Is this not already handled by hopTo?
It's not handled by hopTo()

Tbh I'd argue it shouldn't be handled by hopTo() anyway, it's a nice safeguard against accidentally hopping to a dangerous world. If a bot author wants their bot to be able to hop to a PvP world, that should be explicitly stated.

Just my two cents.
 
Community Manager
Joined
Apr 7, 2015
Messages
1,394
It's not handled by hopTo()

Tbh I'd argue it shouldn't be handled by hopTo() anyway, it's a nice safeguard against accidentally hopping to a dangerous world. If a bot author wants their bot to be able to hop to a PvP world, that should be explicitly stated.

Just my two cents.
hopToRandom() should have (and already has) this, but I don't see why hopTo would have it unless I'm missing something here
 
Joined
Aug 15, 2018
Messages
5
How do you use ChatDialogue? And it is not handled by hopTo
 
I explicitly want to hop to a pvp world... and there's very little documentation for how to use ChatDialogue
 
Chat Dialogue should have a boolean asking if your player is currently in a dialogue. but it doesn't :(
 
cuppa.drink(java);
Joined
Mar 13, 2018
Messages
7,097
if((x=ChatDialogue.getOptions)!=null && !x.isEmpty()){
//Find which one is the one you want to select and call whatever.select()
}

Something like that. I'm on my phone, can't make a better example rn
 
cuppa.drink(java);
Joined
Mar 13, 2018
Messages
7,097
Thanks man! That's all I needed
No prob my dude.

I am trying to make a looter bot for world 417 a PVP world in osrs
Just a heads up btw, looter bots aren't allowed (usually) on the RuneMate bot store, so you probably won't be able to put it up publicly if that was your plan.

If you're just making it for your own use go right ahead, no one's gonna stop you.
 
Joined
Aug 15, 2018
Messages
5
So a looter that hangs out at the ge is allowed but one that wanders aimlessly around the world isn't? I'm making the bot just to practice my coding. I'm trying to be a hacker and make

1. Looter bot
2. Moneymaking wc bot
3. A pking bot where I have a few guys attack players in the wildi!

probably will get banned but my osrs user is:
[REDACTED]

add me if you want to do some botting.
 
step 1,
GET PAST PVP WORLDHOP DIALOGUE
 
Last edited by a moderator:
cuppa.drink(java);
Joined
Mar 13, 2018
Messages
7,097
This issue is resolved in the next update.
Just to clarify, what will be changed? hopTo(world) will handle PvP dialogue I assume, will hopToRandom() also automatically handle PvP dialogue? Because if so I have to fix my lazy CharterShipBuyer code asap
 
Joined
Jun 9, 2015
Messages
3,717
Just to clarify, what will be changed? hopTo(world) will handle PvP dialogue I assume, will hopToRandom() also automatically handle PvP dialogue? Because if so I have to fix my lazy CharterShipBuyer code asap
"The API will never go to a PVP world unless directly told to by an external call". Quoted from a talk I had with Cloud.
 
Top