Web Shop

12/25/2015 03:36 macboyem07#106
Quote:
Originally Posted by alexpro10 View Post
Help me please
i have error
[24-Dec-2015 18:33:14 Europe/Paris] PHP 2. CDPSrvr::CreateItem() C:\wamp\www\shop\ChargeFlyffItem.php:39

[24-Dec-2015 18:33:14 Europe/Paris] PHP 3. CDPSrvr::SendAPICmd() C:\wamp\www\shop\include\class\class.dpsrvr.php:29



AND ITEM DOESN'T send to ITEM_SEND_TABLE
Then i buy item in game
but then i buy item in site all is good!

sir what webshop version did you use?.. v1.1?
12/25/2015 10:42 alexpro10#107
Quote:
Originally Posted by macboyem07 View Post
sir what webshop version did you use?.. v1.1?
yes
12/27/2015 11:22 alexpro10#108
Quote:
Originally Posted by xsrf View Post
If your item will not send to your character just replace the function with this:

PHP Code:
    // API
        
private function SendAPICmd$ServerIndex$dwPlayerId$dwTargetId$dwCommand 101$dwParam1$dwParam2$dwParam3 )
        {
            
$socket socket_createAF_INETSOCK_STREAMSOL_TCP );
            
$packet pack"VVVVVVVV"$ServerIndex$dwPlayerId$dwTargetId$dwCommand$dwParam1$dwParam2$dwParam3BILLING_CHECK1BILLING_CHECK2 );
            if( @
socket_connect$socketBILLING_IPBILLING_PORT ) )
            {
                
socket_write$socket$packetstrlen$packet ) );
                
socket_close$socket );
                return 
true;
            }
            return 
false;
        }
        
// Create Item
        
public static function CreateItem$dwTargetId$dwItemId$dwItemCount )
        {
            if( !
is_numeric$dwItemId ) )
            {
                
$SQL = new MSSQLtrue );
                
$Query "USE [ITEM_DBF] SELECT * FROM [ITEM_TBL] WHERE [szName] = %s";
                
$dwItemId $SQL->Exec$Query$dwItemId ) ? $SQL->fetch[0]['dwID'] : false;
                if( !
is_numeric$dwItemId ) )
                    return 
false;
            }
            return 
CDPSrvr::SendAPICmd01, (int)$dwTargetId, (int)$dwTargetId$dwItemId$dwItemCount); 
I have the same function

web shop works when player is offline when i use shop in site
but when i use web shop in game my dpoins lost but item doesn't send
and in php log this error

[27-Dec-2015 12:16:16 Europe/Paris] PHP Strict standards: Non-static method CDPSrvr::SendAPICmd() should not be called statically in C:\wamp\www\shop\include\class\class.dpsrvr.php on line 29

[27-Dec-2015 12:16:16 Europe/Paris] PHP Stack trace:

[27-Dec-2015 12:16:16 Europe/Paris] PHP 1. {main}() C:\wamp\www\shop\ChargeFlyffItem.php:0

[27-Dec-2015 12:16:16 Europe/Paris] PHP 2. CDPSrvr::CreateItem() C:\wamp\www\shop\ChargeFlyffItem.php:39



help mee please!!!

web shop works when player is offline when i use shop in site
but when i use web shop in game my dpoins lost but item doesn't send
and in php log this error

[27-Dec-2015 12:16:16 Europe/Paris] PHP Strict standards: Non-static method CDPSrvr::SendAPICmd() should not be called statically in C:\wamp\www\shop\include\class\class.dpsrvr.php on line 29

[27-Dec-2015 12:16:16 Europe/Paris] PHP Stack trace:

[27-Dec-2015 12:16:16 Europe/Paris] PHP 1. {main}() C:\wamp\www\shop\ChargeFlyffItem.php:0

[27-Dec-2015 12:16:16 Europe/Paris] PHP 2. CDPSrvr::CreateItem() C:\wamp\www\shop\ChargeFlyffItem.php:39



help mee please!!!
01/07/2016 20:37 Mr.Greenthumb#109
guten abend zusammen

habe mal ne frage habe mir diesen shop auch mal installiert allerdings sagt der mir auf meiner webseite


aber ich habe die odbc eingerichtet und die config habe ich auch alles richtig drinne eingefügt aber bekomme trotzdem diese meldung woran kann das liegen ich hoffe ihr könnt mir helfen danke im vorraus ^^
01/08/2016 23:14 Mr.Greenthumb#110
kann mir da wirklich niemand helden ? ^^
01/09/2016 22:03 Sedrika#111
Hast du zufällig in der Config die falsche sql version eingetragen?
01/10/2016 00:00 Mr.Greenthumb#112
gut nu habe ich das problem wenn ich etwas kaufen will sagt der kauf fehlgeschlagen ^^
01/10/2016 07:01 Sedrika#113
Habe mir mal etwas Zeit genommen und den Code den ich damals fabriziert habe verbessert.

- SQL Klasse verbessert
- Viele neue Item Icons hinzugefügt
- Item Beschreibungen fixed

Konnte es allerdings nicht live testen, wäre nett wenn jemand das für mich übernehmen würde.

Bei weiterer Gelegenheit schreibe ich das ganze auf PHP 7 um.
01/10/2016 14:48 Mr.Greenthumb#114
sobald man auf die seite gehen will kommt dieser error ^^

Fatal error: Class 'MSSQL' not found in C:\xampp\htdocs\shop\login.php on line 16
01/10/2016 15:41 Sedrika#115
Mir ist da wohl in der Nacht ein kleiner Flüchtigkeitsfehler unterlaufen.

Lade es dir neu herunter oder öffne die class.odbc.php und ändere den Klassennamen von CMSSQL auf MSSQL um.
01/10/2016 16:19 Mr.Greenthumb#116
oke nun gehts auf aber man kann sich nicht einloggen man gibt daten ein aber dann refresht das nur und nichts passiert man ist wieder im loginfenster

sagt mir die fehlermeldung

Fehler: Charakter konnte nicht abgerufen werden.

aber daten von mssql sind richtig odbc ist auch eingerichtet
01/17/2016 03:58 macboyem07#117
how to fix the undefined 'retval' ? i use the webshop 1.2
01/17/2016 10:15 Lumi#118
Quote:
Originally Posted by Mr.Greenthumb View Post
oke nun gehts auf aber man kann sich nicht einloggen man gibt daten ein aber dann refresht das nur und nichts passiert man ist wieder im loginfenster

sagt mir die fehlermeldung

Fehler: Charakter konnte nicht abgerufen werden.

aber daten von mssql sind richtig odbc ist auch eingerichtet
Zeig uns mal den Eintrag. :3

Quote:
Originally Posted by macboyem07 View Post
how to fix the undefined 'retval' ? i use the webshop 1.2
Show us your content.
01/20/2016 14:34 macboyem07#119
Quote:
Originally Posted by ​Lumi View Post
Zeig uns mal den Eintrag. :3



Show us your content.
this is my error undefine index: 'retval',also did not show the item on webshop ingame..i already add in sql but nothing show..[Only registered and activated users can see links. Click Here To Register...]
01/23/2016 01:09 macboyem07#120
help :D