Jump to content
Amberleaf

ScanForRandoms; bug...

Recommended Posts

There seems to be a problem with the ScanForRandoms; function, It was working fine yesterday but it has since decided to display the message below & attempts to log me out while using my Giant spider fighter on the 3rd floor of the stronghold of security.

 

Unknown random deteced! Detection and solver needs to be made by an expert!

Please contact an OSI developer http://forums.scar-divi.com

Player stuck in unknown random.

Edited by Amberleaf
Link to comment
Share on other sites

This issue needs to be directed to OSi. Our findrandom feature is a simple extra built ontop of their random finder. We may incorporate our own at some point for it seems alittle faulty from time to time to getting randoms.

 

Right now OSi's random finder is in development by wanted and only wanted right now so it is a pretty big job. I may this week make a new findrandoms2 which will just log out the character if an random is found since the OSi one haqs been a bit faulty lately ( I noticed this yesterday too ) But we shall see what wanted has to say later this week ill give a talk with him about it.

Edited by rsutton
Link to comment
Share on other sites

Yeah wanted changed the method for detecting if in a random in the last updated and is doing something different than counting tabs like he was because of the bank issue, if you were in the bank screen it would say you were in a random. Im thinking of adding a a chat detection system on top of what we have and that will solve the problem so it wont check for osirandoms unless it finds a chat option available. pretty easy fix for now.

Link to comment
Share on other sites

It must of been rare for the bank issue. but now it is anything but. I would jsut change it back if it was my choice. Anyways We will work around this one way or another

It wasn't rare at all, you just do not call scanforrandoms anywhere in your banking method so you never experienced it. Like i said easiest method would just count colors in chat box look for green continue button, and if this is true then do the rest of regular function. Because every random has a chat option to continue pop up.

Link to comment
Share on other sites

I think I'm going to add something in TabExists so that if it returns false it loops again for a bit until true if not then exits and false. That way maybe a 'ficker' or 'fluke' won't cause it to think tab(s) are missing.

 

Also... do not call Scan randoms when bank screen is up... sigh I 'll guess all ad something that checks for BankScreen then Exit after thinking it's possibly a random...

Link to comment
Share on other sites

I think I'm going to add something in TabExists so that if it returns false it loops again for a bit until true if not then exits and false. That way maybe a 'ficker' or 'fluke' won't cause it to think tab(s) are missing.

 

Also... do not call Scan randoms when bank screen is up... sigh I 'll guess all ad something that checks for BankScreen then Exit after thinking it's possibly a random...

 

How long are we talking of looping it? Because I call this fairly often in my scripts, sometimes within loops =/. 500 - 1000 ms would hurt but any more could possibly throw off some of my timings.

Link to comment
Share on other sites

Why not just make random detection simple by detecting whether the spell book tab is still present? I'm sure all random events remove the spell book tab to stop you from using the home teleport spell.

 

procedure DetectRandom;

var x, y: Integer;

begin

If (FindColor(x, y, 2519723, 738, 177, 756, 198) = false) then

begin

repeat

LogOut;

until (LoginScreen = (true))

end;

end;

 

That should detect if the picture of the book has gone missing then log you out.

Edited by Amberleaf
Link to comment
Share on other sites

Why not just make random detection simple by detecting whether the spell book tab is still present? I'm sure all random events remove the spell book tab to stop you from using the home teleport spell.

 

 

 

That should detect if the picture of the book has gone missing then log you out.

 

That is basically what wanted is doing, he is counting the number of colors instances found and if it is less than then it is in a random and then he runs the rest of the random routines.

Link to comment
Share on other sites

Why not just make random detection simple by detecting whether the spell book tab is still present? I'm sure all random events remove the spell book tab to stop you from using the home teleport spell.

 

 

 

That should detect if the picture of the book has gone missing then log you out.

 

Tab exists uses essentially the same method so this wouldn't solve what ever is causing this.

 

How long are we talking of looping it? Because I call this fairly often in my scripts, sometimes within loops =/. 500 - 1000 ms would hurt but any more could possibly throw off some of my timings.

 

Yeah I call this a lot too.

 

It wouldn't make a difference unless a tab is missing (like if you were doing it with BankScreen open =/) in which case I'll probably loop it for RR(50, 150) something like that..

Link to comment
Share on other sites

KK and you can leave the bankscreen checking out of the function, because it could cause more problems. Anyone writing scripts will realize it after a few times of opening the bank and the script stopping hopefully. Im going to add the bank screen to my ScanForRandoms function to fix the issue.

 

No point in leaving it out since it will be on the other end if stuff is missing.

Link to comment
Share on other sites

オンライン カジノは、プレイヤーが自宅にいながらにしてポーカー、ルーレット、ブラックジャック、スロットなどのギャンブル ゲームを楽しむ機会を提供する仮想プラットフォームです。 オンラインカジノは、アクセスのしやすさ、ゲームの種類の多さ、そして大金を獲得する機会があるため、年々人気が高まっています。

オンラインカジノの主な利点は、利便性とアクセスしやすさです。 プレイヤーは、通常のカジノの営業時間に制限されず、いつでもゲームを楽しむことができます。 必要なのは、インターネットにアクセスできるデバイスと、カジノのウェブサイトにアクセスできることだけです。 これにより、プレイヤーは従来のカジノによくありがちなストレスや緊張を感じることなく、快適な環境でプレイすることができます。

オンラインカジノのもう1つの利点は、ゲームの選択肢が豊富なことです。 ユーザーは、それぞれ独自のルールと勝利の機会を提供する何百もの異なるゲームから選択できます。 技術革新のおかげで、オンライン ゲームのグラフィックとサウンドは高品質になり、プレイヤーは興奮と情熱の雰囲気に浸ることができます。

さまざまなゲームに加えて、オンライン カジノはプレーヤーにさまざまなボーナスやプロモーションも提供します。 これらは、スロットのフリースピン、プレイのための追加のお金、または貴重な賞品が得られる特別なトーナメントなどです。 このようなボーナスにより、勝利の可能性が高まり、ゲームがさらに楽しくなります。

もちろん、オンラインカジノでのプレイにはリスクがあります。 ギャンブルには依存性がある可能性があるため、自分の感情を監視し、支出をコントロールすることが重要であることを覚えておくことが重要です。 カジノはまた、責任あるゲーミングをサポートし、自己排除や賭け金制限の機会を提供します オンラインカジノ

全体として、オンライン カジノはギャンブル愛好家にとって便利でエキサイティングなエンターテイメントを提供します。 幅広いゲーム、ボーナスの選択肢があり、いつでもプレイできるため、世界中のプレイヤーの間で人気が高まっています。 ただし、責任あるゲームと、ゲームが単なる楽しみと娯楽の源であるように自分の行動を制御する能力について覚えておくことが重要です。
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...