I wanted to post info from my experience with running this game server, for other newbies.
Unfortunately I wasn't able to get to run it as a full server but I did manage to through the pre-packaged VM, so that's mainly what I'll be sharing around at first.
If someone wants to run the full server method, please look at
TieLay's posts on page 9 and 10, and
Adephx's re-explanation on page 12. It may take some knowledge on servers and sql aspects, since I followed the instructions but couldn't make it run, I got the same issue that
VisualD did, maybe it's related to mariadb or using blank username and password, or needing to set up the windows server more, but I'm not sure.
I'll be sharing all the info I think is helpful. Thanks to the community for everything found.
Files:
Links to server and client files were shared in the thread and
BlueType compiled an archive that has a lot,
You must be registered to see links
, but if you're trying to set up the full server then you also might want TieLay's rework of the server files
You must be registered to see links
.
Personally, I had some texture issues with the client that was in the pack mentioned (including certain few characters missing their head), but the client files that
Matar shared
You must be registered to see links
didn't have this issue. And I ended up using the server VM from another place as well that I'll talk about shortly.
How to run with VM:
The VM files shared are with a pre-packaged setup using VMWare as the program to run it (using the server in a virtual machine). Note that the language is asian, but it's possible to work with.
There's everything in the files to get it running with VMWare, but I experienced an issue with the files in the pack when it comes to text associated with items in the game, and the captcha in the page to register still having restrictions, though someone on page 1 shared info regarding removing that restriction, which I didn't test. It's also alternatively possible to create an account and password in the tos_lobby database directly, in the account and account_pwd tables. (though the password isn't inserted in with normal characters)
-Note that if you want to get these particular VM files running with a client outside the VM, you'll need to make changes around IP addresses. If you don't change your own IP address data then you need to change it in the files and databases just like the instructions of the full server setup.
I used alternate files for the VM that made it easier on me. The VM files for Tree of Savior shared on loukoala.blogspot.com have a bit more already set up, and I didn't have issues with it. Just search for the game and you'll find it. The site is in another language and you can google translate the page but the links for downloads might only work when it isn't translated, just fyi. The password for the archives are on the page as well.
-However, the client folder that's with this pack has issues, including the problem that some people had with the chat box popping up whenever an item is picked up. This hampers the gaming experience a lot since skills can't be used when it's up. I recommend using the client that Matar shared instead. But if you do, after following the instructions you'll also need to change the IP address for the Client and Serverlist_recent xml files in the 'release' folder of the client. Check ipconfig in cmd (of the VM) if you don't know your VM's IP address, but it should be the one ending with 234, for this particular one.
The translated instructions for setting up the VM were posted
You must be registered to see links
.
Apache needs to be running for most things to work, through the phpStudy program (press the first blue button next to the red dot at the top left when it's open).
-For registering an account, you can use explorer or edit the url file (to access the page to register) to match the same IP that was mentioned in the instructions (the IP ending with 234). The first box is for your username, the second and third are for your password, then it's your e-mail and for the captcha just put in a character like a number or copy a chinese symbol. If done right when clicking to create the account the page will reload after the msg that pops up. If it doesn't and what you wrote is still the same in the boxes, then your password might not be long enough or the captcha restriction might be there, etc. You can also check the account table to see if your account is there, and you can change the account rank/authority at the same time in the databases if you want to look into
GM stuff. (0 or 1 in the class and level)
Setting up Shop and TP:
Server files should be on the drive in the r1 folder of the VM.
The VM files shared already have changes made to the popo shop (though you can
add items in the pcbang_pointshop_product.xml file in data>xml_server), but you'll need to add popo points to your account to purchase anything:
Make sure that phpstudy is running, and open navcat or heidisql (already in the tools folder of the version I used). Open the unnamed session, and you'll see the database tables. Click in tos_lobby and find the account_pcbang_point table. Open it and find the feature or tab for the data in the table, where it will show like
You must be registered to see links
(image shared on page 3). Find your account number in the table and add yourself points.
Inside the game after you've created a character, find the shop icon which should be on the left of the bar on the bottom, and there should be items that can give your account TP there. If not then you can add them to the shop through the xml file mentioned before.
If you end up encountering a 'limit' to spending TP in the TP shop, you can try
Hyllok's fix to this, which is currently posted at the top of this thread's page.
Setting up Experience and monster Stats:
The stats and experience are not well set by default. you can change these by accessing the file sharedconst.xml in data>xml, just find the lines somewhere around the middle of the file that mention JAEDDURY_MON. Those lines's values can be set to cater the type of experience you want. I currently have MHP and DEF at 4, and ATK at 5, because they were by default too low for a normal experience. I set these values based on what I felt would be good for a bit of challenge, though I don't know how they'll feel later on. The atk might still need to be higher to match how defensive the mobs are currently, but I'm not sure.
You can set the exp rate at the EXP line there. I set the EXP line's value to only 0.1, because I wanted to have a tiny bit of grind, and anything higher seemed to be more along the lines of later faster experience rates the game had. Note that you can make changes to these while the server/game is running without a problem, they get reflected in-game even while playing.
Extra note: If you think to quickly level your character to test out ranks or skills, just know that if you level too high and haven't job advanced, you might have more levels than ranks until you advance your job, and there's a limit to how much you can level up based on the level of the monsters you're fighting, so you might want to incrementally increase exp gain as you play, to make sure you rank up before leveling too high.
There is a world event default that gives a bonus 250% exp to your characters. To remove this, you need to find the world event table at the bottom of tos_lobby and put in a lower number. If you put in 0.01 it will give 1% bonus exp. You need to set dates in the rows as well for it to work, but you can set the end date far, like in 50 years.
Setting up Parties and Deleting characters:
Some things might require a party. There's no easy in-game way to do this, unless someone knows how to make more changes. But you can make a party in the database and set your account as the leader. It's in the tos_world1 database, just search for party tables. Use your account id for party and the party_member table. I haven't tested this yet.
To delete a character from your account, it doesn't work in-game like normal, so you'll need to find the table account_pc in the same database. You can delete the row of your character there. If you aren't sure which character it is, you can use or make another account and change the character you think it is to have the account id from the new account, to move it to that account temporarily and check if it was the right one, before possibly deleting that row.
Classes and Extra:
The server files are from a late 2018 version of the game, but before the big Rebuild, so it is the old class system, with choosable individual ranks.
I don't know if resetting ranks works well, I tried to add a rank reset voucher to the popo shop and it didn't work, but the skill and stat reset potions are there. Edit: The reset helper npc in town does give rank reset vouchers but someone mentioned issues around attributes, and it does seem like attributes need to be relearned but I'm not sure if there's more to it.
There is text in xml files related to rank reset but I'm not sure if it can be used, and some things changed in xml files can have consequences, so make sure to backup your work before experimenting.
Some hidden classes can be unlocked right away with an unlock voucher that can be in the popo shop, but it doesn't work for all of them. Some classes you have to unlock the traditional way through the quests.
Warning: Do not change the 'hiddenjob' variable in the Job.xml file, it can cause bigger issues within the game, like not being able to interact with certain NPCs. Changing it back fixes things but again if you want to experiment with anything, make sure to back things up.
Guild and Market seem to be tied to WORLD2 instances, that are not set up to work. You can try to see what can work or read through the forum and see what others tried, but it's possible there are missing files as well. But they aren't necessary to play the main game.
Hopefully more gets found out for how to make extra things work.
Enjoy the game, and Happy New Year <3