Search found 100 matches
- Wed Apr 29, 2020 1:19 pm
- Forum: Plugin Development Support
- Topic: *DELETED*
- Replies: 4
- Views: 5071
Re: [H] IClientEntity -> CBaseEntity (CBasePlayer)
IClientEntity inherits from IClientUnknown which inherits from IHandleEntity so assuming the client was built with RTTI the following should work: from entities import HandleEntity from entities.helpers import baseentity_from_basehandle from memory import make_object base_entity = baseentity_from_b...
- Tue Apr 28, 2020 10:15 pm
- Forum: Plugin Development Support
- Topic: *DELETED*
- Replies: 4
- Views: 5071
[H] IClientEntity -> CBaseEntity (CBasePlayer)
[syntax=py]from plugins.info import PluginInfo from cvars import ConVar from listeners import OnConVarChanged from cvars.flags import ConVarFlags from entities.hooks import EntityPreHook, EntityCondition from entities.helpers import baseentity_from_pointer from memory import find_binary, Convention,...
- Fri Apr 24, 2020 12:33 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 9
- Views: 12380
Re: [I] TF2 + CSGO source code
Regarding today's reported leak of code, specifically as it pertains to TF2: This also appears to be related to code depots released to partners in late 2017, and originally leaked in 2018. Interesting is this here: https://www.techspot.com/news/84948-team-fortress-2-players-may-vulnerable-rce-atta...
- Thu Apr 23, 2020 11:35 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Longjump Modul
- Replies: 20
- Views: 20281
Re: [HL2:DM] Longjump Modul
I'm just crazy about sitting at home. Sometimes I can carry nonsense. I apologize
- Wed Apr 22, 2020 6:43 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 9
- Views: 12380
Re: [I] TF2 + CSGO source code
The only thing I do not read. License... ( ͡° ͜ʖ ͡° )
- Wed Apr 22, 2020 6:10 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 9
- Views: 12380
Re: [I] TF2 + CSGO source code
Is it also on version 2013?
- Wed Apr 22, 2020 5:58 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 9
- Views: 12380
Re: [I] TF2 + CSGO source code
Is it stolen? Anyone can get the source code. [*_srv]
+ You can get it yourself if your application is approved by Valve
But I'm not against it... >:c
+ You can get it yourself if your application is approved by Valve
But I'm not against it... >:c
- Wed Apr 22, 2020 5:21 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 9
- Views: 12380
- Wed Apr 22, 2020 2:04 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Longjump Modul
- Replies: 20
- Views: 20281
Re: [HL2:DM] Longjump Modul
Ayuto wrote:Sam wrote:Is that honest? You suggest others write a plugin for you. Then you put it on the server on your behalf. Great idea xDDDDDD
This is exactly what this forum is made for - non-programmers can ask programmers to write a plugin for them. Everything is fine to request plugins here.
Oof...
- Tue Apr 21, 2020 10:31 am
- Forum: Plugin Requests
- Topic: [HL2:DM] Longjump Modul
- Replies: 20
- Views: 20281
Re: [HL2:DM] Longjump Modul
Is that honest? You suggest others write a plugin for you. Then you put it on the server on your behalf. Great idea xDDDDDD
- Fri Apr 17, 2020 4:34 am
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 6
- Views: 27545
Re: [Q] Global variable for all plugins, scripts, etc.
I didn’t know that it worked like that. I thought that if import a module into two plugins, then each will have its own `dict`.
Thanks you.
Thanks you.
- Thu Apr 16, 2020 7:36 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 6
- Views: 27545
Re: [Q] Global variable for all plugins, scripts, etc.
You do not understand me. I would like to implement `globals()` for everything. When executing the plugin, I cannot interact with `dict` from outside the plugin environment. # plugin1.py from threading import Thread from time import sleep def set(): sleep(5) _G['test_var1'] =...
- Thu Apr 16, 2020 5:27 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 6
- Views: 27545
[Q] Global variable for all plugins, scripts, etc.
Is it possible to create a universal variable that will be available from all plugins and modules? So that I can control the plugin variable from another plugin. For example: # global _G:dict # plugin1.py tmp = _G.copy() tmp['test'] = 0xDEED _G.update(tmp) # plugin2.py print&...
- Thu Apr 09, 2020 12:58 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 5
- Views: 16229
Re: [Q] SteamID mismatch
Maybe there is some unique player identifier? In tf2 and l4d2 SteamID64 do not match The steamid64 should be consistent, why do you think they aren't? And why not simply using pl.steamid, or pl.uniqueid for that matter? What exactly are you trying to do? A very long time ago I was going to make a p...
- Wed Apr 08, 2020 3:09 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 5
- Views: 16229
Re: [Q] SteamID mismatch
Maybe there is some unique player identifier? In tf2 and l4d2 SteamID64 do not match
- Wed Apr 08, 2020 1:07 pm
- Forum: Plugin Development Support
- Topic: Strip Color Codes (HEX) from TranslationStrings
- Replies: 4
- Views: 15164
Re: Strip Color Codes (HEX) from TranslationStrings
http://wiki.sourcepython.com/developing ... get_string
Try:
Try:
Syntax: Select all
def strip_colors(message):
return RE_STRIP_COLORS.sub('', message.get_string())
- Wed Apr 08, 2020 1:38 am
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 5
- Views: 16229
[Q] SteamID mismatch
Syntax: Select all
from players.entity import Player
pl = Player(1) # STEAM_0:0:176325977
pl.raw_steamid.to_steamid2() # STEAM_1:0:176325977
It is right?
- Tue Apr 07, 2020 6:01 pm
- Forum: Code examples / Cookbook
- Topic: *DELETED*
- Replies: 1
- Views: 30378
[DEV/(ASM)] Simple SourceSDK plugin on assembly language (Windows)
I have nothing to do in quarantine...
To compile you need MASM32.
[attachment=0]plugin.7z[/attachment]
To compile you need MASM32.
[attachment=0]plugin.7z[/attachment]
- Tue Mar 03, 2020 3:39 pm
- Forum: Plugin Development Support
- Topic: Hooking instruction by its signature via plugin
- Replies: 8
- Views: 20122
Re: Hooking instruction by its signature via plugin
Tetragromaton wrote:I need linux...
What prevents you from using module `ctypes`?
- Tue Mar 03, 2020 11:44 am
- Forum: Plugin Development Support
- Topic: Hooking instruction by its signature via plugin
- Replies: 8
- Views: 20122
Re: Hooking instruction by its signature via plugin
Do you want to modify instruction `cmp [ecx+0x0AB0], eax`. I'm not a Linux expert but I can say that you can use (for Windows): pywin32 + ctypes (WriteProcessMemory, ReadProcessMemory, and etc) import ctypesimport ctypes.wintypes as wintypesPROCESS_VM_READ = 0x0010BUF_SIZE = 64kernel32 = ctypes.win...