Thread: {pi} Stream Int Input from player

Results 1 to 3 of 3
  1. #1 {pi} Stream Int Input from player 
    Registered Member
    Join Date
    Mar 2017
    Posts
    39
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    https://ibb.co/jExG1b

    Basically it goes selection of xp, then skill, then I want a player input of the amount of times to set the xp..I don't know how streams really work I looked a little into it but can't figure it out on here.

    int Xamount = c.getInStream().readDWord();


    the code Should be similar like this how would I make this work without getting and error, this is the bank x amount int input. Would Appreciate help thanks.
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    It works like this:
    Player get send to the packet, then the Xamount is what you arew putting into the input box when press enter.
    This is assuming everything is working correctly.


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

  3. #3  
    Registered Member
    Join Date
    Mar 2017
    Posts
    39
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by arch337 View Post
    It works like this:
    Player get send to the packet, then the Xamount is what you arew putting into the input box when press enter.
    This is assuming everything is working correctly.
    I get what your saying but with no knowledge on Streams and how all this is being worked How would I do this without getting errors??
    Reply With Quote  
     


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. remove item from player [PI]
    By jester2290 in forum Help
    Replies: 0
    Last Post: 07-23-2011, 08:34 PM
  2. [PI]getting npc id from an int
    By Arithium in forum Help
    Replies: 0
    Last Post: 04-02-2011, 04:39 AM
  3. PI Galkons arcane stream ints
    By Syndicate in forum Requests
    Replies: 1
    Last Post: 01-16-2011, 10:24 PM
  4. Replies: 7
    Last Post: 12-14-2010, 06:52 PM
  5. Replies: 4
    Last Post: 12-13-2010, 09:21 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
  •