Jump to content

Dark Lunacy

Members
  • Posts

    93
  • Joined

  • Last visited

Posts posted by Dark Lunacy

  1. On 9/29/2020 at 12:42 AM, CarlosTorres said:

    Buenas noches, tengo una duda sobre la "Root URL" y donde colocaría mis archivos, es decir tengo 2 ips que me proporciono el host, la de mi server y la de mi pagina. Entiendo que la root url sería la de mi server, cierto? y los archivos donde los pondría, en alguna carpeta especifica?

     

    Necesitas un lugar donde almacenar los parches para que el cliente pueda leer la lista, buscarlos y pueda descargarlos. La versión actual de Thor 13b tiene un tremendo bug que impide que el Thor se actualice. Ocupalo sólo si puedes prescindir de ese error.

     

     

     

     

  2. 3 hours ago, Luny said:

    I found the problem !!!!! 🥳

     

    it was in the src/custom/defines_pre 

    i put this : #define PACKETVER 20151104

    and it is working, thank you a lot for helping .(i had already ensure the desired ports, but it was nice idea thank you ) 🙂

    Now i would love to have some help to my patcher, i have no idea how it is working, i believe i have to make an ftp ? (i'm actually using a vps vultr windows server),

    i tried to found a thor patcher helper /guide or something but i didnt 😕 and i can't find any video on youtube that explains how it works unfortunally

     

     

    Glad to hear.

    There is a complete guide: https://github.com/HerculesWS/Hercules/wiki/Thor-Patcher

    I think setup thor patcher is more easy than rathena

    If you are using Windows, you can install wampp to host .thor files, ensure not to install mariadb/mysql that comes with the program.

  3. 2 hours ago, Luny said:

    Thank you a lot for your support, appreciate it man !

    I have a problem, i gave the client file to my friend, and he can t actually connect the server but  it still recognizes the login, and after it displays disconnect : "connection closed".

    As you can see on the screen he can create account to database from my client side but not really play the game .

    https://imgur.com/Om5WVAE

     

     

    This is display from client side

    https://imgur.com/C2g3aFX

    What exe are you using? Are you trying to connect to a vps or localhost? Are you using firewall/antivirus? Ensure you have the desired ports open.

  4. 3 hours ago, The Man of Greed said:

    Hola gracias por tu respuesta, use ese vídeo para guiarme, pero aun así no funciona

    Veo que no tienes nada en plist.txt, ahí debes poner los parches que vayas añadiendo, siguiendo la lógica de los ejemplos que se encuentran comentados ''//''

    en config.ini, en ClientParameter=  poner una url no es válido

    Si tienes un archivo en tu carpeta de RO llamado server.dat, eliminalo para recomenzar el proceso.

    Si necesitas mas ayuda agregame a Discord como Odin#0802 ,  no tengo problemas en ayudar 🙂

    • Like 1
  5. 3 hours ago, Luny said:

    Hello Mael, thank you for fast reply but i already did everything on the github guide, i'm just really lost in the client side part 😞 what am i supposed to give to the player ? the whole client file with the data folder ?

    To connect to your server you need a basic client:

    YourRO.exe ----> client executable

    yourdata.grf---->there is all files related to your server (also clientinfo.xml, inside this file you need to add your server IP, this can also be called sclientinfo.xml depending on your .exe version)

    YOUR.ini  ----> here you need to add your grf's you want to use in order. For example:

    [Data]

    0=your.grf

    1=rdata.grf

    2=sdata.grf

    Cant remember all the list, but should looks like something this.

    You can also should add an Open Setup to allow your players to configure graphics: http://nn.ai4rei.net/dev/opensetup/

    If you need more help just ask 🙂

  6. On 1/21/2020 at 10:45 AM, madlorence said:

    I already got my ssl cert(keys and stuffs), do you have any idea how can I install it on my apache debian?

    You need to install a lets encrypt certbot. You can search in google, for example:

    https://linuxhostsupport.com/blog/install-lets-encrypt-ssl-certificates-using-certbot/

    You maybe will also need to force https in your cp for all requests made. To do it you will need to change your .htaccess to this

    #FORCE HTTPS
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule !\.(js|ico|gif|jpg|png|css|pdf|swf|flv)$ index.php [QSA]

    Note that if you do this, you also will need to enable to use clean urls. Enable it in application.php

    'UseCleanUrls'				=> true,					// Set to true if you're running Apache and it supports mod_rewrite and .htaccess files.

     

    • Upvote 1
  7. On 8/13/2019 at 7:22 PM, Skyzone said:

    FIXED.
    It was just HTTP'S problem and to make sure to fixed all error logs on your data/logs Folder. after your fixed all in logs login your gm account on your site and find the Re Install.

     
     

    What do you mean with HTTPS? I removed everything and reinstalled FluxCP from scratch, I disabled Cloudflare and left Let's Encrypt activated instead. Now the accounts receive the credits and a log is stored. The problem is that I still receive Server Internal Error from PayPal.

    In the paypal log I receive the following error:


    [2020-01-19 06:04:10] Updating account credit balance from 10 to 27
    [2020-01-19 06:04:11] Deposited credits.
    [2020-01-19 06:04:11] Saving transaction details to PayPal transactions table ...
    [2020-01-19 06:04:11] Stored information in PayPal transactions table for server ServerRO
    [2020-01-19 06:04:11] Saving transaction details for 4YS22613E7748662K ...
    [2020-01-19 06:04:11] Failed to save transaction details for 4YS22613E7748662K to file.
    [2020-01-19 06:04:11] Done processing 4YS22613E7748662K.

     




    I changed .htaccess to:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule !\.(js|ico|gif|jpg|png|css|pdf|swf|flv)$ index.php [QSA]


    I changed the IPN in the sandbox business account to:
    https://fluxcp.com/donate/notify


    In config / application.php, I use:
    'UseCleanUrls' => true, // Set to true if you're running Apache and it supports mod_rewrite and .htaccess files.
    'PayPalIpnUrl' => 'ipnpb.sandbox.paypal.com', // The ipnpb.paypal.com and ipnpb.sandbox.paypal.com endpoints only accept HTTPS connections. If you currently use www.paypal.com, you should move to ipnpb.paypal.com when you update your code to use HTTPS.
    'PayPalBusinessEmail' => '[email protected]', // Enter the e-mail under which you have registered your business account.

    I don't know what I could be doing wrong, I tried everything. When I occupy Sandbox I get:
     
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    
    More information about this error may be available in the server error log.
    
    Apache Server at www.sandbox.paypal.com Port 443

     

     

     

     

    Regards

     

     

  8. On 12/14/2019 at 10:30 AM, Najara said:

    It would be very thoughtful to take other users facing the same issue into consideration, so please when a problem has been resolved, kindly include how you fixed it instead of just a simple 'FIXED'. That doesn't help anyone else. 😕

    @Chadev - Since I ran into this a while ago, these are the steps I took to resolve it:

    1. Ensure your IPN is enabled for your donation receiving e-mail, by taking the following steps: https://www.jotform.com/help/276-How-to-Enable-IPN-on-your-Paypal-Account
    2. Double check in application.php if you're using www.paypal.com instead of PayPal sandbox.
    3. Confirm that your PayPal account has been verified through e-mail and make the necessary edits in your profile to set it to business account instead of personal.
    4. In application.php, include your other accounts. In my case... :
          'PayPalBusinessEmail'        => '[email protected]',       <- This is my primary/business email.
          'PayPalReceiverEmails'        => array(                   
              '[email protected]',     <- This is another accounts/login connected to my PayPal. Add them all.

    Step 4 was the culprit for me.

    Good luck!

    Hi

    I am having trouble receiving points with PayPal. With the production method I can make the payment and return me to the site, but I do not receive the points.

    With the sandbox method I get to a part where PayPal sends a 505 Internal Server Error

    I have followed the steps you have recommended

    I have no idea what I am doing wrong, or if it is a CP error. I didn't want to open a ticket on GitHub because I want to make sure that more people have the same problem.

    Best regards.

  9. Hola de nuevo, gracias!

    Bueno, he logrado hacer desaparecer el Error No 1 desactivando el ''EnableVoteIPCheck''  /addons/voteforpoints/config/addon.php

    Me parece que está relacionado a estas líneas de código en /addons/voteforpoints/modules/voteforpoints/index.php:

    	// voter is using invalid ip
    	if (Flux::config('EnableIPVoteCheck') && !empty($_SERVER["HTTP_X_FORWARDED_FOR"]) ||
    		Flux::config('EnableIPVoteCheck') && !empty($_SERVER['HTTP_CLIENT_IP']) ||
    		Flux::config('EnableIPVoteCheck') && !empty($_SERVER['HTTP_X_FORWARDED']))

    Solo que ahora al votar, no da los puntos.

  10. 11 hours ago, KeyMaster said:

    También tengo este mismo problema, intenté agregar esta tabla sql y me dio lo mismo.

    Unable to vote for the server. Err no.3

     

    #Edit

    ¡Encontré el problema!
    Debe crear una cuenta a través de fluxcp, para que su cuenta se genere en "cp_createlog". Estaba tratando de usar una cuenta creada manualmente. Entonces dio el error.

     

    Hola

    ¿Qué versión de mysql ocupas, y distro linux? En los logs de flux no aparece nada y tampoco en el debug mode.

    Me hice una cuenta y ahora obtengo el error:

    Unable to vote for the server. Err no. 1

  11. Hi

    Im trying to install this addon fork from Sanasol: https://github.com/sanasol/FluxCP_Addons-VoteForPoints

    I also cant see anything in the menu related to ''Vote For Points'', so when I went to http://mycp.com/?module=voteforpoints , I get this in debug mode:

     

    ( ! ) Notice: Object of class Flux_Config could not be converted to int in C:\wamp64\www\lib\Flux\Authorization.php on line 86
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0004	408176	{main}( )	...\index.php:0
    2	0.0839	724880	Flux_Dispatcher->dispatch( )	...\index.php:169
    3	0.0845	725504	Flux_Authorization->actionAllowed( )	...\Dispatcher.php:129
    
    ( ! ) Notice: Object of class Flux_Config could not be converted to int in C:\wamp64\www\lib\Flux\Authorization.php on line 86
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0004	408176	{main}( )	...\index.php:0
    2	0.0839	724880	Flux_Dispatcher->dispatch( )	...\index.php:169
    3	0.0845	725504	Flux_Authorization->actionAllowed( )	...\Dispatcher.php:129
    
    ( ! ) Notice: Object of class Flux_Config could not be converted to int in C:\wamp64\www\lib\Flux\Authorization.php on line 87
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0004	408176	{main}( )	...\index.php:0
    2	0.0839	724880	Flux_Dispatcher->dispatch( )	...\index.php:169
    3	0.0845	725504	Flux_Authorization->actionAllowed( )	...\Dispatcher.php:129
    
    ( ! ) Notice: Object of class Flux_Config could not be converted to int in C:\wamp64\www\lib\Flux\Authorization.php on line 87
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0004	408176	{main}( )	...\index.php:0
    2	0.0839	724880	Flux_Dispatcher->dispatch( )	...\index.php:169
    3	0.0845	725504	Flux_Authorization->actionAllowed( )	...\Dispatcher.php:129
    Critical Error
    An error was encountered during the lifetime of the application.
    
    This could be due to a variety of problems, such as a bug in the application.
    
    However, normally it is caused by misconfiguration.
    
    Exception Details
    Error: Flux_Error
    
    Message: MySQL error (SQLSTATE: 42000, ERROR: 1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    
    File: C:\wamp64\www\lib\Flux\Connection\Statement.php:59
    
    File	Line	Function/Method
    C:\wamp64\www\modules\voteforpoints\index.php	151	Flux_Connection_Statement::execute()
    C:\wamp64\www\lib\Flux\Template.php	375	include()
    C:\wamp64\www\lib\Flux\Dispatcher.php	170	Flux_Template::render()
    C:\wamp64\www\index.php	169	Flux_Dispatcher::dispatch()
    Exception Trace As String
    #0 C:\wamp64\www\modules\voteforpoints\index.php(151): Flux_Connection_Statement->execute()
    #1 C:\wamp64\www\lib\Flux\Template.php(375): include('C:\\wamp64\\www\\m...')
    #2 C:\wamp64\www\lib\Flux\Dispatcher.php(170): Flux_Template->render()
    #3 C:\wamp64\www\index.php(169): Flux_Dispatcher->dispatch(Array)
    #4 {main}

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.