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

Solved Thank you supre ;3


Post New Thread Reply   
 
Thread Tools Display Modes
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-26-2020 , 13:20   Re: Thank you supre ;3
Reply With Quote #11

You shouldn't support what's not the correct way.
__________________
Bugsy is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-26-2020 , 14:13   Re: Thank you supre ;3
Reply With Quote #12

Okay...
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 09-27-2020 , 08:29   Re: Thank you supre ;3
Reply With Quote #13

Quote:
Originally Posted by Bugsy View Post
You shouldn't support what's not the correct way.
By this logic, AMXX itself supports non-steam.

Quote:
Originally Posted by users.ini
; Format of admin account:
; <name|ip|steamid> <password> <access flags> <account flags>

; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"
Coding for ONLY name is incorrect.
Coding for ONLY IP is incorrect.
Coding for ONLY SteamID is acceptable.
Coding for all options should never be concidered bad IMO, as long as SteamID is within those options.

I don't know the possibility to run LAN servers without logging in to Steam but I assume it's possible. And therefor it should not be excluded just because.

Don't get me wrong, I hate non-steam. But we should not shame people for creating good, flexible code.
__________________

Last edited by Black Rose; 09-27-2020 at 08:39.
Black Rose is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-27-2020 , 11:45   Re: Thank you supre ;3
Reply With Quote #14

Quote:
Originally Posted by Black Rose View Post
By this logic, AMXX itself supports non-steam.
Duh. AMX-X obviously works for non-steam but we as a community do not condone writing plugins for supporting it.

Quote:
Originally Posted by Black Rose View Post
Coding for ONLY name is incorrect.
Coding for ONLY IP is incorrect.
Coding for ONLY SteamID is acceptable.
Coding for all options should never be concidered bad IMO, as long as SteamID is within those options.

I don't know the possibility to run LAN servers without logging in to Steam but I assume it's possible. And therefor it should not be excluded just because.

Don't get me wrong, I hate non-steam. But we should not shame people for creating good, flexible code.
Every player has a unique steam id, right? Why would someone need to use IP or name over the steam ID. You can have entirely different players using the same IP or name on different days whereas the steam ID is linked to 1 player only. The only exception would be for a LAN situation, but I'm not sure how that works from a steam perspective.
__________________

Last edited by Bugsy; 09-27-2020 at 12:06.
Bugsy is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 05-21-2021 , 15:42   Re: Thank you supre ;3
Reply With Quote #15

@Bugsy

I want to ask you a question!, You said:
Quote:
Originally Posted by Bugsy View Post
You shouldn't support what's not the correct way.
Quote:
Originally Posted by Bugsy View Post
My point is there is no point in using name or IP... steam ID should be the ONLY unique player identifier that is used.
I see you made cs stats editor and cs stats are saving by name not steamid, Can i know why cs stats supporting save by name and you said it's not the correct way!
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 05-21-2021 at 16:10.
Supremache is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-21-2021 , 18:00   Re: Thank you supre ;3
Reply With Quote #16

Name is a field within the data, it is not saving data using the name as the primary key if that's what you're suggesting.

To test your theory, connect to a server and do a few kills and disconnect. Change your name and reconnect and kill a few people and disconnect. Rejoin and find a rank for both player names.
__________________
Bugsy is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 05-21-2021 , 19:17   Re: Thank you supre ;3
Reply With Quote #17

Quote:
Originally Posted by Bugsy View Post
Name is a field within the data, it is not saving data using the name as the primary key if that's what you're suggesting.

To test your theory, connect to a server and do a few kills and disconnect. Change your name and reconnect and kill a few people and disconnect. Rejoin and find a rank for both player names.
I dont know but i think it saving data using the name.

See:

__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-21-2021 , 21:09   Re: Thank you supre ;3
Reply With Quote #18

Well, I didn't develop AMX-X stats and not sure why name would be used as the key for a player. I still stand by steam-id being the ideal way to store information unique to an individual player.

I suppose an exception would be a family sharing the same steam account using different names when they play CS -- for this, name can make sense.

Keith723 50 kills, 0 deaths
Josh542 4 kills, 25 deaths
Both under STEAM_0:0:12345
__________________

Last edited by Bugsy; 05-21-2021 at 21:11.
Bugsy is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 05-22-2021 , 09:07   Re: Thank you supre ;3
Reply With Quote #19

Quote:
Originally Posted by Bugsy View Post
I suppose an exception would be a family sharing the same steam account using different names when they play CS -- for this, name can make sense.
Why you didn't suppose the same thing with time played plugin, It is also considered from player stats data, like if i the owner of server and wann3e to check players time played and there's some players using same steam account so saving data using names will be better choice plus i added options save time data using " steamid , name, ip " and i supported steamid , but if i supported one of those valve then I'll being wrong.
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.
Supremache is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-22-2021 , 09:28   Re: Thank you supre ;3
Reply With Quote #20

With IP you run into the problem where multiple people can be playing on the same IP

With name, you run into the problem where I can change my name to a player that is ranked highly and get owned for a few days, ruining someone else's hard work.

Steamid, assuming the account isn't shared, is ideal as it's not possible for someone to impersonate me on the server.
__________________
Bugsy 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:27.


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