[XMAS Release][v232] Swordie source

Newbie Spellweaver
Joined
May 21, 2007
Messages
31
Reaction score
80
Hello everyone, happy holidays! It's been nearly 3 years since Swordie got DMCA'd. I think now is a good time to release what we had at the time to the public, so more people can enjoy high version stuff without relying on sources that got shoddily updated based on a version that was already shoddy.

TLDR:

For questions and general communication, join our Discord!

-- Features --
* Version 232.2
* Stable, at its peak had ~400 players without lag
* Minimal amount of crashes
* Bosses implemented until Will
* All jobs working (including Kain, HoYoung, Lara, Adele, ...)
* Custom skill changes (too many to list, check SkillChangeConstants)
* Auction House fully working
* Arcane River quests until Morass
* All item progression paths implemented (scrolls, cubes, flames, ...)
* SSB
* Auto cuber
* Social features (guilds, friends, smegas, etc)
* Full trade logging to combat RMT

Feel free to implement new features by creating your own branch in the public repository. If you feel something is ready, make a pull request. If it's good it will be merged into the main branch.

-- Installation guide --
(Download) The source:
(Download & add to PATH (see part below: "For maven")) Maven:
(Download & install) An IDE, I like IntelliJ:
(Download & install) Something to interact with the database, like MySQL workbench:
(Download 7 install) MySQL server:
WHEN INSTALLING THE SERVER, REMEMBER YOUR PORT (default 3306), USERNAME AND PASSWORD!
(Download) v232.2: Open steam console (run => steam://open/console) => `download_depot 216150 216151 4440651722208802215`
Alternative v232.2 DL:
(Download and put in the v232.2 folder) DLL:
See:

Once you have everything downloaded you can start to setup everything.

First let's setup the database. Open MySQL workbench, it should show you the server you installed. Double click it to open it.

In the 'query' part, create a schema by typing `create schema swordie;` and pressing the lightning bolt (or ctrl + enter) (1). Refresh (2) the list, your created schema should now be there. I named mine swordie232, but feel to name it whatever you want. Then double click the schema to select it.
mysql-create-schema - [XMAS Release][v232] Swordie source - RaGEZONE Forums

Now we have to populate the database. Open and run the following files in order, by clicking the `Open SQL file` button and running it just like running the schema query. You want to do run the files in the SQL folder in the following order:
* InitTables_characters.sql
* InitTables_indexes.sql
* InitTables_MonsterCollection.sql
* Init_Admin_accounts.sql
* InitTable_equip_drops.sql
* InitTable_npc.sql
* InitTables_cashshop.sql
* InitTables_drops.sql
* InitTables_shops.sql
* Init_Migration_at_V79.sql

For maven: download Maven and put it anywhere. Go into the folder, then into the bin folder, and copy the path. Now go to your windows environment variables, double click PATH in System Variables, and add the path there.
1766657233888 - [XMAS Release][v232] Swordie source - RaGEZONE Forums


Now that the database is setup we can setup the source. Open the source in IntelliJ. Select the folder where you downloaded the source.

Open Project Structure (Ctrl + Alt + Shift + S) and set the SDK to 21. If you don't have an option, select 'Download JDK' => Version = 21 and Vendor = Eclipse Temurin.

Open the terminal (Alt+F12), be sure you're in the swordie-232 folder. Then type `mvn clean install -DskipTests` (some tests broke after a dependency update, don't worry about it).

Right click `pom.xml` and select Maven => Sync Project. All errors you may have seen should now be gone.
Sync maven project - [XMAS Release][v232] Swordie source - RaGEZONE Forums

Now we have to copy the WZ files from your downloaded folder into the source, by copying them into a new folder called 'wz' in the source directory. Alternatively, if you don't want to copy the files, you can change the `WZ_DIR` in `ServerConstants` to match your downloaded game folder (`WZ_DIR = "C:/YourGamePathHere"`).

Now configure your database connection by going to `HikariCPDataSource` (shift + shift to quickly search in IntelliJ) and enter your credentials at the top. Your port and schema name should be in the URL, and the username and password should be correct.
source-configure-databas - [XMAS Release][v232] Swordie source - RaGEZONE Forums

Now you can go `Server` and start it by click the play icon or right clicking the class and choosing Run. The first time this will take a long time, as the WZ files are being read and written to a quicker to read format (the .dat files in in /dat).
source-start-server - [XMAS Release][v232] Swordie source - RaGEZONE Forums

Once you see the Bera ports listening you know the server is ready to take connections. To start, go to your game folder in the terminal (`cd C:/YourPathToTheGame`) and run the following command: `MapleStory.exe WebStart whatever`. This will start the client with `whatever` as your token. If you connect locally it will automatically log you into the account with userId 1. If you would want to invite friends or create a server, you'll have to write a launcher that fully interacts with the server (that is an exercise for you to do :) ).

The game should now start and be connected to your server. UserID 1 is an admin, so all admin commands will be available to you. Type `!help` to see a list of commands, or go to `AdminCommands` in the source to see the same list.
Note: if no NPCs/mobs are spawning you probably have to restart the server one more time.

Enjoy!
 
Last edited:
Hello everyone, happy holidays! It's been nearly 3 years since Swordie got DMCA'd. I think now is a good time to release what we had at the time to the public, so more people can enjoy high version stuff without relying on sources that got shoddily updated based on a version that was already shoddy.

TLDR:

For questions and general communication, join our Discord!

-- Features --
* Version 232.2
* Stable, at its peak had ~400 players without lag
* Minimal amount of crashes
* Bosses implemented until Will
* All jobs working (including Kain, HoYoung, Lara, Adele, ...)
* Custom skill changes (too many to list, check SkillChangeConstants)
* Auction House fully working
* Arcane River quests until Morass
* All item progression paths implemented (scrolls, cubes, flames, ...)
* SSB
* Auto cuber
* Social features (guilds, friends, smegas, etc)
* Full trade logging to combat RMT

Feel free to implement new features by creating your own branch in the public repository. If you feel something is ready, make a pull request. If it's good it will be merged into the main branch.

-- Installation guide --
(Download) The source:
(Download & add to PATH) Maven:
(Download & install) An IDE, I like IntelliJ:
(Download & install) Something to interact with the database, like MySQL workbench:
(Download 7 install) MySQL server:
WHEN INSTALLING THE SERVER, REMEMBER YOUR PORT (default 3306), USERNAME AND PASSWORD!
(Download) v232.2: Open steam console (run => steam://open/console) => `download_depot 216150 216151 4440651722208802215`
(Download and put in the v232.2 folder) DLL:
See:

Once you have everything downloaded you can start to setup everything.

First let's setup the database. Open MySQL workbench, it should show you the server you installed. Double click it to open it.

In the 'query' part, create a schema by typing `create schema swordie;` and pressing the lightning bolt (or ctrl + enter) (1). Refresh (2) the list, your created schema should now be there. I named mine swordie232, but feel to name it whatever you want. Then double click the schema to select it.
View attachment 293615
Now we have to populate the database. Open and run the following files in order, by clicking the `Open SQL file` button and running it just like running the schema query. You want to do run the files in the SQL folder in the following order:
* InitTables_characters.sql
* InitTables_indexes.sql
* InitTables_MonsterCollection.sql
* Init_Admin_accounts.sql
* InitTable_equip_drops.sql
* InitTable_npc.sql
* InitTables_cashshop.sql
* InitTables_drops.sql
* InitTables_shops.sql
* Init_Migration_at_V79.sql


Now that the database is setup we can setup the source. Open the source in IntelliJ. Select the folder where you downloaded the source.

Open Project Structure (Ctrl + Alt + Shift + S) and set the SDK to 21. If you don't have an option, select 'Download JDK' => Version = 21 and Vendor = Eclipse Temurin.

Open the terminal (Alt+F12), be sure you're in the swordie-232 folder. Then type `mvn clean install -DskipTests` (some tests broke after a dependency update, don't worry about it).

Right click `pom.xml` and select Maven => Sync Project. All errors you may have seen should now be gone.
View attachment 293618
Now we have to copy the WZ files from your downloaded folder into the source, by copying them into a new folder called 'wz' in the source directory (or you can change the `WZ_DIR` in `ServerConstants` to match your downloaded game folder).

Now configure your database connection by going to `HikariCPDataSource` (shift + shift to quickly search in IntelliJ) and enter your credentials at the top. Your port and schema name should be in the URL, and the username and password should be correct.
View attachment 293620
Now you can go `Server` and start it by click the play icon or right clicking the class and choosing Run. The first time this will take a long time, as the WZ files are being read and written to a quicker to read format (the .dat files in in /dat).
View attachment 293619
Once you see the Bera ports listening you know the server is ready to take connections. To start, go to your game folder in the terminal and run the following command: `MapleStory.exe WebStart whatever`. This will start the client with `whatever` as your token. If you connect locally it will automatically log you into the account with userId 1. If you would want to invite friends or create a server, you'll have to write a launcher that fully interacts with the server (that is an exercise for you to do :) ).

The game should now start and be connected to your server. UserID 1 is an admin, so all admin commands will be available to you. Type `!help` to see a list of commands, or go to `AdminCommands` in the source to see the same list.

Enjoy!
it's so cool, but can u share the dll source code ? thx.
 
Question!
I tried to download v232.2 through steam console, but get this message:

Depot download failed : missing license for depot (No subscription)

Am I missing something? (I don't play steam games. just downloaded it to get v232.2 version)
 
Question!
I tried to download v232.2 through steam console, but get this message:

Depot download failed : missing license for depot (No subscription)

Am I missing something? (I don't play steam games. just downloaded it to get v232.2 version)
You need to add the game to your library from the steam store, if you're from SEA region then you have to download it through alternative links
i uploaded the base game folder to my google drive, you can dm me if you need a link for it
 
I can't download the client from Steam. Could you please share the client download links? Appreciate that.
 
You need to add the game to your library from the steam store, if you're from SEA region then you have to download it through alternative links
i uploaded the base game folder to my google drive, you can dm me if you need a link for it
Thank you!! it's working now. I had no idea how it works :)
 
1766662045929 - [XMAS Release][v232] Swordie source - RaGEZONE Forums


Wow! Nice release!! It seems everything works fine!
 
Last edited:
I see the OP has added my Gdrive link to the original post, and for good measure i did the setup myself to test if it works properly, can confirm it does :)
1766662967274 - [XMAS Release][v232] Swordie source - RaGEZONE Forums
 
I got it working, but it only works when I'm connected to the internet...
Did I something wrong?
 
I got it working, but it only works when I'm connected to the internet...
Did I something wrong?
try and ask in the discord, theres much higher chance someone there can answer you :) but assuming ur running locally that shouldnt be the case afaik if your db is running on 127.0.0.1 it should just loopback any data.
 
Last edited:
I get this error if you die on certain maps and try to press OK to be resurrected, cant resurrect, posted in the Discord about it already but just posting here as well. It does work though!

1766703804345 - [XMAS Release][v232] Swordie source - RaGEZONE Forums
 

Attachments

Last edited:
I'd like to ask if anyone knows how to translate the text in a script so that it displays correctly in the game. I want the text in the script to be in Chinese, but after translation, the game only shows "?". Could this be related to my encoding?
 
I'd like to ask if anyone knows how to translate the text in a script so that it displays correctly in the game. I want the text in the script to be in Chinese, but after translation, the game only shows "?". Could this be related to my encoding?
the letter needs to be prefixed with 'u'
for example
sm.sendSay("Hello") -> sm.sendSay(u"你好")
 
Back