T2-CPP/Patches/autoexec.cs
Calvin Balke d0936c3c07 Updated Scripts and added projectile collisions
Added a new projectile collision detection feature.  It requires
projectiles to be added to CollideGroup.  Also added a new
ClientCommandGroup that clients should be added to after they have
finished ghosting.  Currently setMPS effects everything in MoveGroup.
setMPS now uses X, Y, and Z as arguments instead of X only.
2015-01-30 13:36:27 -08:00

17 lines
702 B
C#

loadMod("TSExtension");
memPatch("A3A100","5052BA00000000B8200000005150526800000000E8C7D6B4FF5A585981C20100000039C27CE65A58E95F8CB8FF");
memPatch("A3A200","5052BA00000000B8200000005150526800000000E8C7D5B4FF5A585981C20100000039C27CE65A58E9FC8AB8FF");
memPatch("5C2D22","E9D97447009090");
memPatch("5C2D85","E9767347009090");
//memPatch("43D72E","7E");
memPatch("0058665C","9090909090909090");
memPatch("00586682","90909090909090909090");
memPatch("005866AB","90909090909090909090");
memPatch("58781A","EB0C");
function setNetworkRates(%client,%server,%size)
{
$pref::Net::PacketRateToClient=%server;
$pref::Net::PacketSize=%size;
$pref::Net::PacketRateToServer=%client;
}
setNetworkRates(2048,2048,600);