AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Server Cvars Unlocker (https://forums.alliedmods.net/showthread.php?t=120866)

Arkshine 03-08-2010 19:08

Server Cvars Unlocker
 
2 Attachment(s)
Server Cvars Unlocker
- v1.0.0, last updated : 9 mar 2010

In CS there are some server cvars which are "locked", meaning there are a minimum and a maximum which can not be crossed.
This plugin unlocks them by removing the hardcoded limitation.

The only limitation after using this plugin is to the value 2147483583.
It's the data type (signed long) of the variable where is stored the value, used in some CS functions.
It's an high value which should be fairly enough.

Basically, the minimum for all the following cvars is 0, and the maximum 2147483583. ( except mp_limitteams set to 31 )

Multiplay cvars :
  • mp_buytime*
  • mp_c4timer*
  • mp_freezetime*
  • mp_limitteams
  • mp_roundtime*
  • mp_startmoney (max money included)**
Servers cvars :
  • sv_accelerate
  • sv_friction
  • sv_stopspeed
  • sv_restart
  • sv_restartround

* The timer on the HUD can't show above 546 minutes. Higher value and you will see 00:00.
** The money on the HUD can't show above $999999.

Contents :

Requirements top
CS 1.6, CZ.
AMX Mod X 1.8.x or higher.
Orpheu 2.3 and higher.
Steam server.

Command top
  • scu_toggle value

    Toggle the plugin state by specifying as value 0 or 1 to disable or enable properly the forwards/memory patch.

Installation top
1. Firstly, you need Orpheu. You have just to unzip the content of orpheu_base.zip in ./amxmodx/ ;
2. Then unzip the content of the provided archive here in ./amxmodx/ ;
3. Install the plugin*, restart and it's ready.


* You need to compile locally the plugin since it uses third party includes from Orpheu.
If you don't know how, you can use this webcompiler.


Installation Files top

If you are interested in having unlimited money only, check this version instead : http://forums.alliedmods.net/showpos...&postcount=232

Arkshine 03-08-2010 19:08

Re: Server Cvars Unlocker
 
1 Attachment(s)
Notes top

Change Log top

v1.0.1 : [ 20 mar 2010 ]
fixed : sv_accelerate/sv_friction/sv_stopspeed were resetted to their original value after using sv_restart[round].
fixed : The signature in the ReadMultiplayCvars file was incorrect + another typo. (linux).
v1.0.0 : [ 9 mar 2010 ]
Initial release.

Old Version top
The following versions are not supported anymore.

lucas_7_94 03-08-2010 19:12

Re: Server Cvars Unlocker
 
sorry , but the plugin ??

Arkshine 03-08-2010 19:20

Re: Server Cvars Unlocker
 
Refresh. It's because I wanted to know the url of the thread to past it in my plugin.

lucas_7_94 03-08-2010 19:28

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by Arkshine (Post 1112225)
Refresh. It's because I wanted to know the url of the thread to past it in my plugin.

Ok , yeah , thanks you arkShine .

fezh 03-08-2010 19:52

Re: Server Cvars Unlocker
 
Good job :up:

DruGzOG 03-08-2010 20:39

Re: Server Cvars Unlocker
 
You forgot sv_airaccelerate :D

Nice plugin +1

Arkshine 03-08-2010 20:42

Re: Server Cvars Unlocker
 
sv_airaccelerate seems not be locked.

DruGzOG 03-08-2010 20:44

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by Arkshine (Post 1112304)
sv_airaccelerate is not locked. :)

:O Did not know that, well... ah... yeah. :shock:

{PHILMAGROIN} 03-08-2010 22:51

Re: Server Cvars Unlocker
 
what about roundtime?

Toastt 03-08-2010 22:57

Re: Server Cvars Unlocker
 
This was a good idea ^^

worldspawn 03-08-2010 23:00

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by {PHILMAGROIN} (Post 1112391)
what about roundtime?

http://forums.alliedmods.net/showthread.php?t=117782

{PHILMAGROIN} 03-08-2010 23:03

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by worldspawn (Post 1112394)

well i think the roundtime has a minimum of 1:00 minute so i was wondering if you could make it lower with this plugin.

AfteR. 03-08-2010 23:19

Re: Server Cvars Unlocker
 
Cool, I'll try it.

GJ ! :)

KadiR 03-09-2010 00:53

Re: Server Cvars Unlocker
 
Good job! :wink:

ConnorMcLeod 03-09-2010 01:13

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by Arkshine (Post 1112215)
The timer on the HUD can't show above 546 minutes. Higher value and you will see 00:00.

I think roundtime is included as well.

joaquimandrade 03-09-2010 02:38

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by ConnorMcLeod (Post 1112468)
I think roundtime is included as well.

Yes it is.

ScriptMafia 03-09-2010 02:55

Re: Server Cvars Unlocker
 
Very nice definately be using this on my server :)

ScriptMafia 03-09-2010 03:06

Re: Server Cvars Unlocker
 
I cant compile locally :S

joaquimandrade 03-09-2010 03:09

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by ScriptMafia (Post 1112505)
I cant compile locally :S

You must have http://forums.alliedmods.net/attachm...5&d=1268059924

EXteRmiNaToR 03-09-2010 03:14

Re: Server Cvars Unlocker
 
Hi,nice gob!:)
I have a problem,i tried to test a command to see how this works,but cs crashed...
Quote:

L 03/09/2010 - 10:09:49: Start of error session.
L 03/09/2010 - 10:09:49: Info (map "cs_assault") (file "addons/amxmodx/logs/error_20100309.log")
L 03/09/2010 - 10:09:49: [ORPHEU] Invalid memory structure "roundTime@g_pGameRules"
L 03/09/2010 - 10:09:49: [AMXX] Run time error 10 (plugin "server_cvars_unlocker.amxx") (native "OrpheuMemorySetAtAddress") - debug not enabled!
L 03/09/2010 - 10:09:49: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/09/2010 - 10:10:01: [ORPHEU] Invalid memory structure "roundTime@g_pGameRules"
L 03/09/2010 - 10:10:01: [AMXX] Run time error 10 (plugin "server_cvars_unlocker.amxx") (native "OrpheuMemorySetAtAddress") - debug not enabled!
L 03/09/2010 - 10:10:01: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Here's the error in logs...

Arkshine 03-09-2010 03:58

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by {PHILMAGROIN} (Post 1112391)
what about roundtime?

Yes it's included, just forget to write it in the list. It's written now.

Quote:

well i think the roundtime has a minimum of 1:00 minute so i was wondering if you could make it lower with this plugin.
Yes, all cvars are unlocked to 0. For 45 seconds, you will write 0.75 minute. ( 45 / 60 )

Arkshine 03-09-2010 04:00

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by EXteRmiNaToR (Post 1112510)
Hi,nice gob!:)
I have a problem,i tried to test a command to see how this works,but cs crashed...

Here's the error in logs...

- Make sure to have the latest version of Orhpeu (2.3) ;
- Make sure you have properly copied the provided files on your server ;

This plugin was tested successfully on CS 1.6 and CZ under a steam server.

EXteRmiNaToR 03-09-2010 04:23

Re: Server Cvars Unlocker
 
It seems that i was using version 2.2. I tested now with 2.3 and it works perfectly. Nice job again!:up:

Arkshine 03-09-2010 04:25

Re: Server Cvars Unlocker
 
Good to know, i was testing again to make sure. :mrgreen:
Joaquim has updated Orpheu yesterday.

fR4gn0tiX! 03-09-2010 05:54

Re: Server Cvars Unlocker
 
HOLY SHIT!! This module (Orpheu) pwnes everything else :shock: Nice plugin :up:

[OFFTOPIC]
Who wrote that module and why it is called "Orpheu", what does that mean?
[/OFFTOPIC]

Arkshine 03-09-2010 05:58

Re: Server Cvars Unlocker
 
Quote:

Who wrote that module and why it is called "Orpheu", what does that mean?
Look at the author's name on the thread.

fR4gn0tiX! 03-09-2010 06:01

Re: Server Cvars Unlocker
 
And why it is called "Orpheu"? Is it somehow linked with Orpheus, an important figure from Greek mythology? :mrgreen:

joaquimandrade 03-09-2010 08:05

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by fR4gn0tiX! (Post 1112577)
And why it is called "Orpheu"? Is it somehow linked with Orpheus, an important figure from Greek mythology? :mrgreen:

It's linked with that figure but indirectly.

About this plugin I have to say that it is really a awesome job. It has much work on it. It's not easy to do this memory hacking Arkshine did.

ScriptMafia 03-09-2010 11:47

Re: Server Cvars Unlocker
 
1 Attachment(s)
This is the error im getting :shock:

Arkshine 03-09-2010 12:13

Re: Server Cvars Unlocker
 
You don't have the latest version of amxmodx, if not that, it's you don't have updated the .inc properly. So, download Amxx again, and retrieve the .inc from there.

{PHILMAGROIN} 03-09-2010 19:40

Re: Server Cvars Unlocker
 
very nice job!

cs1.7 03-11-2010 20:16

Re: Server Cvars Unlocker
 
The seems to be an epic plugin! :shock:

Arkshine 03-20-2010 14:18

Re: Server Cvars Unlocker
 
Small update. Don't forget to upload/overwrite again the files containing in the provided package on your server.

Quote:

v1.0.1 : [ 20 mar 2010 ]
fixed : sv_accelerate/sv_friction/sv_stopspeed were resetted to their original value after using sv_restart[round].
fixed : The signature in the ReadMultiplayCvars file was incorrect + another typo. (linux).


EXteRmiNaToR 03-20-2010 18:20

Re: Server Cvars Unlocker
 
Hi.I can't compile the file...don't know why!Could you check it please?

Arkshine 03-20-2010 18:51

Re: Server Cvars Unlocker
 
I've checked, no problem.

EXteRmiNaToR 03-20-2010 18:58

Re: Server Cvars Unlocker
 
This is the error when trying to compile.
http://img205.**************/img205/9724/21250876.jpg

Arkshine 03-20-2010 18:59

Re: Server Cvars Unlocker
 
How do you compile? Do you have edit the plugin or opened before in notepad before ?

EXteRmiNaToR 03-20-2010 19:02

Re: Server Cvars Unlocker
 
Quote:

Originally Posted by Arkshine (Post 1123790)
How do you compile? Do you have edit the plugin or opened before in notepad before ?

No,nothing.I tried to compile several times without editing anything,but nothing...:S

Arkshine 03-20-2010 19:14

Re: Server Cvars Unlocker
 
You compile how ?

EDIT : Ah you use compile.exe. True, I have the same errors. Oo , I'm using Amxx-studio + amxxpc.exe and it compiles fine. I have no idea why it doesn't want to compile with compiler.exe, my code looks fine. :/


All times are GMT -4. The time now is 19:52.

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