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

Register System V9.0 by m0skVi4a ;]


Post New Thread Reply   
 
Thread Tools Display Modes
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-23-2013 , 12:32   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #401

Then learn to read..
Quote:
Originally Posted by m0skVi4a View Post
rs_register_time CVAR must be set to higher number than 0. Read first post again and take a look at CVARS part.
Read first post again and take a look at CVARS part.
__________________
Working on:

Admin Prefixes V4.0 - 100% DONE!
Admin Prefixes V4.0 SQL - 100% DONE!
Register system V9.0 - 100% DONE!
Modern Warfare 3 Mod V1.0 BETA - 0% done - PAUSED!

Last edited by m0skVi4a; 04-23-2013 at 12:33.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
ben_x
Member
Join Date: Apr 2013
Old 04-27-2013 , 13:47   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #402

I found a bug

I'm using Register System + Zombie plague (bank: http://forums.alliedmods.net/showthr...=173685&page=8), player's ammo pack is saved by nickname, and their nickname is protected by register system. But what happen is that some people change one of the letter to a capital letter and they can steal someone's else ammo packs.

Example : Register.system (200 ammo packs, LOGGED)

And all they need to do is : registeR.systeM (200 ammo packs, NOT REGISTERED)

Is it possible to add case sensitive? So that they're all the same (Register.System=rEgister.system=REGISTER.Sys tem)

Last edited by ben_x; 04-27-2013 at 14:01.
ben_x is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-27-2013 , 14:07   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #403

Quote:
Originally Posted by ben_x View Post
I found a bug

I'm using Register System + Zombie plague (bank: http://forums.alliedmods.net/showthr...=173685&page=8), player's ammo pack is saved by nickname, and their nickname is protected by register system. But what happen is that some people change one of the letter to a capital letter and they can steal someone's else ammo packs.

Example : Register.system (200 ammo packs, LOGGED)

And all they need to do is : registeR.systeM (200 ammo packs, NOT REGISTERED)

Is it possible to add case sensitive? So that they're all the same (Register.System=rEgister.system=REGISTER.Sys tem)
Changing name when you are registered is forbidden by the system. It is not possible to change your name when you are registered. Try making the registration mandatory.
__________________
Working on:

Admin Prefixes V4.0 - 100% DONE!
Admin Prefixes V4.0 SQL - 100% DONE!
Register system V9.0 - 100% DONE!
Modern Warfare 3 Mod V1.0 BETA - 0% done - PAUSED!
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
ben_x
Member
Join Date: Apr 2013
Old 04-27-2013 , 14:37   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #404

Quote:
Originally Posted by m0skVi4a View Post
Changing name when you are registered is forbidden by the system. It is not possible to change your name when you are registered. Try making the registration mandatory.
They enter with a different name. Ex: "Register.System" and "ReGisTer.SysTem"

Even if registration is mandatory. They're still sharing the same amount of ammo packs, because the bank saves player's ammo pack with get_user_name. (I'm not sure I can do now..)

That's why I hoping to see a verison that will treat those names the same. If I register the name "Register.System", --> "Register.System" and "ReGisTer.SysTem" and "RegisteR.SysteM", etc will all be mine.

Last edited by ben_x; 04-27-2013 at 14:52.
ben_x is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-27-2013 , 15:00   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #405

You tell me that if I enter your server with name m0skVi4a and I play couple of hours and I earn 123 AP and register my name and if you enter in the server with name M0SKVI4A you will have 123 AP without logging in?
__________________
Working on:

Admin Prefixes V4.0 - 100% DONE!
Admin Prefixes V4.0 SQL - 100% DONE!
Register system V9.0 - 100% DONE!
Modern Warfare 3 Mod V1.0 BETA - 0% done - PAUSED!

Last edited by m0skVi4a; 04-27-2013 at 15:01.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
ben_x
Member
Join Date: Apr 2013
Old 04-27-2013 , 15:05   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #406

Quote:
Originally Posted by m0skVi4a View Post
You tell me that if I enter your server with name m0skVi4a and I play couple of hours and I earn 123 AP and register my name and if you enter in the server with name M0SKVI4A you will have 123 AP without logging in?
Yes, thats correct.

How can I prevent that with your plugin?

Last edited by ben_x; 04-28-2013 at 00:19.
ben_x is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-28-2013 , 00:46   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #407

Huh, the problem comes from the AP system. Register System checks the current name (there is no case sensitive). Post a reply in the AP system for telling the problem. They don't have to use case sensitive for name check.
__________________
Working on:

Admin Prefixes V4.0 - 100% DONE!
Admin Prefixes V4.0 SQL - 100% DONE!
Register system V9.0 - 100% DONE!
Modern Warfare 3 Mod V1.0 BETA - 0% done - PAUSED!
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
ben_x
Member
Join Date: Apr 2013
Old 04-28-2013 , 02:13   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #408

Quote:
Originally Posted by m0skVi4a View Post
Huh, the problem comes from the AP system. Register System checks the current name (there is no case sensitive). Post a reply in the AP system for telling the problem. They don't have to use case sensitive for name check.
Some random people fixed most of the errors for that AP plugin (I kinda fixed two more errors), and I changed the plugin to "save by name" myself, all I did was change the get_user_authid to get_user_name. I can tell both plugin uses get_user_name to get the players name, I have no idea why the two plugins don't work together. You were saying "They don't have to use case sensitive for name check", but the plugin don't use Regex module/contain/containi, and Equali is only for commands like /donate. So I wonder what makes the plugin determines/checks the case sensitive? (I'm planning to add that to register system instead of AP system)

I perfer a register system that checks case sensitive when using name+password system, because "registeration is not required" for my server, and it make sense to check case sensitive, because when you have "m0skVi4a" and "M0SKVI4A" online at the same time, the server will change one of their name to (1)m0skVi4a or (1)M0SKVI4A. (often times we use register system with other plugins, and that makes some of the plugins don't work properly if the player's name was (1)M0SKVI4A, not M0SKVI4A).

Last edited by ben_x; 04-28-2013 at 04:17.
ben_x is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 04-28-2013 , 12:12   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #409

Change in your AP system equali to equal wherever it is.
__________________
Working on:

Admin Prefixes V4.0 - 100% DONE!
Admin Prefixes V4.0 SQL - 100% DONE!
Register system V9.0 - 100% DONE!
Modern Warfare 3 Mod V1.0 BETA - 0% done - PAUSED!

Last edited by m0skVi4a; 04-28-2013 at 12:12.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
ben_x
Member
Join Date: Apr 2013
Old 04-28-2013 , 12:31   Re: Register System V7.0 FIX 2 by m0skVi4a ;]
Reply With Quote #410

Quote:
Originally Posted by m0skVi4a View Post
Change in your AP system equali to equal wherever it is.

I was trying to tell you, nothing like that in AP plugin (I changed all of them and confirmed thats only for commands not player's name). And your name+password system, which is the most important part about your plugin doesn't work well with other mods/plugins.

Whoever is using your plugin, mostly will use choose name+password register system, and basically what we will do is to keep everything on the player's name. And what if "m0skVi4a" and "M0SKVI4A" online at the same time? One of them will temp lost his rankings/points because of the name change -> (1)M0SKVI4A


If the plugin generates a key for other plugins to use that would be great, like this one https://forums.alliedmods.net/showpo...60&postcount=2


Code:
authenticater.sma was created to act as a central name+password plugin which would then generate a save key for other plugins to use

Last edited by ben_x; 04-28-2013 at 14:15.
ben_x 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 04:15.


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