+ Reply to Thread
Page 1 of 13 1 2 3 11 ... LastLast
  1. #1
    Lua/C++/PHP Programmer ExibeR's Avatar
    Join Date
    Aug 2007
    Location
    Tromso/Norway
    Posts
    986
    Reputation
    ExibeR is on a distinguished road
    Status
    ExibeR is offline

    [FAQ] - DaoPay Solutions

    Greetings,

    after answering about 20 threads today (70% of them alike), I decided to post all my solutions in one thread.
    And if you get any errors that is not listed below, post here and I'll assist you.

    Issue #1
    Warning: fopen(This content is only visible to registered users.) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in C:\xampp\htdocs\buypoints.php on line 43
    Errors occured:
    * Wrong PIN code, try to enter code again.
    Solution #1
    a)
    1. Go to DaoPay.com
    2. Log in (Who would have guessed?)
    3. Click on Websites, then configure websites.
    4. Choose your Website, and click edit.
    5. Choose EASYpin, and click continue.
    6. Click continue 2 more times, until you arrive at the Allowed IP addresses page.
    7. In nr. 1 insert your domain: This content is only visible to registered users. In nr. 2 insert your IP: x.x.x.x (You can find it at This content is only visible to registered users.)
    8. Under "Link back to your website" insert your domain This content is only visible to registered users.
    9. Click continue, then Save.

    b)
    1. Open buypoints.lua which is found in /xampp/htdocs/
    2. Remember that the array must start with 0.
    Etc:
    This content is only visible to registered users.
    Instead of:
    This content is only visible to registered users.

    Issue #2
    Pincode can be used infinite times
    Solution #2
    1. Log into your DaoPay
    2. Go to Products, then Manage Products
    3. Select your product, and click edit
    4. 3rd line you will find something called "Validity"
    5. Change it from "1 Day" to "1 Counts"
    Problem solved


    Issue #3
    Warning: fopen(trans/daopay.log) [function.fopen]: failed to open stream: No such file or directory in C:\xampp\htdocs\buypoints.php on line 35

    Warning: fwrite(): supplied argument is not a valid stream resource in C:\xampp\htdocs\buypoints.php on line 37

    Warning: fclose(): supplied argument is not a valid stream resource in C:\xampp\htdocs\buypoints.php on line 38
    Solution #3
    1. Go to /xampp/htdocs/
    2. Create a new folder called "trans"
    What can this be used for?
    A log called daopay.log will be written. Inside you can see all Pin Codes that has been used, and which account they were used on. You can use this to check if they actually used their code, or if they are just saying that it didn't work.



    Issue #4
    How do I get DaoPay to transfer money to PayPal?
    Solution #4
    1. Log into DaoPay
    2. Go to My Account and then Customer
    3. Change "Payout Typ" to "PayPal"
    4. Go to Payouts and then Bank Data
    5. Write in your email, and save.
    And your done! Money will be transferred every second month (60days).


    Issue #5
    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ots.z_shop_history_pacc' doesn't exist' in D:\xampp\htdocs\shopsystem.php:374 Stack trace: #0 D:\xampp\htdocs\shopsystem.php(374): PDO->query('SELECT * FROM `...') #1 D:\xampp\htdocs\index.php(184): include('D:\xampp\htdocs...') #2 {main} thrown in D:\xampp\htdocs\shopsystem.php on line 374
    Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'roxx.z_shop_offer' doesn't exist' in C:\xampp\htdocs\shopsystem.php:90 Stack trace: #0 C:\xampp\htdocs\shopsystem.php(90): PDO->query('SELECT * FROM `...') #1 C:\xampp\htdocs\shopsystem.php(174): getOfferArray() #2 C:\xampp\htdocs\index.php(187): include('C:\xampp\htdocs...') #3 {main} thrown in C:\xampp\htdocs\shopsystem.php on line 90
    Solution #5
    In your MySQL database execute (in phpmyadmin):
    This content is only visible to registered users.
    and:
    This content is only visible to registered users.
    and:
    This content is only visible to registered users.
    and:
    This content is only visible to registered users.
    and:
    This content is only visible to registered users.


    Issue #6
    Errors occured:
    * Account/account of player with this name doesn't exist.
    Solution #6
    1. Go to /xampp/htdocs/
    2. Open buypoints.php and:
    Change:
    This content is only visible to registered users.With:
    This content is only visible to registered users.
    3. Then try again, writing your Player Name instead of Account Number.
    And your done!


    Issue #7
    Items are not sent in-game. Not realized yet.
    Solution #7
    IF YOU USE NEW VERSION OF TFS 0.3 (alpha1 or new)
    1. Go to: /data/globalevents/scripts/
    2. Create a new lua file, and call it shop.lua
    3. Insert:
    This content is only visible to registered users.
    4. Go to /data/globalevents/ and open globalevents.xml
    5. Insert:
    This content is only visible to registered users.It will give the players items every 30 seconds. Don't set it lower, will lag down the server.

    IF YOU USE TFS 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13, 0.2.14, 0.2.15, 0.2.16, 0.2.17, 0.2.18, 0.2.19 OR TFS 0.3 REV. under 815:
    1. Go to /data/creaturescripts/scripts/ and open login.lua
    2. Delete everything inside and insert:
    This content is only visible to registered users.


    Issue #8
    How do I get pictures in my shop?
    Solution #8
    1. Go to /xampp/htdocs/item_images/
    2. Add the desired picture there called ID.jpg
    Example:
    Boots of Haste
    Check id in the z_shop_offer table in your database for Boots of Haste. In this example they have ID 7. Then take your picture of the Boots Of Haste and insert it in item_images. Then rename the file to 7.jpg
    That's it.

    If you want to use .gif instead:
    Open up shopsystem.php
    Replace all lines:
    This content is only visible to registered users.With:
    This content is only visible to registered users.


    Issue #9
    How do I make so there is a daopay logo in "buypoints" area, when you press it you will go to daopay.com to call or send sms?
    Solution #9
    You can edit this in buypoints.lua
    Replace the old links.
    This content is only visible to registered users.
    a href = The destination URL
    img src = url of the image you want to show
    width = width of the picture
    height = height of the picture
    alt = alternative text, in case they can't load the picture

    So when you click that picture, you will get redirected to DaoPay or whatever you set the link to



    Issue #10
    I received this email from DaoPay:
    Hi, We have done further investigations, and due to fraud suspicious traffic for your application we are forced to request a passport copy and a copy of any kind of bill, like electricity bill, where we are able to see your address.This address will have to match with the entered address at the daopay controlcenter.Until we receive the requested documents we are forced to freeze your payouts.Thanks for your understanding Kind regards,Daopay Customer SupportJosef mailto: This content is only visible to registered users. daopay.com
    Solution #10
    Do not answer that mail. It is a scam. This can easily be seen as there are several writing and grammar mistakes in every line.

    Hi, We have done further investigations, and due to fraud suspicious traffic for your application we are forced to request a passport copy and a copy of any kind of bill, like electricity bill, where we are able to see your address.This address will have to match with the entered address at the daopay controlcenter.Until we receive the requested documents we are forced to freeze your payouts.Thanks for your understanding Kind regards,Daopay Customer SupportJosef mailto: This content is only visible to registered users. This content is only visible to registered users.

    W - Should continue with a small w
    to fraud - Should contain and a to combine
    .T - Missing space
    daopay - Is written DaoPay
    controlcenter - Two words
    .U - Missing space
    your payouts. - Should be your account
    .T - Missing space
    your understanding - Bad sentence
    understanding Kind regards - Missing dot
    ,D - Missing space
    Daopay - Is written DaoPay
    This content is only visible to registered users. - Wrong email of DaoPay


    Issue #11
    a)
    Errors occured:
    * Server has problem with connection to daopay.com, can't verify PIN code.
    b)
    Warning: fopen(This content is only visible to registered users.) [function.fopen]: failed to open stream: Result too large in C:\xampp\htdocs\buypoints.php on line 43
    Solution #11
    1. Open up your "php.ini" (xampp/php/php.ini)
    2. Search for: memory_limit (Line 246)
    3. Replace:This content is only visible to registered users.
    With:
    This content is only visible to registered users.4. Restart/reload your apache server.
    Last edited by ExibeR; 2nd June 2009 at 02:15.
    If my post helped you, feel free to
    Do you have a problem with DaoPay?
    FAQ - DaoPay Solutions

  2. #2
    Lua/C++/PHP Programmer ExibeR's Avatar
    Join Date
    Aug 2007
    Location
    Tromso/Norway
    Posts
    986
    Reputation
    ExibeR is on a distinguished road
    Status
    ExibeR is offline
    ~Reserved~
    If my post helped you, feel free to
    Do you have a problem with DaoPay?
    FAQ - DaoPay Solutions

  3. #3
    Member ScOrPiOnX's Avatar
    Join Date
    Apr 2009
    Posts
    51
    Reputation
    ScOrPiOnX is on a distinguished road
    Status
    ScOrPiOnX is offline
    WoW!!!
    Really thanks u, you have helped me very much
    Nice guide
    +1 Rep 4 u

  4. #4
    Bożydar Szczymryj Samme's Avatar
    Join Date
    Mar 2008
    Location
    PL ;(
    Posts
    1,103
    Blog Entries
    1
    Reputation
    Samme is on a distinguished road
    Status
    Samme is online now
    nice tutorial
    Sprzedam forum mybb zintegrowane z gesior aac - wspólne konta (konto w grze = konto na forum), możliwość pisania na forum od lvla w configu, przy każdym poście widać lvl, profesje, gildie - możliwość modyfikacji!

    Oferty składać na PW.

  5. #5
    Lua/C++/PHP Programmer ExibeR's Avatar
    Join Date
    Aug 2007
    Location
    Tromso/Norway
    Posts
    986
    Reputation
    ExibeR is on a distinguished road
    Status
    ExibeR is offline
    Thanks, please keep posting issues and I'll solve them.
    If my post helped you, feel free to
    Do you have a problem with DaoPay?
    FAQ - DaoPay Solutions

  6. #6
    Robot Unicorn! Azcarer's Avatar
    Join Date
    Nov 2008
    Location
    u Pedobear?!
    Posts
    844
    Reputation
    Azcarer is on a distinguished road
    Status
    Azcarer is offline

    Arrow No. 2

    Quote Originally Posted by ExibeR View Post
    Greetings,

    6. Click continue 2 more times, until you arrive at the Allowed IP addresses page.
    7. In nr. 1 insert your domain: This content is only visible to registered users. In nr. 2 insert your IP: x.x.x.x (You can find it at This content is only visible to registered users.)
    You said I gonna put it in (NR:2) ??
    Does it have to be like that.. not the ip in number 1??
    Please post back

  7. #7
    Mappah!
    Join Date
    Apr 2009
    Location
    Under your bed.
    Posts
    40
    Reputation
    Likeee is on a distinguished road
    Status
    Likeee is offline
    Nicely done! Repzzor!

    If you don't like when kittens die, You're normal.

    LEVEL HER UP GOD DAMNIT!
    Creature Name: Pussy
    Level this creature up! Click Here!

  8. #8
    Robot Unicorn! Azcarer's Avatar
    Join Date
    Nov 2008
    Location
    u Pedobear?!
    Posts
    844
    Reputation
    Azcarer is on a distinguished road
    Status
    Azcarer is offline
    For who? Exiber

  9. #9
    Senior Member tyngaste's Avatar
    Join Date
    Dec 2008
    Location
    Sweden
    Posts
    223
    Reputation
    tyngaste is on a distinguished road
    Status
    tyngaste is offline
    great tutorial

    Never argue with an idiot. They will bring you down to their level, then beat you with experience.

  10. #10
    Lua/C++/PHP Programmer ExibeR's Avatar
    Join Date
    Aug 2007
    Location
    Tromso/Norway
    Posts
    986
    Reputation
    ExibeR is on a distinguished road
    Status
    ExibeR is offline
    Quote Originally Posted by Azcarer View Post
    You said I gonna put it in (NR:2) ??
    Does it have to be like that.. not the ip in number 1??
    Please post back
    I would prefer having the IP in nr. 2, so you don't have to do that every time your IP changes.
    If my post helped you, feel free to
    Do you have a problem with DaoPay?
    FAQ - DaoPay Solutions

+ Reply to Thread
Page 1 of 13 1 2 3 11 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts