Thread: [Ascend] Prayer Glows randomly turn on?

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37
  1. #1 [Ascend] Prayer Glows randomly turn on? 
    Registered Member
    Join Date
    Aug 2017
    Posts
    77
    Thanks given
    35
    Thanks received
    61
    Rep Power
    17
    While playing/testing on the Ascend base I've noticed that prayer glows will randomly activate. It is just the glows and the actual prayer does not turn on & drain points. This is caused by opening the bank in any manner (Object click, bank command etc) Sharp Eye glow activates about 75% of the time. However other times it causes mystic lore to activate and most recently I noticed Preserve Glow was active. I have checked the prayer activation code & code for things such as opening the bank but did not actually see anything fishy or out of place. Could anyone point me in the direction of the problem?

    Found a thread suggesting to remove this from the OpenUpBank code to stop the bank from activating the prayer glow, but it had no effect when removed.
    Code:
    if (c.takeAsNote)
                sendFrame36(116, 1);
            else
                sendFrame36(116, 0);
    From Playerassitant.java

    Code:
    	public void openUpBank() {
    		if (c.getTutorial().isActive()) {
    			c.getTutorial().refresh();
    			return;
    		}
    		c.getPA().sendChangeSprite(58014, c.placeHolders ? (byte) 1 : (byte) 0);
    		if (c.viewingLootBag || c.addingItemsToLootBag || c.viewingRunePouch) {
    			c.sendMessage("You should stop what you are doing before opening the bank.");
    			return;
    		}
    		resetVariables();
    		if (c.getBankPin().isLocked() && c.getBankPin().getPin().trim().length() > 0) {
    			c.getBankPin().open(2);
    			c.isBanking = false;
    			c.inSafeBox = false;
    			return;
    		}
    		if (c.takeAsNote)
    			sendFrame36(116, 1);
    		else
    			sendFrame36(116, 0);
    
    		if (c.inWild() && !(c.getRights().isOrInherits(Right.ADMINISTRATOR))) {
    			c.sendMessage("You can't bank in the wilderness!");
    			return;
    		}
    		if (!c.getMode().isBankingPermitted()) {
    			c.sendMessage("Your game mode prohibits use of the banking system.");
    			return;
    		}
    		if (Server.getMultiplayerSessionListener().inSession(c, MultiplayerSessionType.TRADE)) {
    			Server.getMultiplayerSessionListener().finish(c, MultiplayerSessionFinalizeType.WITHDRAW_ITEMS);
    			return;
    		}
    		DuelSession duelSession = (DuelSession) Server.getMultiplayerSessionListener().getMultiplayerSession(c,
    				MultiplayerSessionType.DUEL);
    		if (Objects.nonNull(duelSession) && duelSession.getStage().getStage() > MultiplayerSessionStage.REQUEST) {
    			if (duelSession.getStage().getStage() < MultiplayerSessionStage.FURTHER_INTERATION) {
    				duelSession.finish(MultiplayerSessionFinalizeType.WITHDRAW_ITEMS);
    			} else {
    				c.sendMessage("You cannot bank whilst dueling.");
    				return;
    			}
    		}
    		if (c.getBank().getBankSearch().isSearching()) {
    			c.getBank().getBankSearch().reset();
    		}
    		c.getPA().sendFrame126("Search", 58063);
    		if (c.getOutStream() != null && c != null) {
    			c.isBanking = true;
    			c.getItems().resetItems(5064);
    			c.getItems().resetBank();
    			c.getItems().resetTempItems();
    			c.getOutStream().createFrame(248);
    			c.getOutStream().writeWordA(5292);// ok perfect
    			c.getOutStream().writeWord(5063);
    			c.flushOutStream();
    		}
    	}
    Edit: This also happens when opening the bank VIA ::bank

    gif provided by Kelluke (I didn't think about it for some reason :facepalm
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    976
    Thanks given
    47
    Thanks received
    160
    Rep Power
    366
    Do you know which config is attached to the prayer? In my server it is 601.
    Is there 'per chance' more than 1 player online at those moments?
    My informative threads:
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. Thankful user:


  5. #3  
    Registered Member
    Join Date
    Aug 2017
    Posts
    77
    Thanks given
    35
    Thanks received
    61
    Rep Power
    17
    Quote Originally Posted by TheChosenOne View Post
    Do you know which config is attached to the prayer? In my server it is 601.
    Is there 'per chance' more than 1 player online at those moments?
    I'm not exactly sure which config is attached to prayer at this time. The issue happens regardless of player count though.
    Reply With Quote  
     

  6. Thankful user:


  7. #4  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    976
    Thanks given
    47
    Thanks received
    160
    Rep Power
    366
    Is config 601 being sent somewhere? It might be the same one. But I can't guarrantee it is.
    My informative threads:
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. Thankful user:


  9. #5  
    Registered Member
    Join Date
    Aug 2017
    Posts
    77
    Thanks given
    35
    Thanks received
    61
    Rep Power
    17
    Quote Originally Posted by TheChosenOne View Post
    Is config 601 being sent somewhere? It might be the same one. But I can't guarrantee it is.
    I can't seem to find any place with it being sent.
    Reply With Quote  
     

  10. Thankful user:


  11. #6  
    Registered Member
    Join Date
    Apr 2019
    Posts
    2
    Thanks given
    0
    Thanks received
    3
    Rep Power
    0
    he means sharp eye is turned on constantly when logging in, you just simple reset peoples prayer upon login.
    Reply With Quote  
     

  12. Thankful user:


  13. #7  
    Registered Member
    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,705
    Thanks given
    170
    Thanks received
    285
    Discord
    Arch337#1337
    Rep Power
    606
    If it is by you opening the interface, it is something in your client code.
    If it is doing it when you press a button or do something inside the bank, it can be either client sided or server sided.
    The server sided is depend on what action you did is which packet it is inside and being nasty to you.
    So keep trying to reproduce it and find out exactly how it occur, then we should be able to help further.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  14. Thankful users:


  15. #8  
    Registered Member Kelluke's Avatar
    Join Date
    Apr 2016
    Posts
    158
    Thanks given
    29
    Thanks received
    17
    Rep Power
    38
    Quote Originally Posted by arch337 View Post
    If it is by you opening the interface, it is something in your client code.
    If it is doing it when you press a button or do something inside the bank, it can be either client sided or server sided.
    The server sided is depend on what action you did is which packet it is inside and being nasty to you.
    So keep trying to reproduce it and find out exactly how it occur, then we should be able to help further.

    He means this one

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  16. Thankful users:


  17. #9  
    Registered Member Kharyrll.'s Avatar
    Join Date
    Feb 2018
    Posts
    227
    Thanks given
    1
    Thanks received
    20
    Rep Power
    42
    Been fooling with this problem for a bit myself, looked everywhere. Hopefully someone can find it and let us know because it drives me insane.
    Reply With Quote  
     

  18. Thankful users:


  19. #10  
    Registered Member
    Join Date
    Aug 2017
    Posts
    77
    Thanks given
    35
    Thanks received
    61
    Rep Power
    17
    Quote Originally Posted by Kelluke View Post
    He means this one

    [Only registered and activated users can see links. ]
    Yeah I shoulda posted a .gif originally for a better understanding :facepalm: thanks for doing that. The Prayer activates before the interface opens which leads me to believe its not actually related to the interface but something else.

    Also @vigourous it isn't on when you log in & I already tried setting it to reset prayers etc upon logon when I first ran into the issue & didn't know why or what was the cause at all. Additionally it doesn't activate the prayer just the prayer glow.
    Reply With Quote  
     

  20. Thankful user:


Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Prayer turning on.
    By Kharyrll. in forum Help
    Replies: 6
    Last Post: 02-05-2019, 10:04 AM
  2. Replies: 0
    Last Post: 08-02-2012, 07:31 PM
  3. Prayer glowing / Magic sprites on
    By Alienation in forum Help
    Replies: 0
    Last Post: 12-08-2011, 03:32 AM
  4. Replies: 0
    Last Post: 08-23-2010, 12:11 AM
  5. Prayer Buttons - With HeadIcons - Turning on + off.
    By Encouragin in forum Tutorials
    Replies: 8
    Last Post: 11-22-2008, 06:07 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •