Raised This Month: $ Target: $400
 0% 

(Doubt) SCU Unlimited Money


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ark_Procession
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 12-18-2020 , 00:48   (Doubt) SCU Unlimited Money
Reply With Quote #1

Hi i activated debug mode to scu_unlimited_money.amxx from Arkshine and i get this warning/error:

HTML Code:
L 12/18/2020 - 02:45:52: -------- Mapchange to de_dust2 --------
Navigation map loaded.
[AMXX] Loaded 4 admins from file
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] SCU: Unlimited Money -- Applying memory patches...

L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 	AddAccount::CBasePlayer
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 		[OK] - 1/2 (1/20) - patched at 0xa5b1556. // Check max value
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 		[OK] - 2/2 (2/20) - patched at 0xa5b1562. // Set max value
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 	JoiningThink::CBasePlayer
L 12/18/2020 - 02:45:52: [custom_scu_unlimited_money.amxx] 
L 12/18/2020 - 02:45:52: [ORPHEU] Function "CBasePlayer::JoiningThink" not found
L 12/18/2020 - 02:45:52: [AMXX] Displaying debug trace (plugin "custom_scu_unlimited_money.amxx")
L 12/18/2020 - 02:45:52: [AMXX] Run time error 10: native error (native "OrpheuGetFunction")
L 12/18/2020 - 02:45:52: [AMXX]    [0] custom_scu_unlimited_money.sma::initFunction (line 168)

L 12/18/2020 - 02:45:52: [AMXX]    [1] custom_scu_unlimited_money.sma::handleMemoryPatches (line 73)
L 12/18/2020 - 02:45:52: [AMXX]    [2] custom_scu_unlimited_money.sma::plugin_init (line 42)

How could i fix this?
Ark_Procession is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-18-2020 , 09:38   Re: (Doubt) SCU Unlimited Money
Reply With Quote #2

You will have to update CBasePlayer::JoiningThink signature.
https://forums.alliedmods.net/showthread.php?t=147998

After a quick look through one of my amxmodx folders, I found the one you need. Today is your luck day I would say.

Copy and paste this in amxmodx\configs\orpheu\functions\CBasePlayer\ JoiningThink
Code:
{
    "name"      : "JoiningThink",
    "class"     : "CBasePlayer",
    "library"   : "mod",
    "identifiers":
    [
        {
            "os"    : "windows",
            "mod"   : "cstrike",
            "value" : [0x83,"*","*",0x53,0x55,0x56,0x8B,"*",0x33,0xDB,0x57,0x8B,"*","*","*","*","*",0x83,"*","*",0x0F]
        }, 
        {
            "os"    : "linux",
            "mod"   : "cstrike",
            "value" : "JoiningThink__11CBasePlayer"
        }
    ]
}
__________________








CrazY. is offline
Ark_Procession
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 12-18-2020 , 12:06   Re: (Doubt) SCU Unlimited Money
Reply With Quote #3

i cannot thank you enough for this. now the unlimited money works setting it 0 to 99999999 . before this fix you provided me, money only went over 16000 but i couldn't set it to rcon mp_startmoney 0 / 20000, etc.

the only weird thing is now @Ocixcrom simple menu builder is throwing a run time error debug not enabled

and when i do i get this :


HTML Code:
L 12/18/2020 - 14:03:14: [AMXX] Displaying debug trace (plugin "custom_crx_simplemenu.amxx")
L 12/18/2020 - 14:03:14: [AMXX] Run time error 4: index out of bounds 
L 12/18/2020 - 14:03:14: [AMXX]    [0] crx_simplemenu.sma::fileRead (line 144)
L 12/18/2020 - 14:03:14: [AMXX]    [1] crx_simplemenu.sma::plugin_precache (line 81)
Ark_Procession is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-18-2020 , 16:27   Re: (Doubt) SCU Unlimited Money
Reply With Quote #4

Quote:
custom_crx_simplemenu.amxx
What did you change in my plugin? Show your code.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ark_Procession
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 12-18-2020 , 17:14   Re: (Doubt) SCU Unlimited Money
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
What did you change in my plugin? Show your code.
already answered in your plugin page.

but for the record:

the name is just organizational, like the other 59 plugins i have.
Ark_Procession is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-18-2020 , 18:06   Re: (Doubt) SCU Unlimited Money
Reply With Quote #6

well, it's a problem in the plugin then. The thing I gave you was nothing more than a signature.

Btw, if you're not going to allow more than 16000 money, there's no point in using that plugin
__________________









Last edited by CrazY.; 12-18-2020 at 18:10.
CrazY. is offline
Ark_Procession
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 12-18-2020 , 18:08   Re: (Doubt) SCU Unlimited Money
Reply With Quote #7

thanks! it works perfectly!!
Ark_Procession 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 14:08.


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