Jump to content

Rin4a

Members
  • Posts

    220
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Rin4a

  1. Great reply! I've always enjoyed reading constructive arguments. I must agree with what you have written. This is the "standard" buffers script that is too overused and frankly it is a nightmare from scripting standpoint. Meaningless imports, useless checks and unneeded functions. The same thing can be achieved with probably 30 lines of code.
  2. To be honest, this script is a nightmare from performance standpoint. Getting online player count EVERY time, when the page loads? I don't think so. It's much better to make it a cron job and execute it every minute or so. Only 60 queries per hour. And as ~LoL~ZozOQ stated: don't use mysql for this task. A plain text file would do just fine.
  3. What he was trying to say was that you'll get some share of donations, when they start coming in. Currently it doesn't look too good, since there's no guarantee that there will be any donations IMHO
  4. It does not matter what language you use, since it's being loaded into memory and compiled into bytecode. Yes, there might be few extra classes, but it does not cause performance spikes whatsoever. It all depends on how the script is written. Learn your facts.
  5. I don't see any reason to say that python is worse than java in given circumstances. It's just a damn stereotype, for God sakes, because python is just as good as java, for writing such scripts.
  6. Not to mention that this buffer is highly outdated :)
  7. This is quite a basic script, but it can cause huge bandwidth spikes. Let's talk about optimization and assume that there's 10000 views per hour. That means that you resend that query 10000 times an hour. That makes it 240000 requests per day. But would you believe that you can do the same thing only with 96 query requests per day? That would take a huge load off the server and might increase the performance. Here's how I would do it: I'd use the same script, but set it up for a cron job to execute it automatically every 15 minutes but instead of outputting the data (and destroying it afterward), I'd save it to a simple text file and on each page request acces it with fopen() function, loop through the file and parse strings with $array_name = explode(" ",$string); function. Data output would be the same. I'd do the same with TOP 200 script, account creation and anything that would create a huge load on the server. Cheers.
  8. http://rapidshare.com/files/444812739/l2phx.3.5.33.166.rar I removed the password. Enjoy!
  9. Now how is this connected to java developers in any way? Anyone with basic debugging skills and common sense can help you. Error creating Custom Npc Table ergo You forgot to install custom_npc table in the database Try to install the custom_npc.sql file (in the sql/custom folder) and everything should be just fine.
  10. How is this related to L2j? Okay, the beginning might be useful, but most of the advanced features (checkboxes, frames, lists) won't work in L2j thus making this guide obsolete.
  11. Can't you read? Table 'l2jdb.buffer_scheme_list' doesn't exist
  12. Good job, but I have a question - how can you skip the HTML and directly output the multisell window?
  13. I think that he wanted a droplist viewer lol Find one in this forum. There are plenty of tools like this.
  14. Yes, but why bother if there's a list of all skill ID's like this one :P
  15. Well... The best option is to rewrite the buffer completely and since I'm doing that, it will be available soon (but I won't be sharing it, I'll be selling it without the source code or anything). It's gonna cost 15$, but I guess that the price isn't that high.
  16. There has been an issue with HTML generation, if you try to port this script to Freya. There's a slight offset for the buttons, but I don't know why it keeps doing that.
  17. Well I'm currently rewriting the buffer, but there's one thing - I will share only a promo buffer, that won't have scheme system, pet buffing and some of the configuration features. So what I say is - only beta testers, chosen by me, will get full version of the buffer, and the rest of you will be able to buy it for 5$ or so. The price isn't that high. As far as I know, it's like buying 2 large bottles of coke in Europe.
  18. You're in love yet you are making web templates? Are you kidding me? ^^ But good job :)
  19. Just a tip: You can improve your code by changing if id == 42 or id == 15 or id == 17 or id == 29 or id == 50 or id == 52 or id == 98 or id == 116 : to if id in [15,17,29,42,50,52,98,116] :
  20. Well the thing is that with your attitude, you would never sell your websites. You make it quite bad, and tell me to change the images to fit my needs. I wouldn't download/buy your website in the first place. I guess that I could give you a few hints. If you have skype, PM me. ( lescinskisr )
  21. To be honest - it sucks. Why? 1) Edges aren't the same in all places. Take a look at lower right edge. It's almost a square, where other edges are rounded... Sort of... 2) Who on Earth puts blue text on redish background? It ruins the harmony, that red tones have created. 3) News panel is much too transparent. Black text blends in with that dark red background, making it impossible to read without breaking your eyes. Try to avoid using javascript and make this page more user friendly. And one more thing - stop begging for karma! It's pathetic! Edit: I just noticed one more thing - you don't know what file size limitation is. Those website, forum and vote link images weigh much too much. Plus it is not recommended to save images that don't have alpha transparency in them as PNG. Save them as JPEG or even GIF (only if they have the basic colors, just like the logo). Just by saving "website.png" as JPEG with quality of 10 out of 12, I reduced the file size 5.5 times. (Now it's 62.9 kilobytes).
  22. I agree with Matim. Make one damn thread, where you post all of the websites that you find, because this is getting more and more stupid.
  23. Server creation shouldn't be easy, because these days anyone can do it in 20 minutes, if not less. There shouldn't be precompiled packs, because they are quite useless. But thanks for the guide.
  24. This is one messed up script. Everything can be done much more efficiently, without repeating.
×
×
  • Create New...