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!

Files and tips to future developers of luna

Initiate Mage
Joined
Jun 26, 2013
Messages
73
Reaction score
12
Hi there Luna developers. ^_^

Note: If this isn't the place for this, please feel free to remove or move this post.

Some of you may know that I'm the dev of a running Luna Plus PS and it has come to my attention that a different PS has been using my bins and calls it their "update fix". How did I know they use it? some of their players are reporting "bugs" that is EXACTLY the same as my updates, example:
fighters blessing, it was giging off 12.5 atkspd at lvl 1 and 49.8% at level 10, which in my server was nerfed and was changed to 24.9% at level 10. and now they experience it as a bug. which was reported to them and can be seen on their forum.

another is that their grow up and smaller capsules suddenly stopped working and was considered a "bug" but those stuff are intentionally disabled on my server.
I really don't mind if anyone uses my files (my source is more precious than these) as long as credits are given and not considered their own atleast give respect to those that actually FIX them, not just call them as your own fix. So if anyone is interested to use or learn about the bin files you're free to message me and I will give you a hand..^_^

I don't mind competition, I am more onto the development of luna, but I do mind leechers without permission ^_^

Alright, now for the tips with the files:
1. Bin files are quite hard to understand at first glance, so how do you understand them? Move them to an excel file and try to align them, how? in excel select the whole block, press ctrl + g, click on the go to button then click on blank then click on ok. then it will select all spaces inbetween the numbers and texts of the file and then right click on a blank cell and then select delete then move to left.
2. Now that your information are aligned time to put meaning onto them, go to your source code and open mapserver.cpp and then try to search for the file you're trying to edit for example itemlist.bin then scroll down a bit then you'll see how they are read for example:
pInfo->ItemIdx = dwItemIndex;
SafeStrCpy( pInfo->ItemName, file.GetString(), MAX_ITEMNAME_LENGTH+1 );
pInfo->ItemTooltipIdx = file.GetDword();
pInfo->Image2DNum = file.GetWord();
pInfo->Part3DType = file.GetWord();

This means that the first data is the itemidx, next is the itemname, followed by tooltip, 2dimage, 3d type and so on and so forth
3. Sometimes you'll see just numbers on columns that sometimes dont make sense, they're like 1 2 3 4 5 6 and so on but you're not sure what they mean, the best place to look for them is at CommonGameDefine.h you'll see enumerated types there and their value, for example, for buff effects
enum eStatusKind
{
eStatusKind_None,
eStatusKind_Str,
eStatusKind_Dex,
eStatusKind_Vit,
eStatusKind_Int,
eStatusKind_Wis,
eStatusKind_All,
eStatusKind_PhysicAttack = 11,
and so on...
4. Don't pack your files onto one client.exe, I read before that packing them would reduce performance not sure who mentioned that here in ragezone, but yeah. and packing them would mean each time you have to patch, your players will download unnecessary huge file even if you just updated one or two. so that's a big no no. if you want to protect your files, you can use the AESFile.h and update your encryption.


I learned alot from the source code and bins of luna and this is all I can think of for now that can give starters a good hand, I'll be glad to help those who wants to learn more about files and their meaning and how to make use of them, post a reply if you have any questions and I hope this was helpful. ^_^ Remember, respect other people's work ^_^

~Jaren
 
Initiate Mage
Joined
Mar 6, 2014
Messages
14
Reaction score
4
i have played on Jaren's server for years ;) thanks for tips pls more hehehe
 
Initiate Mage
Joined
Jul 4, 2020
Messages
8
Reaction score
1
Jaren your Back love those server and game you develop. I got interested in developing luna coz all these years since server i played always get closed so i wanna make something for my friends to play. Tho im a newbie to this things im just following ragezone tut. I'm still confused on how to run things becuase im a total newbie. I hope someone can guide me
 
Junior Spellweaver
Joined
Jun 25, 2023
Messages
138
Reaction score
23
Jaren your Back love those server and game you develop. I got interested in developing luna coz all these years since server i played always get closed so i wanna make something for my friends to play. Tho im a newbie to this things im just following ragezone tut. I'm still confused on how to run things becuase im a total newbie. I hope someone can guide me
i think we the only two left who want to develop luna server šŸ˜­šŸ˜­ nobody want to help

jingasenpai you have running luna server? can you help me my agent server keep saying connecting failed šŸ˜­
 
Last edited:
Back
Top