Register for your free account! | Forgot your password?

You last visited: Today at 09:50

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

Advertisement



[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: 24
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
 
xsrf's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 870
Received Thanks: 642
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: 24
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
 
xsrf's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 870
Received Thanks: 642
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
 
-Venom''s Avatar
 
elite*gold: 10
Join Date: Jan 2015
Posts: 929
Received Thanks: 444
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: 243
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
 
-Venom''s Avatar
 
elite*gold: 10
Join Date: Jan 2015
Posts: 929
Received Thanks: 444
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: 41
Database for SQL 2005 Please
.HeyEyay. is offline  
Old 01/21/2016, 05:51   #42
 
elite*gold: 0
Join Date: Apr 2013
Posts: 511
Received Thanks: 431
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: 41
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: 41
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: 392
Received Thanks: 26
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




All times are GMT +2. The time now is 09:50.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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