[release]@save command for ShoooootSource

Newbie Spellweaver
Joined
Nov 16, 2009
Messages
21
Reaction score
0
Iv'e noticed that ShooootSource doesnt have @save. Anyways here it is. Add this to PlayerCommands.java.

Code:
            } else if
                   (splitted[0].equalsIgnoreCase("save")) {
                if (!player.getCheatTracker().Spam(900000, 0)) { // 15 minutes,  change the Milliseconds to suit your own time
                    player.saveToDB(true, false);
                    player.message("Saved.");

Cygnus Rebirth Command, if you dont already have it

Code:
} else if (splitted[0].equals("crebirth")) {
            if(player.getLevel() >= 120) {
                if(player.isA(CYGNUS)){
                player.doRebirth();
                player.message("Congratz on your " + player.getReborns() + "   rebirth");
            } else {
                player.message("You need to be lvl 120 to rebirth");

Added Cygnus check thanks to Ehab
 
Last edited:
Re: @save command for ShoooootSource

Thanks in advance. (:
(Since I am going to buy ShootSource in a few days. :p)
IsItNice? :3


---------- Post added at 12:15 PM ---------- Previous post was at 12:13 PM ----------

Also, wouldn't it be better to let @crebirth check if the character is actually an Cygnus? O:
 
Re: @save command for ShoooootSource

If i'm not wrong, shootsource do not have player command? O: i not so sure.
 
Re: @save command for ShoooootSource

If i'm not wrong, shootsource do not have player command? O: i not so sure.

Depends on your REV. Anyways add this into your ShooootSource because sometimes when a Cygnus changes channel they rollback. Hey, i dont know if its just for me, but i suggest you add it.
 
Re: @save command for ShoooootSource

WOW PRO!! NO ONE HAS THIS!! OMG OMG OMG!!!


/Thread -_-

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

define CYGNUS in your MapleJob and yah...
Code:
if(player.isA(CYGNUS)){
 
Re: @save command for ShoooootSource

WOW PRO!! NO ONE HAS THIS!! OMG OMG OMG!!!


/Thread -_-

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

define CYGNUS in your MapleJob and yah...
Code:
if(player.isA(CYGNUS)){

Hey Hey Ehab relax, im just trying to contribute to the community.
 
Re: @save command for ShoooootSource

this is crap.
@save can be spammed, totally useless.
a better way to save players is to save them when they enter the cs etc.
didnt want to flame, thats just my opponion.
good release for people who needed that.
 
Re: @save command for ShoooootSource

this is crap.
@save can be spammed, totally useless.
a better way to save players is to save them when they enter the cs etc.
didnt want to flame, thats just my opponion.
good release for people who needed that.

*Added a spam filter, you can only do it every 15 minutes.
 
Last edited:
Re: @save command for ShoooootSource

Mhm...

In my repack (not public) it autosaves everything every minute, and I removed @save.

Never had any problems with it...

Well, if you have a very big server, it might give sóme problems. (Eg, Scrolling items)

But.
Yah.
 
Re: @save command for ShoooootSource

Depends on how many people play.
AutoSave everytime someone enters a portal, CS or MTS = LAGLAGLAG.

Mhh, perhaps you should autosave every 5 minutes, and add @save, so if someone scrolls, etc, it saves.
Add a time limit to @save. (1 save p/minute?)
 
Re: @save command for ShoooootSource

still no.


keep everything as it is.
no autosave needed, just be a pro and don't make the server crash.
 
Back