Jump to content
  • 0

Daily Quest - How To Set Last Reward Time For Specific Quest


Question

Posted (edited)

So as i said in the title, how to save time of last reward for specific quest? What would be the best way?

I need something like this (this is for global cooldown for all the quests)


talker.quest_last_reward_time = myself::GetCurrentTick();

Or is it possible to make item that would disappear after xx hours after you buy it?

Edited by dzumara

11 answers to this question

Recommended Posts

  • 0
Posted

I don't understand what your trying to do at all.

 

A system for saving data related to Quests does not exist in AdvExt\Vangath or Native c4.

Hence it's impossible with direct usage.

 

Altho you could technicly have 2 Memo's running constantly - 1 for the quest itself and 1 for storing the currenttick time for that quest.

 

Youd eventually run outa Memospace rather fast with many quests like this.

  • 0
Posted

Or is it possible to make item that would disappear after xx hours after you buy it?

Check the parameters from item 13752. It has a period on it: period=43200

  • 0
Posted (edited)

how it doesn't exist when u have setOneTImeQuestFlag funciton? that has to be written somewhere doesn't it?

 

what im trying to is to make daily quest = quest u can do only once in 24h. 

Edited by dzumara
  • 0
Posted

And wtf do you think it does?

 

It sets a flag bool - and that's it.

 

 

and it doesnt exist because IT DOES NOT EXIST IN C4.

How hard is that to comprehend?

 

 

If you can't read - your hopeless.

Directions to a possible albeit expensive memo way was given.

  • 0
Posted

Cant you read for the love of god? When you do the quest which is not repeatable it set that flag to 1, it has to be saved somewhere why the hell i see it everywhere in AI if it doesn't work?

Obviously your English isn't that  good as you think.

Read again what i wrote and what did i ask. Memo is out of the question

 

btw its not your hopeless, its you're (you are), big difference

  • 0
Posted (edited)

Wtf will a bool flag help you more than a MemoState which atleast accepts Int?

 

 

 

Are you that stupid?

 

Do you think quest_last_reward_time == onetimequest?

 

 

Onetimequest is a flag set to avoid people re-taking a quest once completed.

 

 

How is that hard to understand?

 

 

 

How stupid are you when you for some reason can't understand since memo contains data (up to 3 ints) - it could be used to store data beyond l2server memory restarting?

 

You are the typical idiot for apparently seeing some term you think means something without actually asking what it means or clearly explaining what it is you want.

Nor actually researching "HEEEY how is this var\term used in AI ?".

If your not stupid you can create a storage method via time functions + MemoState to emulate a check for a specific day.

Edited by mcbigmac
  • 0
Posted

Your English is terrible man, i can barely read what you write.

I was asking about flag because it get stored somewhere, so i thought to make cronjob which would trigger once per day and start sql procedure which would delete lines from db which contains specified quest id. Do you understand now why im so interested in that bool?

I'm not here to argue i just wanted some assistance/advice, why are you so impatient ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here  https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • 🔥 Lineage 2 Haruna x3 – Interlude 🔥   Grand Opening 06.02.2026  Welcome to L2 Haruna x3, a classic Interlude server focused on retail-like gameplay, fair competition, and long-term stability. No pay-to-win, no broken customs — just real Lineage 2 the way it was meant to be played.   Website: https://l2haruna.com/ Discord: https://discord.gg/7DDC9Dsxnh Chronicle: Interlude Rates:  EXP/SP: x3   Adena: x2   Drop/Spoil: x1   Seal Stones: x1   Boss EXP/SP: x2 More Info: Click me Server Time: UTC +2 📈 Core Gameplay • Classic Interlude mechanics & formulas • Balanced economy • Real PvP, clan wars, sieges, and Olympiad 🏆 Olympiad Information • Olympiad starts 3 months after server opening • Participation only through the Olympiad Master • Competition time: 20:00 – 02:00 (UTC +2) ⚙️ Website & Account System • Master Account (MA) system on website • Game accounts must be created via Master Account • Vote system inside MA • Website rankings: PvP, PK, Clans, Castles 🧙 NPCs, Buffs & Utilities • Server Manager NPC in all towns and villages • Adventurer’s Guide (Miss Queen) in all towns and villages • Offline Buff Shops (.buffshop) allowed only in Monster Derby Track • In-game Mailbox system • Start-Up Bonus for all characters • FREE Teleport in all towns/villages until level 40 🎮 Interface & Quality of Life • ALT + K – Skill Panel (learn and enchant skills) • Alt + Click – Buff removal • Shift + Click on monsters – Drop and spoil information • Offline Shop system (set shop and exit game) • 35 seconds spawn protection • Captcha system in game (anti-bot protection) 💬 Chat System • Global chat (!) – Free, requires level 15 • Trade chat (+) – Free, requires level 15 • (!) Global chat • (+) Regional trade chat 🛡 Fair Play & Restrictions • Maximum 2 game clients per IP • Donate Coins and Vote Coins cannot be sold, dropped, traded, or destroyed • Cursed weapons disabled until first Heroes • Wedding system disabled (will be activated later) ⚔️ Class Progression • 1st Class Transfer – Quest required • 2nd Class Transfer – Quest required • 3rd Class Transfer – Full quest required • Subclass – Full quest required • Noblesse – Full quest required   🗡 Equipment • Shadow Weapons (D / C / B Grade) available via Shadow Weapon Manager 🧠 Technical & Protection • High-quality geodata and geo-engine • Advanced protection against DDoS attacks • Protection against third-party programs and cheats   Join Us Now! https://l2haruna.com/ 
    • High Five Part 5 can be uploaded?
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..