|
Put all contents of 'kronos-master.zip' into Kronos on your desktop. Follow this if you need help with importing>runescape...vironment.html
Download jre 8 and jdk 1.8 > https://www.oracle.com/ca-en/java/te...downloads.html > https://www.oracle.com/ca-en/java/te...downloads.html
Fixing trap error > https://www.rune-server.ee/runescape...ronment-2.html
This will be a highly basic tutorial but lots of people pay $20-30 for this setup and hopefully saves some money for those wanting it to run.
You don't need sql to play. You don't also need Xampp.
You will need to add a jav_config.ws to load the client params for the launcher to even work. Thankfully, you can actually just either upload to your own webhost or if you don't have one, Dropbox will work just fine (just like a cache auto downloader.)
https://www.dropbox.com/s/bk5eycxth4...config.ws?dl=1
Go to ClientConfigLoader class located in the runelite folder. Update config URL to the one above. You can just use mine to run yours.
Saves you hassle doing this method.
You will need redis and USE this link for anyone having issues opening their Redis servers.
https://github.com/microsoftarchive/...ag/win-3.0.504
Visit the url and download Redis-x64-3.0.504.zip. Extract to Redis in your C:/ drive. Run redis-server.exe to start the server and then you are set for this procedure.
Download Postgres > https://www.enterprisedb.com/downloa...esql-downloads < (check off StackBuilder, you don't need this shit) and once installed, navigate to C:\Program Files\PostgreSQL\data\ directory and open pg_hba.conf.
Youll see something like this;
where it says method, change all the column values to trust so it looks like this:Code:# Allow any user from any host with IP address 192.168.93.x to connect # to database "postgres" as the same user name that ident reports for # the connection (typically the operating system user name). # # TYPE DATABASE USER ADDRESS METHOD host postgres all 192.168.93.0/24 ident
To make sure its connected, using search on taskbar, search psql and run it. Click enter entirely through to test.Code:# Allow any user from any host with IP address 192.168.93.x to connect # to database "postgres" as the same user name that ident reports for # the connection (typically the operating system user name). # # TYPE DATABASE USER ADDRESS METHOD host postgres all 192.168.93.0/24 trust
================================================== ================
Once that is done, search in taskbar and open PgAdmin4. This is almost like your typical web host cpanel but for SQL.
You are there you will need to enter your pass [by default, I use admin123] and then import gamedb.sql here. If you need help learning how to import a schema or db, many tutorials online for this!
Open server.properties and make your config like so:
Once you do the following changes like the above, copy and paste server.properties file into the kronos-server, kronos-update-server and kronos-launcher directories.Code:#Initial loading data offline_mode=true cache_path=C:\Users\put your username\Desktop\Kronos\Cache data_path=C:\Users\put your username\Desktop\Kronos\kronos-server\data #World information world_id=3 world_name=World 3 world_stage=DEV world_type=PVP world_flag=CANADA world_settings=MEMBERS world_address=0.0.0.0:13302 central_address=127.0.0.1 #Misc info login_set=live #Server theme halloween=false christmas=false database_host=localhost database_password=postgres database_user=postgres
Then, create these text documents (uuid_bans, ip_bans, ip_mutes and mac_bans) in the Kronos folder. When importing sometimes the files are missing and outputs the error file not found, so just just create them in the corresponding folder.
Then to RUN>
Spoiler for big image:
Fixes >
[Kronos] Some Kronos Errors Fixing
I kind of just realized Armo has the same tutorial in a way, so some what credits to him lol.
Last edited by Shadowpker; 04-22-2021 at 09:09 PM.
Amazing tutorial hopefully this will help out a lot of people!
I don't like the use of postgres instead of mysql, however if it works and it's not intended for prod, then by all means. You may even make mention on your thread that more work is needed if you intend on running this configuration in production.
Thanks for going further into depth on this release. I was surprised that people are still having issues loading Kronos.
when i try to run client it says error while loading![]()
is there something wrong with the database? when I try to use the query tool to execute the SQL file it says
Code:ERROR: syntax error at or near "NOT" LINE 16: CREATE DATABASE IF NOT EXISTS `game` /*!40100 DEFAULT CHARAC... ^ SQL state: 42601 Character: 673
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |