Raised This Month: $ Target: $400
 0% 

Server Cvars Unlocker


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-13-2011 , 18:49   Re: Server Cvars Unlocker
Reply With Quote #111

I've not tested my plugin under a listenserver, but looking at the output all seems fine, weird. Are you sure mp_startmoney is well set to 99999 ? :p Because all seem to be patched or well hooked, so I don't see what is the problem. Try to set mp_startmoney, then do a sv_restart 1. Will test later myself.

About Terminator Round, it should not a problem. You may try. But again, not tested under a listenserver.
__________________
Arkshine is offline
Antixianos
BANNED
Join Date: Oct 2010
Old 04-13-2011 , 19:02   Re: Server Cvars Unlocker
Reply With Quote #112

Yes, I set it with the in-game configuration window. I will try to add "mp_startmoney 99999" into listenserver.cfg and see if that makes a difference.

Edit: Arkshine, thank you for this great plugin. It works beautifully, now that I set the value in a .cfg file.

Edit2: The money shows 99999, but when I kill someone, it shows above that - around 100000. Not a bug but it shows it.

Last edited by Antixianos; 04-14-2011 at 01:50.
Antixianos is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-14-2011 , 04:32   Re: Server Cvars Unlocker
Reply With Quote #113

Like said on first post, the money on the HUD can't show above $999999. Hud limitaiton, can do nothing about that. Though you can have money up to $2147483583.
__________________
Arkshine is offline
Old 04-19-2011, 09:52
nev
This message has been deleted by nev.
nev
Member
Join Date: Sep 2010
Old 04-19-2011 , 09:56   Re: Server Cvars Unlocker
Reply With Quote #114

Hello.
Some trouble with this plugin...
Steam, -beta hlbeta (HLDS Linux 5006)

Code:
{
    "name"      : "ReadMultiplayCvars",
    "library"   : "mod",
    "arguments" :
    [
        {
            "type" : "CHalfLifeMultiplay *"
        }
    ],
    "identifiers" :
    [
        {
            "os"    : "windows",
            "mod"   : "cstrike",
            "value" : [0x56,0x8b,0x74,0x24,0x08,0x68,"*","*","*","*",0xff,0x15,"*","*","*","*",0xd8,0x0d,"*","*","*","*",0xe8,"*","*","*","*",0x68]
        },
        {
            "os"    : "linux",
            "mod"   : "cstrike",
            "value" : [0x83,0xEC,"*",0x53,0x8B,0x5C,"*","*",0xA1,"*","*","*","*",0x83,0xC4,"*",0x68,"*","*","*","*",0xFF,0xD0,0xD8,0x0D,"*","*","*","*",0xD9]
        }
    ]
}
ReadMultiplayCvars changes from this post https://forums.alliedmods.net/showpo...&postcount=104
Logs:
Code:
Orpheu configuration started.

    Parsing mods configuration started.
    Parsing mod file "tfc"
    Parsing mod file "cstrike"
    Parsing mod file "ts"
    Parsing mod file "esf_openbeta"
    Parsing mod file "SvenCoop"
    Parsing mod file "dod"
    Parsing mod file "esf"
    Parsing mod file "ns"
    Parsing mod file "valve"
    Parsing mods configuration ended.

    Parsing libraries configuration started.
        Parsing file "podbot"
            Added library podbot identified by cvar pb_version
        Parsing file "monstermod"
            Added library monstermod identified by cvar monster_spawn
    Parsing libraries configuration ended.

    Parsing type aliases started.
        Parsing folder "CBaseEntity"
        Adding alias"CBaseEntity *"
        Parsing folder "VectorPointer"
        Adding alias"Vector *"
        Parsing folder "CMBaseMonster"
        Adding alias"CMBaseMonster *"
        Parsing folder "CGameRules"
        Adding alias"CGameRules *"
        Parsing folder "long"
        Adding alias"long"
        Parsing folder "charPointer"
        Adding alias"char *"

    Parsing type aliases ended.

Orpheu configuration ended.

Orpheu functions search started.

    Parsing functions started.
        Parsing file "CVarSetFloat" started
                Argument type "char *" validated
                Argument type "float" validated
        Parsing file "CVarSetFloat" ended
        Parsing file "ReadMultiplayCvars" started
                Argument type "CHalfLifeMultiplay *" validated
                Searching for signature "[0x83][0xec][*][0x53][0x8b](...)" ... FOUND
        Parsing file "ReadMultiplayCvars" ended
    Parsing functions ended.

Orpheu functions search ended.

Orpheu virtual functions search started.

    Parsing virtual functions started.
    Parsing virtual functions ended.

Orpheu virtual functions search ended.

Orpheu memory structures search started.

    Parsing memory structures started.
        Parsing memory file "patchServerCvars"
            Processing memory structure "minBuyTime@CBasePlayer::CanPlayerBuy()#Check"
                Added memory search structure "minBuyTime@CBasePlayer::CanPlayerBuy()#Check"
            Processing memory structure "minBuyTime@CBasePlayer::CanPlayerBuy()#Set"
                Added memory search structure "minBuyTime@CBasePlayer::CanPlayerBuy()#Set"
            Processing memory structure "minBuyTime@CBasePlayer::CanPlayerBuy()#SetCvar"
                Added memory search structure "minBuyTime@CBasePlayer::CanPlayerBuy()#SetCvar"
            Processing memory structure "minStartMoney@CheckStartMoney()#Check"
                Added memory search structure "minStartMoney@CheckStartMoney()#Check"
            Processing memory structure "minStartMoney@CheckStartMoney()#SetCvar"
                Added memory search structure "minStartMoney@CheckStartMoney()#SetCvar"
            Processing memory structure "maxStartMoney@CheckStartMoney()#Check"
                Added memory search structure "maxStartMoney@CheckStartMoney()#Check"
            Processing memory structure "maxStartMoney@CheckStartMoney()#SetCvar"
                Added memory search structure "maxStartMoney@CheckStartMoney()#SetCvar"
            Processing memory structure "minStartMoney@ClientPutInServer()#Check"
                Added memory search structure "minStartMoney@ClientPutInServer()#Check"
            Processing memory structure "minStartMoney@ClientPutInServer()#SetCvar"
                Added memory search structure "minStartMoney@ClientPutInServer()#SetCvar"
            Processing memory structure "maxStartMoney@ClientPutInServer()#Check"
                Added memory search structure "maxStartMoney@ClientPutInServer()#Check"
            Processing memory structure "maxStartMoney@ClientPutInServer()#SetCvar"
                Added memory search structure "maxStartMoney@ClientPutInServer()#SetCvar"
            Processing memory structure "minStartMoney@HandleMenu_ChooseTeam()#Check"
                Added memory search structure "minStartMoney@HandleMenu_ChooseTeam()#Check"
            Processing memory structure "minStartMoney@HandleMenu_ChooseTeam()#SetCvar"
                Added memory search structure "minStartMoney@HandleMenu_ChooseTeam()#SetCvar"
            Processing memory structure "maxStartMoney@HandleMenu_ChooseTeam()#Check"
                Added memory search structure "maxStartMoney@HandleMenu_ChooseTeam()#Check"
            Processing memory structure "maxStartMoney@HandleMenu_ChooseTeam()#SetCvar"
                Added memory search structure "maxStartMoney@HandleMenu_ChooseTeam()#SetCvar"
            Processing memory structure "maxStartMoney@CBasePlayer::AddAccount()#Check"
                Added memory search structure "maxStartMoney@CBasePlayer::AddAccount()#Check"
            Processing memory structure "maxStartMoney@CBasePlayer::AddAccount()#Set"
                Added memory search structure "maxStartMoney@CBasePlayer::AddAccount()#Set"
            Processing memory structure "maxStartMoney@CBasePlayer::JoiningThink()#Check"
                Added memory search structure "maxStartMoney@CBasePlayer::JoiningThink()#Check"
            Processing memory structure "maxStartMoney@CBasePlayer::JoiningThink()#Set"
                Added memory search structure "maxStartMoney@CBasePlayer::JoiningThink()#Set"
            Processing memory structure "maxStartMoney@CBasePlayer::Reset()#Check"
                Added memory search structure "maxStartMoney@CBasePlayer::Reset()#Check"
            Processing memory structure "maxStartMoney@CBasePlayer::Reset()#Set"
                Added memory search structure "maxStartMoney@CBasePlayer::Reset()#Set"
            Processing memory structure "maxStartMoney@CHalfLifeTraining::PlayerThink()#Check"
                Added memory search structure "maxStartMoney@CHalfLifeTraining::PlayerThink()#Check"
            Processing memory structure "maxStartMoney@CHalfLifeTraining::PlayerThink()#Set"
                Added memory search structure "maxStartMoney@CHalfLifeTraining::PlayerThink()#Set"
            Processing memory structure "serverCvars1@CHalfLifeMultiplay::Think()#StartChecks"
                Added memory search structure "serverCvars1@CHalfLifeMultiplay::Think()#StartChecks"
            Processing memory structure "serverCvar2@CHalfLifeMultiplay::Think()#StartCheck"
                Added memory search structure "serverCvar2@CHalfLifeMultiplay::Think()#StartCheck"
            Processing memory structure "serverCvars3@CHalfLifeMultiplay::Think()#StartSetCvar"
                Added memory search structure "serverCvars3@CHalfLifeMultiplay::Think()#StartSetCvar"
            Processing memory structure "serverCvars@CHalfLifeMultiplay::Think()#Dummy"
                Added memory search structure "serverCvars@CHalfLifeMultiplay::Think()#Dummy"
            Processing memory structure "dummyLinux"
                Added memory search structure "dummyLinux"
        Parsing memory file "patchMultiplayCvars"
            Processing memory structure "roundTime@g_pGameRules"
                Added memory search structure "roundTime@g_pGameRules"
            Processing memory structure "freezeTime@g_pGameRules"
                Added memory search structure "freezeTime@g_pGameRules"
            Processing memory structure "c4Timer@g_pGameRules"
                Added memory search structure "c4Timer@g_pGameRules"
            Processing memory structure "limitTeams@g_pGameRules"
                Added memory search structure "limitTeams@g_pGameRules"
    Parsing memory structures ended.

Orpheu memory structures search ended.

[Server Cvars Unlocker] Plugin is now enabled!
[Server Cvars Unlocker] Applying multiplay cvars memory patches...

    [NOT FOUND] minBuyTime@CBasePlayer::CanPlayerBuy()#Check
    [NOT FOUND] minBuyTime@CBasePlayer::CanPlayerBuy()#Set
    [OK] minBuyTime@CBasePlayer::CanPlayerBuy()#SetCvar

    * Total Patches : 1/3

    [OK] minStartMoney@CheckStartMoney()#SetCvar
    [OK] maxStartMoney@CheckStartMoney()#SetCvar
    [OK] minStartMoney@ClientPutInServer()#SetCvar
    [OK] maxStartMoney@ClientPutInServer()#SetCvar
    [OK] minStartMoney@HandleMenu_ChooseTeam()#SetCvar
    [NOT FOUND] maxStartMoney@HandleMenu_ChooseTeam()#SetCvar
    [NOT FOUND] minStartMoney@CheckStartMoney()#Check
    [NOT FOUND] maxStartMoney@CheckStartMoney()#Check
    [NOT FOUND] minStartMoney@ClientPutInServer()#Check
    [NOT FOUND] maxStartMoney@ClientPutInServer()#Check
    [NOT FOUND] maxStartMoney@HandleMenu_ChooseTeam()#Check
    [NOT FOUND] maxStartMoney@HandleMenu_ChooseTeam()#Check
    [NOT FOUND] maxStartMoney@CBasePlayer::AddAccount()#Check
    [NOT FOUND] maxStartMoney@CBasePlayer::AddAccount()#Set
    [NOT FOUND] maxStartMoney@CBasePlayer::JoiningThink()#Check
    [NOT FOUND] maxStartMoney@CBasePlayer::JoiningThink()#Set
    [NOT FOUND] maxStartMoney@CBasePlayer::Reset()#Check
    [NOT FOUND] maxStartMoney@CBasePlayer::Reset()#Set
    [NOT FOUND] maxStartMoney@CHalfLifeTraining::PlayerThink()#Check
    [NOT FOUND] maxStartMoney@CHalfLifeTraining::PlayerThink()#Set

    * Total Patches : 5/20

[Server Cvars Unlocker] Applying server cvars memory patches...

L 04/19/2011 - 16:46:24: [ORPHEU] Signature not found in memory
L 04/19/2011 - 16:46:24: [AMXX] Run time error 10 (plugin "server_cvars_unlocker.amxx") (native "OrpheuMemoryGet") - debug not enabled!
L 04/19/2011 - 16:46:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

[Server Cvars Unlocker] Reading/setting multiplay cvars...

    [OK] mp_roundtime 5.0
    [OK] mp_c4timer 44.9
    [OK] mp_freezetime 6.0
    [OK] mp_limitteams 2.0

    * All multiplay cvars set properly.
Please help me fix this problem.

meta list
Code:
Currently loaded plugins:
               description      stat pend  file              vers      src   load  unlod
          [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.2-d  ini   Start ANY  
          [ 2] MySQL            RUN   -    mysql_amxx_i386.  v1.8.2-d  pl2   ANY   ANY  
          [ 3] CSX              RUN   -    csx_amxx_i386.so  v1.8.2-d  pl2   ANY   ANY  
          [ 4] Fun              RUN   -    fun_amxx_i386.so  v1.8.2-d  pl2   ANY   ANY  
          [ 5] CStrike          RUN   -    cstrike_amxx_i38  v1.8.2-d  pl2   ANY   ANY  
          [ 6] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.2-d  pl2   ANY   ANY  
          [ 7] Engine           RUN   -    engine_amxx_i386  v1.8.2-d  pl2   ANY   ANY  
          [ 8] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.2-d  pl2   ANY   ANY  
          [ 9] Orpheu           RUN   -    orpheu_amxx_i386  v2.3      pl2   ANY   ANY  
         9 plugins, 9 running

Last edited by nev; 04-19-2011 at 10:09.
nev is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-19-2011 , 12:35   Re: Server Cvars Unlocker
Reply With Quote #115

Let me some times, I've started to redo my plugin so it will have less problems with signatures. The next release will be compatible with hlbeta.
__________________
Arkshine is offline
nev
Member
Join Date: Sep 2010
Old 04-19-2011 , 14:18   Re: Server Cvars Unlocker
Reply With Quote #116

Thank you. I will wait!
nev is offline
nev
Member
Join Date: Sep 2010
Old 06-14-2011 , 16:46   Re: Server Cvars Unlocker
Reply With Quote #117

Any changes to support linux hlds beta build?
nev is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-14-2011 , 17:09   Re: Server Cvars Unlocker
Reply With Quote #118

Sorry, the new version is not finished yet. I've redone the plugin so it uses a config file (more easy to change things) and the patches would use less signatures + more reliable, but it takes more times as expected. And since I was stucked on something I was doing others things. But since you remind me, I'm going to dive again into the plugin. As always, all I can say : will release asap.
__________________
Arkshine is offline
nev
Member
Join Date: Sep 2010
Old 06-15-2011 , 03:57   Re: Server Cvars Unlocker
Reply With Quote #119

Ok, no problems, mate.
I will once again remind you 2 months later if you not done it soon.
nev is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-15-2011 , 04:07   Re: Server Cvars Unlocker
Reply With Quote #120

Actually, it's almost finished (just reviewed the current state). The code needs to be cleaned up, and I need to test. ( cs, cz, cs hlbeta and cz hlbeta, on windows/linux -_-). So you can expect it will be released soon.
__________________

Last edited by Arkshine; 06-15-2011 at 04:11.
Arkshine 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 11:20.


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