Amberleaf Posted February 21, 2012 Share Posted February 21, 2012 (edited) 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 February 21, 2012 by Amberleaf Quote Link to comment Share on other sites More sharing options...
rsutton Posted February 21, 2012 Share Posted February 21, 2012 (edited) 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 February 21, 2012 by rsutton Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted February 21, 2012 Share Posted February 21, 2012 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. Quote Link to comment Share on other sites More sharing options...
rsutton Posted February 21, 2012 Share Posted February 21, 2012 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 Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted February 22, 2012 Share Posted February 22, 2012 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. Quote Link to comment Share on other sites More sharing options...
Wanted Posted February 22, 2012 Share Posted February 22, 2012 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... Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted February 22, 2012 Share Posted February 22, 2012 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. Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted February 22, 2012 Share Posted February 22, 2012 Yeah I call this a lot too. Quote Link to comment Share on other sites More sharing options...
Amberleaf Posted February 23, 2012 Author Share Posted February 23, 2012 (edited) 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 February 23, 2012 by Amberleaf Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted February 23, 2012 Share Posted February 23, 2012 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. Quote Link to comment Share on other sites More sharing options...
Wanted Posted February 23, 2012 Share Posted February 23, 2012 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.. Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted February 23, 2012 Share Posted February 23, 2012 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. Quote Link to comment Share on other sites More sharing options...
rsutton Posted February 23, 2012 Share Posted February 23, 2012 Overthinking this issue. I think amber was on the right track with simplicity. Not the right code. but gets the point. Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted February 24, 2012 Share Posted February 24, 2012 Overthinking this issue. I think amber was on the right track with simplicity. Not the right code. but gets the point. If you look at wanted's post, He is using the same method as amber suggested essentially......... Quote Link to comment Share on other sites More sharing options...
Wanted Posted February 24, 2012 Share Posted February 24, 2012 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. Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted February 24, 2012 Share Posted February 24, 2012 I guess you got a point, have you thought of looking for the chat option also? like if game tabs missing count color in chat box for the green Continue button. Quote Link to comment Share on other sites More sharing options...
Wanted Posted February 24, 2012 Share Posted February 24, 2012 (edited) https://github.com/OSI1/OSI1/commit/03ccce5ba2cc399699db98d94414f72f6521f6c9 Update OSI, let me know how it goes Edit: Crazy shit going to get to the bottom of this -.- Edited February 24, 2012 by Wanted Quote Link to comment Share on other sites More sharing options...
shadowrecon Posted February 24, 2012 Share Posted February 24, 2012 https://github.com/OSI1/OSI1/commit/03ccce5ba2cc399699db98d94414f72f6521f6c9 Update OSI, let me know how it goes Edit: Crazy shit going to get to the bottom of this -.- Havent had any issues yet, Just curious why did you change the original method? Quote Link to comment Share on other sites More sharing options...
AnthonyPhics Posted April 5 Share Posted April 5 オンライン カジノは、プレイヤーが自宅にいながらにしてポーカー、ルーレット、ブラックジャック、スロットなどのギャンブル ゲームを楽しむ機会を提供する仮想プラットフォームです。 オンラインカジノは、アクセスのしやすさ、ゲームの種類の多さ、そして大金を獲得する機会があるため、年々人気が高まっています。 オンラインカジノの主な利点は、利便性とアクセスしやすさです。 プレイヤーは、通常のカジノの営業時間に制限されず、いつでもゲームを楽しむことができます。 必要なのは、インターネットにアクセスできるデバイスと、カジノのウェブサイトにアクセスできることだけです。 これにより、プレイヤーは従来のカジノによくありがちなストレスや緊張を感じることなく、快適な環境でプレイすることができます。 オンラインカジノのもう1つの利点は、ゲームの選択肢が豊富なことです。 ユーザーは、それぞれ独自のルールと勝利の機会を提供する何百もの異なるゲームから選択できます。 技術革新のおかげで、オンライン ゲームのグラフィックとサウンドは高品質になり、プレイヤーは興奮と情熱の雰囲気に浸ることができます。 さまざまなゲームに加えて、オンライン カジノはプレーヤーにさまざまなボーナスやプロモーションも提供します。 これらは、スロットのフリースピン、プレイのための追加のお金、または貴重な賞品が得られる特別なトーナメントなどです。 このようなボーナスにより、勝利の可能性が高まり、ゲームがさらに楽しくなります。 もちろん、オンラインカジノでのプレイにはリスクがあります。 ギャンブルには依存性がある可能性があるため、自分の感情を監視し、支出をコントロールすることが重要であることを覚えておくことが重要です。 カジノはまた、責任あるゲーミングをサポートし、自己排除や賭け金制限の機会を提供します オンラインカジノ 全体として、オンライン カジノはギャンブル愛好家にとって便利でエキサイティングなエンターテイメントを提供します。 幅広いゲーム、ボーナスの選択肢があり、いつでもプレイできるため、世界中のプレイヤーの間で人気が高まっています。 ただし、責任あるゲームと、ゲームが単なる楽しみと娯楽の源であるように自分の行動を制御する能力について覚えておくことが重要です。 Quote Link to comment Share on other sites More sharing options...