Raised This Month: $51 Target: $400
 12% 

[EXTENSION] Memory Hack


Post New Thread Reply   
 
Thread Tools Display Modes
CS:S*
BANNED
Join Date: Jun 2009
Old 10-12-2009 , 15:39   Re: [EXTENSION] Memory Hack
Reply With Quote #21

there is erorr if you remove that line :

Code:
//// memoeyhack_demo_css.sp
// memoeyhack_demo_css.sp(64) : error 017: undefined symbol "patch_name"
// memoeyhack_demo_css.sp(64) : error 017: undefined symbol "patch_name"
// memoeyhack_demo_css.sp(64) : error 029: invalid expression, assumed zero
// memoeyhack_demo_css.sp(64) : fatal error 127: too many error messages on one
line
//
// Compilation aborted.
// 4 Errors.
//
CS:S* is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 10-12-2009 , 15:40   Re: [EXTENSION] Memory Hack
Reply With Quote #22

No, the whole block

Code:
    /* Change Description Name */
    /* Original Name "Counter-Strike: Source" Length 22 */
    memhndl2 = CreateMemHackFromConf(hConfig,"DescriptionName","",MEM_TYPE_RODATA);
    if(memhndl2 != INVALID_HANDLE)
    {
        PrintToServer("--------------------------");
        PrintToServer("Getting DescriptionName Success");
        new String:original_name[22];
        MH_Read_String(memhndl2,original_name,22);
        PrintToServer("Orginal Description Name: \"%s\"",original_name);
        new String:patch_name[] = "Counter-Strike: Source";
        MH_Patch_String(memhndl2,patch_name,sizeof(patch_name),true);
        PrintToServer("Patched Description Name");
        new String:new_name[22];
        MH_Read_String(memhndl2,new_name,22);
        PrintToServer("New Description Name: \"%s\"",new_name);
    } else {
        PrintToServer("[*]Getting DescriptionName Fail");
    }
__________________
hello, i am pm
PM is offline
CS:S*
BANNED
Join Date: Jun 2009
Old 10-12-2009 , 15:46   Re: [EXTENSION] Memory Hack
Reply With Quote #23

ok i do not understand anything of this codding or whatever ,i removed that line which i showed you above can make the sp as you think it will work ?
CS:S* is offline
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 10-12-2009 , 16:08   Re: [EXTENSION] Memory Hack
Reply With Quote #24

Yeah, I meant: remove all the lines I posted

Note: I don't have a compiler here so I haven't tried it.
Attached Files
File Type: sp Get Plugin or Get Source (memoeyhack_demo_css.sp - 223 views - 4.3 KB)
__________________
hello, i am pm
PM is offline
CS:S*
BANNED
Join Date: Jun 2009
Old 10-12-2009 , 16:17   Re: [EXTENSION] Memory Hack
Reply With Quote #25

i this now it's ok because it says CS:S but we will see how it works ,Thank you very much
CS:S* is offline
nonick
BANNED
Join Date: Jul 2008
Old 06-25-2010 , 18:05   Re: [EXTENSION] Memory Hack
Reply With Quote #26

pls update extension for new css
Tnx
nonick is offline
Jamesfo0
Junior Member
Join Date: Apr 2010
Location: Oregon
Old 07-09-2010 , 08:59   Re: [EXTENSION] Memory Hack
Reply With Quote #27

no need...

added new cvar: mp_ignore_round_win_conditions
Jamesfo0 is offline
Send a message via ICQ to Jamesfo0 Send a message via AIM to Jamesfo0 Send a message via MSN to Jamesfo0 Send a message via Yahoo to Jamesfo0
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 07-23-2010 , 20:16   Re: [EXTENSION] Memory Hack
Reply With Quote #28

Jamesfo0: This can be used for many more things than just blocking round end.
__________________
Greyscale is offline
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 06-19-2011 , 13:21   Re: [EXTENSION] Memory Hack
Reply With Quote #29

If this plugin have worked today, would it so had been possible to modify the maximum entity?
klausenbusk is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-19-2011 , 16:14   Re: [EXTENSION] Memory Hack
Reply With Quote #30

Quote:
Originally Posted by klausenbusk View Post
If this plugin have worked today, would it so had been possible to modify the maximum entity?
The maximum number of entities? Unlikely due to hardcoded static array sizes. Same reason that you can only raise player limits so high.
psychonic is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode