Thread: Hyperion to wL renaming [Stream > packet]

Results 1 to 8 of 8
  1. #1 Hyperion to wL renaming [Stream > packet] 
    🍥🍥🍥


    Join Date
    Dec 2008
    Posts
    1,702
    Thanks given
    664
    Thanks received
    293
    Rep Power
    621
    This is all Silabsofts
    Credits to Discardedx2 too

    ----------------
    Write method naming Cheatsheet (winterlove naming - hyperion naming):
    writeByteA - putByteA(byte val)
    writeByteS - putByteS(byte val)
    writeByteC - putByteC(byte val)
    writeWordBigEndianA - putLEShortA(int val)
    writeWordA - putShortA(int val)
    writeWordBigEndian_dup - putLEShort(int val)
    writeDWord_v1 - putInt1(int val)
    writeDWord_v2 - putInt2(int val)
    writeBytes_reverse - putReverse(byte[] is, int offset, int length)
    writeBytes_reverseA - putReverseA(byte[] is, int offset, int length)
    writeByte - put(byte b)
    writeWord - putShort(int val)
    writeWordBigEndian - putLEShort(int val)
    write3Byte - putTriByte(int i)
    writeDWord - putInt(int i)
    writeDWordBigEndian - putLEInt(int val)
    writeQWord - putLong(long l)
    writeString -putRS2String(String string)
    writeBytes - put(byte[] b)
    writeBits - putBits

    Read method naming Cheatsheet (winterlove naming - hyperion naming):
    readSignedByteA() - getByteA()
    readSignedByteC() - getByteC()
    readSignedByteS() - getByteS()
    readSignedWordA() - getShortA()
    readDWord_v1() - getInt1()
    readDWord_v2() - getInt2()
    readBytes_reverse - getReverse
    readBytes_reverseA - getReverseA
    readUnsignedByte() - getUnsignedByte()
    readSignedByte() - getByte()
    readUnsignedWord() - getUnsignedShort()
    readSignedWord() - getShort()
    readDWord() - getInt()
    readQWord() - getLong()
    readString() - getRS2String()
    readBytes - get(byte[] is, int offset, int length)
    readUnsignedByteA() - byte 128
    readUnsignedByteC() - reverse byte
    readUnsignedByteS() - 128 byte
    readSignedWordBigEndian() - le short
    readSignedWordBigEndianA() - le short 128
    readUnsignedWordBigEndian() - le short
    readUnsignedWordA() - short 128
    readUnsignedWordBigEndianA() - le short 128
    readQWord2() - int v2
    Last edited by Streetwave; 05-18-2011 at 10:26 PM.
    Attached image
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Chemist

    Advocatus's Avatar
    Join Date
    Dec 2009
    Posts
    2,622
    Thanks given
    201
    Thanks received
    813
    Rep Power
    1462
    Nice I guess. Would be handy for anyone wanting to rip large amounts of code from winterlove, they could just rename the stream values in the winterlove server.
    Quote Originally Posted by blakeman8192 View Post
    Quitting is the only true failure.
    Reply With Quote  
     

  4. #3  
    Banned

    Join Date
    Mar 2008
    Posts
    2,595
    Thanks given
    128
    Thanks received
    191
    Rep Power
    0
    writeWordBigEndianA - putLEShortA(int val)

    err.
    Reply With Quote  
     

  5. #4  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,147
    Thanks given
    2,656
    Thanks received
    3,731
    Rep Power
    5000
    Quote Originally Posted by filth View Post
    err.
    In winterlove the big endian/little endian naming is the wrong way round.
    .
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Banned

    Join Date
    Mar 2008
    Posts
    2,595
    Thanks given
    128
    Thanks received
    191
    Rep Power
    0
    Quote Originally Posted by Graham View Post
    In winterlove the big endian/little endian naming is the wrong way round.
    yeah i figured either he renamed it wrong, hyperion named it wrong, or winterlove had it wrong (most likely first or last)
    Reply With Quote  
     

  8. #6  
    Registered Member
    Its paris's Avatar
    Join Date
    Apr 2009
    Posts
    1,141
    Thanks given
    56
    Thanks received
    234
    Rep Power
    689
    You can see for yourself:
    Given: 16 bits: 0000 0000 1001 1000 or in nibbles ABCD or in bytes XY
    Little endian way: 1001 1000 0000 0000 or in nibbles CDAB or in bytes YX
    Big endian way: 0000 0000 1001 1000 or in nibbles ABCD or in bytes XY
    Reply With Quote  
     

  9. #7  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    this is very useful


    Spoiler for different picture now:
    Reply With Quote  
     

  10. #8  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
    >Steam

    Thanks for this.
    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. [Hyperion] Packet 35: Shake
    By Zuyi in forum Snippets
    Replies: 4
    Last Post: 09-04-2010, 08:48 PM
  2. [Hyperion]Design Packet
    By Lord Military in forum Requests
    Replies: 2
    Last Post: 05-14-2010, 04:50 PM
  3. Hyperion Renaming Teleports
    By Medusa in forum Help
    Replies: 9
    Last Post: 04-12-2010, 02:57 PM
  4. [Hyperion] Packet not working, Help.
    By Bloody in forum Help
    Replies: 2
    Last Post: 01-30-2010, 12:13 AM
  5. 554 packet/steam class
    By Simon in forum Help
    Replies: 5
    Last Post: 08-23-2009, 08:23 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
  •