Re: SourceBans 2.0 Public Preview (2013/07/01)
I figured it out. just remvoed the anchoring $ from \.php$ regex expression and its working :)
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Appreciate all the people loving SB2, and Tsunami thanks for all the hard work!
Quote:
The SourceMod plugin itself is still required to be compliant to the SourceMod license though. If you want an example of a web panel plugin (in progress) you can look at my "Feed" branch (it's just a plugin that outputs bans to an RSS feed (incomplete) but you can see some basic examples of plugin code in there). I have unfortunately been VERY busy at work and unable to complete work on the feed, so anyone wishing to contribute there is welcome to do so. https://github.com/GameConnect/SourceBans/tree/Feed Differing files are here: https://github.com/GameConnect/Sourc...cation/plugins I have made no edits to main files, at all. |
Re: SourceBans 2.0 Public Preview (2013/07/01)
When this goes out of alpha/beta, will there be an upgrade/conversion to 2.x from 1.5?
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
It would be really cool, if I could use multiply MySQL servers (master and slave(s)) :D
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
when u need someone t translate in german call me ^^
i make the translation for the actually SB |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
EDIT: Aaah, it's not complete, but almost everything is done :) |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Peace-Maker did a lot a long time ago, but since then there have been new strings added. You can download the German file and send it when you're done, or fork on GitHub and create a pull request. Use the English file as reference for some original strings.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
is it normal for the "View steam profile" link when you right-click on a person to not do anything at all?
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Yep, confirming: "view profile" does not work.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
guys, can you explain to me why you are using sql query REGEXP for steam-id in the plugin? This is very slow on the large databases.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
To be future proof, we just did STEAM_[0-9]: In SourceBans 1 we couldn't just leave out the STEAM_X: part completely in the database due to legacy reasons, but here we should reconsider that. |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
SteamID64 didn't exist when SourceBans 1 was first released. It does seem a more viable option now. The conversions can be handled in plugin code or in PHP code when entering bans. Allowing the user to still place STEAM_X:X:XXX but storing the STEAMID64 instead. |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Yes. I doesn't talked about "let's change steamid to steamid64 in sourcebans v.1".
Let sourcebans version 1 will remain in history, and 'db scheme' will be done in the best way in second version. |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Can it be that will not take over the sourceban v1 database? I have specified the database from the v1 but it is not included in the v2.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
Quote:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Just throwing this out there, but have you considered renaming this project to something more accurate? This has developed into something much more than just bans so it might do well to have a more appropriate name.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
I have, but I'm not that good at coming up with catchy names. Suggestions are welcome. Also, SourceBans is an established name, so to throw that away and start over would need to be a well-considered decision.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
I have this problem
/usr/www/users/Evil/framework/YiiBase.php(193) { 182 if(is_string($config)) 183 { 184 $type=$config; 185 $config=array(); 186 } 187 elseif(isset($config['class'])) 188 { 189 $type=$config['class']; 190 unset($config['class']); 191 } 192 else 193 throw new CException(Yii::t('yii','Object configuration must be an array containing a "class" element.')); 194 195 if(!class_exists($type,false)) 196 $type=Yii::import($type,true); 197 198 if(($n=func_num_args())>1) 199 { 200 $args=func_get_args(); 201 if($n===2) 202 $object=new $type($args[1]); 203 elseif($n===3) 204 $object=new $type($args[1],$args[2]); 205 elseif($n===4) /usr/www/users/Evil/index.php(16): YiiBase::createWebApplication("/usr/www/users/kd11856/application/config/web.php") 11 defined('YII_DEBUG') or define('YII_DEBUG',true); 12 // specify how many levels of call stack should be shown in each log message 13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 14 15 require_once($yii); 16 Yii::createWebApplication($config)->run(); Can not install |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Please use the power of the code tags:
PHP Code:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
PHP warning
include(PDO.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory D:\Web\htdocs\sourcebans\framework\YiiBase.ph p(421) 409 { 410 include($classFile); 411 if(YII_DEBUG && basename(realpath($classFile))!==$className.' .php') 412 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array( 413 '{class}'=>$className, 414 '{file}'=>$classFile, 415 ))); 416 break; 417 } 418 } 419 } 420 else +++this line have a red color+++ 421 include($className.'.php'); 422 } 423 else // class name with namespace in PHP 5.3 424 { 425 $namespace=str_replace('\\','.',ltrim($classN ame,'\\')); 426 if(($path=self::getPathOfAlias($namespace))!= =false) 427 include($path.'.php'); 428 else 429 return false; 430 } 431 return class_exists($className,false) || interface_exists($className,false); 432 } 433 return true; Stack Trace #0 + D:\Web\htdocs\sourcebans\framework\YiiBase.ph p(421): YiiBase::autoload() #1 unknown(0): YiiBase::autoload("PDO") #2 + D:\Web\htdocs\sourcebans\framework\db\CDbConn ection.php(422): spl_autoload_call("PDO") #3 + D:\Web\htdocs\sourcebans\framework\db\CDbConn ection.php(373): CDbConnection->createPdoInstance() #4 + D:\Web\htdocs\sourcebans\framework\db\CDbConn ection.php(330): CDbConnection->open() #5 + D:\Web\htdocs\sourcebans\framework\db\CDbConn ection.php(469): CDbConnection->setActive(true) #6 + D:\Web\htdocs\sourcebans\framework\db\schema\ mysql\CMysqlSchema.php(159): CDbConnection->createCommand("SHOW FULL COLUMNS FROM `sb_settings`") #7 + D:\Web\htdocs\sourcebans\framework\db\schema\ mysql\CMysqlSchema.php(119): CMysqlSchema->findColumns(CMysqlTableSchema) #8 + D:\Web\htdocs\sourcebans\framework\db\schema\ CDbSchema.php(96): CMysqlSchema->loadTable("sb_settings") #9 + D:\Web\htdocs\sourcebans\framework\db\ar\CAct iveRecord.php(2309): CDbSchema->getTable("{{settings}}") #10 + D:\Web\htdocs\sourcebans\framework\db\ar\CAct iveRecord.php(387): CActiveRecordMetaData->__construct(SBSetting) #11 – D:\Web\htdocs\sourcebans\application\models\S BSetting.php(32): CActiveRecord::model("SBSetting") 27 * @param string $className active record class name. 28 * @return SBSetting the static model class 29 */ 30 public static function model($className=__CLASS__) 31 { 32 return parent::model($className); 33 } 34 35 /** 36 * @return string the associated database table name 37 */ #12 – D:\Web\htdocs\sourcebans\application\componen ts\SourceBans.php(159): SBSetting::model() 154 public function getSettings() 155 { 156 static $_data; 157 if(!isset($_data)) 158 { 159 $_data = (object)CHtml::listData(SBSetting::model()->findAll(), 'name', 'value'); 160 } 161 162 return $_data; 163 } 164 #13 + D:\Web\htdocs\sourcebans\framework\base\CComp onent.php(111): SourceBans->getSettings() #14 – D:\Web\htdocs\sourcebans\application\componen ts\SourceBans.php(257): CComponent->__get("settings") 252 throw new CHttpException(403, 'Please delete the /install folder.'); 253 254 // Set timezone 255 if(!Yii::app()->user->isGuest && !empty(Yii::app()->user->data->timezone)) 256 date_default_timezone_set(Yii::app()->user->data->timezone); 257 else if(!empty(SourceBans::app()->settings->timezone)) 258 date_default_timezone_set(SourceBans::app()->settings->timezone); 259 else 260 date_default_timezone_set('Europe/London'); 261 262 // Set date/time format #15 unknown(0): SourceBans::onBeginRequest(CEvent) #16 – D:\Web\htdocs\sourcebans\framework\base\CComp onent.php(556): call_user_func(array("SourceBans", "onBeginRequest"), CEvent) 551 if(is_array($handler)) 552 { 553 // an array: 0 - object, 1 - method name 554 list($object,$method)=$handler; 555 if(is_string($object)) // static method call 556 call_user_func($handler,$event); 557 elseif(method_exists($object,$method)) 558 $object->$method($event); 559 else 560 throw new CException(Yii::t('yii','Event "{class}.{event}" is attached with an invalid handler "{handler}".', 561 array('{class}'=>get_class($this), '{event}'=>$name, '{handler}'=>$handler[1]))); #17 + D:\Web\htdocs\sourcebans\framework\base\CAppl ication.php(196): CComponent->raiseEvent("onBeginRequest", CEvent) #18 + D:\Web\htdocs\sourcebans\framework\base\CAppl ication.php(167): CApplication->onBeginRequest(CEvent) #19 + D:\Web\htdocs\sourcebans\index.php(16): CApplication->run() 2013-07-16 19:28:37 Apache Yii Framework/1.1.13 Fatal error: Class 'PDO' not found in D:\Web\htdocs\sourcebans\framework\db\CDbConn ection.php on line 422 why...why! |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
This is not running
Yii::createWebApplication($config)->run(); |
Re: SourceBans 2.0 Public Preview (2013/07/01)
1 Attachment(s)
Hello,
I tried to install this version but without success. In the install page filled all the fields and the end said full installation complete please delete the install folder. Sending the file logs attached. |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Okay, having a weird problem with installed on nginx. (Recently changed from apache which it worked fine on)
Basically the index loads fine; http://i.imgur.com/8AAQnUh.png Though if I click any other button on the page, I'm taken to this. http://i.imgur.com/ghsFA9Y.png Which is just a messed up version of my /index.php |
Re: SourceBans 2.0 Public Preview (2013/07/01)
There was some discussion on how to get it to work with Nginx on page 8 and 9. There's also a sample host configuration on the Yii framework website.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
I'm guessing this also means that SourceBans 2.0 is actively developed again? As I have heard something about Sourcebans 2.0 not being actively developed.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
It was, for a long time, not being worked on, there were server crashes, loss of task lists, and all kinds of fun little issues that kept popping up. But SB2 is definitely alive and well and actively developed. We'd love to see more contributors though. Thanks to Yii framework it's easy to learn and add new functionality to SB. Almost all pull requests will be accepted, we want to see it grow! |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Glad to see this is still being worked on.
I know its not on the roadmap but are there any plans for a amxx plugin so we could have global bans for hlds server's also, or is that just not possible? |
Re: SourceBans 2.0 Public Preview (2013/07/01)
Sure it's possible, but you're right that it's not a priority for me to learn amxx scripting to create a SourceBans plugin. Anyone is welcome to write a plugin for it, and if it's well written I would be more than happy to include it in the SourceBans package and give them credit.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Fair enough, I can understand that.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Quote:
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
Are the game plugins included in this release still compatible with SB 1.4.10? Reason I ask is because I have had problems with admins randomly losing authorization ever since that huge TF2 update, e.g. random players lose their chat tags or immunity or the community owner loses their admin even though they are a root admin and that hasn't changed in years. No idea if it's SB's fault, but I'm running the latest SM 1.5.0 build and beta 1.5.0 SB plugins and there are zero error logs or anything for SB. Haven't really gotten anyone to test other servers either as we're lucky to get one filled, but this has been a rather annoying issue.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
The 1.5.0 plugins are the 2.0 plugins for 1.4.10. The only difference is a redesigned database and some additional features. SourceMod 1.5 may authenticate Steam IDs a while later than 1.4 though, maybe something's going wrong there.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
I just recompiled the SB 1.5.0 dev plugins against SM 1.5.0-hg3862 and uploaded them to my server, although I am unsure if it will have any effect on my problem. I'll try to see if I can get more information, as the reports themselves are vague, e.g. "my stuff isn't working." It's definitely a weird problem though with some random admins not having rights while others on the server simultaneously are fine.
|
Re: SourceBans 2.0 Public Preview (2013/07/01)
[IMG]http://img822.**************/img822/6606/081j.png[/IMG]
Have a problem with "File System Requirements" why icon and map imange folder have problems? even /application/config/sourcebans.php this sourcebans.php does not exist in confing folder:cry: |
All times are GMT -4. The time now is 11:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.