Raised This Month: $ Target: $400
 0% 

Register System V9.0 by m0skVi4a ;]


Post New Thread Reply   
 
Thread Tools Display Modes
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 02-18-2012 , 04:47   Re: Register System V4.0 by m0skVi4a ;]
Reply With Quote #161

I think saving by steamid + name would be nice...

check if Name = Name from DB and then compare the steamid.. (would be unique)
Doc-Holiday is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 02-19-2012 , 08:40   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #162

V4.0 FIX 1
See the Changelog.
I need more language translations!
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
mert59
Junior Member
Join Date: Apr 2011
Location: Balikesir/TURKEY
Old 02-19-2012 , 20:14   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #163

what is the problem?

Quote:
L 02/20/2012 - 03:11:18: [MySQL] Invalid info tuple handle: 0
L 02/20/2012 - 03:11:18: [AMXX] Displaying debug trace (plugin "RegisterSystem.amxx")
L 02/20/2012 - 03:11:18: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery")
L 02/20/2012 - 03:11:18: [AMXX] [0] RegisterSystem.sma::HandleConfirmPassword (line 1122)
mert59 is offline
ivomacedo
Member
Join Date: Nov 2010
Old 02-19-2012 , 21:58   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #164

Nice one +karma
ivomacedo is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 02-20-2012 , 15:11   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #165

Quote:
Originally Posted by mert59 View Post
what is the problem?
LOL
No problems on my server :O
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
ToRRent
Junior Member
Join Date: Aug 2011
Location: Cracow (PL)
Old 02-23-2012 , 07:02   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #166

Code:
[pl]
ERROR_CFG = Register System config - %s nie znaleziony!
ERROR_MYSQL = problem z polaczeniem do bazy MYSQL!
ERROR_FILE =  Nie moge odnalezc bazy hasel -  %s   Tworze nowa...
CFG_EXEC = Odpalanie configa NRS -  %s
MYSQL_CONNECT = polaczono z baza MYSQL!
REGISTER_HUD = Masz %d sek. na rejestracje
YOUCANREG_HUD = Ten serwer uzywa systemu rezerwacji nickow^nsay /reg po info
LOGIN_HUD = Masz %d sek. na zalogowanie sie
AUTO_LOGIN_HUD = Zostales automatycznie zalogowany
REGISTER_CHAT = !g%s!t Masz!g %d!t sek. na rejestracje!
YOUCANREG_CHAT = !g%s!t Ten serwer uzywa systemu rezerwacji nickow. Wpisz!g /reg!t po info.
LOGIN_CHAT = !g%s!t Masz!g %d!t sek. na zalogowanie sie!
AUTO_LOGIN_CHAT = !g%s!t Automatycznie zostales zalogowany!
CHAT_REG = !g%s!t Sorry, ale twoj czat jest zablokowany do momentu rejestracji!
CHAT_LOG = !g%s!t Sorry, ale twoj czat jest zablokowany do momentu zalogowania!
MAIN_MENU_LOG = \yRegister System Menu^n\wStatus: [ZALOGOWANY]^n^n\r1.\w Dolacz do\r Terrorystow^n\r2.\w Dolacz do\r  Anty Terrorystow^n\r3.\w Dolacz do\r Obserwatorow^n\r4. Auto Przydzielenie^n^n\d5. Zaloguj^n6. Zarejestruj^n\r7.\w Wyloguj sie^n\r8.\w Opcje^n^n^n\r0.\w Wyjscie
MAIN_MENU_REG = \yRegister System Menu^n\wStatus:\y [ZAREJESTROWANY]^n^n\d1. Dolacz do Terrorystow^n2. Dolacz do Anty Terrorystow^n3. Dolacz do Obserwatorow^n4. Auto Przydzielenie^n^n\r5. Zaloguj^n\d6. Zarejestruj^n7. Wyloguj^n\r8.\w Opcje
MAIN_MENU_NOTREG = \yRegister System Menu^n\wStatus:\r [NIE ZAREJESTROWANY]^n^n\r1.\w Dolacz do\r Terrorystow^n\r2.\w Dolacz do\r Anty Terrorystow^n\r3.\w Dolacz do\r Obserwatorow^n\r4. Auto Przydzielenie^n^n\d5. Zaloguj^n\r6.\w Zarejestruj^n\d7. Wyloguj^n\r8.\w Opcje^n^n^n\r0.\w Wyjscie
MAIN_MENU_NOTREG_FORCE = \yRegister System Menu^n\wStatus:\r [NIE ZAREJESTROWANY]^n^n\d1. Dolacz do Terrorystow^n2. Dolacz do Anty Terrorystow^n3. Dolacz do Obserwatorow^n4. Auto Przydzielenie^n^n\d5. Zaloguj^n\r6. Zarejestruj^n\d7. Wyloguj^n\r8.\w Opcje
OPTIONS_MENU_LOG_ON = \yRegister System^nUstawienia^n^n\r1.\w Zmien Haslo^n\r2.\w Auto logowanie \r WYL.n\r3.\w Pomoc^n^n^n\r0.\w Wyjscie
OPTIONS_MENU_LOG_OFF = \yRegister System^nUstawienia^n^n\r1.\w Zmien Haslo^n\r2.\w Auto logowanie\r WYL.^n\r3.\w Pomoc^n^n^n\r0.\w Wyjscie
OPTIONS_MENU_NOT_LOG = \yRegister System^nUstawienia^n^n\d1. Zmien Haslo^n2. Auto Logowanie^n\r3.\w Pomoc^n^n^n\r0.\w Wyjscie
MENU_PASS = \wPotwierdz haslo:\r %s^n^n\r1.\w Potwierdzam^n\r2.\w Chce jeszcze raz wpisac !^n^n^n\r0.\w Anuluj
LOG_OUT = !g%s!t Wylogowales sie!
AUTO_LOGIN_OFF = !g%s!t Wylaczyles autologowanie na twoj nick!
AUTO_LOGIN_ON = !g%s!t Wlaczyles autologowanie na twoj nick!
AUTO_LOGIN_PASS_NOTVALID = !g%s!t Wpisales zle haslo! sprobuj ponownie ...
REG_EXISTS = !g%s!t Wybacz, ale ten nick jest juz w naszej bazie!
REG_LEN = !g%s!t Haslo powinno posiadac nonajmniej t!g %d!t znakow!
REG_REGIS = !g%s!t THX za Rejestarcje ! Twoje haslo to:!g %s!t Masz teraz!g %d!t sek. na zalogowanie!
LOG_NOTREG = !g%s!t Musisz wpierw zarejestrowac nick by sie zalogowac xD!
LOG_LOGGED = !g%s!t Jestes zalogowany!
LOG_PASS_INVALID = !g%s!t Bledne haslo [!g%d!t/!g%d!t prob]
LOG_LOGING = !g%s!t Logowanie Zakonczone!
CHANGE_TIMES = !g%s!t Sory, ale zmieniles swoje haslo!g %d!t razy! Poczekaj na zmiane mapy!
CHANGE_NO = !g%s!t Bledne haslo!
CHANGE_NEW = !g%s!t Zmieniles swoje haslo na:!g %s!t
NAME_CHANGE_LOG = !g%s!t Nie mozesz zmienic nicku bedac zalogowanym!
NAME_CHANGE_ALL = !g%s!t Nie mozesz zmienic nicku bedac na naszym serwerze!
KICK_REG = Musisz zarejestrowac swoj nick w naszej bazie.
KICK_ATMP = Wpisales %d zlych hasel podczas logowania.
KICK_LOGIN = Ten nick jest juz zarejestrowany w naszej bazie, sprobuj innego.
KICK_LOGOUT = Wylogowales sie!
KICK_INFO = echo; echo; echo **********************************; echo Zostales wyrzucony z serwera przez Register system!; echo %L; echo **********************************; echo; echo; echo
LOGFILE_AUTO_OFF = %s zablokowal autologowanie
LOGFILE_AUTO_ON = %s uruchomil autologowanie
LOGFILE_CHNG_PASS = %s zmienil haslo
LOGFILE_REG = %s zarejestrowal sie
;)

Last edited by ToRRent; 02-24-2012 at 13:10.
ToRRent is offline
Y060N
BANNED
Join Date: Dec 2011
Location: www.equilibriumcs.com
Old 03-04-2012 , 12:51   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #167

L 03/04/2012 - 107:49: [AMXX] Displaying debug trace (plugin "RegisterSystem.amxx")
L 03/04/2012 - 107:49: [AMXX] Run time error 4: index out of bounds
L 03/04/2012 - 107:49: [AMXX] [0] RegisterSystem.sma::Register (line 985)

Which comes to line new_pass[id] = typedpass

Keep running into this error

Last edited by Y060N; 03-04-2012 at 12:52.
Y060N is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 03-05-2012 , 11:51   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #168

Quote:
Originally Posted by Y060N View Post
L 03/04/2012 - 107:49: [AMXX] Displaying debug trace (plugin "RegisterSystem.amxx")
L 03/04/2012 - 107:49: [AMXX] Run time error 4: index out of bounds
L 03/04/2012 - 107:49: [AMXX] [0] RegisterSystem.sma::Register (line 985)

Which comes to line new_pass[id] = typedpass

Keep running into this error
When does the server gives this error?
I'll have a look but i want to know when does the server gives this server, how much on day, is it every day, etc..
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
Y060N
BANNED
Join Date: Dec 2011
Location: www.equilibriumcs.com
Old 03-05-2012 , 11:56   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #169

Every day when it is full. I made the array MAXPLAYERS+1 (33) instead of 32 long and it fixed the error. Why are you using a 2d array here to save their password into it? Can't you just do it with a 1d array?

My second question:
client_printcolor(id, "%L", LANG_PLAYER, "REGISTER_CHAT", prefix, get_pcvar_num(g_regtime))

I changed all the LANG_SERVER into LANG_PLAYER, but when I tested it by changing my language I still only saw it in English (I have Spanish and Portuguese translation made)

Last edited by Y060N; 03-05-2012 at 12:04.
Y060N is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-05-2012 , 12:38  
Reply With Quote #170

When the chat is sent to a specific player lang_server or lang_player shouldnt be used it should be id.

As for the two dementional array. The first is players index second is the password. Atleast thats what i would think. I cant see the code.
Doc-Holiday 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 00:14.


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