This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[Request] Register System with USERID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kaiii
Member
Join Date: Jul 2023
Location: Hungary
Old 05-12-2024 , 05:11   [Request] Register System with USERID
Reply With Quote #1

I've been searching for a register system with a userid but i cant seem to find anything! I found a lot of register systems but none of it has the User id function

Like when someone registers it has a hashtag and a number.

For example;

Test registered! test(#12553)

or something like that
__________________
I know God doesn't hear dead men. But I expect he answers them.
kaiii is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 05-12-2024 , 06:11   Re: [Request] Register System with USERID
Reply With Quote #2

what systems do you use
__________________
mlibre is offline
kaiii
Member
Join Date: Jul 2023
Location: Hungary
Old 05-12-2024 , 07:06   Re: [Request] Register System with USERID
Reply With Quote #3

Quote:
Originally Posted by mlibre View Post
what systems do you use
Right now im using an older version of m0skVi4a ;]'s Register System ( https://forums.alliedmods.net/showthread.php?t=171460 ) Because this works the best. It would be really cool if someone would be able to add the userid to the current register system i am using...
__________________
I know God doesn't hear dead men. But I expect he answers them.
kaiii is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-12-2024 , 12:48   Re: [Request] Register System with USERID
Reply With Quote #4

What do you mean by "user id"? Everyone already has a SteamID so you can easily just use that.
__________________
fysiks is offline
kaiii
Member
Join Date: Jul 2023
Location: Hungary
Old 05-13-2024 , 12:00   Re: [Request] Register System with USERID
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
What do you mean by "user id"? Everyone already has a SteamID so you can easily just use that.
I know but i saw it in a lot of servers that when a player registers it has a hashtag and a number.
Like for example;

Test35(#1) <---

And if a new player registers again it shows
Player5467(#2)

like the hashtag shows how many players how registered.

And thats what i really want
__________________
I know God doesn't hear dead men. But I expect he answers them.
kaiii is offline
JocAnis
Veteran Member
Join Date: Jun 2010
Old 05-13-2024 , 14:56   Re: [Request] Register System with USERID
Reply With Quote #6

I didnt look too much in that code, but in my opinion with their MySQL table structure - you cant get these results, they only have 'name' , 'password' and 'status'. You can only sort columns for example by name but there is no point because there is nowhere date stored or at least any ID...someone should implement new table for you, pray anyone will do it for free
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
kaiii
Member
Join Date: Jul 2023
Location: Hungary
Old 05-14-2024 , 11:47   Re: [Request] Register System with USERID
Reply With Quote #7

Quote:
Originally Posted by JocAnis View Post
I didnt look too much in that code, but in my opinion with their MySQL table structure - you cant get these results, they only have 'name' , 'password' and 'status'. You can only sort columns for example by name but there is no point because there is nowhere date stored or at least any ID...someone should implement new table for you, pray anyone will do it for free
Oh well.. And isnt there any register system with this type of function? I understand if there isnt any, i just really want to have one. I had one actually but that was buggy and really wasnt good for the zombie server.
__________________
I know God doesn't hear dead men. But I expect he answers them.
kaiii is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 05-14-2024 , 11:58   Re: [Request] Register System with USERID
Reply With Quote #8

simpler like nfvault
__________________
mlibre is offline
Tote
Senior Member
Join Date: Jul 2023
Old 05-15-2024 , 08:56   Re: [Request] Register System with USERID
Reply With Quote #9

Quote:
Originally Posted by kaiii View Post
I know but i saw it in a lot of servers that when a player registers it has a hashtag and a number.
Like for example;

Test35(#1) <---

And if a new player registers again it shows
Player5467(#2)

like the hashtag shows how many players how registered.

And thats what i really want
It's not register system with User ID, it's just counting the number on which position/num the player registered.

For Example:

Player1 is the first player to register himself on the system, so he is considered "#1" after registering
Player2 is the second player to register himself 'after' the first player, so he is considered "#2" after registering
same like this for player3,player5

How can you do it?

1. Make a new global

new g_iRegisterCounts;

now use them where is the register function for ex

remember, you need MySQL or Vault for it.

public player_registered_successfully(id) {
g_iRegisterCounts++
Save_nvaultDATA(id)
Load_nvaultDATA(id)
}

Last edited by Tote; 05-15-2024 at 08:58.
Tote is offline
kaiii
Member
Join Date: Jul 2023
Location: Hungary
Old 05-15-2024 , 11:22   Re: [Request] Register System with USERID
Reply With Quote #10

Quote:
Originally Posted by Tote View Post
It's not register system with User ID, it's just counting the number on which position/num the player registered.

For Example:

Player1 is the first player to register himself on the system, so he is considered "#1" after registering
Player2 is the second player to register himself 'after' the first player, so he is considered "#2" after registering
same like this for player3,player5

How can you do it?

1. Make a new global

new g_iRegisterCounts;

now use them where is the register function for ex

remember, you need MySQL or Vault for it.

public player_registered_successfully(id) {
g_iRegisterCounts++
Save_nvaultDATA(id)
Load_nvaultDATA(id)
}
Oh my god yes!! This is what i want! Sorry for my bad english, it isnt my first language but yes, thats what i want! But im still stuck because im still a newbie to AMXX coding... I have my register system SMA, but it seems really complicated for me :/
__________________
I know God doesn't hear dead men. But I expect he answers them.
kaiii is offline
Reply



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 18:12.


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