SRL Archive - OSR Help

Help With Coordinates


VastlySuperior

2012-07-28 05:53:59

Hi

I would Just like to know if this picture is till part of the main screen constants or is this another type of constant for this image.

If it is part of another constant where can I find all relevant information about the different constants for the different parts of the screen?

Thanks


masterBB

2012-07-28 05:58:50


Please upload your pics to tiny pic or imgur.

edit:
nvm you fixed it yourself ^^

edit 2:
To answer your question:
https://github.com/SRL/SRL-5/blob/master/srl/core/globals.simba#L93

I think that belongs to the chat screen coords.

VastlySuperior

2012-07-28 06:14:54

Another quick question. Is there anyway to look if this specific screen has been activated, I know there is a lot of different screens like this but the main layout is always the same. Is there any function that will look if this has popup when something has been activated?

Thanks MasterBB for the quick response.

Caotom

2012-07-28 06:22:03

From: VastlySuperior
Another quick question. Is there anyway to look if this specific screen has been activated, I know there is a lot of different screens like this but the main layout is always the same. Is there any function that will look if this has popup when something has been activated?

Thanks MasterBB for the quick response.


Erm not 100% what you mean.. You mean moving from one crafting stage to the next? You could simply use WaitColor on a certain item or if the white text changes you could try GetTextAtEx.
If you post screenshots of the two screens you want to differ between I can give you more specific info.

~Caotom

riwu

2012-07-28 06:41:36

SRL currently does not have a function to check if that kind of window is shown. U can easily make ur own function though, either detecting the orange/black colors or using text check, my method is to just hover over it and wait for the uptext.

litoris

2012-07-28 06:58:28

Search for the DTM of the bowl or whatever inside the chatbox area. If found, you have the screen.

VastlySuperior

2012-07-28 09:58:57

Just wanted to make sure there was not a way to see if such a screen was already open.

I decided to create a dtm to see if the screen was activated. Just needed to know how to check the coordinates to search for the different options that is available with the crafting without using hard codes for the coordinates as that can change anytime with a situation as what we had the last couple of weeks.

I`m working on a crafting script that will craft all available options with the pottery wheel and oven.

I want to enable it so that you just need to specify the paths to the different places where you want to go to use for the crafting. Then you will be able to use the script anywhere in rs and no matter what your level of experience is. The script will only allow you to use the options in regards to your current crafting level.

Thanks everyone for your input, appreciate it.