Raised This Month: $ Target: $400
 0% 

Server Cvars Unlocker


Post New Thread Reply   
 
Thread Tools Display Modes
romm1e
Member
Join Date: Oct 2010
Old 03-22-2011 , 10:37   Re: Server Cvars Unlocker
Reply With Quote #101

Hello, i have an error:
PHP Code:
L 03/22/2011 19:25:10Start of error session.
L 03/22/2011 19:25:10Info (map "de_inferno") (file "addons/amxmodx/logs/error_20110322.log")
L 03/22/2011 19:25:10: [ORPHEU] Function "ReadMultiplayCvars" not found
L 03
/22/2011 19:25:10: [AMXXDisplaying debug trace (plugin "server_cvars_unlocker.amxx")
L 03/22/2011 19:25:10: [AMXXRun time error 10native error (native "OrpheuGetFunction")
L 03/22/2011 19:25:10: [AMXX]    [0server_cvars_unlocker.sma::DisablePlugin (line 217)
L 03/22/2011 19:25:10: [AMXX]    [1server_cvars_unlocker.sma::DisablePlugin (line 187)
L 03/22/2011 19:25:10: [AMXX]    [2server_cvars_unlocker.sma::DisablePlugin (line 145
And I can't understand why does it happen because ReadMultiplayCvars exist in cstrike/addons/amxmodx/configs/orpheu/functions/

ReadMultiplayCvars
PHP 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" "ReadMultiplayCvars__FP18CHalfLifeMultiplay"
        
}
    ]

romm1e is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-22-2011 , 10:41   Re: Server Cvars Unlocker
Reply With Quote #102

try https://forums.alliedmods.net/showpo...8&postcount=67
__________________
Arkshine is offline
romm1e
Member
Join Date: Oct 2010
Old 03-22-2011 , 10:56   Re: Server Cvars Unlocker
Reply With Quote #103

Quote:
Originally Posted by Arkshine View Post
Same error...
PHP Code:
                Parsing file "ReadMultiplayCvars" started
                                Argument type 
"CHalfLifeMultiplay *" validated
                                Searching 
for signature "[0x55][0x89][0xe5][0x83][0xec](...)" ... NOT FOUND
                Parsing file 
"ReadMultiplayCvars" ended 
romm1e is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-22-2011 , 11:35   Re: Server Cvars Unlocker
Reply With Quote #104

Replace the linux one by :
Code:
[0x83,0xEC,"*",0x53,0x8B,0x5C,"*","*",0xA1,"*","*","*","*",0x83,0xC4,"*",0x68,"*","*","*","*",0xFF,0xD0,0xD8,0x0D,"*","*","*","*",0xD9]
__________________
Arkshine is offline
romm1e
Member
Join Date: Oct 2010
Old 03-22-2011 , 12:21   Re: Server Cvars Unlocker
Reply With Quote #105

Well... same)
PHP Code:
                Parsing file "ReadMultiplayCvars" started
                                Argument type 
"CHalfLifeMultiplay *" validated
                                Searching 
for signature "[0x83][0xec][*][0x53][0x8b](...)" ... NOT FOUND
                Parsing file 
"ReadMultiplayCvars" ended 
romm1e is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-22-2011 , 12:27   Re: Server Cvars Unlocker
Reply With Quote #106

Are you using the hlbeta update ?

If not, try this one :

Code:
[0x55,0x89,0xE5,0x83,0xEC,"*",0x57,0x56,0x53,0xE8,"*","*","*","*",0x81,0xC3,"*","*","*","*",0x8B,0x83,"*","*","*","*",0x83,0xC4,"*",0x89,0x45,"*",0x8D,0x93,"*","*","*","*",0x89,0x55,"*",0x52]
__________________

Last edited by Arkshine; 03-22-2011 at 12:31.
Arkshine is offline
romm1e
Member
Join Date: Oct 2010
Old 03-22-2011 , 12:39   Re: Server Cvars Unlocker
Reply With Quote #107

Quote:
Originally Posted by Arkshine View Post
Are you using the hlbeta update ?
I am using last official build
Code:
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 16:56:12 Mar  8 2010 (4883)
Quote:
Originally Posted by Arkshine View Post
If not, try this one :

Code:
[0x55,0x89,0xE5,0x83,0xEC,"*",0x57,0x56,0x53,0xE8,"*","*","*","*",0x81,0xC3,"*","*","*","*",0x8B,0x83,"*","*","*","*",0x83,0xC4,"*",0x89,0x45,"*",0x8D,0x93,"*","*","*","*",0x89,0x55,"*",0x52]
Thx, with this functions plugin works without errors =)
romm1e is offline
Antixianos
BANNED
Join Date: Oct 2010
Old 04-13-2011 , 03:06   Re: Server Cvars Unlocker
Reply With Quote #108

Hi,

I'm running a CS 1.6 Listen Server with this plugin installed. I am trying to use SCU to have "mp_startmoney 99999" and "mp_buytime 0". It seems to have been correctly installed but I still get 16000 money.

I unzipped Orpheu Base, unzipped Signatures, added "server_cvars_unlocker.amxx" on my plugins.ini, downloaded the .sma and dragged it into Compile, moved the new .amxx into my plugins folder, and started my server. I typed "scu_toggle 1" in my server console and it said it was already on - I disconnected, started the server again, same result.

I feel like I missed a step or so but I've read the instructions a few times to make sure. I think it may have something to do with it being a Listen server. Is this enough information or should I copy&paste the console logs?
Antixianos is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-13-2011 , 03:53   Re: Server Cvars Unlocker
Reply With Quote #109

Yes, when you start the server, check the console and paste the output when orpheu parses the config files.
__________________
Arkshine is offline
Antixianos
BANNED
Join Date: Oct 2010
Old 04-13-2011 , 18:41   Re: Server Cvars Unlocker
Reply With Quote #110

Code:
Orpheu configuration started.
 
 Parsing mods configuration started.
 Parsing mod file "cstrike"
 Parsing mod file "dod"
 Parsing mod file "esf"
 Parsing mod file "esf_openbeta"
 Parsing mod file "ns"
 Parsing mod file "SvenCoop"
 Parsing mod file "tfc"
 Parsing mod file "ts"
 Parsing mod file "valve"
 Parsing mods configuration ended.
 
 Parsing libraries configuration started.
  Parsing file "monstermod"
   Added library monstermod identified by cvar monster_spawn
  Parsing file "podbot"
   Added library podbot identified by cvar pb_version
 Parsing libraries configuration ended.
 
 Parsing type aliases started.
  Parsing folder "CBaseEntity"
  Adding alias"CBaseEntity *"
  Parsing folder "CGameRules"
  Adding alias"CGameRules *"
  Parsing folder "charPointer"
  Adding alias"char *"
  Parsing folder "CMBaseMonster"
  Adding alias"CMBaseMonster *"
  Parsing folder "long"
  Adding alias"long"
  Parsing folder "VectorPointer"
  Adding alias"Vector *"
 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 "[0x56][0x8b][0x74][0x24][0x08](...)" ... 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 "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 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 structures ended.
 
Orpheu memory structures search ended.
L 04/13/2011 - 15:21:35: [precache.amxx] Creating directory addons/amxmodx/configs/precache
L 04/13/2011 - 15:21:35: [precache.amxx] Creating file addons/amxmodx/configs/precache/default.pre

L 04/13/2011 - 15:21:35: [precache.amxx] Creating directory addons/amxmodx/configs/precache/maps
L 04/13/2011 - 15:21:35: [precache.amxx] Creating file addons/amxmodx/configs/precache/maps/de_dust2.pre
[Server Cvars Unlocker] Plugin is now enabled!
[Server Cvars Unlocker] Applying multiplay cvars memory patches...
 [OK] minBuyTime@CBasePlayer::CanPlayerBuy()#Check
 [OK] minBuyTime@CBasePlayer::CanPlayerBuy()#Set
 [OK] minBuyTime@CBasePlayer::CanPlayerBuy()#SetCvar
 * Total Patches : 3/3
 [OK] minStartMoney@CheckStartMoney()#SetCvar
 [OK] maxStartMoney@CheckStartMoney()#SetCvar
 [OK] minStartMoney@ClientPutInServer()#SetCvar
 [OK] maxStartMoney@ClientPutInServer()#SetCvar

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

 * Total Patches : 20/20
 
[Server Cvars Unlocker] Applying server cvars memory patches...
 
 * 115 bytes were nopped successful.
 * 14 bytes were nopped successful.
 
[Server Cvars Unlocker] Reading/setting multiplay cvars...
 
 [OK] mp_roundtime 2.0
 [OK] mp_c4timer 45.0
 [OK] mp_freezetime 2.0
 [OK] mp_limitteams 2.0
 
 * All multiplay cvars set properly.
 
Taking settings from podbot.cfg
I could have mis-copied or missed some lines because I copied it manually, couple of lines by lines.

I was planning to install Round Terminator plugin, but should it wait until this is resolved/looked into, or could I install it now?
Antixianos 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 07:50.


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