Raised This Month: $7 Target: $400
 1% 

Development Roundup, We need you!


Post New Thread Reply   
 
Thread Tools Display Modes
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-10-2021 , 06:07   Re: Development Roundup, We need you!
Reply With Quote #81

Quote:
Originally Posted by fysiks View Post
Why do you think that? Do you have an example of code that is broken because of this? Also, wouldn't that remove CSW_P228 and CSW_G3SG1 through CSW_VESTHELM? Note that it is defined the same way in the cstrike module.

Additionally, if you can show it's actually a bug, you should create an issue on GitHub if you believe there is a bug.
because first bit ( 1 << 0 ) is a none weapon ( not used )

#define CSW_NONE 0

also lets not consider the VESTHELM of being a weapon.

CSW_ALL_WEAPONS should be more correct holding this value 0x7FFFFFFE = which is 0111 1111 1111 1111 1111 1111 1111 1110 in bits

excluding the CSW_VEST, CSW_VESTHELM and excluding THE CSW_NONE which is 0


Code:
CSW_ALL_WEAPONS = ~( CSW_ALL_ARMORS| (1<<CSW_NONE) )
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-10-2021 at 06:33.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-10-2021 , 20:18   Re: Development Roundup, We need you!
Reply With Quote #82

Last night (this morning) I was tired and turns out I was thinking about thing 1 shift off. Therefore, I was wrong about the CSW_P228 part.

Also, "1<<CSW_VESTHELM" is not really valid because it tries to set the 33rd bit but there are only 32 bits in a cell in AMX Mod X. Therefore, 1<<CSW_VESTHELM is 0 and doesn't do anything for this bitsum. So, your original correction was wrong but this latest version is correct.

Quote:
Originally Posted by Natsheh View Post
Code:
CSW_ALL_WEAPONS = ~( CSW_ALL_ARMORS| (1<<CSW_NONE) )
I'm currently struggling with understanding why these bit sums are defined at all, I don't see where they would be useful. In fact, I think they are misleading and should probably be removed entirely. If someone was to need something like this, they should use a switch.

Regardless, this discussion should be occurring in a GitHub issue, not here. Please create an issue on GitHub.
__________________
fysiks is offline
PhamGiaMedia
New Member
Join Date: Apr 2022
Location: 1073/59 CMT8, Phư&#
Old 04-20-2022 , 05:57   Pham Gia Media
Reply With Quote #83

The company organizes the opening event - prestigious and professional in Ho Chi Minh City.

Details here: https://phamgiamedia.vn/to-chuc-khai-truong-tron-goi/




Model rental service - Pham Gia Media
Prestigious - professional - quality model rental company

Details here: https://phamgiamedia.vn/cho-thue-model/




The company organizes an event to celebrate the establishment of the company in Ho Chi Minh City
Come to Pham Gia Media - the most professional anniversary event company with more than 10 years of experience in event organization

Details here: https://phamgiamedia.vn/to-chuc-su-k...chuyen-nghiep/



Rent - supply event PG - professional, prestigious - in Ho Chi Minh City

We are proud to provide companies and businesses with professional, well-trained PG rental services that are effective and trusted by many units for many years.

Details here: https://phamgiamedia.vn/cung-cap-pg-...n-nghiep-2022/
PhamGiaMedia is offline
Cristian505
Senior Member
Join Date: Oct 2020
Old 05-15-2022 , 17:41   Re: Development Roundup, We need you!
Reply With Quote #84

Add a native or something to get client game resolution.
Cristian505 is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 05-21-2022 , 05:02   Re: Development Roundup, We need you!
Reply With Quote #85

Quote:
Originally Posted by Cristian505 View Post
Add a native or something to get client game resolution.
That's impossible, as this information never sended to the server in the first place.
__________________

Last edited by simanovich; 05-21-2022 at 05:04.
simanovich is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 01-23-2023 , 14:28   Re: Development Roundup, We need you!
Reply With Quote #86

I can't log in to bug report so I just gonna report it here:
In version 1.9, get_cvar_num can't get cl_righthand cvar, it always return as 0
__________________
My plugin:
Celena Luna is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-23-2023 , 23:42   Re: Development Roundup, We need you!
Reply With Quote #87

Quote:
Originally Posted by Celena Luna View Post
I can't log in to bug report so I just gonna report it here:
In version 1.9, get_cvar_num can't get cl_righthand cvar, it always return as 0
  1. Bugs are reported on GitHub now.
  2. get_cvar_*() functions only get server cvar values.
__________________
fysiks is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 01-24-2023 , 03:32   Re: Development Roundup, We need you!
Reply With Quote #88

Quote:
Originally Posted by Celena Luna View Post
I can't log in to bug report so I just gonna report it here:
In version 1.9, get_cvar_num can't get cl_righthand cvar, it always return as 0
Can this work?
http://www.amxmodx.org/doc/index.htm...lient_cvar.htm
__________________
GitHub
SteamWishlist

六四天安門事件
+ARUKARI- is offline
hkgd
New Member
Join Date: Jul 2023
Old 07-09-2023 , 01:53   Re: Development Roundup, We need you!
Reply With Quote #89

https://cloud.mail.ru/public/vvgE/89VJsDz4w
hkgd is offline
Primrose44
New Member
Join Date: Feb 2024
Old 02-02-2024 , 06:34   Re: Development Roundup, We need you!
Reply With Quote #90

Quote:
Originally Posted by Arkshine View Post
You have tools for the INI, SMC and lately JSON formats. I'm pretty sure you can do things with one of them.
Hats off Arkashine! That's quite commendable.
Primrose44 is offline
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 22:04.


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