| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 31 online users. » 0 Member(s) | 29 Guest(s) Bing, Yandex
|
| Latest Threads |
Last Chaos Server Sale
Forum: The Black Market (Buy, Sell, Trade)
Last Post: XWrongX2
01-26-2026, 11:07 PM
» Replies: 3
» Views: 618
|
All in One Exporter
Forum: Tools
Last Post: Kain88
01-25-2026, 07:04 AM
» Replies: 4
» Views: 442
|
HELP! ReZasCashServer It ...
Forum: Ep4 Support
Last Post: Kain88
01-24-2026, 03:24 PM
» Replies: 2
» Views: 171
|
Hi, does anyone know the ...
Forum: Help
Last Post: Desarija
01-21-2026, 11:29 AM
» Replies: 1
» Views: 120
|
LastChaos Nemesis
Forum: Server Advertising
Last Post: Desarija
01-20-2026, 04:06 PM
» Replies: 3
» Views: 242
|
Looking for EP4 Guidance
Forum: General Discussion
Last Post: xHypnosiaa
01-19-2026, 08:33 AM
» Replies: 1
» Views: 174
|
We're in need of creative...
Forum: Project Recruitment
Last Post: RGT
01-16-2026, 12:48 AM
» Replies: 0
» Views: 123
|
Last Chaos build deployme...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-08-2026, 11:14 AM
» Replies: 0
» Views: 82
|
Last Chaos global server ...
Forum: Ep4 Guides
Last Post: xHypnosiaa
01-07-2026, 07:01 PM
» Replies: 0
» Views: 39
|
EP-2/EP-3 Mixed files
Forum: Archived General Server Releases
Last Post: TeKnodE
01-06-2026, 09:53 PM
» Replies: 1
» Views: 300
|
|
|
| IPB - hidden content |
|
Posted by: Johnny5 - 02-06-2015, 02:39 PM - Forum: Webmasters Help & Talk
- Replies (1)
|
 |
Ok so I have tried to disable when you post it unhides the hide tags
Here is where I think the edit needs to be
<?php
/**
* (TB) Hide Content
* @file tbHideContent.php BBcode custom plugin
*
* @copyright © 2006 - 2013 Invision Byte
* @link http://www.invisionbyte.net/
* @author Terabyte
* @since 01/07/2009
* @updated 09/12/2012
* @version 3.0.7 (30007)
*/
/* Load the parent class if it is not available at this point */
if( !class_exists('bbcode_parent_class') )
{
require_once( IPS_ROOT_PATH.'sources/classes/bbcode/custom/defaults.php');
}
/**
* @class bbcode_hide
* @brief BBcode custom plugin
*/
class bbcode_hide extends bbcode_parent_class implements bbcodePlugin
{
/**
* Topic Data
*
* @var $topic
*/
private $topic;
/**
* Can bypass the check or not
*
* @var $bypass
*/
private $bypass = FALSE;
/**
* Constructor
*
* @param object $registry Registry object
* @param object $_parent Parent bbcode class
* @return @e void
*/
public function __construct( ipsRegistry $registry, $_parent=null )
{
$this->currentBbcode = 'hide';
parent::__construct( $registry, $_parent );
if ( $_parent->parsing_section != 'topics' )
{
$this->topic = array( 'tid' => 0 );
}
/* Init our code */
$this->cache->updateCacheWithoutSaving( '_tmp_bbcode_hide', array() );
/* Can bypass the check? */
$this->settings['tb_hc_groups'] = IPSText::cleanPermString( trim($this->settings['tb_hc_groups']) );
$this->settings['tb_hc_members'] = IPSText::cleanPermString( trim($this->settings['tb_hc_members']) );
if ( $this->settings['tb_hc_groups'] != '' && IPSMember::isInGroup( $this->memberData, explode(',', $this->settings['tb_hc_groups']) ) )
{
$this->bypass = TRUE;
}
elseif ( $this->memberData['member_id'] > 0 && $this->settings['tb_hc_members'] != '' && in_array( $this->memberData['member_id'], array_map( 'trim', explode(",", $this->settings['tb_hc_members']) ) ) )
{
$this->bypass = TRUE;
}
ipsRegistry::getAppClass('forums');
}
/**
* Setup the topic ID
*
* @return @e boolean Returns FALSE if check fails otherwise returns true
*/
private function _setupTopic()
{
// Topic is already setup?
if ( !isset($this->topic['tid']) )
{
if ( $this->cache->exists('tb_hide_topic') && !empty($this->caches['tb_hide_topic']['tid']) )
{
$this->topic = $this->cache->getCache('tb_hide_topic', false);
$this->cache->updateCacheWithoutSaving( 'tb_hide_topic', array() );
}
elseif ( isset($this->registry->class_forums->topic_cache['tid']) && $this->registry->class_forums->topic_cache['tid'] )
{
$this->topic['tid'] = $this->registry->class_forums->topic_cache['tid'];
$this->topic['starter_id'] = $this->registry->class_forums->topic_cache['starter_id'];
$this->topic['last_poster_id'] = $this->registry->class_forums->topic_cache['last_poster_id'];
}
else
{
/* If we are here we are not parsing a topic or something is wrong :| */
$this->topic = array( 'tid' => 0 );
}
}
return TRUE;
}
/**
* Do the actual replacement
*
* @param string $txt Parsed text from database to be edited
* @return @e string BBCode content, ready for editing
*/
protected function _replaceText( $txt )
{
# Setup the topic
$this->_setupTopic();
//-----------------------------------------
// Get all our aliases :|
//-----------------------------------------
$_tags = $this->_retrieveTags();
foreach( $_tags as $_tag )
{
//-----------------------------------------
// Start building open/close tag
//-----------------------------------------
$open_tag = '[' . $_tag . ']';
$close_tag = '[/' . $_tag . ']';
/* Infinite loop catcher */
$_iteration = 0;
//-----------------------------------------
// Doz I can haz opin tag? Loopy loo
//-----------------------------------------
while( ( $this->cur_pos = stripos( $txt, $open_tag, $this->cur_pos ) ) !== false )
{
/* Stop infinite loops */
if( $_iteration > $this->settings['max_bbcodes_per_post'] )
{
break;
}
$_iteration++;
/* Grab the new position to jump to */
$new_pos = strpos( $txt, ']', $this->cur_pos ) ? strpos( $txt, ']', $this->cur_pos ) : $this->cur_pos + 1;
/* No closing tag */
if( stripos( $txt, $close_tag, $new_pos ) === false )
{
break;
}
/* Different topic ID? */
if ( isset($this->caches['tb_hide_topic']['tid']) && $this->topic['tid'] != $this->caches['tb_hide_topic']['tid'] )
{
$this->topic = $this->cache->getCache('tb_hide_topic', false);
}
// Init cache things =O
$existing = $this->cache->getCache('_tmp_bbcode_hide', false);
if( !isset($existing[ $this->topic['tid'] ]))
{
$existing[ $this->topic['tid'] ] = false;
# Bypass
if ( $this->bypass )
{
$existing[ $this->topic['tid'] ] = true;
}
# Topic starter/Last Poster
elseif ( $this->memberData['member_id'] )
{
if ( $this->topic['starter_id'] == $this->memberData['member_id'] || $this->topic['last_poster_id'] == $this->memberData['member_id'] )
{
$existing[ $this->topic['tid'] ] = true;
}
# Get from DB
elseif ( $this->topic['tid'] > 0 )
{
$hideCheck = $this->DB->buildAndFetch( array( 'select' => 'pid',
'from' => 'posts',
'where' => 'topic_id=' . $this->topic['tid'] . ' AND author_id=' . $this->memberData['member_id'] . ' AND ' . $this->registry->class_forums->fetchPostHiddenQuery('visible'),
'limit' => array( 0, 1 )
) );
$existing[ $this->topic['tid'] ] = ( intval($hideCheck['pid']) > 0 ) ? true : false;
// [EN34] Ajax Thanks v1.0.7
if ( $this->settings['en30_ajaxthanks'] && $this->settings['en30_ajaxthankshidehack'] && ! $existing[ $this->topic['tid'] ] && $this->memberData['member_id'] )
{
$this->DB->build( array( 'select' => 'thankers', 'from' => 'posts', 'where' => 'topic_id='.$this->topic['tid'] ) );
$this->DB->execute();
while( $row = $this->DB->fetch() )
{
if ( $row['thankers'] != "" )
{
$thankers = unserialize( stripslashes( $row['thankers'] ) );
foreach ( $thankers as $id => $name )
{
if ( $id == $this->memberData['member_id'] )
{
$existing[ $this->topic['tid'] ] = true;
break;
}
}
}
if ( $existing[ $this->topic['tid'] ] )
{
break;
}
}
}
// [EN34] Ajax Thanks v1.0.7
}
}
/* Update our cache */
$this->cache->updateCacheWithoutSaving( '_tmp_bbcode_hide', $existing );
}
/* Grab content */
$_content = substr( $txt, ($this->cur_pos + strlen($open_tag)), (stripos( $txt, $close_tag, $this->cur_pos ) - ($this->cur_pos + strlen($open_tag))) );
/* Replace time */
if( $_content )
{
$txt = substr_replace( $txt, $this->_buildOutput( $_content, $existing[ $this->topic['tid'] ] ), $this->cur_pos, (stripos( $txt, $close_tag, $this->cur_pos ) + strlen($close_tag) - $this->cur_pos) );
}
else
{
$txt = substr_replace( $txt, '', $this->cur_pos, (stripos( $txt, $close_tag, $this->cur_pos ) + strlen($close_tag) - $this->cur_pos) );
}
/* Reset current position */
$this->cur_pos = stripos( $txt, $open_tag ) ? stripos( $txt, $open_tag ) : $this->cur_pos + 1;
if( $this->cur_pos > strlen($txt) )
{
$this->cur_pos = 0;
break;
}
}
}
return $txt;
}
/**
* Build the actual output to show
*
* @param string $content This is the contents of the quote
* @param bool $hasReplied TRUE if the member has replied to the topic or can bypass
* @return @e string Content to replace bbcode with
*/
private function _buildOutput( $content, $hasReplied=false )
{
//-----------------------------------------
// Build output and return it
//-----------------------------------------
$output = '<!--TB_HIDE_CONTENT-->';
/* Init our state, yay! */
$hideState = $this->cache->getCache( 'tb_hide_topicState', false );
$hideState = is_array($hideState) ? $hideState : array();
/* Has replied to the topic already? */
if ( $hasReplied )
{
$hideState[ $this->topic['tid'] ] = false;
//$output .= $this->registry->getClass('output')->getTemplate('post')->tbUnhiddenContent( $content );
$output .= $this->registry->getClass('output')->getTemplate('post')->tbHiddenContent();
}
else
{
$hideState[ $this->topic['tid'] ] = false;
/* Sort if we have attachments to remove.. */
if ( stripos( $content, '[attachment=' ) !== FALSE )
{
preg_match_all( "#\[attachment=(\d+?)\ ?:[^\]]+?)\]#is", $content, $match );
if ( is_array($match[0]) and count($match[0]) )
{
/* No cache setup yet? */
if ( $this->cache->exists('tb_hide_attachs') )
{
$_currentAttachs = $this->cache->getCache('tb_hide_attachs', false);
}
else
{
$_currentAttachs = array();
}
/* Cycle through attachments */
for ( $i = 0 ; $i < count($match[0]) ; $i++ )
{
if ( intval($match[1][$i]) == $match[1][$i] )
{
$_currentAttachs[ $match[1][$i] ] = $match[1][$i];
}
}
$this->cache->updateCacheWithoutSaving( 'tb_hide_attachs' , $_currentAttachs );
}
}
/* ..and take care of the output */
$output .= $this->registry->getClass('output')->getTemplate('post')->tbHiddenContent();
}
/* Save our topic status, yup save it here! */
$this->cache->updateCacheWithoutSaving( 'tb_hide_topicState', $hideState );
return $output;
}
}
|
|
|
| Teleporter in serious editor |
|
Posted by: bignoob77 - 02-06-2015, 02:10 PM - Forum: Solved topics
- Replies (7)
|
 |
Just wanted to ask and see if anyone knows why i can only use networked zones in serious editor ? GoZone`s just freeze the character . GoZone`s that are already in the game client and i mean the ones that you can just walk though to go to other world`s they all work , But if i create a GoZone it will not work .
|
|
|
| [HowTo] Use Gamigo US Client for 2014/2015 Server! |
|
Posted by: Nikolee - 02-05-2015, 08:34 PM - Forum: Server Side
- Replies (2)
|
 |
Good Evening,
in this HowTo i will show you, how to use the Latest Gamigo US Client with the 2014/2015 Server Files.
• Download Proxifier: 2
• Install and launch Proxifier.
• Now in the right Corner on the Menu you will see the Dropdown Menu "Profile" click on it and open the Menu "Proxy Servers..."
• A new Window appears, click on "Add..."
• Once again a new Windows appears, fill the fields like this:
- At Address: the Proxy IP (usually 127.0.0.1)
- At Port: The Port on which the Proxy listen.
- At Protocol you choose "SOCKS Version 5".
- and then Click "OK".
• On the next Dialogs which will appear, just press "No".
• Now you open again the Menu Profile and choose the Menu "Proxification Rules...".
• On the new Windows click "Add..."
• Enter something like this:
- At "Name" just enter "LC".
- At Applications click on "Browse..." and choose the Nksp.exe from the Gamigo Client.
- At Actions you choose the Proxy that we created.
- It should look like this:
• After you clicked "OK" it should look like this:
• Now you can Minimize Proxifier.
• Download the Attached File and unpack it somethere.
• Open the Config.ini and change the values.
[config]
; The Host IP for the Proxy
; Usually 127.0.0.1
[IP]
IP=127.0.0.1
; Listen Port for the Proxy
[PORT]
PORT=1080
; LoginServer IP
[LS_IP]
LS_IP=127.0.0.127
; LoginServer Port
[LS_PORT]
LS_PORT=4001
; GameServer IP
[GS_IP]
GS_IP=127.0.0.1
; GameServer Port
[GS_PORT]
GS_PORT=4001
• Start the Application and then simply run the Gamigo Client. (DONT change the Sl.dta!)
• If you have done everything right, you will be able to login, if you arent able check once again all steps and then ask questions!
Have fun
- The Notorious B.I.G
(Source code from the Proxy is included!)
Also note that on this Account here, is not only Nikola, i (who is now releasing this) and Nikola are 2 diffrent guys but we know each other in Real - Life!
[hide]2[/hide]
|
|
|
| Jewel Rye |
|
Posted by: strikeur - 02-05-2015, 03:21 PM - Forum: Solved topics
- Replies (2)
|
 |
Hello Guys .
How to offer 100% success the jewels in the database?
For now I did: / 10000 jewelrye all
But every reboot I have to redo the defois and also that there is no reboot.
If you have a solution I'm interested
Thank You
|
|
|
| Cash Server |
|
Posted by: dimon21 - 02-04-2015, 06:05 PM - Forum: Solved Topics
- Replies (8)
|
 |
Help! When you buy in the store shopping thing just hangs. And in the shop server that's what
The basis of all flooded. The first thing is taken but the rest have failed.
|
|
|
| Serious Editor Problem |
|
Posted by: bignoob77 - 02-03-2015, 11:27 PM - Forum: Solved topics
- Replies (7)
|
 |
My problem is when i move objects in juno they move very quickly and when i move objects in Merac they move super slow what controls this what do i click or change in the serious editor to speed and slow down the placement of my models ?
|
|
|
|