Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 5
1
2
3
>
Last
»
Showing results 1 to 25 of 125
Search took
0.01
seconds.
Search:
Posts Made By:
donrevan
Forum:
Snippets and Tutorials
03-04-2023, 18:28
Replies:
1
SDKCall for non standart conv function
Views:
2,560
Posted By
donrevan
Re: SDKCall for non standart conv function
Nice, it's really cool to do stuff like this just using SourcePawn.
I'm surprised memory allocated via g_pMemAlloc->Alloc() has RWX permissions.
Forum:
Plugin/Gameplay Ideas and Requests
07-28-2018, 14:07
Replies:
6
CPureFileTracker:DoesFileMatch
Views:
1,714
Posted By
donrevan
Re: CPureFileTracker:DoesFileMatch
Show us your attempts so we can help.
FileHash_t structure is probably the same as in 2013 Source SDK (https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/filesystem.h#L386)...
Forum:
Extensions
04-07-2018, 21:06
Replies:
25
[EXTENSION] NPCs in CS:S (extended)
Views:
20,356
Posted By
donrevan
Re: [EXTENSION] NPCs in CS:S (extended)
Yes and only about 90% of the actual gamedata is being used. A patch would be great!
Where do you have problems understanding it? Maybe I can help you.
It isn't a difficult task, it's...
Forum:
Extensions
03-20-2018, 08:52
Replies:
25
[EXTENSION] NPCs in CS:S (extended)
Views:
20,356
Posted By
donrevan
Re: [EXTENSION] NPCs in CS:S (extended)
That'd be great - I already added some more NPCs but it looks like you have even more! It should be possible to merge both versions because the gamedata in this version is updated and working fine.
...
Forum:
Extensions
03-19-2018, 11:33
Replies:
25
[EXTENSION] NPCs in CS:S (extended)
Views:
20,356
Posted By
donrevan
[EXTENSION] NPCs in CS:S (extended)
This is a updated (and extended) version of raydan's NPCs in CS:S (https://forums.alliedmods.net/showthread.php?t=161331) extension. This release was requested in the donor section.
It fixes...
Forum:
Coding MM:S Plugins & SM Extensions
02-03-2018, 07:27
Replies:
5
Share extension interface with server addon
Views:
2,194
Posted By
donrevan
Re: Share extension interface with server addon
yeah you should be able to do that but why do it the hard (and wrong) way when you can just build it as a MM:S plugin? :)
Forum:
Plugins
01-01-2017, 19:40
Replies:
46
[ANY] EasyDownloader (V1.03, 09/12/2017)
Views:
38,078
Posted By
donrevan
Re: [ANY] EasyDownloader (v1.00)
You should close the file handle via CloseHandle or File.Close
Forum:
Coding MM:S Plugins & SM Extensions
08-26-2016, 17:13
Replies:
6
CSoundEnvelopeController interface
Views:
1,866
Posted By
donrevan
Re: CSoundEnvelopeController interface
It doesn't really matter if GetSoundCtrler_t is updated or not, it finds a function in the code that is using it. From there you get the CALL offset and figure out where GetSoundCtrler_t is located.....
Forum:
Coding MM:S Plugins & SM Extensions
08-22-2016, 15:52
Replies:
6
CSoundEnvelopeController interface
Views:
1,866
Posted By
donrevan
Re: CSoundEnvelopeController interface
Ghetto way for windows:
I'm not 100% sure if gamedata is still up2date..
// sigscan references to a func that returns the SoundEnvelopeController
static CSoundEnvelopeController...
Forum:
Coding MM:S Plugins & SM Extensions
08-07-2016, 18:57
Replies:
369
Sticky:
Signature Request Thread
Views:
261,540
Posted By
donrevan
Re: Signature Request Thread
If you know the windows offset the easiest way to get the signature is to find the virtual function table (RTTI makes this easy, there are plugins for IDA that do all the work for you) and then count...
Forum:
Coding MM:S Plugins & SM Extensions
06-21-2016, 16:27
Replies:
369
Sticky:
Signature Request Thread
Views:
261,540
Posted By
donrevan
Re: Signature Request Thread
Not sure why you need this as you should be able to re-create that function easily..
However, here you go:
IDA: 55 8B EC 53 8B 5D 0C 85 DB
Escaped: \x55\x8B\x3C\53\x8B\x5D\x0C\x85\xDB
It is a...
Forum:
Plugins
05-21-2016, 09:57
Replies:
18
[ANY?] No Blood
Views:
15,951
Posted By
donrevan
Re: [ANY?] No Blood
No. Please don't.
Forum:
Coding MM:S Plugins & SM Extensions
03-28-2016, 14:58
Replies:
8
Calling static / virtual functions
Views:
2,538
Posted By
donrevan
Re: Calling static / virtual functions
If you just want to test things out you can late load your extension when a map is already loaded via "sm exts load NAME". I'm not sure if it crashes when you call CreateEntityByName too early, could...
Forum:
Coding MM:S Plugins & SM Extensions
03-26-2016, 17:38
Replies:
8
Calling static / virtual functions
Views:
2,538
Posted By
donrevan
Re: Calling static / virtual functions
1) Yes, the example you posted should work fine!
2) Yes and no, each CBaseEntity shares the same vtable instance BUT subclasses have their own.
CBaseEntity vtable instances are shared among other...
Forum:
Coding MM:S Plugins & SM Extensions
03-14-2016, 06:07
Replies:
5
Correct way to handle Vectors
Views:
1,134
Posted By
donrevan
Re: Correct way to handle Vectors
ptr +=sizeof(CBaseEntity *);
is unnecessary(as you dont have any other param) but doesn't cause the crash.
pWrapper = g_pBinTools->CreateCall(addr, CallConv_ThisCall, &ret, pass, 1));
You pass 1...
Forum:
Coding MM:S Plugins & SM Extensions
03-13-2016, 07:32
Replies:
5
Correct way to handle Vectors
Views:
1,134
Posted By
donrevan
Re: Correct way to handle Vectors
You can try calling it via a typedef to see if it is working.
typedef Vector (__thiscall *tGetShootPos)(CBasePlayer*);
tGetShootPos shootPos = (tGetShootPos)addr;
Vector vec = shootPos(pPlayer);...
Forum:
Snippets and Tutorials
03-09-2016, 17:37
Replies:
56
Sticky:
[IDA/DHooks]How to get vtable offsets
Views:
144,989
Posted By
donrevan
Re: [IDA/DHooks]How to get vtable offsets
Is it even working? It's the only offset in the function which looks like it could be the "SurvivalCounter".
You can use this sig to find the value(ALT+B in IDA):
80 BC 03 ? ? ? ? 01 83 DA FF 83...
Forum:
Snippets and Tutorials
03-08-2016, 11:46
Replies:
56
Sticky:
[IDA/DHooks]How to get vtable offsets
Views:
144,989
Posted By
donrevan
Re: [IDA/DHooks]How to get vtable offsets
No. It's GPR + offset too.
@Spirit_12
try this offsets(linux): 1040
I don't really know what the function(CalculateSurvivalMultiplier) is supposed to do so this is just a guess.
Forum:
Coding MM:S Plugins & SM Extensions
01-04-2016, 17:30
Replies:
9
Timers
Views:
2,234
Posted By
donrevan
Re: Timers
It's trivial to implement your own timer API in MM:S.
Just use GetGameTime(dunno SDK name) or even GetTickCount(see msdn) and check if time has passed every frame. Fire callback if it did.
...
Forum:
Coding MM:S Plugins & SM Extensions
11-13-2015, 04:32
Replies:
10
Player View Angles
Views:
7,690
Posted By
donrevan
Re: Player View Angles
If you want visible view angle changes you can call CBaseAnimating?::Teleport(virtual function, no signature required).
Teleport(Vector const *newPos, QAngle const *newAngles, Vector const...
Forum:
Coding MM:S Plugins & SM Extensions
11-12-2015, 17:41
Replies:
10
Player View Angles
Views:
7,690
Posted By
donrevan
Re: Player View Angles
Well, tampering with the players usercmds is probably the best solution.
https://forums.alliedmods.net/showthread.php?t=255101
Forum:
Coding MM:S Plugins & SM Extensions
11-07-2015, 15:54
Replies:
369
Sticky:
Signature Request Thread
Views:
261,540
Posted By
donrevan
Re: Signature Request Thread
I don't have latest CS:GO srcds linux binary but grabbing a symbol is very easy, just use objdump(described in the wiki).. However, I doubt it changed at all.
Forum:
Coding MM:S Plugins & SM Extensions
11-07-2015, 06:47
Replies:
369
Sticky:
Signature Request Thread
Views:
261,540
Posted By
donrevan
Re: Signature Request Thread
CSGO:
...
Forum:
Coding MM:S Plugins & SM Extensions
10-29-2015, 19:06
Replies:
369
Sticky:
Signature Request Thread
Views:
261,540
Posted By
donrevan
Re: Signature Request Thread
CObjectSentrygun::Range is not referenced from anywhere(not used?)
However, by the looks of it, it seems that you can modify a entity property to change the sentrygun range.
Something like this
...
Forum:
Snippets and Tutorials
10-05-2015, 09:54
Replies:
11
List of useful macros for SourcePawn 1.7+
Views:
7,972
Posted By
donrevan
Re: List of useful macros for SourcePawn 1.7+
Have fun maintaining/debugging it. Things start to get really intresting when more than 1 developer is involved and he asks himself what the fuck is happening because he doesn't know what strbuffer...
Showing results 1 to 25 of 125
Page 1 of 5
1
2
3
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
13:30
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode