Monthly Target: $400 Donations: $140
 35% 

[Suggestions] AMXX 1.8.3


Post New Thread Reply   
 
Thread Tools Display Modes
Depresie
Veteran Member
Join Date: Nov 2013
Old 01-12-2017 , 14:09   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #31

@aron
That is why i asked for a native that should handle the speed, to avoid this kind of issues...

@Hamlet
Using workarounds for such thing is pathetic, when it should be the job of the amxmodx package to provide proper natives to handle this kind of basic stuff such as player speed

Also, using XVars would not help at all, since an array is required to store each player's speed
__________________
Quote:
Originally Posted by OciXCrom View Post
Something tells me the link ain't right.
Quote:
Originally Posted by Craxor View Post
Do you mean array with multiple dimensions, read hamlet tut: https://www.youtube.com/watch?v=T3cceM50vyc&t=16s

Depresie is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-12-2017 , 16:22   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #32

It's not a workaround and amxx already provides a way to handle properly player speed. You are using it in a way which could create issue if YOU don't handle it properly.
__________________
HamletEagle is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 01-13-2017 , 11:16   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #33

Provide me a PROPER way to handle custom player speed ( without an API ) without issues then, oh wait, there is none, except creating a 5 line API in order to provide that functionality

We are using fcking 5 line APIs for this kind of shit for years, and nothing is done about it, but adding colorchat and dhud stocks into the base addon, yeah, that's sure a priority

Get your facts straight before talking about "you don't know how to use this, you don't know how to use that"
If there was a reliable way for such thing, why are people still using Mercylez' API for setting speed ?
__________________
Quote:
Originally Posted by OciXCrom View Post
Something tells me the link ain't right.
Quote:
Originally Posted by Craxor View Post
Do you mean array with multiple dimensions, read hamlet tut: https://www.youtube.com/watch?v=T3cceM50vyc&t=16s


Last edited by Depresie; 01-13-2017 at 11:33.
Depresie is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-13-2017 , 17:11   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #34

Depresie, calm down a bit.

1) If I understand, you want persistent speed similar to what does cs_set_user_model which enforces the same model until overwritten by another plugin?

Well, for sure if dealing with one plugin, hooking ResetMakSpeed would be the way to go. If dealing several plugins with the same way, it's going to conflict and the last plugin of the list will have the last word. It could be fine depending on the stuff you want to do, like blocking a forward. But if you want to persist a speed (against game change) and still allow any plugin to overwrite the value anytime, you are going to need an API for that. This is basically what does cs_set_user_model and we could provide the same for speed.
If following this behavior, having a native in cstrike module makes sense, actually and considering that's a setting often used/wanted, I would not mind really.

2) Considering we have gamedata now, there are a bunch of natives/forwards which could be added to take advantage of useful game functions, similar to SM, like terminating a round, switching team, setting team score, etc. I don't know exactly what yet, but some functionalities around gameplay manipulation are welcomed I guess.

3) Not totally sure to follow. You should elaborate in what context and such.

4) I would not mind, it's useful and often used.
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),

Arkshine is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 01-13-2017 , 17:43   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #35

@Arkshine

Thank you for considering my suggestions, i really appreciate it, you got everything i said right and on point

1) Yes, Yes, Yes, exactly what i meant
2) Yes, Yes, Yes, exactly what i meant

3) I was talking about a function that hooks spawn, in which we could also prevent it from happening

Right now we can prevent only the player spawn triggered by RoundSpawn by registering Ham_CS_RoundSpawn
But i guess it's manageable since we can use set_pdata_int(index, 365, 1 ) even tho being able to block it via a forward would be more convenient
__________________
Quote:
Originally Posted by OciXCrom View Post
Something tells me the link ain't right.
Quote:
Originally Posted by Craxor View Post
Do you mean array with multiple dimensions, read hamlet tut: https://www.youtube.com/watch?v=T3cceM50vyc&t=16s


Last edited by Depresie; 01-13-2017 at 17:44.
Depresie is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 01-13-2017 , 20:37   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #36

Quote:
Originally Posted by Depresie View Post
3) I was talking about a function that hooks spawn, in which we could also prevent it from happening
Something similar to SM's SDKHook's Spawn hook?
__________________
WildCard65 is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 01-14-2017 , 07:49   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #37

I never used sourcemod, so I don't really know
Basically what I was asking for is a forward for Player Spawn in which you can block any further player spawns.

Btw, thanks Arks for adding the CS_NORESET constant
__________________
Quote:
Originally Posted by OciXCrom View Post
Something tells me the link ain't right.
Quote:
Originally Posted by Craxor View Post
Do you mean array with multiple dimensions, read hamlet tut: https://www.youtube.com/watch?v=T3cceM50vyc&t=16s

Depresie is offline
metal_upa
Member
Join Date: Jun 2016
Old 01-15-2017 , 21:00   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #38

Quote:
Originally Posted by Depresie View Post
I never used sourcemod, so I don't really know
Basically what I was asking for is a forward for Player Spawn in which you can block any further player spawns.

Btw, thanks Arks for adding the CS_NORESET constant
I think that const is already in 1.8.3dev repo, but it was deleted by mistake. And now it was re-added.
metal_upa is offline
edon1337
Senior Member
Join Date: Jun 2016
Location: The Street
Old 01-16-2017 , 11:57   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #39

Nice ideas, I don't understand the 3rd though.
__________________
trobax
Accepting Paid Request
edon1337 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 12:51.


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