Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Development v40 Beta Edition Source | Merry Christmas

Newbie Spellweaver
Joined
Aug 30, 2014
Messages
56
Reaction score
31
Look how edgy I am, not releasing the sql files for this to combat leechers
 
Newbie Spellweaver
Joined
Sep 27, 2014
Messages
35
Reaction score
2
First problem I had was with the localhost, changing the name to MapleStory worked like a charm. (For both of them.)

Last bit I'm having a problem with is the "Gateway" screen, can't seem to get past it. Anyone know what to do?

"You have either selected the wrong gateway or have not yet updated your personal information."
It happens for both gateways available. It shouldn't have anything to do with the SQL, I think.. I did some looking through the source for anything related to a gateway and didn't find anything.
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
First problem I had was with the localhost, changing the name to MapleStory worked like a charm. (For both of them.)

Last bit I'm having a problem with is the "Gateway" screen, can't seem to get past it. Anyone know what to do?

"You have either selected the wrong gateway or have not yet updated your personal information."
It happens for both gateways available. It shouldn't have anything to do with the SQL, I think.. I did some looking through the source for anything related to a gateway and didn't find anything. I had just finished the SQL and was ready to make sure it is in working order.


OFFT: If anyone else is interested in the development of this source hit me up, I plan on releasing a server using it as a base in the near future.

If you can't connect to the gateway, then your ports/ip may not be configured correctly.
 
Newbie Spellweaver
Joined
Sep 27, 2014
Messages
35
Reaction score
2
Not sure if I just fucked up editing the localhost you included, but once I switched over to the other it worked just fine.
 
Initiate Mage
Joined
Sep 18, 2013
Messages
1
Reaction score
1
Development v40 Beta Edition

Starting up..
Channel 1 is online.
Channel 2 is online.
Channel 3 is online.
Channel 4 is online.
Channel 5 is online.
IoSession with /127.0.0.1:52592 opened
2월 14, 2015 1:04:19 오후 net.sf.odinms.net.MapleServerHandler exceptionCaught
심각: -42
java.lang.ArrayIndexOutOfBoundsException: -42
at net.sf.odinms.net.PacketProcessor.getHandler(PacketProcessor.java:124
)
at net.sf.odinms.net.MapleServerHandler.messageReceived(MapleServerHandl
er.java:130)
at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messa
geReceived(AbstractIoFilterChain.java:570)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageR
eceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abst
ractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.mess
ageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flus
h(SimpleProtocolDecoderOutput.java:58)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Prot
ocolCodecFilter.java:180)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageR
eceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abst
ractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.mess
ageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorF
ilter.java:220)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.
run(ExecutorFilter.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
at java.lang.Thread.run(Unknown Source)



what the error..
 
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
@lester2518 As sunnyboy said 0x04 is unhandled. After checking my source's ops, it looks like you must've changed something. Look below and you'll see the Character Select is unhandled. If not, then line 619 is the Teleport Rocks. If you don't know how to fix the SQL error, use the below code to skip rocks.

My v40b recvops for handling, make sure the beginning looks like this:
Code:
# v0.40 (Beta Edition) RECVOPS
# GENERAL
PONG = 0x09
CLIENT_CRASH_REPORT = 0x0A
CLIENT_HASH = 0x0E

# LOGIN
LOGIN_PASSWORD = 0x01
LOGIN_CHANNEL_SELECT = 0x02
LOGIN_WORLD_SELECT = 0x03
[b][i]CHAR_SELECT = 0x04[/b][/i]
CHECK_CHAR_NAME = 0x06
CREATE_CHAR = 0x07
DELETE_CHAR = 0x08

Fix teleport rocks:
Replace:
Code:
for (int map : chr.getVIPRockMaps()) {
                    mplew.writeInt(map);
                }
With this:
Code:
for (int i = 0; i < 5; i++) {
    mplew.writeInt(999999999);
}
 
Newbie Spellweaver
Joined
Jul 19, 2015
Messages
6
Reaction score
0
I've done with the bats, they're working properly,
I've put the server on 127.0.0.1 and changed the ip on localhost to 127.0.0.1
when i click on the localhost... it shows me 2 options (2 points, I have to pick one)
or Global or korean
i tried to click on each one and it just don't read the database..
it says.. the id isn't correct

Edit:
it shows errors in bat :
java.sql.SQLException: Column 'SessionIP' not found.
 
Joined
Apr 10, 2008
Messages
4,087
Reaction score
1,264
I've done with the bats, they're working properly,
I've put the server on 127.0.0.1 and changed the ip on localhost to 127.0.0.1
when i click on the localhost... it shows me 2 options (2 points, I have to pick one)
or Global or korean
i tried to click on each one and it just don't read the database..
it says.. the id isn't correct

Edit:
it shows errors in bat :
java.sql.SQLException: Column 'SessionIP' not found.

The error tells you what to do. Add SessionIP to accounts table.
 
Initiate Mage
Joined
Jun 16, 2014
Messages
1
Reaction score
0
Hey, do i have to compile with netbeans in order to start the server? cause there are no:
World.properties
Login.properties
Channel.properties files..
so how could the server know what ip to use?
please reply me i'm so into v40 it will be a dream!
Much Love <3
 
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
Hey, do i have to compile with netbeans in order to start the server? cause there are no:
World.properties
Login.properties
Channel.properties files..
so how could the server know what ip to use?
please reply me i'm so into v40 it will be a dream!
Much Love <3

Yes you have to compile with Netbeans. I have removed the properties files and converted it to a constants file like v83. Browse to src/net/sf/odinms/constants/ServerConstants.java and change the ip in there. You can also change EXP/Meso/Drop rates, server messages, and etc.
 
Skilled Illusionist
Joined
Apr 26, 2015
Messages
302
Reaction score
77
Nice done Eric.

The pdb is pretty complete and most of the game play features are working properly.

thank you :)

Packet structure for scroll effect:

PHP:
public static MaplePacket getScrollEffect(int chr, ScrollResult scrollSuccess) {
		MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
		mplew.write(SendPacketOpcode.SHOW_STATUS_INFO.getValue());
		mplew.write(4);
		switch (scrollSuccess) {
		case SUCCESS:
			mplew.writeInt(1);
			break;
		case FAIL:
			mplew.writeInt(0);
			break;
		case CURSE:
			mplew.write(0);
			mplew.write(1);
			mplew.writeShort(0);
			break;
		default:
			throw new IllegalArgumentException("effect in illegal range");
		}
		return mplew.getPacket();
	}
 
Last edited by a moderator:
Skilled Illusionist
Joined
Apr 26, 2015
Messages
302
Reaction score
77
anyone managed to get the portals working?
I was fixing on server side(without touching the xml files)... but it looks a very ugly solution.
 
Skilled Illusionist
Joined
Apr 26, 2015
Messages
302
Reaction score
77
It's easy to fix the sql guys:
Create the missing fields/tables based on the error you get when running the server!
To check the tables refer to the sql queries.



It's easy to fix the sql guys:
Create the missing fields/tables based on the error you get when running the server!
To check the tables refer to the sql queries.
 
Newbie Spellweaver
Joined
May 14, 2015
Messages
26
Reaction score
1
I've been going crazy trying to find the keylayout opcodes. Can anyone tell me what the recvop and sendop codes are for the keylayout? It's called keymap in Moopledev. Also is the keylayout not saving an issue for anyone else? Or is it just me?
 
Back
Top