Bot Questions - Freq change (S2C 0x0D) v. ship & freq change (S2C 0x1D) dugwyler - Fri Feb 22, 2008 12:08 pm Post subject: Freq change (S2C 0x0D) v. ship & freq change (S2C 0x1D)
It seems obvious at first, but does anyone know when S2C 0x0D is transmitted versus S2C 0x1D?
You'd think it's pretty obvious -- freq change would only be fired if a person changes just their freq without changing their ship, such as =#. In all other cases, you would think that ship+freq change would be fired.
However, I've heard this is not necessarily the case. I'm trying to catch players who jump frequencies with =#, but for some reason it appears that the ship+freq change is sometimes fired in this case, and it's causing all kinds of odd functionality.
Anyone know the exact conditions when each is sent?
Samapico - Fri Feb 22, 2008 1:57 pm Post subject:
Some settings have certain ships on certain freqs
Misc:FrequencyShipTypes:0:1:Whether ship type is based on frequency player is on or not (0=no 1=yes)
This setting might have an impact on the packets used
Also, maybe check... if the freqs are restricted in size, or illegal freqs...
For example, if I type =2, if MaxFreqs is 2, it will bring me to freq 0.
Just some ideas Mine GO BOOM - Fri Feb 22, 2008 3:33 pm Post subject:
Freq only changes occur if the user changes frequency without getting their ship reset. Example: just entered the arena and changes freqs, they'll still keep their ship and their energy will drop to 0. Or if they change in a safety zone.
If they change frequency and their ship gets reset, then it will send the other packet.