From: Shuttleu
have you ever found it to return false when your logged in or for it to return true when your not?
it searches for a color only found in that box when your logged in, and it hasnt changed for years, so the chances that it will change or it will fail is very small
~shut
Yes. I have never had an altercation when it would return true when im not logged in. However I have had
Numerous altercations when it would return a False even when im logged in. For example, in my first script that i made, i made an AutoLogin function and it would simply check if the player is not logged in before starting, but LoggedIn would often give me a False even though I am Loggedin. Another time is today, im making my Alkharid Fisher, Cooker and Banker, but it gave me a False even though I was logged in and then attempted to switch to the next player.
Heres an example of when I had Yush_Dragon testing out the fishing part of my script this morning [He had the Debug constant on]. This was near the end of it.
[19:01:38] Player is using a Net.
[19:01:40] Net is in Inventory
[19:01:46] DDTM Walk Successful for PathNumb(1)
[19:01:50] Found Fishing Spot symbol on the minimap.
[19:01:52] Found no fish pool... Switching Pools...
[19:01:54] Found Fishing Spot symbol on the minimap.
[19:01:55] Length of BubblesTPA = 0
[19:01:55] Found no fish pool... Switching Pools...
[19:02:00] Found Fishing Spot symbol on the minimap.
[19:02:01] Length of BubblesTPA = 0
** Warning in CheckForFishingPool: Could not find a fishing pool, switching areas...**
[19:02:02] Found Fishing Spot symbol on the minimap.
[19:02:07] Length of BubblesTPA = 3
[19:02:07] Length of BubblesATPA = 1
[19:02:08] Found the fishing pool.
[19:02:08] Player found and click the fishing pool
**** leveled up
No Reflection update
No SRL update / Plugins update available!
** Warning in IsFishing: Player is not fishing, finding another pool...**
[19:04:21] Found no fish pool... Switching Pools...
[19:04:25] Found Fishing Spot symbol on the minimap.
[19:04:27] Length of BubblesTPA = 0
** Warning in CheckForFishingPool: Could not find a fishing pool, switching areas...**
[19:04:29] Found Fishing Spot symbol on the minimap.
** Warning in IsFishing: Player is not fishing, finding another pool...**
[19:04:49] Found no fish pool... Switching Pools...
[19:04:57] Found Fishing Spot symbol on the minimap.
[19:04:58] Length of BubblesTPA = 0
** Warning in CheckForFishingPool: Could not find a fishing pool, switching areas...**
[19:05:04] Found Fishing Spot symbol on the minimap.
** Warning in IsFishing: Player is not fishing, finding another pool...**
[19:05:25] Found no fish pool... Switching Pools...
[19:05:26] Found Fishing Spot symbol on the minimap.
[19:05:27] Length of BubblesTPA = 0
[19:05:27] Found no fish pool... Switching Pools...
[19:05:30] Found Fishing Spot symbol on the minimap.
[19:05:31] Length of BubblesTPA = 0
** Warning in CheckForFishingPool: Could not find a fishing pool, switching areas...**
[19:05:34] Found Fishing Spot symbol on the minimap.
** Warning in IsFishing: Player is not fishing, finding another pool...**
[19:06:02] Length of BubblesTPA = 59
[19:06:02] Length of BubblesATPA = 4
[19:06:03] Found the fishing pool.
[19:06:03] Player found and click the fishing pool
[19:06:22] DDTM Walk Successful for PathNumb(2)
[19:06:22] Found Banking Area using DTM for the dots.
[===================================================================================================================]
[ Nick | Active | Worked | Banked | Total Fish | Total EXP from Fishing | Shrimp | Anchovies | Sardines | Herring ]
[===================================================================================================================]
[ ush | True | 01:24:28 | 24 | 702 | 16200 | 396 | 306 | 0 | 0 ]
[===================================================================================================================]
NextPlayer
SwitchToPlayer(PlayerNo: 0, Active: False);
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | [url]www.villavu.com[/url] |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Status: [=======================================================]
Status: [ Alkharid Fisher [Cooker In Progress] 0.02 ]
Status: [ by Heavenguard ]
Status: [=======================================================]
Status: [ Time Running : 1 Hours, 25 Minutes And 1 Seconds ]
Status: [ Total Players : 1 ]
Status: [ Players Active : 0 ]
Status: [ Current Player : 0 ]
Status: [ Total Fish Caught : 702 ]
Status: [ Total Fishing EXP : 16200 ]
Status: [ Banked : 24 ]
Status: [ Shrimps Caught : 396 ]
Status: [ Anchovies Caught : 306 ]
Status: [ Sardines Caught : 0 ]
Status: [ Herrings Caught : 0 ]
Status: [=======================================================]
Status: [ Alkharid Fisher [Cooker In Progress] 0.02 ]
Status: [=======================================================]
ALL PLAYERS INACTIVE, FISH LOOP FINISHED
Successfully executed.
-He had to do 50 loads.
It switched players because of this line only. NextPlayer is only called on this line in the script and is used to force a switch player if CurrentPlayer is logged out due to an error.
if not LoggedIn then NextPlayer(False);
Yush stated that he watched this script pretty much the whole time, and when it errored he was about to bank, and he did not error and logout. But the script just said NextPlayer and stopped due to no other players being in the array. LoggedIn returned a False even though he was logged in..