Advance Packet data
SneakyCodes Gaming Forum
Welcome to SneakyCodes. Contrary to what some may want you to think, SneakyWorld.forumotion is IN NO WAY affiliated with SneakyCodez. Anyone who tries to tell you different, is a lying piece of shit.

SneakyCodes is in the process of an entire site reboot, with no sections, topics, forums, and users. Feel free to sign up, and check back regularly for updates.

Thank you,
SwoRNLeaDejZ


SneakyCodes Gaming Forum

The Evolution Begins...
 
HomePortalRegisterLog inSneakyCodes RSS Feed
Everyone go to SneakyWorld! Link on the home page!
Sneaky Generators

Sneaky Image Editor
The Walking Dead Game

All Generators By SwoRNLeaDejZ


FTB3 Room Generator
FTB3 Name Generator
FTB2 Tag Generator
FTB2 Name Generator
FTB2 Room Generator


Donate to SneakyCodes Today!
Affiliates
Please Join and Visit the SneakyCodes Affiliates




We Love A-G!!!!

Join TheUnseenCoders.com Today!!


Free Forumotion Designs


kHaoZ is a frickin beast :)

Tech Support Guy
Latest topics
» Deepest regards to the Sneaky Community
Tue Oct 28, 2014 5:42 am by _-_EVIL-LOCO_-_

» damn sneaky, RiP. It was fun
Sat Oct 11, 2014 1:25 am by Sylen7Nato

» Just Another Blonde Joke xD FUNNY AS FAWK
Mon Mar 03, 2014 5:37 pm by Rossy Redness

» Hey it's Skinny107
Tue Dec 03, 2013 8:24 pm by o5Gz

» ps3 hacking!
Mon Jun 10, 2013 9:42 pm by Sylen7Nato

» PSP ISO List
Mon Jun 10, 2013 9:28 pm by Sylen7Nato

» tiger render
Fri May 10, 2013 3:11 pm by mk7

» SWORN.
Sun Dec 09, 2012 6:25 am by EverEffects

» homefront redeem code
Fri Nov 30, 2012 1:32 am by EverEffects

» Calling Sworn
Tue Nov 20, 2012 4:34 pm by EverEffects

» Thought Id Stop By And Say Hi
Thu Nov 15, 2012 3:40 am by HappySnacks69

» An Introduction
Tue Nov 13, 2012 2:33 am by Ace700

Views
Powered by web analytics software.
Statistics
We have 4719 registered users
The newest registered user is CraftPR

Our users have posted a total of 13085 messages in 2891 subjects
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 59 on Sat Dec 03, 2011 5:04 pm
Facebook Stream
Top posters
SwoRNLeaDejZ
 
blckhwksfan
 
-Ch33zy-
 
EverEffects
 
l7annylvlex
 
+Elegance
 
Whiteyy
 
JZydex
 
PumaSnIpejZ
 
kHaoZ
 






Share | 
 

 Advance Packet data

View previous topic View next topic Go down 
AuthorMessage
EverEffects
Administrator

Administrator
avatar

Posts : 805
1337ness : 25
Join date : 2010-10-31
Age : 24
Location : Oklahoma CIty

PostSubject: Advance Packet data   Wed Nov 10, 2010 4:29 am


Hello Guest, welcome to a Advance tutorial over psp Packet data.

I wrote this awhile back when i was learning about all this ****. Big help to Hokage and Poorkingz. This tutorial is written on Socom ftb2 1.6 patch.

Some packet info:
Code:

FNC 0x088EE67C:  A function used to send some (not all) kinds of packets
Params: a0, a1, a2, a3, t0, t1, t2
a0: A pointer; usually 0x08D044D8.  Other values might freeze you.
a1: A byte; usually 0x40. Other values will boot others.
a2: A word; usually 0xFFFFFFFF or an above zero number.  Might be related to priority.
a3: A byte.  This tells others what kind of packet you are sending (such as vote, taunt, or shoot).
t0: A half-word.  Size of packet data.  Incorrect values for size will boot others.  (Probably to prevent overflows.)
t1: A pointer.  Points to the data that will be sent to others.
t2: A boolean.  Not sure what this is for.

Correct params to send Spectator Ejected packet:

Code:

a0: 0x08D044D8
a1: 0x00000040
a2: 0xFFFFFFFF
a3: 0x00000008
t0: 0x00000004
t1: A pointer. Nothing seems to be read from it. Can point to anything.
t2: True. Any non-zero number.

FNC 0x0890223C: Receiving

Template:
Code:

#Spectator Ejected packet
0x07d00000 0x27bdfff0 ; addiu sp, sp, -0x10 //we only need 0x8 bytes but it's protocol to round up to nearest 0x10
0x07d00004 0xafb00000; sw s0, $0000(sp) //we save any s registers we use
0x07d00008 0xafbf0004; sw ra, $0004(sp) //we save ra when we use a jal in the function
0x07d0000c 0x3c0408d0; lui a0, $08d0
0x07d00010 0x248444d8; addiu a0, a0, $44d8 //a0 set for sending
0x07d00014 0x34050040; ori a1, zero, $0040 //a1 set for sending
0x07d00018 0x2406ffff; addiu a2, zero, $ffff //a2 set for sending
0x07d0001c 0x34070008; ori a3, zero, $0008 //a3 set for sending
0x07d00020 0x34080004; ori t0, zero, $0004 //t0 set for sending
0x07d00024 0x3c100880; lui s0, $0880
0x07d00028 0x26100000; addiu s0, s0, $0000 //pointer for sending and receiving functions (needs to be in a saved register because it's used after a jal)
0x07d0002c 0x02004821; addu t1, s0, zero //t1 set for sending
0x07d00030 0x0e23b99f; jal $088ee67c // Send packet function
0x07d00034 0x340a0001; ori t2, zero, $0001 //t2 set for sending (takes advantage of jump delay)
0x07d00038 0x0e24088f; jal $0890223c // Receive Spectator Ejected function (so we can see spectator ejected too)
0x07d0003c 0x02003821; addu a3, s0, zero //not needed for spectator, but needed for most other packets
0x07d00040 0x8fb00000; lw s0, $0000(sp)
0x07d00044 0x8fbf0004; lw ra, $0004(sp)
0x07d00048 0x03e00008; jr ra //end
0x07d0004c 0x27bd0010; addiu sp, sp, $0010 //pop stack
Hook goes here

I hope this helps anyone working with functions or stacks. Don't post this ANYWHERE else without my permission. I never did test the code, but it should work.

-Tutorial brought to you by MiLk coders-
-WarCrazy-
Back to top Go down
Architect
Site Poster
Site Poster


Posts : 139
1337ness : 12
Join date : 2010-10-15
Age : 23

PostSubject: Re: Advance Packet data   Wed Nov 10, 2010 5:28 am


i basically gave up on MIPS i found it useless, i learned some stuff but i gave up. idk if its worth continuing.i stopped on learning stack
Back to top Go down
EverEffects
Administrator

Administrator
avatar

Posts : 805
1337ness : 25
Join date : 2010-10-31
Age : 24
Location : Oklahoma CIty

PostSubject: Re: Advance Packet data   Wed Nov 10, 2010 1:46 pm


Its not worth it. It took me about 3 years to become '1337' and that was just a waist of breathe.
Back to top Go down
SwoRNLeaDejZ
Administrator

Administrator
avatar

Posts : 2120
1337ness : 140
Join date : 2010-09-17
Age : 31
Location : Massachusetts

PostSubject: Re: Advance Packet data   Wed Nov 10, 2010 3:08 pm


lol, but in reality WC is a genius when it comes to MIPS, this is acutally extremely helpful, rep+ for this one.

im about to try out the code, ill post the results.






Gifts:
+Elegance | #wT.Show-Stopper | Ch33zyFX





PWND

Vist Sneaky-Media for free Movies, Music, ISOs, and MUCH MORE!
Back to top Go down
http://sneakycodez.forumotion.com
DeToX
Newbie
Newbie
avatar

Posts : 26
1337ness : 1
Join date : 2011-08-06

PostSubject: Re: Advance Packet data   Tue Aug 09, 2011 9:18 pm


lol "Hello DeToX"
Back to top Go down
JZydex
Finest
Finest
avatar

Posts : 495
1337ness : 3
Join date : 2011-03-19
Age : 21
Location : salinas ca.

PostSubject: Re: Advance Packet data   Tue Aug 09, 2011 9:31 pm


Hello JZydex and nice rep +
Back to top Go down
Sponsored content




PostSubject: Re: Advance Packet data   


Back to top Go down
 

Advance Packet data

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
SneakyCodes Gaming Forum :: PSP Section :: PSP Tutorials-
Jump to:  





SneakyCodes.tk | Sneaky-Media.com


Free GeoHot NOW!
I support George Hotz and
the FREEDOM OF INFORMATION

Forumotion.com | © phpBB | Free forum support | Contact | Report an abuse | Free forum