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

    • I’m coming to you with a small update — internal testing is currently underway. We’re working on catching minor issues and resolving them before the server launch 😉 In the near future, we’re planning public tests, which you’ll all be invited to. At the same time, I’ll be sharing a few Quality of Life changes coming to L2 Genesis.   Even if you’re not interested in playing right now, but you are a long-time Lineage 2 player, feel free to join our community. We would greatly appreciate your experience and feedback to help us improve and develop our project. Join the growing L2Genesis community: https://discord.gg/mcuHsQzNCm Also check our website: https://l2genesis.com/   Offline Shop System — run your shop without being online.   Buff Shop System — playing as a buffer? When you’re not in the game, sell buffs! Reworked classic interface, adapted to Interlude — shown here with the inventory menu as an example. New custom mob drop and spoil preview. DualBox Verification System — each player can only use one active account at a time. Genesis Wiki — a collection of all essential information about items, NPCs, drops, spoils, and quests.
    • https://gitlab.com/Tryskell/acis_public nai swsta, exeis kati pio updated na mas protineis? 
    • 🔥 L2Gold Enma – High Rate PvP Interlude 🔥 Interlude Chronicle • C6 Skills • Pure PvP Experience Welcome to L2Gold Enma, a high-rate PvP server designed for players who want instant action, balanced gameplay and nonstop PvP, without pointless grinding. ⚔️ Server Rates XP / SP: x1000 Adena / Drops: x10 Chronicle: Interlude Skills: C6 balanced skills Buff duration: 2 hours No weight limit 🎮 Gameplay Philosophy Fast leveling, instant PvP Clean Interlude experience No pay-to-win mechanics Focus on skill-based PvP 🛡️ Core Features Global Gatekeeper Offline shops Auto events (TvT, DM, CTF, etc.) Retail-like Olympiad with custom balance Active Raid Bosses Easy access to PvP gear 🏰 PvP & Competition Mass PvP & clan wars Meaningful castle sieges Olympiad focused on player skill Balanced classes for both solo & group PvP ⚡ Why L2Gold Enma? Interlude nostalgia with C6 skills High rates, low grind Stable server & active development Community-focused updates 💥 Join L2Gold Enma and dominate the battlefield! This is not a farm server. This is PvP   https://l2gold-enma.com/ https://discord.com/invite/Ba9cHj3HUJ
    • Hi I'm still online for this but making backup of everything in that time I didn't organize well so let me create a pack and upload to archive.org maybe. Thanks ! we can enrich togethers this if everyone add more and more old files.
  • 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..