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

Showing results 1 to 25 of 67
Search took 0.01 seconds.
Search: Posts Made By: Zefir
Forum: Others 07-11-2012, 05:21
Replies: 545
Views: 1,888,784
Posted By Zefir
Re: [RU] Kto Zdes?

Вот этот код:
public readWeb( )
{
new buffer[2048];
socket_recv( g_hSocketId, buffer, 2047 );

if( buffer[0] )
{
Forum: Others 06-28-2012, 02:41
Replies: 545
Views: 1,888,784
Posted By Zefir
Re: [RU] Kto Zdes?

То есть у тебя приходят только первые пару килобайт и все?

Ну насколько я вижу ты не верно определяешь окончание получения данных.

Опиши проблему подробнее...
Forum: Approved Plugins 06-07-2011, 03:19
Replies: 10
Views: 12,088
Posted By Zefir
Re: SQL Connection Manager

Hi abalad!

Please show YOUR plugin with using library 'SQL_Manager'.

"SQL Connection Manager" is not plugin, this is library for simple manipulate connections.
Forum: Approved Plugins 06-06-2011, 17:01
Replies: 10
Views: 12,088
Posted By Zefir
Re: SQL Connection Manager

Hi, abalad!

Please show code of your plugin.
And show 'configs/sql_manager.vdf'
Forum: Approved Plugins 06-06-2011, 00:45
Replies: 10
Views: 12,088
Posted By Zefir
Re: SQL Connection Manager

Hi, abalad!

Please show sqlm_stats 'db_name'.

Also enable debug and show log.
In source code, uncomment this string:

#define DEBUG
#define SQL_TRAC
Forum: Approved Plugins 04-19-2011, 06:09
Replies: 10
Views: 12,088
Posted By Zefir
Re: SQL Connection Manager

Ok, .zip attached.

Arkshine, tnx :)
Forum: Approved Plugins 04-18-2011, 13:53
Replies: 10
Views: 12,088
Posted By Zefir
SQL Connection Manager

SQL Connection Manager
version 1.0
by Zefir

SQL Manager (sqlm) although an amxx plugin, but by itself does not perform any visible action. It is a library providing a more convenient...
Forum: Code Snippets/Tutorials 12-16-2010, 11:40
Replies: 12
Views: 13,473
Posted By Zefir
Re: [INC] Tiny Encryption Algorithm

This is abstraction examples :)

In real plugin used global variables and some validators...
Forum: Code Snippets/Tutorials 12-16-2010, 11:20
Replies: 12
Views: 13,473
Posted By Zefir
Re: [INC] Tiny Encryption Algorithm

Why keys is different?
Forum: Code Snippets/Tutorials 12-16-2010, 09:55
Replies: 12
Views: 13,473
Posted By Zefir
[INC] Tiny Encryption Algorithm

Tiny Encryption Algorithm (TEA).
Simple and fast symmetric-key algorithm cipher.

.: Description

Tiny Encryption Algorithm (TEA) is a block cipher notable for its simplicity of description and...
Forum: Code Snippets/Tutorials 08-06-2010, 13:00
Replies: 8
Views: 7,428
Posted By Zefir
Re: [INC] hash.inc/hashx.inc

Good :)

Can check fact of fixing inside hash.inc for auto-switch to native function?
Forum: Code Snippets/Tutorials 08-06-2010, 10:15
Replies: 8
Views: 7,428
Posted By Zefir
Re: [INC] hash.inc/hashx.inc

https://bugs.alliedmods.net/show_bug.cgi?id=3816

And first variant:
http://forums.alliedmods.net/showthread.php?p=1020310#post1020310
Forum: Code Snippets/Tutorials 08-06-2010, 10:01
Replies: 8
Views: 7,428
Posted By Zefir
Re: [INC] hash.inc/hashx.inc

Oooo, wtf?

Tnx, fixed...
Forum: Code Snippets/Tutorials 08-06-2010, 09:50
Replies: 8
Views: 7,428
Posted By Zefir
[INC] hash.inc/hashx.inc

hash.inc

Anyone who often use dynamic data arrays Array and Trie knows that TrieSetArray() is bugged in current version.

This library solves this problem by creating an extra array to store...
Forum: Code Snippets/Tutorials 07-30-2010, 16:18
Replies: 0
Views: 3,252
Posted By Zefir
[INC] text.inc

Some simple string functions and macroses...

Macroses:
ptr = get_ptr_to_str(str) - return pointer to allocated str.
get_str_from_ptr(ptr, str, maxlen) - copy string from pointer to variable...
Forum: Scripting Help 07-29-2010, 20:16
Replies: 2
Views: 1,007
Posted By Zefir
Re: [INC] text.inc

Oops, again mistake :( sorry

Moderators, move please...

Ps: Bugsy, tnx
Forum: Scripting Help 07-29-2010, 20:08
Replies: 2
Views: 1,007
Posted By Zefir
[INC] text.inc

Some simple string functions and macroses...

Macroses:
ptr = get_ptr_to_str(str) - return pointer to allocated str.
get_str_from_ptr(ptr, str, maxlen) - copy string from pointer to variable...
Forum: Scripting Help 07-27-2010, 05:59
Replies: 0
Views: 1,000
Posted By Zefir
Free memory

Using 2 functions for allocate string:
new pointer = engfunc(EngFunc_AllocString, str)
global_get(glb_pStringBase, pointer, str, maxlen)

If active used, memory leaked?
If yes, can free...
Forum: Code Snippets/Tutorials 06-11-2010, 04:28
Replies: 11
Views: 10,165
Posted By Zefir
Re: [INC] IP/NET converter and checker

Fixed inet_ntom() and inet_atom() functions...
Forum: Code Snippets/Tutorials 05-23-2010, 16:23
Replies: 11
Views: 10,165
Posted By Zefir
Re: [INC] IP/NET converter and checker

Tnx, fixed.
Спасибо, туплю чет :(
Forum: Code Snippets/Tutorials 05-01-2010, 17:29
Replies: 7
Views: 6,346
Posted By Zefir
Re: [INC] bits.inc

ConnorMcLeod, big thanks.
fixed...
Forum: Code Snippets/Tutorials 05-01-2010, 17:02
Replies: 7
Views: 6,346
Posted By Zefir
Re: [INC] bits.inc

Thanks :)
Forum: Trash 05-01-2010, 17:02
Replies: 1
Views: 781
Posted By Zefir
Re: [INC] bits.inc

sorry for double posting, please remove
Forum: Trash 05-01-2010, 17:00
Replies: 1
Views: 781
Posted By Zefir
[INC] bits.inc

Macro substitutions for bit manipulation
My simple library for manipulate with bits:
Big thanks Void.Less (http://forums.alliedmods.net/member.php?u=51811) for translate :)

Single bits
Bit flag...
Forum: Code Snippets/Tutorials 05-01-2010, 16:56
Replies: 7
Views: 6,346
Posted By Zefir
Re: [INC] bits.inc

Hm..., and where?

Please, you prposal
Showing results 1 to 25 of 67

 
Forum Jump

All times are GMT -4. The time now is 01:14.


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