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

Instant Nobuy v3.0


Post New Thread Reply   
 
Thread Tools Display Modes
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 12-21-2020 , 08:15   Re: Instant Nobuy v1.0
Reply With Quote #11

Quote:
Originally Posted by Napoleon_be View Post
Is it the latest stable build tho?

If it is, amxmodx.org needs a rework.
Latest is https://www.amxmodx.org/downloads-new.php
whereas the master branch is https://www.amxmodx.org/downloads-new.php?branch=master

Amxmodx's front home page hasn't been updated for a while. Last update was two years ago.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Expendable77
New Member
Join Date: Jul 2018
Old 12-21-2020 , 17:01   Re: Instant Nobuy v1.0
Reply With Quote #12

ayo DrugZog can you send a pm in private

need you asap mate
Expendable77 is offline
Smilex_Gamer
Senior Member
Join Date: Apr 2017
Location: Portugal
Old 12-21-2020 , 18:28   Re: Instant Nobuy v1.0
Reply With Quote #13

Quote:
Originally Posted by DruGzOG View Post
Latest is https://www.amxmodx.org/downloads-new.php
whereas the master branch is https://www.amxmodx.org/downloads-new.php?branch=master

Amxmodx's front home page hasn't been updated for a while. Last update was two years ago.
The latest stable Amx Mod X version is 1.8.2
1.9 is still in development, just like its master branch version - 1.10

Last edited by Smilex_Gamer; 12-21-2020 at 18:29.
Smilex_Gamer is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 12-21-2020 , 21:42   Re: Instant Nobuy v1.0
Reply With Quote #14

Quote:
Originally Posted by DruGzOG View Post
Latest is https://www.amxmodx.org/downloads-new.php
whereas the master branch is https://www.amxmodx.org/downloads-new.php?branch=master

Amxmodx's front home page hasn't been updated for a while. Last update was two years ago.
I'm talking about stable builds. As mentioned above me, AFAIK 1.8.2 is the most recent stable build.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 12-21-2020 , 22:57   Re: Instant Nobuy v1.0
Reply With Quote #15

Quote:
Originally Posted by Smilex_Gamer View Post
The latest stable Amx Mod X version is 1.8.2
1.9 is still in development, just like its master branch version - 1.10
1.8.2 isn't stable. 1.9 was developed to stabilize the issues 1.8.2 and 1.8.3 developed. You can read more about it here: https://forums.alliedmods.net/showthread.php?t=310564

Quote:
Originally Posted by Napoleon_be View Post
I'm talking about stable builds. As mentioned above me, AFAIK 1.8.2 is the most recent stable build.
I never mentioned stable builds. I asked why he doesn't support the latest build. Don't see a reason to not support it if amxmodx is still in "development" and has full backwards compatibility. And if it doesn't, this is where Github's report function comes in play. Defeats the purpose of creating an advancement and sticking to something old that has been cleaned up and has changed significantly.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 12-22-2020 , 13:27   Re: Instant Nobuy v1.0
Reply With Quote #16

1.9 is still in testmode and not the latest stable build (which any new plugin submission needs, which is 1.8.2).

if the plugin doesn't support 1.8.2, it's not allowed in this section.

I also haven't seen any announcements about 1.9 being upgraded to the lastest STABLE build.
__________________

Last edited by Napoleon_be; 12-22-2020 at 13:29.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
WATCH_DOGS UNITED
BANNED
Join Date: Nov 2020
Old 12-24-2020 , 11:08   Re: Instant Nobuy v2.0
Reply With Quote #17

We added two more functions that prevent attempts to break the function using tricks and also during spawning.
WATCH_DOGS UNITED is offline
WATCH_DOGS UNITED
BANNED
Join Date: Nov 2020
Old 01-22-2021 , 10:39   Re: Instant Nobuy v3.0
Reply With Quote #18

We reduced the code, and now we use cvars because in this way the activation can be edited by the code and when you activate the commands and change the map, you will no longer have to re-apply the commands.
WATCH_DOGS UNITED is offline
WATCH_DOGS UNITED
BANNED
Join Date: Nov 2020
Old 08-16-2021 , 11:11   Re: Instant Nobuy v3.0
Reply With Quote #19

After 7 months can anyone tell if the plugin is ineffective?

Try using the fullupdate command on the console;
Try pressing F1/F2 several times in the round start and tell if you managed to make the plugin not work as it should.

Just 29 lines;
1.15 KB;
Cvars for Ts and CTs control.

Try other plugins to see if they will always work as they should.
WATCH_DOGS UNITED is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 08-20-2021 , 14:30   Re: Instant Nobuy v3.0
Reply With Quote #20

Since HamletEagle told us not to discuss there, I will continue my post here.

I. So many problem with you plugins
Quote:
Originally Posted by WATCH_DOGS UNITED View Post
So we decided to try to create one ourselves that would work and Instant Nobuy solved the problem with a very simple code, and better since you don't have to restart the round to take effect, it instantly prevents purchases.
1. it is 100% not "instant" since you have to wait until new round to actually take effect. What if they change cvar 5s after the round start? buy time still up and you didn't "block" anything. You have to wait until next round for it to actually "does something"
2. you use global variable for a function which will cost unnecessary memory usage.
3. you could just use 1 cvar to check
PHP Code:
public plugin_init()
{
    ...
    
g_pcvar_nobuy register_cvar"test_nobuy" "0" );
    ...
}
if(
get_user_team(iPlayer) == get_pcvar_numg_pcvar_nobuy) && get_pcvar_numg_pcvar_nobuy) < )
{
    
//Do here

Because get_user_team(iPlayer) gonna return either 1 for T and 2 for CT, if you set the cvar other than those 2, it won't gonna be affect.
4. YOU F*CKING DESTROYED THAT TEAM ECONOMY
Do you know how important money is in CS?
For example:
Quote:
+ the admin want to have 1 round of knife or pistol only so he used your plugin. The next round, both team lost all they money. If the team are on the losing steak, they gonna get HUGE loss round bonus next round if they lost this fun knife round.
+ The worst scenario, the admin try to force the winning team a handicap for 1 round, the winning team lose all they money and because they got wipe previous round, now they only have a pistol and a knife and they lost the map because of you plugin.
II. About my block plugin
Quote:
Originally Posted by WATCH_DOGS UNITED View Post
Celena Luna, we used the code for v1.8.2 and it doesn't prevent autobuy and it's only able to block the purchase of equipment. We tried to edit the code for specific weapons and it doesn't work either.
I tested it myself, it work normally
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <cl_buy>

public client_buy(iditem)
{
    return 
PLUGIN_HANDLED;

And here is the result:
Spoiler

III. Misconception
Quote:
Compared to Instant Nobuy it requires a lot more code as it needs to include cl_buy.
Yes, it does have more code but it actually become a build-in function in 1.9+ and it doesn't cost any issue in performance.
If it is needed, then there is no reason not to use it. Like you use extra plugins for you crosshair in Aim Realism v2.1
Less =/= better if you doesn't do it correctly.

IV. Other
Quote:
Originally Posted by WATCH_DOGS UNITED View Post
Before we created Instant Nobuy we used Set Buyzone but only to make players buy everywhere. When we tested the purchase block sometimes it worked and when we closed the game and returned it didn't work anymore.
Put the cvar at the listenserver.cfg or server.cfg file so it execute at the start.
It is really basic stuff. Come on.

You are really lack of experiment about amxx so please look around first, read what are wrote and learn what it does.
Like your Aim Realism v2.1, there is way better to handle it already exist.
Something like this only take few minutes to search since it is common problem and the it already ben solved for years now.

Edit: I forget about auto buy so here is and extra. Sorry about the music, I am too lazy to stop it this time
__________________
My plugin:

Last edited by Celena Luna; 09-05-2021 at 23:05. Reason: Add Autobuy proof
Celena Luna 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 21:03.


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