Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Its better to do it when they are afk. Otherwise ppl would catch on pretty quick.
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
OMIGOD thanks!!!111!!!!11!
I could use this to lag the shit out of my server >.<
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
I get this error when i compile...
init:
deps-jar:
Compiling 307 source files to C:\Program Files\MySQL\build\classes
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: illegal start of type
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: ';' expected
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: illegal start of type
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: ']' expected
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: illegal start of type
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: <identifier> expected
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: ';' expected
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: illegal start of type
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: <identifier> expected
} else if (splitted[0].equals("!mega")
C:\Program Files\MySQL\SeanSource V.5.9\src\net\sf\odinms\client\messages\CommandProcessor.java:1612: ';' expected
} else if (splitted[0].equals("!mega")
10 errors
BUILD FAILED (total time: 0 seconds)Any help please?
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Quote:
Originally Posted by
boxer1480
init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\Administrator\Desktop\Final2\build\classes
Note: C:\Documents and Settings\Administrator\Desktop\New Folder (18)\src\net\sf\odinms\client\messages\CommandProcessor.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
compile:
Building jar: C:\Documents and Settings\Administrator\Desktop\Final2\dist\JavaProject64.jar
jar:
BUILD SUCCESSFUL (total time: 2 seconds)
normal right?
it says build successful...
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Code:
C:\Documents and Settings\Bryan\Desktop\Rev 988\src\net\sf\odinms\client\messages\CommandProcessor.java:1341: 'else' without 'if'
else if (splitted[0].equals("!sex"))
1 error
BUILD FAILED (total time: 1 second)
Can anyone help?
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
thx for the release..^^
PHP Code:
}else if (splitted[0].equals(";mega"))
{
if (splitted.length == 1)
{
mc.dropMessage("Usage: ;mega [type] [message], where [type] is love, cloud, or diablo.");
mc.dropMessage("Each mega cost 5m~ more expensive ofcos^^");
}
String type = splitted[1];
int channel = player.getClient().getChannel();
int cost = 5000000;
String text = StringUtil.joinStringFrom(splitted, 2);
int itemID = 0;
if(type.equals("love"))
itemID = 5390002;
else if(type.equals("cloud"))
itemID = 5390001;
else if(type.equals("diablo"))
itemID = 5390000;
else
{
mc.dropMessage("Invalid type (use love, cloud, or diablo)");
return true;
}
String[] lines = {"", "", "", ""};
if (player.getMeso() > cost) {
if(text.length() > 30)
{
lines[0] = text.substring(0, 10);
lines[1] = text.substring(10, 20);
lines[2] = text.substring(20, 30);
lines[3] = text.substring(30);
}
else if(text.length() > 20)
{
lines[0] = text.substring(0, 10);
lines[1] = text.substring(10, 20);
lines[2] = text.substring(20);
}
else if(text.length() > 10)
{
lines[0] = text.substring(0, 10);
lines[1] = text.substring(10);
}
else if(text.length() <= 10)
{
lines[0] = text;
}
LinkedList list = new LinkedList();
list.add(lines[0]);
list.add(lines[1]);
list.add(lines[2]);
list.add(lines[3]);
try
{
MaplePacket mp = MaplePacketCreator.getAvatarMega(player, channel, itemID, list);
player.getClient().getChannelServer().getWorldInterface().broadcastMessage(null, mp.getBytes());
player.gainMeso(-cost, true);
}
catch(Exception e){
}
}else{
mc.dropMessage("You Don't have enought mesos...");
}
i changed it to player mode~
each mega cost 5m..
usefull for the ppl lazy to buy mega^^
tried b4~
working
to change price
Code:
int cost = yourprice;
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Quote:
Originally Posted by
kiwilol
thx for the release..^^
PHP Code:
}else if (splitted[0].equals(";mega"))
{
if (splitted.length == 1)
{
mc.dropMessage("Usage: ;mega [type] [message], where [type] is love, cloud, or diablo.");
mc.dropMessage("Each mega cost 5m~ more expensive ofcos^^");
}
String type = splitted[1];
int channel = player.getClient().getChannel();
int cost = 5000000;
String text = StringUtil.joinStringFrom(splitted, 2);
int itemID = 0;
if(type.equals("love"))
itemID = 5390002;
else if(type.equals("cloud"))
itemID = 5390001;
else if(type.equals("diablo"))
itemID = 5390000;
else
{
mc.dropMessage("Invalid type (use love, cloud, or diablo)");
return true;
}
String[] lines = {"", "", "", ""};
if (player.getMeso() > cost) {
if(text.length() > 30)
{
lines[0] = text.substring(0, 10);
lines[1] = text.substring(10, 20);
lines[2] = text.substring(20, 30);
lines[3] = text.substring(30);
}
else if(text.length() > 20)
{
lines[0] = text.substring(0, 10);
lines[1] = text.substring(10, 20);
lines[2] = text.substring(20);
}
else if(text.length() > 10)
{
lines[0] = text.substring(0, 10);
lines[1] = text.substring(10);
}
else if(text.length() <= 10)
{
lines[0] = text;
}
LinkedList list = new LinkedList();
list.add(lines[0]);
list.add(lines[1]);
list.add(lines[2]);
list.add(lines[3]);
try
{
MaplePacket mp = MaplePacketCreator.getAvatarMega(player, channel, itemID, list);
player.getClient().getChannelServer().getWorldInterface().broadcastMessage(null, mp.getBytes());
player.gainMeso(-cost, true);
}
catch(Exception e){
}
}else{
mc.dropMessage("You Don't have enought mesos...");
}
i changed it to player mode~
each mega cost 5m..
usefull for the ppl lazy to buy mega^^
tried b4~
working
to change price
Code:
int cost = yourprice;
Thanks for the release ^^
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
I get the same as the kid who said the command wasn't in game yet,,
it's like where should I add it if it aint correct...0.o
srry for this noobish question I just dont know why it doesnt work for me,,I use seanrepacl
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
O snap....
Another bump....
Guys, please don't bump 5 month old threads. (Almost)
Read the Rules....
And to answer you....
COMPILE....
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
PHP Code:
init:
deps-clean:
Deleting directory C:\Documents and Settings\Administrator\Desktop\SmexyStoryV3\odinms\build
clean:
init:
deps-jar:
Created dir: C:\Documents and Settings\Administrator\Desktop\SmexyStoryV3\odinms\build\classes
Compiling 351 source files to C:\Documents and Settings\Administrator\Desktop\SmexyStoryV3\odinms\build\classes
C:\Documents and Settings\Administrator\Desktop\SmexyStoryV3\WonderStoryv62\ThePack\src\net\sf\odinms\client\messages\GMCommand.java:1441: getAvatarMega(net.sf.odinms.client.MapleCharacter,int,int,java.util.List<java.lang.String>,boolean) in net.sf.odinms.tools.MaplePacketCreator cannot be applied to (net.sf.odinms.client.MapleCharacter,int,int,java.util.LinkedList)
MaplePacket mp = MaplePacketCreator.getAvatarMega(victim, channel, itemID, list);
Note: C:\Documents and Settings\Administrator\Desktop\SmexyStoryV3\WonderStoryv62\ThePack\src\net\sf\odinms\client\messages\GMCommand.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
BUILD FAILED (total time: 8 seconds)
Can someone help me fix this bug/error? Thanks at advance!
Re: [Release] Avatar Smega Command (Let's you make other people smega!)
Nice ... this old is so damn old =/ Most repacks already have the commands inside already.