Comments (2)
My bad, but there is still an issue with that part, really it should only be checking the finish time to the current time, the WarIsOn is fine also.
from crystal.
If I'm not mistaken it should be as follows;
Surround start & end in brackets to group them and replace || with &&
if (WarIsOn && (start > now && finish <= now))
{
EndWar(Info.Game);
}
from crystal.
Related Issues (20)
- CMain: Could not load type 'System.Runtime.Serialization.Formatters.Binary.BinaryFormatter' from assembly 'System.Runtime.Serialization.Formatters'. HOT 5
- Expanded storage
- Equip slot issue HOT 2
- %InputStr bug HOT 3
- Packet flood issue HOT 2
- no response when open client HOT 5
- On the improvement of server and client HOT 2
- Hero Petmode(Ctrl + a) Not working
- Resurrection skill cannot be cast HOT 1
- Regarding the database version, the server and client are attached for reference. HOT 16
- Suggestions on client optimization
- PlayerInfoForm HOT 3
- Seeking help NewbieGuild HOT 2
- On Abnormal Display of True Color Maps HOT 1
- ObjectDashAttack/ObjectBackStep
- Is this a bug or is it normal?
- Fishing Rod / Mount Socket information. HOT 1
- Major - NPC Sale list HOT 7
- It is suggested to increase database search.
- Hero attack mode error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crystal.