Raised This Month: $32 Target: $400
 8% 

Earn a FREE plugin review


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-21-2019 , 11:21   Earn a FREE plugin review
Reply With Quote #1

I'm bored and I kinda want to review a plugin so I thought let's do something "fun" or at least different. The first person who answers the following question correctly will get to choose what plugin I'll review next(maybe you made that awesome plugin or mod and no approver bothered with it for 5 years - this is your chance).

PHP Code:
#define PRINT_SQUARE(%1) server_print("%d", %1 * %1)

new 2
PRINT_SQUARE
(1
What's the output of the call PRINT_SQUARE(x + 1)? WHY? What if instead of the macro we had a function?
__________________
HamletEagle is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-21-2019 , 12:10   Re: Earn a FREE plugin review
Reply With Quote #2

x + 1 * x + 1
x + x + 1

2 + 1 * 2 + 1
2 + 2 + 1 = 5

r u drunk dude? do your job normally

https://forums.alliedmods.net/showthread.php?t=308540

random.org gave me this https://forums.alliedmods.net/showthread.php?t=164786 All old plugins have inactive developers, they have already missed their chance. u all lazy SHAME
__________________

Last edited by <VeCo>; 07-21-2019 at 12:22.
<VeCo> is offline
thEsp
BANNED
Join Date: Aug 2017
Old 07-21-2019 , 12:11   Re: Earn a FREE plugin review
Reply With Quote #3

2 + 1 * 2 + 1 = 5
If there was a function, it would return 9 since function [would] return sum1 * sum1, whereas it is calculated before function is called (if you even understood ).

Last edited by thEsp; 07-21-2019 at 12:30. Reason: + > *
thEsp is offline
mi0epro
New Member
Join Date: Dec 2018
Old 07-21-2019 , 12:46   Re: Earn a FREE plugin review
Reply With Quote #4

I dunno what all of you are talking about he hasnt even included amxmodx... If somehow you manage to compile this plugin it wont work...
mi0epro is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-21-2019 , 13:13   Re: Earn a FREE plugin review
Reply With Quote #5

Quote:
Originally Posted by <VeCo> View Post
x + 1 * x + 1
x + x + 1

2 + 1 * 2 + 1
2 + 2 + 1 = 5

r u drunk dude? do your job normally

https://forums.alliedmods.net/showthread.php?t=308540

random.org gave me this https://forums.alliedmods.net/showthread.php?t=164786 All old plugins have inactive developers, they have already missed their chance. u all lazy SHAME
not drunk, just bored

Quote:
Originally Posted by thEsp View Post
2 + 1 * 2 + 1 = 5
If there was a function, it would return 9 since function [would] return sum1 * sum1, whereas it is calculated before function is called (if you even understood ).
Give me a plugin link either here or by PM, I'll review what you and Veco said.

Quote:
Originally Posted by mi0epro View Post
I dunno what all of you are talking about he hasnt even included amxmodx... If somehow you manage to compile this plugin it wont work...
The point wasn't to compile and test, it was just to evaluate that snippet(thought it goes without saying you should assume all needed includes are present and the snippet is actually used in some function).
__________________

Last edited by HamletEagle; 07-21-2019 at 13:14.
HamletEagle is offline
mi0epro
New Member
Join Date: Dec 2018
Old 07-21-2019 , 13:39   Re: Earn a FREE plugin review
Reply With Quote #6

I just tried another answer which was nothing xDD
mi0epro is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-21-2019 , 17:21   Re: Earn a FREE plugin review
Reply With Quote #7

I got disappointed for seeing the thread a little too late, and then I noticed that <VeCo> gave the exact plugin that I was going to give. Thanks.
__________________

Last edited by OciXCrom; 07-21-2019 at 17:22.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-21-2019 , 18:02   Re: Earn a FREE plugin review
Reply With Quote #8

Once I finish with these maybe I'll post a new topic and do something different, like using random.org to pick the next person or something.
If you have any idea, please share.
__________________
HamletEagle is offline
thEsp
BANNED
Join Date: Aug 2017
Old 07-21-2019 , 18:29   Re: Earn a FREE plugin review
Reply With Quote #9

I suggest you to name this kind of thing "Hamlet show 2019", doesn't it sound cool?

Last edited by thEsp; 07-21-2019 at 18:29. Reason: g
thEsp is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-22-2019 , 12:37   Re: Earn a FREE plugin review
Reply With Quote #10

Quote:
Originally Posted by HamletEagle View Post
Once I finish with these maybe I'll post a new topic and do something different, like using random.org to pick the next person or something.
If you have any idea, please share.
Who needs random.org when you have AMXX.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 08:09.


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