Community Project

Newbie Spellweaver
Joined
Feb 12, 2014
Messages
5
Reaction score
0
hello everyone around here...

I have been lurking around too long so I decided to create a thread I have been thinking about this a very long time.. why not start a community based project based on odin source as early as 0.75 shoot source I believe some of you remember as it was superb back in 0.75
I have so far upgrade the source to v145 till character selection as there is alot of changes have been done, It is going to take awhile to update all the packets and code all the changes.. sadly I cant do it alone.. which is why I want to make the project a open source, where everyone is free to contribute..

why I prefer open source

a community where people would submit patches and it get merges into the source code..
the goal is to pretty much understand the fundamentals of Java and Javascript and come about as a community to learn about server emulator.
and to put a full stop on people who have been selling source... and encourage leeching.
dedicated to finding the best solutions to the challenging problems we face, writing it in Java.

why shootsource and not the latest leaked source or lithium..

as far as I would like to take lithium or the leaked source to cut down my progress, I chose not to, I don't agree on how they have handle certain methods/functions

I wanted a project where we could learn and how certain function was written coded, now you could have said why not start a server from scratch.. remember titanms back in 2008 remember how Vana transformed it into something so beautiful that today it can be argue as one of the best c++ server emulator around alright back to the starting point I wanted this to be a community based project where anyone could improve the code and learn about how certain functions are written

legal ? can we run the server ?

I cant help it if you chose to take this source and run it as a server emulator, as I nor do the community control will be held responsible what you do with it the source will be NOT PRE-COMPILED.. so pretty much you have to download and compile it with what ever tool.

please understand a server emulator is never really about completing with a corporation or harming their intellectual property.. most of them do it to understand how certain functions are written and overall to improve and understand on how mmorpg works... and we help each other to improve programming or understand how certain function works..

there will be no website only a github or svn for contribution of code.. you can discuss and file tickets

and pretty much anyone is able to create a account and contribute to it..

as of now I hear everyone discussion about the project, only if everyone agree hopefully than project will kick off
 
Last edited:
hello everyone around here...

I have been lurking around too long so I decided to create a thread I have been thinking about this a very long time.. why not start a community based project based on odin source as early as 0.75 shoot source I believe some of you remember as it was superb back in 0.75
I have so far upgrade the source to v145 till character selection as there is alot of changes have been done, It is going to take awhile to update all the packets and code all the changes.. sadly I cant do it alone.. which is why I want to make the project a open source, where everyone is free to contribute..

why I prefer open source

a community where people would submit patches and it get merges into the source code..
the goal is to pretty much understand the fundamentals of Java and Javascript and come about as a community to learn about server emulator.
and to put a full stop on people who have been selling source... and encourage leeching.
dedicated to finding the best solutions to the challenging problems we face, writing it in Java.

why shootsource and not the latest leaked source or lithium..

as far as I would like to take lithium or the leaked source to cut down my progress, I chose not to, I don't agree on how they have handle certain methods/functions

I wanted a project where we could learn and how certain function was written coded, now you could have said why not start a server from scratch.. remember titanms back in 2008 remember how Vana transformed it into something so beautiful that today it can be argue as one of the best c++ server emulator around alright back to the starting point I wanted this to be a community based project where anyone could improve the code and learn about how certain functions are written

legal ? can we run the server ?

I cant help it if you chose to take this source and run it as a server emulator, as I nor do the community control will be held responsible what you do with it the source will be NOT PRE-COMPILED.. so pretty much you have to download and compile it with what ever tool.

please understand a server emulator is never really about completing with a corporation or harming their intellectual property.. most of them do it to understand how certain functions are written and overall to improve and understand on how mmorpg works... and we help each other to improve programming or understand how certain function works..

there will be no website only a github or svn for contribution of code.. you can discuss and file tickets

and pretty much anyone is able to create a account and contribute to it..

as of now I hear everyone discussion about the project, only if everyone agree hopefully than project will kick off

I have been lurking around too long
Join Date: Feb 2014.

-

Community projects always failed (maybe they succeeded back then in 2008) for one reason. The community doesn't have enough knowledge for such things, plus they lost their thrive to learn - all they want is free, here and now. They need the latest files, with the latest updates with no cost. The community isn't ready to learn how things work behind the scenes, they'd rather pick up a released source, open a server and enjoy it. Now, about ShootSource - I wouldn't say it's the best (after all, it's based on OdinMS - and contains all OdinMS mistakes), they are probably much better sources - they're just not publicly released. Also, it can failed because the reason of cooperation. Take this for example:

Guy A codes something.
Guy B codes something else.

Guy A and Guy B's code is supposed to work together.

Guy A's
code is much different than Guy B's code, and what he had in mind. Everything is now garbage and needs to be rewritten.

This is just one example. Everything is always connected to each other - meaning you must do things yourself if you want to get them working. If the structure is different for two things that should be connected it's very hard to connect them. A person who's coding something already knows how it will work like, and how it's dependencies will be coded to work with it. If you want a cool community project (it will never happen, but still), why not teach everyone basic things like Packets in MapleStory, or how things work "behind the scenes", or other languages rather than OdinMS's Java, etc.

tl;dr Community projects are doomed to fail.
 
hello everyone around here...

I have been lurking around too long so I decided to create a thread I have been thinking about this a very long time.. (1)why not start a community based project based on odin source as early as 0.75 shoot source I believe some of you remember as it was superb back in 0.75
I have so far upgrade the source to v145 till character selection as there is alot of changes have been done, It is going to take awhile to update all the packets and code all the changes.. sadly I cant do it alone.. which is why I want to make (2)the project a open source, where everyone is free to contribute..

why I prefer open source

a community where people would submit patches and it get merges into the source code..
the goal is to pretty much understand the fundamentals of Java and Javascript and come about as a community to learn about server emulator.
and to put a full stop on people who have been selling source... and encourage leeching.
dedicated to finding the best solutions to the challenging problems we face, writing it in Java.

why shootsource and not the latest leaked source or lithium..

as far as I would like to take lithium or the leaked source to cut down my progress, I chose not to, I don't agree on how they have handle certain methods/functions

I wanted a project where we could learn and how certain function was written coded, now you could have said (1)why not start a server from scratch.. remember titanms back in 2008 remember how Vana transformed it into something so beautiful that today it can be argue as one of the best c++ server emulator around alright back to the starting point I wanted this to be a community based project where anyone could improve the code and learn about how certain functions are written

legal ? can we run the server ?

I cant help it if you chose to take this source and run it as a server emulator, as I nor do the community control will be held responsible what you do with it the source will be NOT PRE-COMPILED.. so pretty much you have to download and compile it with what ever tool.

please understand a server emulator is never really about completing with a corporation or harming their intellectual property.. most of them do it to understand how certain functions are written and overall to improve and understand on how mmorpg works... and we help each other to improve programming or understand how certain function works..

(2)there will be no website only a github or svn for contribution of code.. you can discuss and file tickets

and pretty much anyone is able to create a account and contribute to it..

as of now I hear everyone discussion about the project, only if everyone agree hopefully than project will kick off

1. A community based source should be coded from scratch (or at least be rewritten for 80%) ,odin is still based on the "old" java.
Example:
- HexTool.java could easily been removed by now.
- LittleEndianWriter and reader, did you see how they are coded?, with a interface, this could also been removed
- Xml should be changed to Nx or MCDB or your own binaryformat (just what you prefer)
2. Then post a github link 0_0?
 
Last edited:
1. A community based source should be coded from scratch (or at least be rewritten for 80%) ,odin is still based on the "old" java.
Example:
- HexTool.java could easily been removed by now.
- LittleEndianWriter and reader, did you see how they are coded?, with a interface, this could also been removed
- Xml should be changed to Nx or MCDB or your own binaryformat (just what you prefer)
2. Then post a github link 0_0?

HexTool class is so stupid, why do people even use it? You can easily take a hexadecimal string and easily convert it by taking the two characters every time and casting them to bytes using Byte.parseByte(chars, 16).

Also, another good example for an OdinMS flaw is the ugly class "MapFactory", which creates useless map objects for every channel. The data isn't needed for every object, so it's just a waste. Have fun being stuck with a loading time of 1 minute, OdinMS fans.
 
HexTool class is so stupid, why do people even use it? You can easily take a hexadecimal string and easily convert it by taking the two characters every time and casting them to bytes using Byte.parseByte(chars, 16).

Because Maplestory Section.
Aside from a handful of people, this section has never been worse.
 
remember titanms back in 2008 remember how Vana transformed it into something so beautiful that today it can be argue as one of the best c++ server emulator around

"King of the crap heap" isn't much of a shining review. And I don't think it's arguable that it's the best public C++ server source.
 
I would agree with you on how Vana is the best C++ emulator there has been around... I wish there was something like this was odin and
yeah odin is old.. I believe there are good sources, but with the current updates maplestory are getting it seems like the emulator wont never be near anything at all...
best is stay on one version and code the features I believe the community has already pointer to something they discover like ida the client for packets etc

I think wow Mangos (Wow Server Emulator) does this they stay on one version and live it to someone else in the community to fork it to another version..

I wont be susprised if odin is dethroned in the future by some other emulator
 
@Fraysa he said lurking around meaning he didn't have to make an account who cares about his join date
 
The problem with community based projects is simply that anyone starting a community project expects OTHERS to do the work for them.
If you want a community project, you need to pull up your sleeves and be prepared to just do all the work yourself, while keeping your work entirely open source on a public Github repository.
As soon as you guys stop expecting others to do anything for you, and stop hiding all your development from the community, then successful community projects will naturally spring up.
You have nobody else to blame but yourself.

On the matter of MS pservers specifically, I don't get why you guys even bother with updating to the latest version when even the old versions are nowhere near complete, with most portals and npc scripts still missing.
And for anybody wondering about Vana, it is still being actively updated by Bui with my help. It performs wonderfully and is undoubtedly stabler than ANY other server source. ExtaliaMS got nothing on Vana.
 
I have been lurking around too long
Join Date: Feb 2014.

-

Community projects always failed (maybe they succeeded back then in 2008) for one reason. The community doesn't have enough knowledge for such things, plus they lost their thrive to learn - all they want is free, here and now. They need the latest files, with the latest updates with no cost. The community isn't ready to learn how things work behind the scenes, they'd rather pick up a released source, open a server and enjoy it. Now, about ShootSource - I wouldn't say it's the best (after all, it's based on OdinMS - and contains all OdinMS mistakes), they are probably much better sources - they're just not publicly released. Also, it can failed because the reason of cooperation. Take this for example:

tl;dr Community projects are doomed to fail.

Every single Java source is based on OdinMS, even Celino (which is what RMZero's stuff is based on). A lot of people talk down to OdinMS and make it out to be something with a ton of mistakes, lots of inefficiency, etc, but OdinMS is actually a good source. I don't think people understand that. It was designed very well, probably had very few memory leaks (a lot of the memory leaks exist based on things that other people added in v62 and v75), and definitely was not as bad as people think. The code is dated, the core structure can be improved, but I am willing to bet that only a very few number of people here can continue their work in the same quality that the OdinMS developers started it - they were all either C.S. graduates or exceptional students, and that can easily be shown by the fact that they wrote the source from scratch without another source to refer to.
I tried to do the same thing a couple of years ago actually, and it turned out to be pretty similar to OdinMS, simply because their structural design is very good - Map objects, Items, basic MINA handling, etc. have nothing wrong with them. Obviously it was also because I already knew the OdinMS structure and it was difficult to consider something entirely different, especially when there were no problems with it.

The reality is that real "good" code has been gone from the section for a long time now. Lithium endorses pretty poor programming practices, and seems to me like it is written just to make things work. It has organization issues, has random bits of messy code, and overall needs some serious refactoring. Unfortunately, that's the only thing that's used nowadays, but it is also the most complete so I don't blame them.

The people who know enough to make a difference won't do it because it is not worth their time to do so. The people who don't know enough to help probably don't have much of an incentive to learn because the community doesn't foster learning, it simply fosters ostracizing and flaming. Also, the times are different - the game as a whole is pretty much dying; there is a lot of new content and a relatively predictable development cycle, and the effort and time to work on a MapleStory private server is probably outweighing anything gained from doing so - I can say that it's not worth my time for sure.
HexTool class is so stupid, why do people even use it? You can easily take a hexadecimal string and easily convert it by taking the two characters every time and casting them to bytes using Byte.parseByte(chars, 16).

Also, another good example for an OdinMS flaw is the ugly class "MapFactory", which creates useless map objects for every channel. The data isn't needed for every object, so it's just a waste. Have fun being stuck with a loading time of 1 minute, OdinMS fans.

I'm not sure what you're talking about for the MapFactory? Going from v62 onwards, I did not notice anything like that. Also, loading time for what?

Also, random things that people circlejerk or suggest should not be emphasized so much. For example, take the NX format and the XML format. I don't know anything about the NX format but apparently it stores and loads bitmaps more efficiently? Well that's good, but it sounds like a good idea for a client because the server doesn't use those. Also, if the parsing system is correct and efficient, then data loaded from XML and from NX will both take up the same amount of memory in the server, making the format completely inconsequential. Most data is often loaded at the start too, so I don't think it's worth the time to redo the entire parsing system in the source and refactor every data loading file for a few second speedup at startup.
 
Code:
[COLOR=#333333]And for anybody wondering about Vana, it is still being actively updated by Bui with my help. It performs wonderfully and is undoubtedly stabler than ANY other server source. ExtaliaMS got nothing on Vana.[/COLOR]


maybe if it was open source extalia would be somewhere today.. but then again half of the gtop will using extalia source and nexon wont be too happy.. as for Vana I strongly believe it because no one here knows how it works or too lazy to pick up C++ to even contribute.. and since it is based on a old version 0.75 no one wants it...
 
Also, random things that people circlejerk or suggest should not be emphasized so much. For example, take the NX format and the XML format. I don't know anything about the NX format but apparently it stores and loads bitmaps more efficiently? Well that's good, but it sounds like a good idea for a client because the server doesn't use those. Also, if the parsing system is correct and efficient, then data loaded from XML and from NX will both take up the same amount of memory in the server, making the format completely inconsequential. Most data is often loaded at the start too, so I don't think it's worth the time to redo the entire parsing system in the source and refactor every data loading file for a few second speedup at startup.
I don't know why people keep thinking NX is meant to store bitmaps more efficiently. If anything it is storing them less efficiently. Keep in mind NX was designed first and foremost for my own C++ projects, allowing me to not have to load or parse the data thanks to memory mapping, thus instant load times and close to no memory usage. For nearly all other languages it is nothing more than a simple binary format. Most server sources here perform so badly anyway, that even if NX did provide a significant advantage in terms of memory and performance, it would be negligible compared to the already terrible performance of the server.

@Multo - Why are you quoting people with code tags? Also your font color choice makes it hard to read for people using the dark theme.
 
Last edited:
Every single Java source is based on OdinMS, even Celino (which is what RMZero's stuff is based on). A lot of people talk down to OdinMS and make it out to be something with a ton of mistakes, lots of inefficiency, etc, but OdinMS is actually a good source. I don't think people understand that. It was designed very well, probably had very few memory leaks (a lot of the memory leaks exist based on things that other people added in v62 and v75), and definitely was not as bad as people think. The code is dated, the core structure can be improved, but I am willing to bet that only a very few number of people here can continue their work in the same quality that the OdinMS developers started it - they were all either C.S. graduates or exceptional students, and that can easily be shown by the fact that they wrote the source from scratch without another source to refer to.
I tried to do the same thing a couple of years ago actually, and it turned out to be pretty similar to OdinMS, simply because their structural design is very good - Map objects, Items, basic MINA handling, etc. have nothing wrong with them. Obviously it was also because I already knew the OdinMS structure and it was difficult to consider something entirely different, especially when there were no problems with it.

The reality is that real "good" code has been gone from the section for a long time now. Lithium endorses pretty poor programming practices, and seems to me like it is written just to make things work. It has organization issues, has random bits of messy code, and overall needs some serious refactoring. Unfortunately, that's the only thing that's used nowadays, but it is also the most complete so I don't blame them.

The people who know enough to make a difference won't do it because it is not worth their time to do so. The people who don't know enough to help probably don't have much of an incentive to learn because the community doesn't foster learning, it simply fosters ostracizing and flaming. Also, the times are different - the game as a whole is pretty much dying; there is a lot of new content and a relatively predictable development cycle, and the effort and time to work on a MapleStory private server is probably outweighing anything gained from doing so - I can say that it's not worth my time for sure.


I'm not sure what you're talking about for the MapFactory? Going from v62 onwards, I did not notice anything like that. Also, loading time for what?

Also, random things that people circlejerk or suggest should not be emphasized so much. For example, take the NX format and the XML format. I don't know anything about the NX format but apparently it stores and loads bitmaps more efficiently? Well that's good, but it sounds like a good idea for a client because the server doesn't use those. Also, if the parsing system is correct and efficient, then data loaded from XML and from NX will both take up the same amount of memory in the server, making the format completely inconsequential. Most data is often loaded at the start too, so I don't think it's worth the time to redo the entire parsing system in the source and refactor every data loading file for a few second speedup at startup.

I never said OdinMS is bad, but can be improved in some aspects. The data load is one good example. The MapFactory class is a class that stores map objects for each channel. It recreates unncessary, heavy, map objects, that are not even needed. For example.. a map object of Henesys class is separated across 20 channels. The data inside it (Return map id, Forced return map id, if the map is town or not) - is not even used in those 20 channels, so why store this information? Not to mention making the separated map objects for each channel is a bad idea - but it's a waste, and the objects are created for nothing.

I don't know what Celino has, but like I mentioned - OdinMS isn't a bad base. It is good, however, people have ruined it by time so it's not as efficient as before (badly coded stuff have been put into it).

Again, this was just one example of the flaws people have been using for over the years and never took care of them. I'm not sure about what you said about the NX format, but it's been proven it's much faster to load data such way rather than using the XML format (Simply reading from a binary file is faster than what OdinMS's using).
 
I don't know why people keep thinking NX is meant to store bitmaps more efficiently. If anything it is storing them less efficiently. Keep in mind NX was designed first and foremost for my own C++ projects, allowing me to not have to load or parse the data thanks to memory mapping, thus instant load times and close to no memory usage. For nearly all other languages it is nothing more than a simple binary format. Most server sources here perform so badly anyway, that even if NX did provide a significant advantage in terms of memory and performance, it would be negligible compared to the already terrible performance of the server.
Yeah, like I said, I don't know anything about NX. I remember reading something like that in a thread, but maybe I read it wrong or remembered it wrong or maybe the person who said it misunderstood. Regardless though, my point is essentially that, for Java sources (since we're on the subject of Java sources), changing the data format is inconsequential. Yet I see random people just casually suggesting people to change parsing systems for their servers, as if it's a minor and necessary change, but it really would make no difference except for possibly a few second speedup at startup. If the XML parser is efficient, then the memory taken for the data after parsing/loading would be the same for the NX and the XML versions. In my opinion, that few second speedup is not worth the time to refactor every data loading file.
Even though memory mapped file IO is possible in Java, I still wouldn't advise to switch simply because most modern sources load everything except monsters and maps at startup. I don't think loading maps and monsters on a request basis (which can potentially be very infrequent) warrants the change.

I never said OdinMS is bad, but can be improved in some aspects.
Well this literally means nothing because almost EVERY software system can be improved in some aspects.

The data load is one good example. The MapFactory class is a class that stores map objects for each channel. It recreates unncessary, heavy, map objects, that are not even needed. For example.. a map object of Henesys class is separated across 20 channels. The data inside it (Return map id, Forced return map id, if the map is town or not) - is not even used in those 20 channels, so why store this information? Not to mention making the separated map objects for each channel is a bad idea - but it's a waste, and the objects are created for nothing.
Well... this is actually a pretty basic idea of OOP, but putting that aside, I'm not sure what you mean. You make multiple maps if you don't want people in different channels to see each other or if you want instanced maps.
If by "why store this information" you mean why make variables for it, then that is obvious. Reading something from memory is multitudes faster than repetitive file i/o. If you mean, why make N copies of those variables for each map (N being the number of channels), then well there isn't really a better way to do it (nor is there a NEED to do it a different way, but I will get to that later).
An alternative way could be to use something like MonsterStats, such as:
PHP:
public class MapStats {
    private int returnMapId, forceReturnMapId;
    private boolean isTown;
    ...
}
...
private static Map<Integer, MapStats> cache = new HashMap<>();
public static MapStats getStats(int mapId) {
    return cache.get(mapId);
}
PHP:
public class MapleMap {
    ...
    private MapStats stats;
    ...
}
Which would only create the data once for each mapId instead of N times, but that introduces the HashMap and restricts customization: what if, for some reason, I wanted to set the returnMapId for a certain map to the FM, so that when someone dies and hits "Ok" in the revive dialog in that map, they get sent back to the FM instead of the real exit map? What if I only wanted it to be for one channel, i.e. the channel that an event is ongoing? It would not be possible with the MapStats system.
For a specific situation like that for MapleMonster, you would have to use the OverrideStats or whatever, which is another copy of a MonsterStats object.
But, well, none of that even matters. If you are nitpicking at a few bytes per map (which, I would argue, are not entirely a waste) then you are looking at source code optimization completely the wrong way. We are programming for quad core computers with many GB of memory, not for embedded systems. Maybe you should go around changing all of the the ints to shorts and bytes where acceptable, like what people thought would be a good optimization a few years ago.

For the XML thing, I know OdinMS's parsing system isn't optimal. I implemented my own which outperforms it. But that was when I was working on my source and didn't have anything done, so it was easy to refactor as I went. I'm not sure if it is worth it to change it now. Ideally, you would just want to improve OdinMS's parser and save yourself from the trouble, and instead use that time to implement more features and systems - things that almost all sources are lacking.
 
OdinMS isn't a bad base.
Not that my opinion or technical argument matters to anybody, but I would say that it is.

Every single Java source is based on OdinMS, even Celino (which is what RMZero's stuff is based on). A lot of people talk down to OdinMS and make it out to be something with a ton of mistakes, lots of inefficiency, etc, but OdinMS is actually a good source. I don't think people understand that. It was designed very well, probably had very few memory leaks (a lot of the memory leaks exist based on things that other people added in v62 and v75), and definitely was not as bad as people think.
Your argument is essentially that because everybody uses it, they must know what they're doing and it's a good base. Then you turn around and argue that it's only bad because people don't know what they're doing and that makes it a bad base. Hmm, something is not consistent here...
 
Last edited:
I never said OdinMS is bad, but can be improved in some aspects. The data load is one good example. The MapFactory class is a class that stores map objects for each channel. It recreates unncessary, heavy, map objects, that are not even needed. For example.. a map object of Henesys class is separated across 20 channels. The data inside it (Return map id, Forced return map id, if the map is town or not) - is not even used in those 20 channels, so why store this information? Not to mention making the separated map objects for each channel is a bad idea - but it's a waste, and the objects are created for nothing.

I don't know what Celino has, but like I mentioned - OdinMS isn't a bad base. It is good, however, people have ruined it by time so it's not as efficient as before (badly coded stuff have been put into it).

Again, this was just one example of the flaws people have been using for over the years and never took care of them. I'm not sure about what you said about the NX format, but it's been proven it's much faster to load data such way rather than using the XML format (Simply reading from a binary file is faster than what OdinMS's using).

was the point of MapleMapFactory and the other factory classes

Just a random post, only came across this because I was looking at Multo's posts (didn't know who he was).
 
was the point of MapleMapFactory and the other factory classes

Just a random post, only came across this because I was looking at Multo's posts (didn't know who he was).

That's pretty cool, I didn't know it was a pattern. However, what I meant is unncessary data is being stored in those objects, which is really not needed. You can make the Data Provider load all the maps, and then make objects based on them, and when referring to certain information, used the cached reference (This is C#, but just for the example):

Code:
public int ReturnMapID {
         get {
               return this.Reference.ReturnMapID;
         }
}

public Map Reference
          get {
                return DataProvider.Maps[this.ID];
          }
}
 
Back