Thread: Closing the input text/integer dialogue

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Closing the input text/integer dialogue 
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    732
    Thanks given
    219
    Thanks received
    203
    Rep Power
    286
    Code:
    	public void closeInputScript() {
    		sendRunScript(1548, 0);
    	}
    Same script for every revision.

    add to stopAll in Player if on Matrix, closes this interface when you walk away and shit:



    Quote Originally Posted by Taengo View Post
    Script 101 with no params calls 1548 to close it, just my 2 cents.
    Code:
    player.getPacketManager().sendCS2Script(101);
    ^This as well

    Code:
    void script_101() {
    	script_1548(0);
    	return;
    }
    Reply With Quote  
     


  2. #2  
    Registered Member
    bracket's Avatar
    Join Date
    Aug 2009
    Posts
    5,278
    Thanks given
    1,059
    Thanks received
    1,465
    Rep Power
    5000
    Thanks, will use!
    Reply With Quote  
     

  3. #3  
    Registered Member
    Stimulant's Avatar
    Join Date
    Jan 2013
    Age
    27
    Posts
    1,457
    Thanks given
    248
    Thanks received
    187
    Rep Power
    578
    Thanks man, will use.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,819
    Thanks received
    1,767
    Rep Power
    2438
    ty useful
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    May 2015
    Posts
    158
    Thanks given
    52
    Thanks received
    5
    Rep Power
    11
    Very nice little snippet. Thank you for sharing!
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Feb 2013
    Age
    28
    Posts
    664
    Thanks given
    46
    Thanks received
    196
    Rep Power
    127
    Script 101 with no params calls 1548 to close it, just my 2 cents.
    Code:
    player.getPacketManager().sendCS2Script(101);
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Dec 2012
    Posts
    2,999
    Thanks given
    894
    Thanks received
    921
    Rep Power
    2555
    What's the param actually used for?
    Attached image
    Reply With Quote  
     

  8. #8  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    732
    Thanks given
    219
    Thanks received
    203
    Rep Power
    286
    Quote Originally Posted by Kaleem View Post
    What's the param actually used for?
    Not 100% sure.

    Code:
    void script_1548(int arg0) {
    	if (((boolean)arg0) || (arg0 == globalint_5)) {
    		setWidgetIsHidden(true, new WidgetPointer(752,3));
    		setWidgetIsHidden(true, new WidgetPointer(752,7));
    		setWidgetIsHidden(false, new WidgetPointer(752,8));
    		script_2026();
    		globalint_5 = 0;
    	}
    	if (getDisplayMode() >= 2) {
    		script_1364();
    	}
    	return;
    }
    Code:
    void script_2026() {
    	setWidgetFont(496, new WidgetPointer(752,4));
    	setWidgetFont(496, new WidgetPointer(752,5));
    	setWidgetSize(20, 40, 1, 0, new WidgetPointer(752,4));
    	setWidgetSize(20, 20, 1, 0, new WidgetPointer(752,5));
    	setWidgetPosition(0, 20, 1, 0, new WidgetPointer(752,4));
    	setWidgetPosition(0, 60, 1, 0, new WidgetPointer(752,5));
    	setScriptCallOnMouseOver(-1, "", new WidgetPointer(752,5));
    	setScriptCallOnMouseExit(-1, "", new WidgetPointer(752,5));
    	setScriptCallOnAnyWidgetOpenAndClose(-1, "", new WidgetPointer(752,5));
    	setWidgetRGB(new Color(0, 0, 128), new WidgetPointer(752,5));
    	deleteAllExtraChilds(new WidgetPointer(752,3));
    	return;
    }
    Quote Originally Posted by Taengo View Post
    Script 101 with no params calls 1548 to close it, just my 2 cents.
    Code:
    player.getPacketManager().sendCS2Script(101);
    Added to main post, thank you, probably should have searched if any scripts used 1548 before I posted
    Reply With Quote  
     

  9. #9  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Posts
    3,046
    Thanks given
    111
    Thanks received
    1,848
    Rep Power
    5000
    Nice find
    Attached image
    Attached image
    Reply With Quote  
     

  10. #10  
    Christ is King

    Makar's Avatar
    Join Date
    Jul 2011
    Age
    29
    Posts
    2,004
    Thanks given
    545
    Thanks received
    965
    Rep Power
    427
    Quote Originally Posted by _jordan View Post
    Nice find
    If you want a treasure trove of small QOL stuff like this, go download the axios 718 release that's buried somewhere. It has this and a few other things in it as well.
    Attached image
    The best open-source pre-eoc remake project that isn't in its early stages for once
    Darkan Client (727 Client Refactor)
    Darkan World Server
    “It would not be impossible to prove with sufficient repetition and a psychological understanding of the people concerned that a square is in fact a circle. They are mere words, and words can be molded until they clothe ideas and disguise.”
    Reply With Quote  
     

Page 1 of 2 12 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. Moving the text in dialogues?
    By CurrentTheory in forum Help
    Replies: 1
    Last Post: 04-24-2010, 05:10 PM
  2. 508: Custom Text String on Logout Sidebar
    By Noosy in forum Configuration
    Replies: 8
    Last Post: 04-14-2009, 06:07 PM
  3. Replies: 2
    Last Post: 03-20-2009, 03:58 AM
  4. Dueling Text Strings
    By str8 swervin in forum Configuration
    Replies: 3
    Last Post: 11-24-2008, 11:09 PM
  5. the power of String GetItemName
    By Shamon King in forum Tutorials
    Replies: 10
    Last Post: 06-20-2008, 12:25 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •