Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
I have an exam next Monday so development will be pretty slow.
Because yaml is so much cooler than XML;
Code:
Plugin:
name: Test Plugin
author: Adil
version: 1.0.0
The plugins will (hopefully) be javascript files, so it'll be pretty easy for you to create scripts.
I would like a script to look like this...
PHP Code:
function doSomething(s) {
// s = session
s.sendAlert("hi");
s.disconnect();
}
Pretty basic but you probably get the idea
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Will Shark prevent scripting? I remember the days of Debbo when scripting was a major issue, and people certainly do not want it on Shark!
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Got the navigator showing your rooms, onto search, creation & deletion. :D:
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Implementing JoeH's pathfinder, and I'm working on item definitions and whatnot.
:D
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
http://i.imgur.com/NzWDEQb.png
Co-ords are messed but yeah.
Room entry! :D
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
So, I've implemented caching.
Instead of heavy find queries like so:
Code:
HabboDao.find(Long id);
users are placed into a cache on login:
Code:
Thunderstorm.getHabboHotel().getHabboCache().put(habbo.getId(),habbo);
Retrieving them requires this:
Code:
Thunderstorm.getHabboHotel().getHabboCache().get(Long id);
I use ehcache for caching if anyone's interested. :P
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Quote:
Originally Posted by
Caustik
Implementing JoeH's pathfinder, and I'm working on item definitions and whatnot.
:D
It is not JoeH's pathfinder.
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Looks pretty good, you made great progress.
Can't wait for the release!
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Lack of motivation to work on the server...
Updates:
Room entry is still a W.I.P but some updates have been made
Sorting out a few navigator bugs
Item classes written up
Any ideas/features you guys want to see implemented?
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Still sorting out a few room bugs (just looked at the source again :s.. (I'm lazy + I've had coursework)), then I'll start reversing some of the more 'fun' stuff :D (hopefully)
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Incorporating client login & finishing rooms.
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
So can't wait for this Adil.
I've wanted a decent old school MySQL server for ages!
Re: Shark ~ [Java][Hibernate][Netty] ~ [V13]
Quote:
Originally Posted by
Clawed
So can't wait for this Adil.
I've wanted a decent old school MySQL server for ages!
*Cough* Woodpecker..