Register for your free account! | Forgot your password?

You last visited: Today at 19:57

  • Please register to post and access all features, it's quick, easy and FREE!


[Release] New Flyff Website

Discussion on [Release] New Flyff Website within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old 11/03/2015, 16:22   #31
 
elite*gold: 0
Join Date: Apr 2013
Posts: 22
Received Thanks: 0
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



joshua.green is offline  
Old 11/03/2015, 17:47   #32
 
elite*gold: 0
Join Date: May 2012
Posts: 864
Received Thanks: 645
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


xsrf is offline  
Old 11/12/2015, 11:40   #33
 
elite*gold: 0
Join Date: Apr 2013
Posts: 22
Received Thanks: 0
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.
joshua.green is offline  
Old 11/12/2015, 11:52   #34
 
elite*gold: 0
Join Date: May 2012
Posts: 864
Received Thanks: 645
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];
            }
        }
    }
    
}


xsrf is offline  
Thanks
1 User
Old 11/27/2015, 05:29   #35
 
elite*gold: 0
Join Date: Nov 2015
Posts: 5
Received Thanks: 0
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');
}
GelMaduro is offline  
Old 11/27/2015, 10:19   #36
 
elite*gold: 96
Join Date: Jan 2015
Posts: 907
Received Thanks: 431
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
-Venom' is offline  
Old 11/27/2015, 15:58   #37
 
elite*gold: 0
Join Date: Nov 2015
Posts: 5
Received Thanks: 0
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 ??
GelMaduro is offline  
Old 11/30/2015, 00:01   #38
 
elite*gold: 0
Join Date: Jun 2015
Posts: 59
Received Thanks: 7
Die Homepage sieht schlicht und nicht "hingeklatscht" aus, wie bei den meisten philippinischen Servern. Gute Arbeit! ;^)
mystıcα is offline  
Old 12/02/2015, 18:14   #39
 
elite*gold: 3
Join Date: Dec 2010
Posts: 1,321
Received Thanks: 242
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
Evese is offline  
Old 12/02/2015, 20:14   #40
 
elite*gold: 96
Join Date: Jan 2015
Posts: 907
Received Thanks: 431
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?
-Venom' is offline  
Old 01/19/2016, 18:34   #41
 
elite*gold: 0
Join Date: Jul 2015
Posts: 167
Received Thanks: 40
Database for SQL 2005 Please
.HeyEyay. is offline  
Old 01/21/2016, 05:51   #42
 
elite*gold: 0
Join Date: Apr 2013
Posts: 480
Received Thanks: 403
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..)
Wanetrain is offline  
Old 02/03/2016, 17:42   #43
 
elite*gold: 0
Join Date: Jul 2015
Posts: 167
Received Thanks: 40
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?
.HeyEyay. is offline  
Old 02/05/2016, 17:49   #44
 
elite*gold: 0
Join Date: Jul 2015
Posts: 167
Received Thanks: 40
Help please For Sql 2008 Database Cant restore the DB
.HeyEyay. is offline  
Old 02/08/2016, 09:17   #45
 
elite*gold: 0
Join Date: Aug 2011
Posts: 376
Received Thanks: 25
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 ?


Mr.Greenthumb is offline  
Reply



« [Tutorial] Create your FlyFF Patcher with BetaPatchClient. | Masquerade Objects/Textures »



All times are GMT +2. The time now is 19:57.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 3KeUpz52VCbhmLwuwydqxu6U1xsgbT8YT5
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.