How Can I make SnowBanche Apear Every xx:30 Min !!
I will Be Thx If U gave Me the Code or tell How to Do That !!!
I will Be Thx If U gave Me the Code or tell How to Do That !!!
If you're "just a beginner", then don't attempt it at all. It's painfully obvious that you know nothing about programming... Why are you even doing this when you know you can't understand anything we say? Pro4Never tried helping you. If you can't understand him, then you need to learn how to understand him. Learn how to program.Quote:
Dude ! Iam Beginner So step by step Please !
i Know No one Need To Help The Beginner ppl but i hope to under stand how to make that !
so what u mean by this question !!!
"whats an event or a timer?""what's a flag?and how to use 'em?""how to summon it " then yes u're right at your last part "if u didn't get what i've said above then yes as fang said , dun even bother hosting a server"but such ppls have their own mentality "oh god i've made a server using C#" then he thought "IAM A C# Coder" even he doesnt know how to write a simple talking npc.Quote:
okay here
1- summon banshe once server start
2- once it's killed run a timmer/raise an event after 30 min
3- this event summon another one
or even summon it every xx:30 , use a flag to determine if it's kill or not , once someone kill a monster called banashe u turn this flag to one , else this flag is zero , on every xx:30 u do check , if banashe flag is zero (by default) you don't need to summon another one , else you do summon it
if u didn't get what i've said above then yes as fang said , dun even bother hosting a server
Quote:
"whats an event or a timer?""what's a flag?and how to use 'em?""how to summon it " then yes u're right at your last part "if u didn't get what i've said above then yes as fang said , dun even bother hosting a server"but such ppls have their own mentality "oh god i've made a server using C#" then he thought "IAM A C# Coder" even he doesnt know how to write a simple talking npc.
For the guy who wrote the thread how about handling a code that every xx:30 a monster respawn like
if
{
Date.Time.Now(xx:30)
}
monster.respawn
that's the easiest way as u're a beginner.
P.S: itsnt the right code it's just an example as far as i know u'll say "oh dude where to put that code,the code is giving me errors" and i gave up Co until i finish my high school .
Everything in a source effects its performance. Memory has to be allocated for any new variable being declared and defined by the server. If you want to add a timer for boss monsters, that really isn't a problem. There are other, more efficient, ways of doing it... but timers aren't necessarily a bad way if you only have a handful of bosses running on timers. It makes for poor expandability though.Quote:
hey fang, i want to ask u something related to this topic. hmmm if wer going to use the kernel to add a timer will it used more memory ? or does it even affect the memory usage>?
#region SnowBanshee-RespawnTime
if (Name == "SnowBanshee")
{
RespawnTime += 1800;
}
#endregion