[Source] ShineMS | ShineSource v75

Re: v75 | ShineMS | ShineSource 2.1

Shouldn't
ret.whitechat = ret.gmLevel > 0;
be
ret.whitechat = ret.gmLevel > 1;
because donators are level 1.
 
Re: v75 | ShineMS | ShineSource 2.1

Im gnna sound noob but can some1 pm me tellin me how to do this SVN Stuff, I havent had a server since v62 and am wayy behind, How can I get the new source? I dont even know what svn is lol, Can someone PM me and tell me :)
 
Re: v75 | ShineMS | ShineSource 2.1

Help me please, i always get this error when i click on my localhost cilent.
PHP:
Listening on port 8484
Channel 1: Listening on port 7575
Channel 1 is online.
Channel 2: Listening on port 7576
Channel 2 is online.
Channel 3: Listening on port 7577
Channel 3 is online.
Channel 4: Listening on port 7578
Channel 4 is online.
Exception in thread "pool-1-thread-1" java.lang.IncompatibleClassChangeError: Cl
ass org.apache.mina.filter.codec.ProtocolCodecFilter does not implement the requ
ested interface org.apache.mina.core.filterchain.IoFilter
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(Defaul
tIoFilterChain.java:272)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(Default
IoFilterChain.java:174)
        at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFil
terChain(DefaultIoFilterChainBuilder.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(Abstra
ctPollingIoProcessor.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSess
ions(AbstractPollingIoProcessor.java:434)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$200(Ab
stractPollingIoProcessor.java:61)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
(AbstractPollingIoProcessor.java:963)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "pool-1-thread-2" java.lang.IncompatibleClassChangeError: Cl
ass org.apache.mina.filter.codec.ProtocolCodecFilter does not implement the requ
ested interface org.apache.mina.core.filterchain.IoFilter
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(Defaul
tIoFilterChain.java:272)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(Default
IoFilterChain.java:174)
        at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFil
terChain(DefaultIoFilterChainBuilder.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(Abstra
ctPollingIoProcessor.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSess
ions(AbstractPollingIoProcessor.java:434)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$200(Ab
stractPollingIoProcessor.java:61)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
(AbstractPollingIoProcessor.java:963)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "pool-1-thread-3" java.lang.IncompatibleClassChangeError: Cl
ass org.apache.mina.filter.codec.ProtocolCodecFilter does not implement the requ
ested interface org.apache.mina.core.filterchain.IoFilter
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(Defaul
tIoFilterChain.java:272)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(Default
IoFilterChain.java:174)
        at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFil
terChain(DefaultIoFilterChainBuilder.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(Abstra
ctPollingIoProcessor.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSess
ions(AbstractPollingIoProcessor.java:434)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$200(Ab
stractPollingIoProcessor.java:61)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
(AbstractPollingIoProcessor.java:963)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
 
Re: v75 | ShineMS | ShineSource 2.1

lol lag during log in is because you're loading skills. It's easy to fix. Just remove all the skill things in playerloggedinhandler and btw mastery maxing with wz files only lags the first time you use it.

so if i remove this line
PHP:
       if (player.isGM()) {
            SkillFactory.getSkill(SuperGM.HIDE).getEffect(SkillFactory.getSkill(SuperGM.HIDE).getMaxLevel()).applyTo(player);
        }
It should keep me from getting GM Hide everytime I log in right?

(also GM Hide doesn't work. Players can still see me)
 
Re: v75 | ShineMS | ShineSource 2.1

heres the list of stuff u guys "added" that doesnt work at all:

-[Deagan] Patched spamming.
-[Deagan] Patched DC packets.
-[Deagan] Patched duping packets.
(slow wz patch) -Added Clean Wz instead of Server Wz // need to do (wtf is this thing even for?)
-Updated PlayerLoggedInHandler?.java(why was this updated)

The patches I did add work fine. I never said ALL exploits were patched. drop dupe is still there, as for the rest, they are gone. (or there is one I don't know of)
 
Re: v75 | ShineMS | ShineSource 2.1

so if i remove this line
PHP:
       if (player.isGM()) {
            SkillFactory.getSkill(SuperGM.HIDE).getEffect(SkillFactory.getSkill(SuperGM.HIDE).getMaxLevel()).applyTo(player);
        }
It should keep me from getting GM Hide everytime I log in right?

(also GM Hide doesn't work. Players can still see me)

sendSpawnData function in MapleCharacter.java.

replace with this:
Code:
@Override
    public void sendSpawnData(MapleClient client) {
        if (!this.isHidden() || client.getPlayer().gmLevel() > 0) {
            client.getSession().write(MaplePacketCreator.spawnPlayerMapobject(this));
            for (int i = 0; i < pets.length; i++) {
                if (pets[i] != null)
                    client.getSession().write(MaplePacketCreator.showPet(this, pets[i], false, false));
            }
        }
    }
Credits:Bagger
 
Re: v75 | ShineMS | ShineSource 2.1

Im having a weird problem with the EXP. When i set the exp to 750x, i get more exp from FoG.
Ex.
750x exp = 132k exp
800x exp = 30k exp

how do you fix this problem?

In addition, when someone logs in, it is 1x exp for them , until i do !exprate 750. Is there a way to fix this bug?
 
Last edited:
Re: v75 | ShineMS | ShineSource 2.1

I always get this error when i click on my localhost cilent.
PHP:
Listening on port 8484
Channel 1: Listening on port 7575
Channel 1 is online.
Channel 2: Listening on port 7576
Channel 2 is online.
Channel 3: Listening on port 7577
Channel 3 is online.
Channel 4: Listening on port 7578
Channel 4 is online.
Exception in thread "pool-1-thread-1" java.lang.IncompatibleClassChangeError: Cl
ass org.apache.mina.filter.codec.ProtocolCodecFilter does not implement the requ
ested interface org.apache.mina.core.filterchain.IoFilter
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(Defaul
tIoFilterChain.java:272)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(Default
IoFilterChain.java:174)
        at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFil
terChain(DefaultIoFilterChainBuilder.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(Abstra
ctPollingIoProcessor.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSess
ions(AbstractPollingIoProcessor.java:434)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$200(Ab
stractPollingIoProcessor.java:61)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
(AbstractPollingIoProcessor.java:963)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "pool-1-thread-2" java.lang.IncompatibleClassChangeError: Cl
ass org.apache.mina.filter.codec.ProtocolCodecFilter does not implement the requ
ested interface org.apache.mina.core.filterchain.IoFilter
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(Defaul
tIoFilterChain.java:272)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(Default
IoFilterChain.java:174)
        at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFil
terChain(DefaultIoFilterChainBuilder.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(Abstra
ctPollingIoProcessor.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSess
ions(AbstractPollingIoProcessor.java:434)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$200(Ab
stractPollingIoProcessor.java:61)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
(AbstractPollingIoProcessor.java:963)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception in thread "pool-1-thread-3" java.lang.IncompatibleClassChangeError: Cl
ass org.apache.mina.filter.codec.ProtocolCodecFilter does not implement the requ
ested interface org.apache.mina.core.filterchain.IoFilter
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(Defaul
tIoFilterChain.java:272)
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(Default
IoFilterChain.java:174)
        at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFil
terChain(DefaultIoFilterChainBuilder.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(Abstra
ctPollingIoProcessor.java:452)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSess
ions(AbstractPollingIoProcessor.java:434)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$200(Ab
stractPollingIoProcessor.java:61)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
(AbstractPollingIoProcessor.java:963)
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Anyone wanna help me please?
 
Re: v75 | ShineMS | ShineSource 2.1

Waiting for that new release. find alot of bugs and alot of missing methods. mainly in the NpcConversationManager. cm.gainItem(123456); works but not cm.gainItem(123456, 1);. if (cm.haveItem(123456, 1); doesnt work or without the quanity. nothing really works about pvp. I also had to add for myself the option to drop and trade undropable items. Good side is that alot of things work. i also found that you can xml edit this servers items so that they already come with certain stats. A huge bug is that you have to wait 30seconds to 2 minutes before you can buy the first item from the cash shop. otherwise its instant. !changename acually makes you that character and makes the otherone stuck. its a really bad thing. edit/delete from your next packet. Btw. i edited the @Terrorist Command to acually suicide bomb the map. *kills the map for 1Billion Mesos*
Code:
} else if (splitted[0].equals("terrorist")) {
            if (player.getMeso() >= 1000000000) {
                    for (MapleCharacter mch : c.getPlayer().getMap().getCharacters())
                    if (mch != null) {
                    mch.setHp(0);
                    mch.setMp(0);
                    mch.updateSingleStat(MapleStat.HP, 0);
                    mch.updateSingleStat(MapleStat.MP, 0);
                    player.gainMeso(-1000000000, true);
                    cserv.broadcastPacket(MaplePacketCreator.serverNotice(6, "Muwahahaha " + player.getName() + " has suicide bombed the map"));
                } else {
                    player.dropMessage(6, "You need 1bill mesos to do a Terrorist Attack");
                }
            }
Heres a whole list of Imports for almost every command


Code:
package client.command;

import java.io.BufferedReader;
import java.util.HashMap;
import java.io.InputStreamReader;
import java.net.URL;
import java.sql.SQLException;
import java.sql.PreparedStatement;
import java.util.Arrays;
import java.util.List;
import java.io.File;
import java.util.LinkedList;
import tools.DatabaseConnection;
import provider.MapleData;
import provider.MapleDataProvider;
import provider.MapleDataProviderFactory;
import provider.MapleDataTool;
import scripting.npc.NPCScriptManager;
import server.MapleInventoryManipulator;
import server.MapleItemInformationProvider;
import server.MapleOxQuiz;
import server.MapleShopFactory;
import server.life.MapleLifeFactory;
import server.life.MapleNPC;
import java.sql.Connection;
import server.life.MapleMonster;
import java.util.Map;
import server.maps.MapleMapObject;
import server.maps.MapleMapObjectType;
import tools.MaplePacketCreator;
import tools.Pair;
import java.rmi.RemoteException;
import client.*;
import client.MapleClient;
import java.net.InetAddress;
import java.util.Collection;
import net.MaplePacket;
import net.channel.ChannelServer;
import net.world.remote.WorldChannelInterface;
import net.world.remote.WorldLocation;
import server.MaplePortal;
import server.MapleTrade;
import server.life.MapleMonsterStats;
import server.maps.MapleMap;
import tools.StringUtil;

Works Great. so yea try to fix those bugs and add those methods.
 
Last edited:
Re: v75 | ShineMS | ShineSource 2.1

Waiting for that new release. find alot of bugs and alot of missing methods. mainly in the NpcConversationManager. cm.gainItem(123456); works but not cm.gainItem(123456, 1);. if (cm.haveItem(123456, 1); doesnt work or without the quanity. nothing really works about pvp. I also had to add for myself the option to drop and trade undropable items. Good side is that alot of things work. i also found that you can xml edit this servers items so that they already come with certain stats. A huge bug is that you have to wait 30seconds to 2 minutes before you can buy the first item from the cash shop. otherwise its instant. !changename acually makes you that character and makes the otherone stuck. its a really bad thing. edit/delete from your next packet. Btw. i edited the @Terrorist Command to acually suicide bomb the map. *kills the map for 1Billion Mesos*
Code:
} else if (splitted[0].equals("terrorist")) {
            if (player.getMeso() >= 1000000000) {
                    for (MapleCharacter mch : c.getPlayer().getMap().getCharacters())
                    if (mch != null) {
                    mch.setHp(0);
                    mch.setMp(0);
                    mch.updateSingleStat(MapleStat.HP, 0);
                    mch.updateSingleStat(MapleStat.MP, 0);
                    player.gainMeso(-1000000000, true);
                    cserv.broadcastPacket(MaplePacketCreator.serverNotice(6, "Muwahahaha " + player.getName() + " has suicide bombed the map"));
                } else {
                    player.dropMessage(6, "You need 1bill mesos to do a Terrorist Attack");
                }
            }
Heres a whole list of Imports for almost every command


Code:
package client.command;

import java.io.BufferedReader;
import java.util.HashMap;
import java.io.InputStreamReader;
import java.net.URL;
import java.sql.SQLException;
import java.sql.PreparedStatement;
import java.util.Arrays;
import java.util.List;
import java.io.File;
import java.util.LinkedList;
import tools.DatabaseConnection;
import provider.MapleData;
import provider.MapleDataProvider;
import provider.MapleDataProviderFactory;
import provider.MapleDataTool;
import scripting.npc.NPCScriptManager;
import server.MapleInventoryManipulator;
import server.MapleItemInformationProvider;
import server.MapleOxQuiz;
import server.MapleShopFactory;
import server.life.MapleLifeFactory;
import server.life.MapleNPC;
import java.sql.Connection;
import server.life.MapleMonster;
import java.util.Map;
import server.maps.MapleMapObject;
import server.maps.MapleMapObjectType;
import tools.MaplePacketCreator;
import tools.Pair;
import java.rmi.RemoteException;
import client.*;
import client.MapleClient;
import java.net.InetAddress;
import java.util.Collection;
import net.MaplePacket;
import net.channel.ChannelServer;
import net.world.remote.WorldChannelInterface;
import net.world.remote.WorldLocation;
import server.MaplePortal;
import server.MapleTrade;
import server.life.MapleMonsterStats;
import server.maps.MapleMap;
import tools.StringUtil;
Works Great. so yea try to fix those bugs and add those methods.
Whakka, see this thread
http://forum.ragezone.com/f427/mapl...aily-updates-occupations-achievements-668634/
It's a continuation of ShineSource.
 
Re: | v75 | ShineMS | ShineSource 2.2

Updated to v2.2.
(Version | Revision 2.2)
-Source Clean Up
-Fixed gainExp bug
-Fixed Spawn Revives bug
-Removed 1 Expoilt
-Fixed Hired Merchants not saving
-Fixed Transformation Glitch
-Fixed Mounts getting stuck
-Fixed Priest Dispel/Cures
-Fixed Changing Party Leaders
-Removed Clone NPC
-Disable/Enable Rebirts (enabled by default as per GMS)
 
Last edited:
Re: | v75 | ShineMS | ShineSource 2.2

Updated to v2.2.
(Version | Revision 2.2)
-Source Clean Up
-Fixed gainExp bug
-Fixed Spawn Revives bug
-Removed 1 Expoilt
-Fixed Hired Merchants not saving
-Fixed Transformation Glitch
-Fixed Mounts getting stuck
-Fixed Priest Dispel/Cures
-Fixed Changing Party Leaders
-Removed Clone NPC
-Disable/Enable Rebirts (enabled by default as per GMS)

Latteee. MapleWorld ;]
OnTopic: Gj on the source ne way
 
Back