Jump to content

Rin4a

Members
  • Posts

    220
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About Rin4a

Contact Methods

  • Telegram
    rin4a@hotmail.com
  • ICQ
    299205575

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Rin4a's Achievements

Newbie

Newbie (1/16)

0

Reputation

  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.
×
×
  • Create New...