[Release] New Flyff Website

11/03/2015 16:22 joshua.green#31
I have commented out the bottom private function as I am not using Sedrika's in-game webshop.

However when I test to see if the item will go through to my character in-game I get the following error "There was an error while sending an item to your character."

Here part of my itemshop.controller.php file;
PHP Code:
        private function SendItemToPlayer($object){
        
self::Insert($object'Character''ITEM_SEND_TBL');
    }

    
/**private function SendItemToPlayer($object)
        {
            $socket = socket_create( AF_INET, SOCK_STREAM, SOL_TCP );
            $packet = pack( "VVVVVVVV", 01, intval($object['m_idPlayer']), intval($object['m_idPlayer']), intval($object['Item_Name']), intval($object['Item_count']), 0, SOCKET_CHECK1, SOCKET_CHECK2);
            if( @socket_connect( $socket, SOCKET_IP, SOCKET_PORT ) )
            {
                socket_write( $socket, $packet, strlen( $packet ) );
                socket_close( $socket );
                return true;
            }
            return false;
        }**/

I have watched your videos on the OP to see if you change it some how but I cannot see it. I have tried to edit it but it just throws massive errors in my face.

The port 29000 which is needed, is open.

The funny thing is that, is when I comment out the second Private Function

(THIS)
PHP Code:
    private function SendItemToPlayer($object){
        
self::Insert($object'Character''ITEM_SEND_TBL');
    } 
And I un-comment the last Private function the website shows that it has sent the item but It does not show in-game.

If its easier for me to just add you on Skype and discuss it through there let me know please.

Sorry for being a pain in the ass I just really want to get this finished so I can carry on working on the source haha.

Sorry and Thanks
11/03/2015 17:47 xsrf#32
You have to edit the object (Array) in the function where the Item Send Function ist called.

For sending items via Database Port 29000 ist not needed!!

Skype: peachu.dev
11/12/2015 11:40 joshua.green#33
Anyone got an idea on how to fix the errors in the admin panel?

Code:
Undefined index: p in C:\wamp\www\Admin\Source\Controller\Nav.Controller.php on line 7 Call Stack #TimeMemoryFunctionLocation 10.0000137704{main}( )..\index.php:0 21.0431399800require_once( 'C:\wamp\www\Admin\Templates\Erendora\Construct\Navigation.php' )..\index.php:40 31.0811400200Nav::Link( )..\Navigation.php:31 ">Search Acount
I've checked the Nav.controller.php on line 7 but its not calling a stack. (I have put a 7. on line seven).

Code:
<?php

class Nav {
	
    public static function Link($param){
        $arr = array('active', null);
7.        $site = hex2bin($_GET[SITE_PARAM]);
        if(isset($_GET[SITE_PARAM]) and !empty($_GET[SITE_PARAM])){
             $site = hex2bin($_GET[SITE_PARAM]);
            if($param === $site){
                return $arr[0];
            }else {
                return $arr[1];
            }
        }else {
            if($param === DEFAULT_SITE){
                return $arr[0];
            }else {
                return $arr[1];
            }
        }
    }
    
    public static function Collapse($param){
        $arr = array('in', null);
        if(isset($_GET[SECOND_SITE_PARAM]) and !empty($_GET[SECOND_SITE_PARAM])){
            $site = hex2bin($_GET[SECOND_SITE_PARAM]);
            if($param === $site){
                return $arr[0];
            }else {
                return $arr[1];
            }
        }else {
            if($param === DEFAULT_SITE){
                return $arr[0];
            }else {
                return $arr[1];
            }
        }
    }
    
}
Any ideas?

Thanks.
11/12/2015 11:52 xsrf#34
PHP Code:
<?php

class Nav {
    
    public static function 
Link($param){
        
$arr = array('active'null);
        if(isset(
$_GET[SITE_PARAM]) and !empty($_GET[SITE_PARAM])){
             
$site hex2bin($_GET[SITE_PARAM]);
            if(
$param === $site){
                return 
$arr[0];
            }else {
                return 
$arr[1];
            }
        }else {
            if(
$param === DEFAULT_SITE){
                return 
$arr[0];
            }else {
                return 
$arr[1];
            }
        }
    }
    
    public static function 
Collapse($param){
        
$arr = array('in'null);
        if(isset(
$_GET[SECOND_SITE_PARAM]) and !empty($_GET[SECOND_SITE_PARAM])){
            
$site hex2bin($_GET[SECOND_SITE_PARAM]);
            if(
$param === $site){
                return 
$arr[0];
            }else {
                return 
$arr[1];
            }
        }else {
            if(
$param === DEFAULT_SITE){
                return 
$arr[0];
            }else {
                return 
$arr[1];
            }
        }
    }
    
}
11/27/2015 05:29 GelMaduro#35
how do I connect the sections . news , events , update with the topics of the forum ?


I need to change here ?

Quote:
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/Source/Includes/Config.php');
$controller = new News();
$object = $controller->GetTopicValues('http://forum.erendora.eu', 'http://37.59.4.34/forum/syndication.php?fid=10&limit=15');
if(!$object['bool']){
echo Validation::Alert2($object[0], $object[1]);
}else {
require_once($path . DEFAULT_TEMPLATE . 'Pages/News/Parts/NewsOutput.php');
}
11/27/2015 10:19 -Venom'#36
Quote:
Originally Posted by GelMaduro View Post
how do I connect the sections . news , events , update with the topics of the forum ?


I need to change here ?
Change the Erendora.eu
11/27/2015 15:58 GelMaduro#37
Quote:
Originally Posted by Gentros' View Post
Change the Erendora.eu
It works with RSS and Atom ?

and another question , the forum need this in localhost ??
11/30/2015 00:01 mystıcα#38
Die Homepage sieht schlicht und nicht "hingeklatscht" aus, wie bei den meisten philippinischen Servern. Gute Arbeit! ;^)
12/02/2015 18:14 Evese#39
Wenn ich ein Item verschicke bekomme ich zwar das hier:


Aber das Item ist auch nach reloggen nicht im Inventar.

Was fällt euch zur Fehlerursache ein? :)

Greets
12/02/2015 20:14 -Venom'#40
Quote:
Originally Posted by Evese View Post
Wenn ich ein Item verschicke bekomme ich zwar das hier:


Aber das Item ist auch nach reloggen nicht im Inventar.

Was fällt euch zur Fehlerursache ein? :)

Greets
Hast du den Source Teil dafür erledigt?
01/19/2016 18:34 .HeyEyay.#41
Database for SQL 2005 Please
01/21/2016 05:51 Wanetrain#42
Quote:
Originally Posted by .HeyEyay. View Post
Database for SQL 2005 Please
Change the "join" in the Proc? thats all?.. if db has some joins (iiiiii don't think..)
02/03/2016 17:42 .HeyEyay.#43
Quote:
Originally Posted by Wanetrain View Post
Change the "join" in the Proc? thats all?.. if db has some joins (iiiiii don't think..)
How sir?
02/05/2016 17:49 .HeyEyay.#44
Help please For Sql 2008 Database Cant restore the DB
02/08/2016 09:17 Mr.Greenthumb#45
habe da ein problem das item das ich mir kaufe die dp werden mir abgezogen aber ingame bekomme ich das item nicht woran liegt das wie kann ich das fixen ?