Skip to content

Commit 70edc2a

Browse files
[Horizon] - Removes some Home optional poking options that were not working/broke the SHA1 check.
1 parent ca6cd9c commit 70edc2a

File tree

2 files changed

+0
-70
lines changed

2 files changed

+0
-70
lines changed

Servers/Horizon/SERVER/Medius/MAS.cs

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
281281
case "01.82.09":
282282
switch (clientCheatQuery.StartAddress)
283283
{
284-
case 0x00530770:
285-
// 0x7f0 rights on every commands.
286-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0xc0, 0x2b, 0x78 }))
287-
PokeAddress(0x00530770, new byte[] { 0x60, 0xc0, 0x07, 0xf0 }, clientChannel);
288-
break;
289284
case 0x00531370:
290285
// 4096 character command line limit.
291286
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x2f, 0x83, 0x00, 0xfe }))
@@ -316,11 +311,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
316311
case "01.83.12":
317312
switch (clientCheatQuery.StartAddress)
318313
{
319-
case 0x0054ac80:
320-
// 0x7f0 rights on every commands.
321-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0xc6, 0x2b, 0x78 }))
322-
PokeAddress(0x0054ac80, new byte[] { 0x60, 0xc6, 0x07, 0xf0 }, clientChannel);
323-
break;
324314
case 0x00548bc0:
325315
// 4096 character command line limit.
326316
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x2f, 0x83, 0x00, 0xfe }))
@@ -344,11 +334,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
344334
case "01.86.09":
345335
switch (clientCheatQuery.StartAddress)
346336
{
347-
case 0x00557d8c:
348-
// 0x7f0 rights on every commands.
349-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0xc6, 0x2b, 0x78 }))
350-
PokeAddress(0x00557d8c, new byte[] { 0x60, 0xc6, 0x07, 0xf0 }, clientChannel);
351-
break;
352337
case 0x00555cb4:
353338
// 4096 character command line limit.
354339
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x2f, 0x83, 0x00, 0xfe }))
@@ -393,16 +378,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
393378
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0x65, 0x1b, 0x78 }))
394379
PokeAddress(0x002aa960, new byte[] { 0x48, 0x40, 0xe2, 0x2c }, clientChannel);
395380
break;
396-
case 0x000861e8:
397-
// 0x7f0 rights on every commands.
398-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0xc6, 0x2b, 0x78 }))
399-
PokeAddress(0x000861e8, new byte[] { 0x60, 0xc6, 0x07, 0xf0 }, clientChannel);
400-
break;
401-
case 0x00087080:
402-
// 4096 character command line limit.
403-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x2f, 0x83, 0x00, 0xfe }))
404-
PokeAddress(0x00087080, new byte[] { 0x2f, 0x83, 0x0f, 0xff }, clientChannel);
405-
break;
406381
case 0x105c24c8:
407382
// Sets WorldCorePointer.
408383
if (clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4)
@@ -2867,8 +2842,6 @@ private async Task Login(MessageId messageId, IChannel clientChannel, ChannelDat
28672842
case "01.82.09":
28682843
if (MediusClass.Settings.PokePatchOn)
28692844
{
2870-
CheatQuery(0x00530770, 4, clientChannel);
2871-
28722845
CheatQuery(0x00531370, 4, clientChannel);
28732846

28742847
CheatQuery(0x0016b4d0, 4, clientChannel);
@@ -2886,8 +2859,6 @@ private async Task Login(MessageId messageId, IChannel clientChannel, ChannelDat
28862859
case "01.83.12":
28872860
if (MediusClass.Settings.PokePatchOn)
28882861
{
2889-
CheatQuery(0x0054ac80, 4, clientChannel);
2890-
28912862
CheatQuery(0x00548bc0, 4, clientChannel);
28922863

28932864
CheatQuery(0x001709e0, 4, clientChannel);
@@ -2898,8 +2869,6 @@ private async Task Login(MessageId messageId, IChannel clientChannel, ChannelDat
28982869
case "01.86.09":
28992870
if (MediusClass.Settings.PokePatchOn)
29002871
{
2901-
CheatQuery(0x00557d8c, 4, clientChannel);
2902-
29032872
CheatQuery(0x00555cb4, 4, clientChannel);
29042873

29052874
CheatQuery(0x0016dac0, 4, clientChannel);
@@ -2919,10 +2888,6 @@ private async Task Login(MessageId messageId, IChannel clientChannel, ChannelDat
29192888
{
29202889
CheatQuery(0x006f59b8, 4, clientChannel);
29212890
CheatQuery(0x002aa960, 4, clientChannel);
2922-
2923-
CheatQuery(0x000861e8, 4, clientChannel);
2924-
2925-
CheatQuery(0x00087080, 4, clientChannel);
29262891
}
29272892

29282893
CheatQuery(0x105c24c8, 4, clientChannel);

Servers/Horizon/SERVER/Medius/MLS.cs

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
270270
case "01.82.09":
271271
switch (clientCheatQuery.StartAddress)
272272
{
273-
case 0x00530770:
274-
// 0x7f0 rights on every commands.
275-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0xc0, 0x2b, 0x78 }))
276-
PokeAddress(0x00530770, new byte[] { 0x60, 0xc0, 0x07, 0xf0 }, clientChannel);
277-
break;
278273
case 0x00531370:
279274
// 4096 character command line limit.
280275
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x2f, 0x83, 0x00, 0xfe }))
@@ -305,11 +300,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
305300
case "01.83.12":
306301
switch (clientCheatQuery.StartAddress)
307302
{
308-
case 0x0054ac80:
309-
// 0x7f0 rights on every commands.
310-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0xc6, 0x2b, 0x78 }))
311-
PokeAddress(0x0054ac80, new byte[] { 0x60, 0xc6, 0x07, 0xf0 }, clientChannel);
312-
break;
313303
case 0x00548bc0:
314304
// 4096 character command line limit.
315305
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x2f, 0x83, 0x00, 0xfe }))
@@ -333,11 +323,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
333323
case "01.86.09":
334324
switch (clientCheatQuery.StartAddress)
335325
{
336-
case 0x00557d8c:
337-
// 0x7f0 rights on every commands.
338-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0xc6, 0x2b, 0x78 }))
339-
PokeAddress(0x00557d8c, new byte[] { 0x60, 0xc6, 0x07, 0xf0 }, clientChannel);
340-
break;
341326
case 0x00555cb4:
342327
// 4096 character command line limit.
343328
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x2f, 0x83, 0x00, 0xfe }))
@@ -382,16 +367,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
382367
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0x65, 0x1b, 0x78 }))
383368
PokeAddress(0x002aa960, new byte[] { 0x48, 0x40, 0xe2, 0x2c }, clientChannel);
384369
break;
385-
case 0x000861e8:
386-
// 0x7f0 rights on every commands.
387-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x7c, 0xc6, 0x2b, 0x78 }))
388-
PokeAddress(0x000861e8, new byte[] { 0x60, 0xc6, 0x07, 0xf0 }, clientChannel);
389-
break;
390-
case 0x00087080:
391-
// 4096 character command line limit.
392-
if (MediusClass.Settings.PokePatchOn && clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4 && QueryData.EqualsTo(new byte[] { 0x2f, 0x83, 0x00, 0xfe }))
393-
PokeAddress(0x00087080, new byte[] { 0x2f, 0x83, 0x0f, 0xff }, clientChannel);
394-
break;
395370
case 0x105c24c8:
396371
// Sets WorldCorePointer.
397372
if (clientCheatQuery.QueryType == CheatQueryType.DME_SERVER_CHEAT_QUERY_RAW_MEMORY && QueryData.Length == 4)
@@ -490,8 +465,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
490465

491466
if (MediusClass.Settings.PokePatchOn)
492467
{
493-
CheatQuery(0x00530770, 4, clientChannel);
494-
495468
CheatQuery(0x00531370, 4, clientChannel);
496469

497470
CheatQuery(0x0016b4d0, 4, clientChannel);
@@ -511,8 +484,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
511484

512485
if (MediusClass.Settings.PokePatchOn)
513486
{
514-
CheatQuery(0x0054ac80, 4, clientChannel);
515-
516487
CheatQuery(0x00548bc0, 4, clientChannel);
517488

518489
CheatQuery(0x001709e0, 4, clientChannel);
@@ -525,8 +496,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
525496

526497
if (MediusClass.Settings.PokePatchOn)
527498
{
528-
CheatQuery(0x00557d8c, 4, clientChannel);
529-
530499
CheatQuery(0x00555cb4, 4, clientChannel);
531500

532501
CheatQuery(0x0016dac0, 4, clientChannel);
@@ -548,10 +517,6 @@ protected override async Task ProcessMessage(BaseScertMessage message, IChannel
548517
{
549518
CheatQuery(0x006f59b8, 4, clientChannel);
550519
CheatQuery(0x002aa960, 4, clientChannel);
551-
552-
CheatQuery(0x000861e8, 4, clientChannel);
553-
554-
CheatQuery(0x00087080, 4, clientChannel);
555520
}
556521

557522
CheatQuery(0x105c24c8, 4, clientChannel);

0 commit comments

Comments
 (0)