piotrzuzel / java-muonline-server-files Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/java-muonline-server-files
Automatically exported from code.google.com/p/java-muonline-server-files
Class Implementation:
com.google.code.openmu.gs.muObjects.Abstract.TimeDependsStats ;
/**
* @author mikiones
* The TimeDependStats is base class for eny stat what change it value in time
* like heal and mana pool.
* Data:
* * Value: the actual stat value
* * MaxValue: the max stat value
* * Tick The amount of inc/dec stat per second
* * LastUpdateTime: time when wos last udate stat
*
* General Idea:
* * Update this stats inwey whatis now done Je. usingextra therad ticking every econ is
* not to mach great choice. Insteed we check just time on every request
* and simple make calculations: Dvalue=((LastTimeCheck - curenTime)*1000 )*TickValue give the incrased amount over time
* CurenStat=((CurentStat+ DValue)=>MaxValue)?CurentStat+Dvalue:MaxValue;
*
* Flask/Health Spells/DOT spells etc:
* all Mods incase/decrase Tick amount for period of time when finish spell/task pass the additional mod back to 0
*
* Interface
* TODO
*
*/
public class TimeDependsStats {
}
Original issue reported on code.google.com by [email protected]
on 30 Aug 2010 at 9:19
/**
*
* @author mikiones
* @Descryption
* Class holds all data needed to menage User:
* * The UserName and password for authorysation
* * The Primery Key in database to easy get/update data
* * The Security Keys to volult and character delete
* * The Count of LogIn fauls if eny (3'th suposeto Block logon
* logon abilyty from speciefed Adress reistred from where the mistakes woos make
*
* @TODO: Rewrite class to something like this
* Factory elements:
* * static MuUser ReadUser(user_name) : read user data and retun If username not exist then return NULL
* * static MuUser ReadUser(User_primeryKey): to Use onywith confirmeted ID
* Utility:
* * static void UpdateUser(MuUser data): to update existed data in database f.e after next authorysation fault
* Ban/Kick staff
* * static void BanUser(MuUser who, date to_date): ban user for to_date date
* * static void unBanUSer(MuUser): to unban user
* * static void KickUser(MuUser who, int Minuts): kick user for x minuts
* * static void unKickUser(MuUser who): unkic User
*
* Memebers Functions:
* * Geters: For user data
* * Authorysation(user, password) return flag as Authorysation package return like Baned,OK,Invalt_password etc
*/
Original issue reported on code.google.com by [email protected]
on 30 Aug 2010 at 9:21
[deleted issue]
the following things should be done as soon as possible:
-Switch Character
-Exit Game
TANKS.
Alin
Original issue reported on code.google.com by [email protected]
on 28 Jul 2008 at 12:01
Attachments:
[deleted issue]
The Connect server not refresh status of each of gs
Original issue reported on code.google.com by [email protected]
on 8 Aug 2010 at 11:08
Hi
I found NEW error in last rev (R244)
Aug 1, 2008 9:00:13 AM net.sf.jmuserver.gs.ClientThread run
SEVERE: null
java.lang.NullPointerException
at
net.sf.jmuserver.gs.muObjects.MuInventory.storeItem(MuInventory.java:
62)
at
net.sf.jmuserver.gs.ClientThread.restoreInventory(ClientThread.java:4
59)
at
net.sf.jmuserver.gs.ClientThread.loadCharFromDisk(ClientThread.java:4
09)
at
net.sf.jmuserver.gs.clientPackage.CSelectedCharacterEnterRequest.<ini
t>(CSelectedCharacterEnterRequest.java:17)
at
net.sf.jmuserver.gs.PacketHandler.handlePacket(PacketHandler.java:126
)
at net.sf.jmuserver.gs.ClientThread.run(ClientThread.java:244)
gameserver thread[C] stopped
Original issue reported on code.google.com by [email protected]
on 1 Aug 2008 at 6:05
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.