Jump to content

BTNX

Members
  • Posts

    55
  • Joined

  • Last visited

Everything posted by BTNX

  1. You have to make sure that your default ports are allowed for outbound
  2. With the exeption of patcher... it would be ok at best... Your database will struggle with just 1 cpu. Running both in a single server is never the best option... only do that if you have no other choice. Cloudflare can mask your IP also absorb the load during ddos. They also work as a CDN which should make it easy on badwidth. Patcher cannot be pulled from cache though so CDN wont help there but since you already have a webserver that doesnt allow ports to be opened... you can use it for patch server... you can even store your images css js etc in that web server. Another option is to keep your current setup(webserver and vps) but you have to create a REST API in your VPS that can be requested by your flux. If your server is also listed in RMS... RMS already checks your server status and list it on ther site. You can curl that status via php or do an ajax request using js and parse it accordingly. This last bit is obviously more complicated but it is there as an option.
  3. Web server by itself does not consume much RAM. A single-core at 2.2 ghz running PHP 5.4 can serve 800 request per second. IDK much about the game server though.
  4. You can hosting your flux in the same VPS then try to use cloudflare. That means you have to install LAMP + mail service
  5. You need to email or submit a support ticket to your web host to allow out bound on those ports.
  6. BTNX

    Player Online

    If you are using a custom theme... Your theme maker may have a separate config file that you need to edit... one of the pictures you provided shows the time instead... maybe the wrong variable was used or the javascript is tagetting the wrong element
  7. Have you tried reinstalling php-gd after upgrade?
  8. BTNX

    xHTML mime

    Thanks to the power of expensive IDEs, I was able to find my answer. [ROOT]/lib/Flux/Template.php Setting OutputCleanHTML to false in application.php solved my problem though
  9. BTNX

    xHTML mime

    Hey all, Can any of you point me to the part of the flux that forces the document to be rendered as xhtml?
  10. BTNX

    Server Status

    No guide as this is not common and not even ideal. You literally have to install apache and php or nodejs and write your own code
  11. BTNX

    Server Status

    You can run a minimal web server on your game server to serve an API in which will check internally if the servers are running then serve the result via http:80. You can then do a get request and parse the result accordingly. Obviously not ideal but it's a work around.
  12. Hi all, What is the proper way of checking the value of certain variables/properties like user ID, group level ETC. I know each modules have access to them but I'm a bit lost to how to access them. Dumping all available vars and object methods is an option to see what's available but even that get's confusing. The documentations within each PHP files does help if you're trying to figure out what the code block is for but it doesnt really help when you're looking for a method/function or what ever. Anyway, if you can just tell me how to access those two properties, I'm sure I can figure out the rest. (current user's account ID and group level)
  13. BTNX

    FluxCP module docs

    Thanks, I pretty much knew that much from experience. I was wondering if there's a more definitive documentation. I want to know things like: how to disable header and footer if I want to create APIs and how would I access zend session data like username, access level, user id etc from there.
  14. I've looked through the forums, google and github for FluxCP docs with no luck. I would like to learn how to build my own module. Where can I find the instructions?
  15. Did you explicitly set your html, body to 100%?
  16. Not completely true... you can mix and match https and http if you're that much concerned about performance. You have to serve both content and not use .htaccess to redirect but you have to explicitly add https on the urls that takes your users to the donation page.
  17. I need to check if a certain information is already available in a table. Is it better to use a query or should I use mapreg?
  18. BTNX

    Loop variables

    Thx, I didnt know that thats what that meant
  19. Hi all, I'm a scripting noob and I have noobish question. I've noticed that most of the loops that I see here uses a temporary NPC int variable. Is there a reason why it seems like it is preferred? I'm currently writing a script that will triggers a loop via OnNPCKillEvent: that goes on to more blocks of script, functions and sql queries etc. Here's the array: I would like to use: .@c as the index for: .mvp_mobid[.@c] Buuuuuut, I don't want the value of .@c to change because another player triggers the loop and get my data all mixed up. I could, in theory transerver the value to a more personal character variable: set @index, .@c; My question is, why do I not see people use temporary int character variable instead of temporary int NPC variable?
  20. My question is regarding this topic: http://rathena.org/board/topic/73452-need-help-about-players-event-queue-is-full/ "Player Event Queue is full" Is there a reason to why this is set to a low setting? What could happen if I adjust this? Why is it even regulated? I was told that I can also delay the execution of my onpclogin scripts... How do I do that? Any samples will be much appreciated.
  21. BTNX

    VIP SYSTEM

    Are you using SQL to store data?
  22. ^I think if you host with asura hosting, they offer it for $15/month
  23. Hey guy, I need help/tutorial on how to move my clienntinfo and data.ini in the web... I saw the tutorial before but I cant find it anymore... quite frankly, idk what keywords to use and I don't remember if it was in rA or eA
×
×
  • Create New...