Jump to content

Release: Protection System ( @security ) #Free


Recommended Posts

Posted

Protection System ( @security ) #Free


This system is already activated in the source of the brAthena.

It was created by Orce, and with my friend's help, we converted to rA, and it's working perfectly with the last revision

Language: PT-BR, EN-US

Ps. Sorry my english :P


 

  • Upvote 1
  • MVP 1
Posted
On 1/9/2018 at 2:05 PM, Popcorn said:

Protection System ( @security ) #Free


This system is already activated in the source of the brAthena.

It was created by Orce, and with my friend's help, we converted to rA, and it's working perfectly with the last revision

Language: PT-BR, EN-US

Ps. Sorry my english :P


 

It has a problem. Once you enabled the block item negotiations, then reconnect. The item negotiations is released again.

  • 4 months later...
  • 1 month later...
Posted
Quote

Gravidade    Código    Descrição    Projeto    Arquivo    Linha    Estado de Supressão
Erro    C2065    'fail': identificador não declarado    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    11599    
Erro    C2065    'fail': identificador não declarado    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    11595    
Erro    C2065    'fail': identificador não declarado    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    11602    
Erro    C2065    'n': identificador não declarado    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    11602    
Erro    C2065    'item_list': identificador não declarado    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    11602    
Erro    C2059    erro de sintaxe: 'return'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    13273    
Erro    C2059    erro de sintaxe: '}'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    13274    
Erro    C2143    erro de sintaxe: ';' ausente antes de '}'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    13274    
Erro    C2143    erro de sintaxe: ';' ausente antes de '{'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    13277    
Erro    C2447    '{': faltando cabeçalho de função (lista formal de estilo antigo?)    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    13277    
Erro    C2059    erro de sintaxe: 'if'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    13282    
Erro    C2059    erro de sintaxe: 'if'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15922    
Erro    C2143    erro de sintaxe: ';' ausente antes de '{'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15923    
Erro    C2447    '{': faltando cabeçalho de função (lista formal de estilo antigo?)    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15923    
Erro    C2059    erro de sintaxe: 'if'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15929    
Erro    C2143    erro de sintaxe: ';' ausente antes de '}'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15932    
Erro    C2143    erro de sintaxe: ')' ausente antes de ';'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15932    
Erro    C2059    erro de sintaxe: '}'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15932    
Erro    C2143    erro de sintaxe: ';' ausente antes de '{'    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15938    
Erro    C2447    '{': faltando cabeçalho de função (lista formal de estilo antigo?)    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    15938    
Erro    C2601    'clif_parse_cashshop_buy': definições de função local são inválidas    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    16313    
Erro    C1004    fim de arquivo inesperado encontrado    map-server    c:\users\lucas\desktop\novo servidor\emulador\src\map\clif.cpp    20587    
 

Estou com esses errors na parte desse clif, como poderia solucionar? obrigado

  • 7 months later...
Posted
On 5/31/2018 at 12:25 PM, yeheyzxca said:

anyone here?

 

I put the code perfectly no errors after recompile but no @security ingame ? reply please help me

Have you loaded the NPC into your server?

  • 3 weeks later...
Posted (edited)

@Haikenz thanks for this Mod, it is working fine. However, when you char select or reconnect, the Negotiations becomes Release status again. Is it also possible to enhance it?

- Prevent the character from using commands (like @storage / @gstorage)

- Prevent use of Vending Skill? 

- Prevent of talking to NPC because the hackers might sell the items to NPC

Thank you!

Edited by idLaZ
  • 3 weeks later...
Posted (edited)
On 4/17/2019 at 1:16 PM, DevMarikuLabsan said:

Alguém usando isso agora? Eu tenho erro. Alguém sabe como consertar isso, obrigado

error.PNG

Estou com erro Alguem tem alguma teoria?

I'm with this same problem, does anyone know how to solve it?

 

Edited by bopi2
  • 8 months later...
  • 1 month later...
  • 1 month later...
Posted (edited)

Please update your patch to latest rAthena

Error on compile

9>D:\Ragnarok\rathena\src\map\pc.cpp(5496,11): error C2440: 'return': cannot convert from 'int' to 'e_additem_result'
9>D:\Ragnarok\rathena\src\map\pc.cpp(5496,10): message : Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)

@Bump, update please

Edited by Petey Pablo
  • 1 month later...
Posted
On 3/31/2019 at 3:21 AM, idLaZ said:

@Haikenz thanks for this Mod, it is working fine. However, when you char select or reconnect, the Negotiations becomes Release status again. Is it also possible to enhance it?

- Prevent the character from using commands (like @storage / @gstorage)

- Prevent use of Vending Skill? 

- Prevent of talking to NPC because the hackers might sell the items to NPC

Thank you!

 

On 12/29/2019 at 9:04 AM, JackTheGorrion said:

good afternoon I would like to know if someone solved the problem that when you reload your characters that security is not removed @Haikenz

screenAzkaban004.jpg

Ive got the same problem when I used this ... I hope my response is not too late ... 

I managed to fixed it by changing 

	OnPCLoginEvent:	
		///////////////////////////////////////////////////////////////////////////////
		// Informs whether the Account protection system is active
		///////////////////////////////////////////////////////////////////////////////
		dispbottom "[Account Protection]";
		if(#BLOCKPASS){
			dispbottom "Security System Enable: Use @"+.comando$+" For more information.";
		} else {
			dispbottom "Security System Disable: Use @"+.comando$+" For more information.";
		}
		end;

to this one

	OnPCLoginEvent:	
		///////////////////////////////////////////////////////////////////////////////
		// Informs whether the Account protection system is active
		///////////////////////////////////////////////////////////////////////////////
		dispbottom "[Account Protection]";
		if(#BLOCKPASS){
			dispbottom "Security System Enable: Use @"+.comando$+" For more information.";
			block 1;
		} else {
			dispbottom "Security System Disable: Use @"+.comando$+" For more information.";
			block 0;
		}
		end;

 

  • Upvote 2
  • 2 weeks later...
  • 3 months later...
  • 3 months later...
  • 1 year later...
Posted (edited)
On 2/18/2020 at 5:04 PM, manuel said:

ctrl+b (bank ) security metod bank ?

 

src/map/clif.c FIND:

void clif_parse_BankCheck(int fd, struct map_session_data* sd) {
	nullpo_retv(sd);

	if( !battle_config.feature_banking ) {
		clif_messagecolor(&sd->bl,color_table[COLOR_RED],msg_txt(sd,1496),false,SELF); //Banking is disabled
		return;
	}	

ADD BELOW:

	// Account Protection - [Orce brAthena]     
	if( sd->state.protection_acc )
	{
		clif_displaymessage(sd->fd, msg_txt(sd,4000));
		return;
	}

 

Edited by Eross
  • 11 months later...
Posted
On 1/9/2018 at 2:05 PM, Haikenz said:

Protection System ( @security ) #Free


This system is already activated in the source of the brAthena.

It was created by Orce, and with my friend's help, we converted to rA, and it's working perfectly with the last revision

Language: PT-BR, EN-US

Ps. Sorry my english :P


 

Hello, is this working on latest git?

  • 2 weeks later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...