Jump to content

Recommended Posts

Posted

Questions:

1. Does 4 hours in real life equals in 1 Day in Lineage 2? 

2. Do game broadcast SunRise and SunSet upon night and day? 

3. L2J set to broadcast sunset every 10 minute (using sleep thread), is that ok? Or should be done instant with a threadpool Ex. 21:00 Broadcast night until 6:00 morning e.t.c ?

 

Posted
On 1/12/2017 at 5:10 PM, GamePsychology said:

Questions:

1. Does 4 hours in real life equals in 1 Day in Lineage 2? 

2. Do game broadcast SunRise and SunSet upon night and day? 

3. L2J set to broadcast sunset every 10 minute (using sleep thread), is that ok? Or should be done instant with a threadpool Ex. 21:00 Broadcast night until 6:00 morning e.t.c ?

 

 

1) yes

2) I think yes,but they last short

3) I think should be done instantly

Posted
38 minutes ago, HarryHoudini said:

 

1) yes

2) I think yes,but they last short

3) I think should be done instantly

 

Have u played official? What u mean short? Ex. If is night upon  login night packet is sended to player? Have u seen that on Official?

Posted
3 minutes ago, GamePsychology said:

 

Have u played official? What u mean short? Ex. If is night upon  login night packet is sended to player? Have u seen that on Official?

 

Nope. Just asked it from someone else who did though. By short i mean the duration of. As for example,it depends on server's time settings. I think yes, if server configured time is fitted real one, if not it would show day/night depends on what time it is in game.

Posted
36 minutes ago, HarryHoudini said:

 

Nope. Just asked it from someone else who did though. By short i mean the duration of. As for example,it depends on server's time settings. I think yes, if server configured time is fitted real one, if not it would show day/night depends on what time it is in game.

Ok thanks a lot, ill send you a cookie for your time, give me ur mail to mail it! 

Posted
3 minutes ago, GamePsychology said:

Ok thanks a lot, ill send you a cookie for your time, give me ur mail to mail it! 

 

Np mate. 

 

Hahaha okay, i'll wait for it. Please and some piece of chocolate on it. 

Posted (edited)

Hi, in l2off (at least in leaked Gracia Final) it works this way:

  1. there's class CL2Time that manages this, game time runs 6 times faster than real time so each game day is 3 hours long and night 1 hour long
  2. it runs a timer each 10 seconds and checks whether day or night started, day starts at 6:00 game time, night starts at 0:00 game time
  3. when that 10 second timer expires and night changes to day or vice versa, server broadcasts SunRise packet (0x12) or SunSet packet (0x13)
  4. these packets are sent to player upon login as well
Edited by eressea
Posted
9 hours ago, eressea said:

Hi, in l2off (at least in leaked Gracia Final) it works this way:

  1. there's class CL2Time that manages this, game time runs 6 times faster than real time so each game day is 3 hours long and night 1 hour long
  2. it runs a timer each 10 seconds and checks whether day or night started, day starts at 6:00 game time, night starts at 0:00 game time
  3. when that 10 second timer expires and night changes to day or vice versa, server broadcasts SunRise packet (0x12) or SunSet packet (0x13)
  4. these packets are sent to player upon login as well

 

ok thanks, very informative.

So the 4 hours is perfectly. And i also added the broadcast upon login if is night only cause i believe broadcast SunRise when is day is not good since the default weather is day and the sunrise looks redish. So ill just broadcast sunrise upon day change only and new login players will just see blue sky.

 

The other question is whats the best option to broadcast the dark elf skill upon change. Currently i simply did a for and just re-add the skill to those who have it to get the new effect. I havent try if getEffects work. Any other proper way?

Posted

It's quite easy actually, p_hit_a_night pump is protected by a pump conditions which checks on server if it's night or not, and revalidated every stats recalculations.

Posted
11 minutes ago, GamePsychology said:

 

ok thanks, very informative.

So the 4 hours is perfectly. And i also added the broadcast upon login if is night only cause i believe broadcast SunRise when is day is not good since the default weather is day and the sunrise looks redish. So ill just broadcast sunrise upon day change only and new login players will just see blue sky.

 

The other question is whats the best option to broadcast the dark elf skill upon change. Currently i simply did a for and just re-add the skill to those who have it to get the new effect. I havent try if getEffects work. Any other proper way?

 

Sorry, I wrote it wrong, time info is sent on login (not sunset/sunrise), it's part of CharSelected packet

Posted
3 hours ago, Sdw said:

It's quite easy actually, p_hit_a_night pump is protected by a pump conditions which checks on server if it's night or not, and revalidated every stats recalculations.

 

Well yes u can do this or do the shit-way as aCis did to re-add :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Interlude x15 –  No soy el administrador de este servidor, pero es un nuevo proyecto que está muy bien configurado — ¡solo necesita una comunidad! Si estás buscando una experiencia nueva, equilibrada y emocionante en Interlude, este es el lugar. ¡Participa! Únete al servidor Trae tu clan o equipo ¡Ayuda a que el servidor crezca!   Fecha de Apertura 16 de Mayo de 2025 Horario de Apertura 19:00 GMT-3 Versión del Juego Interlude Versión de la Interfaz Classic (protocolo 166) Rates de EXP y SP Dinámicos Niveles 1 al 19: EXP 15, SP 10 Niveles 20 al 39: EXP 13, SP 7 Niveles 40 al 51: EXP 11, SP 3 Niveles 52 al 60: EXP 9, SP 3 Niveles 61 al 75: EXP 7, SP 1.5 Niveles 76+: EXP 2, SP 1 Otros Rates Adena: x1 Chance de Drop: x1 Chance de Spoil: x1 Cantidad de SealStone: x2 RB XP/SP: x3 RB Drop: x2 Configuraciones Únicas Hasta 3 cuentas por PC (2 gratis + 1 paga) Sistema de Enchant skill desactivado Sistema de Augment weapon desactivado Mana potion: efecto de 2000, reutilización de 15 segundos Sin auto-learn skill SP y Book para aprender skills Quests 1ª y 2ª Transferencia de Clase por Adena 3ª Transferencia de Clase por 700 Halisha Marks Subclase custom: solo hablar con las cajas de los 4 jefes Nobles Retail Recompensa de Transferencia de Profesión Recibe un ticket de 1ª profesión (artículos del starter pack) Recibe un ticket de 2ª profesión (Montura de Clase) Mejoras en el Auto-farm Hemos reestructurado la IA del auto-farm Corregida la zona de caza Configuraciones de alcance de la caza automática Clanes y Alianzas Máximo de miembros por clan: 25 miembros Máximo de clanes por alianza: 1 clan El clan ya inicia nivel 8, sin reputación y sin skills Comandos Dentro del Juego .cfg - Para ajustar configuraciones del juego .instancezone - Verificar el tiempo de instancias .sellbuff - Para comenzar a vender buffs .topclan - Para verificar el top clan .acp - Para usar el sistema de auto potion Bono de EXP Extra en la Party 6 miembros: 20% 7 miembros: 30% 8 miembros: 40% 9 miembros: 50% NPC Buff Duración: 1 hora Total de buffs: 24 + 4 (Divine Inspiration) Buffs básicos sin protección y sin profecías   Join  >> DISCORD <<    
    • 🚀 MoMoProxy Static Residential Proxies For Sale!     🔹 Stable, secure & high-anonymity 🔹 >10Mbps speed, <10ms latency 🔹 99.99% uptime & static IPs 🔹 Unlimited traffic & connections 🌍 30M+ clean residential IPs ✅ Whitelist & user/pass auth 💳 Flexible plans (7/30/90 days) 💰 From $3/IP (Pay-per-IP) 🔥 Perfect for: ✔️ Ad verification ✔️ E-commerce/social media ✔️ Data scraping ✔️ Anti-detect browsers 🆓 Start free trial today! 🔗 [Insert Link] #Proxy #ResidentialProxies #WebScraping #DigitalMarketing   1/ Why Choose MoMoProxy? ✅ Global ISP network (30M+ IPs) ✅ Dedicated dashboard for easy management ✅ 24/7 stable operation ✅ HTTP(S)/SOCKS5 support 2/ Use Cases: 📊 Ad fraud detection 🛒 Sneaker copping & e-com 📱 Social media automation 🌐 Travel aggregation & more! 3/ Get Started in 4 Steps: A. Pick MoMoProxy B. Grab your IP credentials C. Configure your tool D. Enjoy unlimited sessions!   https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies https://momoproxy.com/static-residential-proxies    
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Special offer until end of the month, don't lose it. 250  include datapack and patch latest.
  • Topics

×
×
  • Create New...