-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Recoded profile and fixed it where it says friend or not, or request sent. I retrieved the right structure :)
http://screensnapr.com/e/xrzlop.png
But no idea why the figure won't load. It loads when you enter a room :(
Quote:
Originally Posted by
jomp16
How do I turn on the emulator SierraJAVA?
Import project for NetBeans?
Install JDK. Download Eclipse. Import the project. Read the README.txt file (move config into /bin everytime you open Eclipse) and then press run.. euh
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
You need to add the jdbc driver into your class path.
@Alex, use a build system, preferably maven if you want to automate libraries and stuff
Posted via Mobile Device
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Cool updates Man, Keep it up.
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Catalogue Stocked. Used Phoenix's db tables (catalogue_items, furniture).
http://screensnapr.com/e/ztg8oQ.png
Added new spaces layout. With the new items.
http://screensnapr.com/e/h19DNb.png
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Quote:
Originally Posted by
Quackster
Mate, Are you going to relase these ? As in cms.
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
It's going to check your ranks by this now. Because I'm cool like that.
Code:
public Boolean IsAdmin()
{
return Rank == 6 ? true : false;
}
public Boolean IsModerator()
{
return Rank == 5 ? true : false;
}
public Boolean IsTrainee()
{
return Rank == 4 ? true : false;
}
public Boolean IsVIP()
{
return Rank == 3 ? true : false;
}
public Boolean IsHC()
{
return Rank == 2 ? true : false;
}
public Boolean IsNormal()
{
return Rank == 1 ? true : false;
}
public Boolean IsBanned()
{
return Rank == 0 ? true : false;
}
Quote:
Originally Posted by
Futurama
Mate, Are you going to relase these ? As in cms.
https://github.com/QuacksterNET/SierraCMS
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Awesome Alex. Keep it up man! :)
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
OMFG(:
goodluck with the project
sexy....
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Quote:
Originally Posted by
Quackster
It's going to check your ranks by this now. Because I'm cool like that.
Code:
public Boolean IsAdmin()
{
return Rank == 6 ? true : false;
}
public Boolean IsModerator()
{
return Rank == 5 ? true : false;
}
public Boolean IsTrainee()
{
return Rank == 4 ? true : false;
}
public Boolean IsVIP()
{
return Rank == 3 ? true : false;
}
public Boolean IsHC()
{
return Rank == 2 ? true : false;
}
public Boolean IsNormal()
{
return Rank == 1 ? true : false;
}
public Boolean IsBanned()
{
return Rank == 0 ? true : false;
}
https://github.com/QuacksterNET/SierraCMS
PHP Code:
public Boolean IsAdmin()
{
return Rank == 6;
}
public Boolean IsModerator()
{
return Rank == 5;
}
public Boolean IsTrainee()
{
return Rank == 4;
}
public Boolean IsVIP()
{
return Rank == 3;
}
public Boolean IsHC()
{
return Rank == 2;
}
public Boolean IsNormal()
{
return Rank == 1;
}
public Boolean IsBanned()
{
return Rank == 0;
}
Is a conditional statement really needed? :cool:
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Quote:
Originally Posted by
Makarov
PHP Code:
public Boolean IsAdmin()
{
return Rank == 6;
}
public Boolean IsModerator()
{
return Rank == 5;
}
public Boolean IsTrainee()
{
return Rank == 4;
}
public Boolean IsVIP()
{
return Rank == 3;
}
public Boolean IsHC()
{
return Rank == 2;
}
public Boolean IsNormal()
{
return Rank == 1;
}
public Boolean IsBanned()
{
return Rank == 0;
}
Is a conditional statement really needed? :cool:
Didn't know you could do that in JAVA.
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Yeah you can.. Think of it as an if statement(which is a boolean). If you return an "if" statement it's going to return a true/false value relative to the statement.
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
You could always store ranks in a Dictionary with fuse rights =p or you could use an array, which would be kinda silly, or you could use properties like above =p
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Quote:
Originally Posted by
James
You could always store ranks in a Dictionary with fuse rights =p or you could use an array, which would be kinda silly, or you could use properties like above =p
Or bitpermissions =3
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Quote:
Originally Posted by
joopie
Or bitpermissions =3
They are called BitFields.
-
re: Sierra [R63, JAVA, MySQL (JDBC), Netty]
Quote:
Originally Posted by
Nathe
and how do I start the emulator?
Compile and run the executable.