Giter VIP home page Giter VIP logo

java-muonline-server-files's People

Stargazers

 avatar

Watchers

 avatar

java-muonline-server-files's Issues

Inventory ERROR!

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

Implementation MuObject/Abstract/TimeDependStat class

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

Critical.


 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:

Reimplementation /MuObject/MuUser Class

/**
 * 
 * @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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.