Jump to content
  • 0

Community Board


freedy

Question

Hello guys,

I'm trying to modify my community board and add there some custom things, but I can't find the right html or code part to change the names of tabs and bypasses of them. (HOME, FAV., CLAN, etc...)

 

Any idea where it could be?

Link to comment
Share on other sites

Recommended Posts

  • 0

Another one, trying all day long to figure out if there is any option how to make community server auto reebot like every 5 mins or every hour. But everytime I start the shutdown it simply ends but dont start again. Anyone who got something like autoreebot on community server? (or ingame commands for restart)

Link to comment
Share on other sites

  • 0

my problem is that I always need a new reebot of community server when I change anything in htmls. There is not simply working the //reload htm from ingame since it affects only game server files. There are more things I need from that reebot but mainly the html reload. :) any idea?

Link to comment
Share on other sites

  • 0

Eee //reaload htm affects all htm's, so dunno why it's not refreshing your CB htm.. Make sure you saved the file, since it's almost impossible :o

 

//Edit: Da yum, too much aCis.. :D

Edited by SweeTs
Link to comment
Share on other sites

  • 0

Because L2J got the good idea to copy paste HtmCache, which basically create 2 distincts instances holding HTMs data. //reload htm only affect gameserver HtmCache. To cleanup CB HTMs, you must call somehow CB project HtmCache.getInstance().reload().

Link to comment
Share on other sites

  • 0

that's not anyhow hard :) its just adding cycle into the main of L2CommunityServer.java

while (true)
{
HtmCache.getInstance().reload();
Thread.sleep(20000);
}

example to get reload html every 20 secs. I think I could live with that :) or is there any better way to do it? I could Override that reload method via just adding time in secs into bracets but this one is easier

Link to comment
Share on other sites

  • 0

You could just google it and get some answers http://stackoverflow.com/questions/8815895/why-is-thread-sleep-so-harmful

There is no need to freeze a class since u can get the same result doing it with the other way.

Edited by ^Wyatt
Link to comment
Share on other sites

  • 0

Lol, don't reload everytime dude. The word "cache" in "HtmCache" is here for a reason. It stores HTMs and they can be reused when you call them back. Which avoid to regenerate Strings objects everytime.

 

If you delete cache every 20sec, there is no reason to get a cache at first glance.

 

Simply calls the command when you need it... And that means, only when you manually edit HTMs. Basically said it shouldn't be used ANYWHERE ELSE than when you manually edit HTMs to see the new formatting (which I personally overabuse as command when I format CB HTMs, but don't harm as I'm the only noob connected).

 

I won't speak about Thread.sleep than ^Wyatt covered.

Edited by Tryskell
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Is there any free on market programm to hide my ip (connect to a server tat has a dual box max with more boxes)
    • Hello! We would really appreciate it if you tried our proxies cause we have 4G mobile proxies too! Unfortunately the trial version is not available at the moment, but our knowledge base will help you gain valuable experience using Asocks! https://faq.asocks.com/faq/topic/user-guide
    • Hello Friends . I would like to introduce that i have found a method to avoid league hwid ban ( van 152 ) you will get perma ban when detected only at the account you are using like before vanguard release with the method you can script or use the tools you want at many accs as you wish unstoppable without caring about headache or wasting time and energy of flashing bios reset your pc installing fresh windows and using spoofer to change your hardware infos to unlock the hwid ban i have tested it on 5 accs i got them perma banned for using third party tools but not a hwid ban at all hint : ppl regulary get hwid ban in 2nd ban after got banned once before as vanguard working like that only 1 chance free then hwid ban. its so easy to achieve if you are interested dm for details
    • Trustworthy person; hope you find what you're looking for!
    • Customs being added to systextures/animation/texture influences the increase in virtual ram by a very small amount, which means you won't have a headache in the future with critical error issues, unless it's a dubious custom, there are 2 custom weapon packs available for H5 that are "compromised", they didn't make a very good adaptation, one of the packages is the weapons from the goddess of destruction for H5, another is the hero weapons from the goddess of destruction for H5, avoid these customs for your H5 server if you see it on any forum.   Now coming back to your question; one thing that the NCSoft developers never did was add files to their system, probably because they were aware of what could happen when doing that, now think about one thing: the game's system retail itself is no more than 70MB, every time there was an update made by NCSoft they always added the equipment/items/cloaks etc. in their folders intended for that, so why do we do this? I still have my client containing a system with almost 1GB, 1-2h online is the time I can stay online before the ram memory limit, but I have already redone my entire client with customs being destined for textures/systexture/animations, almost all the customs that I had on that client containing a 1GB system I have on my current server, with the difference that I removed everything from the system and critical error is now nothing more than legends, my current server has a total of 220MB in the system folder And theoretically speaking, based on what I've seen, especially on many forums, I believe that the heavier the system folder is, the faster we accelerate the consumption of the client's virtual ram memory, causing countless different types of critical error in one short period of time, in many forums that I've seen on topics involving critical, the solution that stands out the most is about downloading a new clean "system"
  • Topics

×
×
  • Create New...