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

[ANY] SourceComms (0.9.266 - 22/11/2014)


Post New Thread Reply   
 
Thread Tools Display Modes
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 02-01-2013 , 05:02   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #21

Quote:
Originally Posted by Root_ View Post
please explain me why that? Usually plugins is dealing with each other using natives, not plugin name
Spoiler
Look in basecomm.inc
Code:
public SharedPlugin:__pl_basecomm = 
{
	name = "basecomm",
	file = "basecomm.smx",
#if defined REQUIRE_PLUGIN
	required = 1,
#else
	required = 0,
#endif
};
All third-party plugins, which includes <basecomm> (to using basecomm natives, for example), searches working basecomm.smx (because it is required as defined in basecomm.inc) plugin on server. And if it could not be found - a third-party plug will be stopped

Spoiler

Last edited by ppalex; 02-01-2013 at 05:04.
ppalex is offline
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 02-01-2013 , 05:06   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #22

my fault (I forgot to look at end of basecomm.inc file...)
That makes sence! Actually you can avoid basecomm dependence, using #undef REQUIRE_PLUGIN #include <basecomm> (natives will be avalible anyway) however other plugins should be also updated for that
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 02-01-2013 , 05:14   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #23

Quote:
Originally Posted by Root_ View Post
using #undef REQUIRE_PLUGIN #include <basecomm>(natives will be avalible anyway)
Seriously? If i will unload basecomm.smx - Who provide IsClientGagged native for my plugin?
Spoiler
ppalex is offline
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 02-01-2013 , 17:49   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #24

Plugin uploaded to GitHub.

Someone started using the plugin? Your feedback?

Last edited by ppalex; 02-01-2013 at 17:50.
ppalex is offline
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 02-01-2013 , 19:40   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #25

Catched new bug. see 1st post. plugin version 0.7.122 through auto-update.
Quote:
* **0.7.122**
* Fixed bug: punishments were recorded into the database twice.
* Remove "select from queue" query from logging.
* Fixed bug with wrong logging comms actions in SM logs.
* Enable sql-queries log.

Last edited by ppalex; 02-01-2013 at 21:26.
ppalex is offline
melaf
Senior Member
Join Date: Aug 2011
Old 02-01-2013 , 23:00   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #26

I use the plugin, I like it very much
but there is a bug
rus
Я использую этот плагин, и мне очень нравится
но есть несколько багов


1. If you click on the link steamid not correct
Rus
1. Если нажать на ссылку SteamID то переносишься на неизвестную страницу






2. and what kind of nicknames sometimes obtained
Rus
2. Что это за ники, когда сам себя банишь, что они означют. и зачем вообще такие, пусть будут те, который были в данный момент в игре





+++++++++++++++++++++++++++++++++

I do not use automatic updates,
What do I need to upgrade from version 0.7.114 to 0.7.122
Rus
Я не использую авто обновление, и не собираюсь
Подскажите, что мне нужно обновить с версии 0.7.114 до 0.7.122
__________________

Last edited by melaf; 02-03-2013 at 01:35.
melaf is offline
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 02-02-2013 , 03:51   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #27

Quote:
Originally Posted by melaf View Post
1. Если нажать на ссылку SteamID то переносишься на неизвестную страницу[/I][/SIZE]
Посмотрим-поправим, но чуть-чуть позже. Можно ссылку на sourcebans, чтобы быть точно уверенным, в чем ошибка?
UPD Отредактируй page_comms.tpl, найди
Code:
<a href="/redirect.php?srv={$ban.server_id}&type=2&authid={$ban.steamid}" target="_blank">{$ban.steamid}</a>
(примерно на 161 строке) и замени просто на
Code:
{$ban.steamid}
Quote:
Originally Posted by melaf View Post
2. Что это за ники, когда сам себя банишь, что они означют. и зачем вообще такие, пусть будут те, который были в данный момент в игре
А это вот как раз баг непонятно откуда вылез, поэтому в последней версии (0.7.122) Включено ведение лога всех sql запросов. Если такие ники будут появляться и дальше - пришли мне sourcecomm-q.log из папки sourcemod\logs

Quote:
Originally Posted by melaf View Post
Я не использую авто обновление, и не собираюсь
Подскажите, что мне нужно обновить с версии 0.7.114 до 0.7.122
Обновил первый пост. Для обновления до версии 0.7.122 достаточно скачать и заменить только sourcecomms.smx
UPD2 Настоятельно рекомендую при этом обновить сам сурмсод до версии 1.5.0-dev+3761 (или новее) ИЛИ только плагин basecomm до той же версии

p.s. Посмотрел как это у тебя выглядит - для такого широкого меню - рекомендую отказаться от быстрого поиска "заглушек" и убрать это поле - для это верни оригинальные версии файлов themes\**\css\css.php и themes\**\submenu.tpl

Last edited by ppalex; 02-02-2013 at 04:05.
ppalex is offline
melaf
Senior Member
Join Date: Aug 2011
Old 02-02-2013 , 04:37   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #28

PHP Code:
L 02/02/2013 13:33:49: [sourcecomms.smxSet encodingQUERYSET NAMES "UTF8"
L 02/02/2013 13:33:54: [sourcecomms.smxChecking blocks for: STEAM_0:1:13426901. QUERYSELECT (c.ends UNIX_TIMESTAMP()) as remainingc.lengthc.typec.createdc.reasona.user, if (a.immunity>0a.immunityIFNULL(g.immunity,0)) as immunity FROM sb_comms c LEFT JOIN sb_admins a ON a.aid=c.aid LEFT JOIN sb_srvgroups g ON g.name a.srv_group WHERE c.authid REGEXP '^STEAM_[0-9]:1:13426901$' AND (length '0' OR ends UNIX_TIMESTAMP()) AND RemoveType IS NULL
L 02
/02/2013 13:34:38: [sourcecomms.smxUTIL_InsertBlockQUERYINSERT INTO sb_comms (authidnamecreatedendslengthreasonaidadminIpsidtypeVALUES ('STEAM_0:1:13426901'', IFNULL(g.immunity,0)) as immunity <7'UNIX_TIMESTAMP(), UNIX_TIMESTAMP() + 18001800'Оскорбление админов'IFNULL((SELECT aid FROM sb_admins WHERE authid 'STEAM_0:1:13426901' OR authid REGEXP '^STEAM_[0-9]:1:13426901$'),'0'), '188.17.165.91'81)
L 02/02/2013 13:34:38: [sourcecomms.smxUTIL_InsertBlockQUERYINSERT INTO sb_comms (authidnamecreatedendslengthreasonaidadminIpsidtypeVALUES ('STEAM_0:1:13426901''immunity, IFNULL(g.immunity,0)) as i<7'UNIX_TIMESTAMP(), UNIX_TIMESTAMP() + 18001800'Оскорбление админов'IFNULL((SELECT aid FROM sb_admins WHERE authid 'STEAM_0:1:13426901' OR authid REGEXP '^STEAM_[0-9]:1:13426901$'),'0'), '188.17.165.91'82
Quote:
Originally Posted by ppalex View Post
Посмотрел как это у тебя выглядит - для такого широкого меню - рекомендую отказаться от быстрого поиска "заглушек" и убрать это поле - для это верни оригинальные версии файлов themes\**\css\css.php и themes\**\submenu.tpl
а что вам не нравится, вроде все норм
__________________

Last edited by melaf; 02-02-2013 at 04:58.
melaf is offline
ppalex
Senior Member
Join Date: Nov 2012
Location: Russia, near the Moscow
Old 02-02-2013 , 07:15   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #29

Quote:
Originally Posted by melaf View Post
а что вам не нравится, вроде все норм
Что название текущей страницы на поля для поиска залезает.


Bug with wrong names fixed. Please update plugin to 0.8.1 and you MUST update your basecomm plugins to 1.5.0-dev+3761 (or all sourcemod)

Last edited by ppalex; 02-02-2013 at 09:03.
ppalex is offline
melaf
Senior Member
Join Date: Aug 2011
Old 02-02-2013 , 09:33   Re: [source 2009] SourceComms (0.7.114-beta)
Reply With Quote #30

Quote:
Originally Posted by ppalex View Post
Bug with wrong names fixed. Please update plugin to 0.8.1 and you MUST update your basecomm plugins to 1.5.0-dev+3761 (or all sourcemod)
thanks
__________________

Last edited by melaf; 02-02-2013 at 09:33.
melaf 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 15:37.


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