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

    • ***DO NOT BUY WHAT IS POSTED HERE FOR FREE*** https://www.mediafire.com/file/mhjiaoipe6hohjm/Extender_Rev_222_by_Guytis.rar/file   It has everything Devs is offering for $450 USD with a license. Here it is, free and with source code. 
    • Hello, well obviously i dont have access to the server side, and neither have those guys in the picture, i thought it was something client side since they manage to have that...    Here is another example, Its essence server btw  
    • So according to you, you found a bug so hidden that nobody can discover it — not even by analyzing the source code with modern tools.   Is that really what you're trying to say?   Because what you're basically claiming is that: The files contain an error But nobody can find it Nobody can fix it Not even by analyzing the code with tools like ChatGPT So… a magical invisible bug that only you can see.   Do you realize how absurd that sounds?   If there was actually a real problem, it would be very easy to demonstrate: Open the server. Show the error. Point to the exact place in the code where it happens.   But instead of doing that, the only thing you've done so far is write vague messages and say “I'll make a video.” Perfect. Go ahead and make the video. Show the error. Show the code.   Because up to this point, all we have here are accusations without a single piece of technical evidence. And in a development forum, that has absolutely no value.   Regards.   ***DO NOT BUY WHAT IS POSTED HERE FOR FREE*** https://www.mediafire.com/file/mhjiaoipe6hohjm/Extender_Rev_222_by_Guytis.rar/file   It has everything Devs is offering for $450 USD with a license. Here it is, free and with source code.  ------------------------------------------------------------------------------------------------------   I would like to ask if a moderator or administrator could please review the thread and consider closing it.   The user involved keeps posting misleading statements and accusations without providing any technical proof. The discussion has stopped being a constructive technical conversation and has turned into repeated attempts to spread misinformation about the files.   Despite being asked multiple times to provide evidence (such as a reproducible error, logs, or code analysis), none has been presented. Instead, the thread continues with vague claims that only generate confusion within the community.   From my perspective, the purpose seems to be discouraging users from using the freely available files while promoting alternative products.   Since no technical evidence has been provided and the thread is no longer productive, I believe it would be better for the community if the discussion were closed.   Thank you for your time and attention.   Best regards. --------------------------------------------------------------------------------------------------------   ***DO NOT BUY WHAT IS POSTED HERE FOR FREE*** https://www.mediafire.com/file/mhjiaoipe6hohjm/Extender_Rev_222_by_Guytis.rar/file   It has everything Devs is offering for $450 USD with a license. Here it is, free and with source code.   
    • What ChatGPT? Dont think ChatGPT will fix your problem :d You will never figure out where the problem actually is. Don’t try to twist things. Just open the server and write here.. i will make a video for you showing how everything goes to hell with “your 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..