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

Development Roundup, We need you!


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-13-2019 , 14:55   Re: Development Roundup, We need you!
Reply With Quote #51

Quote:
Originally Posted by ViBE View Post
what i really miss are a complex voting/mapvoting like deagle's map manager and an afk managing stuff. and banning should be like amxbans.
If that's what you like then use those plugins instead of the default functionality. That is why the ability to make your own custom plugins exist. The core shouldn't have all these features because it will be impossible to design it to satisfy everybody.


Quote:
Originally Posted by ViBE View Post
3rd party plugins are pretty outdated sadly.
Why would you make that generalization? Many of them still work just fine. If you have a specific issue with a plugin you can request that it get fixed. The community for 20 year old games is much smaller than it used to be so there is naturally going to be a slow down in development of things for the game(s).
__________________

Last edited by fysiks; 01-13-2019 at 14:57.
fysiks is offline
Old 01-15-2019, 11:01
iclassdon
This message has been deleted by iclassdon. Reason: posting on github insetad
Old 01-15-2019, 11:08
Mordekay
This message has been deleted by Mordekay. Reason: He found a better place to post
PartialCloning
Senior Member
Join Date: Dec 2015
Old 01-24-2019 , 07:52   Re: Development Roundup, We need you!
Reply With Quote #52

Quote:
Originally Posted by Arkshine View Post
As usual, AMXX should retain full backward compatibility, so if existing functionality breaks after upgrading, file a bug report.
https://github.com/alliedmodders/amxmodx/pull/662
PartialCloning is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-15-2019 , 15:34   Re: Development Roundup, We need you!
Reply With Quote #53

Is custom entity data module going to be integrated in main amxx package?
__________________









Last edited by CrazY.; 02-15-2019 at 15:36.
CrazY. is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 02-25-2019 , 12:04   Re: Development Roundup, We need you!
Reply With Quote #54

Hey, I was looking around the example codes from the 1.9 API changes page and some of the default plugins, and I noticed some peculiar coding style which made me wonder.

As far as I understand, callbacks from within the plugin now use the short '@' symbol (which actually becomes part of their name), while forwards registered from includes use the full 'public' keyword. I assume that improves code readability, but can you shed some more light on this? Do you encourage it as a new standard coding practice?
__________________

Last edited by <VeCo>; 02-25-2019 at 15:20.
<VeCo> is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-25-2019 , 23:03   Re: Development Roundup, We need you!
Reply With Quote #55

Quote:
Originally Posted by <VeCo> View Post
Hey, I was looking around the example codes from the 1.9 API changes page and some of the default plugins, and I noticed some peculiar coding style which made me wonder.

As far as I understand, callbacks from within the plugin now use the short '@' symbol (which actually becomes part of their name), while forwards registered from includes use the full 'public' keyword. I assume that improves code readability, but can you shed some more light on this? Do you encourage it as a new standard coding practice?
There is no functional difference between declaring a function or variable as public using 'public' instead of 'new' or starting the name with '@':

Quote:
Originally Posted by Pawn Language Guide
Global “simple” variables (no arrays) may be declared “public”
in two ways:
⋄ declare the variable using the keyword public instead of new;
⋄ start the variable name with the “@” symbol.
The only difference being that the '@' become part of the name (as you noticed).

Since they are functionally the same, someone could choose to use the difference to convey certain context as you explained already. Very few plugins (2 of 21) actually use this method so it certainly can't be called a new standard practice for AMX Mod X. IMO, someone noticed that it worked and figured that they wanted to be different.
__________________

Last edited by fysiks; 02-25-2019 at 23:07.
fysiks is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 03-15-2019 , 21:14   Re: Development Roundup, We need you!
Reply With Quote #56

Nice write up. Implementing @ forthwith.
22/09/1998 Functions whose name start with an '@' are always public.
__________________
DJEarthQuake is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 04-20-2019 , 03:54   Re: Development Roundup, We need you!
Reply With Quote #57

The upcoming update looks to be gamedata breaking. The beta clients already support the new "Account" message, suggesting the update could be released soon. How long would it take to update gamedata?
PartialCloning is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-20-2019 , 05:17   Re: Development Roundup, We need you!
Reply With Quote #58

I'm following more or less the changes on /ValveSoftware/halflife but it looks like I missed the "Account" thing, could you elaborate/link on it?
__________________
Arkshine is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 04-20-2019 , 06:03   Re: Development Roundup, We need you!
Reply With Quote #59

Under the beta client, your money and your teammates money is displayed in the scoreboard.

Account Message:
Destination: MSG_ONE
ARG 1: BYTE (Player ID)
ARG 2: LONG (Amount of Money).
PartialCloning is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 04-24-2019 , 19:21   Re: Development Roundup, We need you!
Reply With Quote #60

https://github.com/ValveSoftware/hal...ment-485826646 is set to fix the gamedata break reported above.
PartialCloning 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 17:23.


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