Jump to content

izakt

Contributors
  • Posts

    18
  • Joined

  • Last visited

  • Days Won

    1

izakt last won the day on August 24 2022

izakt had the most liked content!

Recent Profile Visitors

1,397 profile views

izakt's Achievements

  1. Alpha v1.10 Update Build version "v0.0.1.10.2022.09.20" This update was all about making some much needed edits and improvements! Ultimately, we completely overhauled the combat system to give it a better feel. The old combat system was built on a very static "stat scaling" mechanic that was very limiting. We have completely removed this mechanic from the combat system and instead created a damage/defense system that scales based on the attacker's Strength stat vs the victim's Defense stat. The EXP table to increase character levels was also decreased a lot, so you may notice that you are a higher level now. This had to be changed because the amount of EXP needed to level up was becoming far too much. What's changed in Alpha v1.10? Big combat rework! New damage/defense/EXP formulas Monster stat rebalance Equipment requirements reworked Skills improved New interface layout! First batch of new NPC sprites! Resource harvesting improvements! Wing crafting improvements! Skill upgrade improvements! A handful of quality of life improvements! Bigger item stacking! You can find the full game patch details on Discord: 👉 Check Patch Notes 👈 *The previous build version was archived for backup, along with all player data!
  2. Linux Automatic Server Restart Guide Date: August 20th 2022 Guide Written During v0.7.0.126 Created on Linux / Centos 7 (with nano installed) edited Oct 2022 Hi I thought I would dump this here. Maybe it can help someone. I am a noob. plz critic All this was done in putty.exe Summary: Below I try to explain how you can create a script that will 1) check if your game server goes offline and 2) reboot your game server automatically if it detects the server is offline. 1. Use a looping script 2. Use crontab to check if the server is offline, and launch the game if it is offline. (edited) 3. Use crontab to automatically shut down the game server properly, and then relaunch the game server. (new) 1. Use a looping script I wanted to create a script that would keep my game server online 24/7 without manually checking it. I have my game hosted in a Linux server with centos. It was pretty straight forward, from someone that has never done something like this. You can use the code below to create a bash script in the root folder. create a bash script: # nano autoRestartServer.sh use this to create the script: #! /usr/bin/bash while : do #Check server status curl --fail -LI <IP:PORT> -o /dev/null -w '%{http_code}\n' -s > /dev/null #if offline if [ $? -eq 7 ]; then echo "Server Offline..." #Check for existing screen if ! screen -list | grep -q "myGameServer"; then screen -d -m -S myGameServer echo "created new screen..." fi #Launch game server screen -S myGameServer -X stuff 'cd Path/To/Server/\r' screen -S myGameServer -X stuff 'LD_LIBRARY_PATH=. mono "Intersect Server.exe"\r' echo "Game server started..." echo "sleep 2m..." sleep 2m else echo "Server Online..." echo "sleep 2m..." sleep 2m fi done Above you need to edit three things. 1) Line 6 - you need to replace "<IP:PORT>" with the game server's ip and port number. Ex: "12.123.123.12:9999" 2) Line 18 - you need to replace "Path/To/Server/" to the absolute path where your game server is located. Ex: "MyGame/LiveServer/version1/" *NOTE: make sure you don't remove the "\r" at the end of the line. 3) Line 19 - you may need to replace "Intersect Server.exe" with the actual name of your game's server. Ex: "My Game Server.exe" Then save the file with crtl+O -> [Enter] And exit the file ctrl+X Now that the script is created, then you would simply open a new screen # screen and run the script # bash autoRestartServer.sh then detach from the screen (ctrl+a -> d) and it should keep running / checking the server forever. If you need to take your server offline you can reattach to the screen running the looping script, and just kill the screen to stop the script. ctrl+a -> k -> y ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2. Use crontab to check if the server is offline, and launch the game if it is offline. (edited) A looping script probably isn't a good idea. Crontab is a better idea. It will be able to run a script intervals of time automatically. So we will create a bash script that is ran by crontab every 2 ~ 3 minutes. create a bash script: # nano cronCheckServer.sh use this to create the script: #! /usr/bin/bash #Check server status curl --fail -LI <IP:PORT> -o /dev/null -w '%{http_code}\n' -s > /dev/null #If offline if [ $? -eq 7 ]; then echo "Server Offline..." echo "kill screen..." screen -X -S myGameServer quit echo "sleep 3s..." sleep 3s echo "create new screen..." screen -d -m -S myGameServer echo "sleep 3s..." sleep 3s #Launch game server screen -S myGameServer -X stuff 'cd Path/To/Server/\r' screen -S myGameServer -X stuff 'LD_LIBRARY_PATH=. mono "Intersect Server.exe"\r' echo "Game server started..." else echo "Server Online..." fi Above you need to edit three things. 1) Line 4 - you need to replace "<IP:PORT>" with the game server's ip and port number. Ex: "12.123.123.12:9999" 2) Line 17 - you need to replace "Path/To/Server/" to the absolute path where your game server is located. Ex: "MyGame/LiveServer/version1/" *NOTE: make sure you don't remove the "\r" at the end of the line. 3) Line 18 - you may need to replace "Intersect Server.exe" with the actual name of your game's server. Ex: "My Game Server.exe" Then save the file with crtl+O -> [Enter] And exit the file ctrl+X Now that the script is created, you then need to set up cron to run the script # EDITOR=nano crontab -e and you need to create a task to run the script every 1 ~ 3 minutes */3 * * * * /bin/bash/ /root/cronCheckServer.sh Then save the file with crtl+O -> [Enter] And exit the file ctrl+X if all is well, crontab should run in about 3 minutes and the server should launch. You shouldn't have to do anything from here. If the game crashes, it should be back online within 3 minutes. However, if you want to take the game offline, you'll need to disable the crontab task. Its pretty easy, you can just disable the task in crontab. # EDITOR=nano crontab -e And you can just add a hashtag "#" in front of the task to disable it: # */3 * * * * /bin/bash/ /root/cronCheckServer.sh Then save the file with crtl+O -> [Enter] And exit the file ctrl+X Then the server should not start back up again until you remove the hashtag (#) from the crontab task. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3. Use crontab to automatically shut down the game server properly, and then relaunch the game server. This would be a bash script that is ran by crontab at your choice. Its going to restart the server, so it depends on your situation. I it run every sunday at midnight. You could, for example, set it to run every 24 hours. create a bash script: # nano cronRestartServer.sh use this to create the script: #! /usr/bin/bash #Check server status curl --fail -LI <IP:PORT> -o /dev/null -w '%{http_code}\n' -s > /dev/null #If offline if [ $? -eq 7 ]; then echo "Server Offline..." else echo "Server Online... starting server restart..." echo "Announcement: Server will shut down in 10 minutes!..." screen -S myGameServer -X stuff 'announcement "The server will shut down in 10 minutes!"\r' echo "sleep 5m..." sleep 5m echo "Announcement: Server will shut down in 5 minutes!..." screen -S myGameServer -X stuff 'announcement "The server will shut down in 5 minutes!"\r' echo "sleep 3m..." sleep 3m echo "Announcement: Server will shut down in 2 minutes!..." screen -S myGameServer -X stuff 'announcement "The server will shut down in 2 minutes!"\r' echo "sleep 1m..." sleep 1m echo "Announcement: Server will shut down in 1 minute!..." screen -S myGameServer -X stuff 'announcement "The server will shut down in 1 minute!"\r' echo "sleep 1m..." sleep 1m screen -S myGameServer -X stuff 'announcement "The server will shut down now!"' screen -S myGameServer -X stuff '^C\r' echo "server shut down..." echo "kill screen..." screen -X -S myGameServer quit echo "sleep 3s..." sleep 3s echo "create new screen..." screen -d -m -S myGameServer echo "sleep 3s..." sleep 3s #Launch game server screen -S myGameServer -X stuff 'cd Path/To/Server/\r' screen -S myGameServer -X stuff 'LD_LIBRARY_PATH=. mono "Intersect Server.exe"\r' echo "Game server started..." fi
  3. For the purpose of explaining how it works: you can literally go to your character sprite in resources -> entities and find the file (i'll call it "wizard_person.png"). Then copy it -> paste it in same folder -> rename it to "wizard_person_idle.png". Boom, you activated idle animations on the character. So now that you added the _idle file, the character idle animation will play after x seconds depending on the variable setting in your server config. HOWEVER, it is going to expect idle animations for every single item in your game that uses a sprite sheet. So now you would have to create the _idle.png file for every item. You create them in the same way you make your normal sprite sheets ... you make it match the "wizard_person_idle.png" animation. You can do the same for with _attack.png I am looking for all the possible variables that you can use this for? If anyone knows it... So far I know there is _idle _attack _shoot _weapon _cast i guess you can make custom animations / items types too but idk lol EDIT here is some video i find too that kinda visualizes how it works. Embedded Video Link
  4. I am actually looking to do this myself soon. I have played around a bit and I think you can just make the sprite sheet bigger. For example the size of my character is 32x48. The whole sheet is 128x192. Make a sheet 192x288. (tiles 48x72) that would give you an extra 12px above and below the character sprite to work with the character sheet that is 128x192 will sit in the middle-centered of the title sheet 192x288. (if that gives you some visual on where to place the title image) actually I just checked my own stuff, when I make sheets that are much larger than the character I have been using 64x96 tiles (sheet size 256x384)
  5. Our Alpha v1.08 update was recently released! Come check us out! Website: https://forgottenlands.online/en/ Update details: https://forgottenlands.online/en/news/12-alpha-v1.08 WE ARE LOOKING FOR TESTERS -> EARN REWARDS FOR PARTICIPATION! Join out Discord today -> https://discord.gg/gPuXdbb3jX Update notes:
  6. Join our Alpha v1.07 update! We have made lots of improvements to the game! Please check it out! https://forgottenlands.online/en/ Or check the official details here: https://forgottenlands.online/en/news/10-alpha-v1.07 *notice: the game was previously called MU Pixel - ORPG and has since been rebranded as Forgotten Lands: Online.
  7. I experience this issue a lot in Intersect Engine 0.7.0.126-beta-prerelease Full In the editor, sometimes the screen rolls back to a prior state randomly. Its hard to notice it happen even but I have seen it rollback while I was looking at the screen. It flashed quick and everything went back to prior state. What is weird about it is that when it does that, if it rolls back you can move to another map square without make a change and it won't ask you if you want to save the map. Then when you go back to it, the map didn't actually roll back. However, if you edit the map at all after it rolls back it will ask you to save. You have to click no otherwise it saves the roll back. Kind of confusing. It if rolls back, just switch squares before you make another edit. Then it will not save the roll back. I know sometimes its almost impossible to tell (for example if event script just rolls back) but that is what I have been doing. It really sucks sometimes when I make an event, save, do some other stuff, go back and the event is blank.
  8. Hi, we are currently in an open Alpha phase still. You should try it out and let us know your feedback! We are not a private server and are creating everything from scratch. It is simply inspired by the MU Online game!
  9. I appreciate the feedback. I understand and will be removing any associated IP with time and its mostly just placeholders for now until I can develop better artwork and things. Surely we won't enter beta until these things are replaced. Also, there is big notices about the "cash shop" and warnings that we are in Alpha stage and that data may or may not be wiped ultimately so surely I am not attempting to be sketchy about it but I do understand what you mean. Thanks again for your reply.
  10. Welcome to Forgotten Lands: Online! 📌 Download 📌 You can play Forgotten Lands: Online for free! Its easy to install, and the game automatically updates! Just download the game installer from the official download page! https://forgottenlands.online/download/ 🔗 Links 🔗 Official Website... https://forgottenlands.online/ Game Wiki... https://forgottenlands.online/wiki/ Social Links... Discord | Youtube | itch.io | Indie DB 📋 Open Alpha 📋 ⚔️ Gameplay⚔️ Personal dungeon instances! Public boss monsters!  Periodic server mini-games! Guild & Party system! Lots of quests to complete!  PVP combat & reward system! Thousands of in-game items! Item upgrade and crafting systems! Ingame VIP Item Shop! Website leaderboards & rankings! Account management via website! ⚔️Game Server⚔️ Built with Intersect Engine (v0.7.1). Our server is stable and online 24/7! Automatic server reboot and maintenance! 24/7 server status monitoring. DDOS protection! 📖 Game Lore... 📖 There once was a lost world. A story of monsters and humans. They lived among each other for centuries. But something was happening. The world was changing. The world was dying... (in development...)
  11. If anyone else run into this error, it was simple issue. I share here incase anyone else have issue here. If you try to update 2.2 version CMS with this Cache Update Patch (https://github.com/Thomasfds/Intersect-CMS-Cache-Update)... At step 3 on github page "After line 11 add cache_json: '%kernel.project_dir%/public/cache/'" You must add this code into line 11, not on line 12. it should be similar to: parameters: images_articles: '%kernel.project_dir%/public/assets/general/news' images_items: '%kernel.project_dir%/public/assets/general/items' dedipass.public_key: '%env(DEDIPASS_PUBLIC_KEY)%' dedipass.private_key: '%env(DEDIPASS_PRIVATE_KEY)%' cache_json: '%kernel.project_dir%/public/cache/' services: it needs to be with the parameters and not on the next line. Cheers! Thanks again @XFallSeane for help resolving this <3
  12. I just now use your new files and same issue happen. It break the whole site (every page) there is also no log file that appears after this EDIT: I do steps: 1. update files 2. update services.yaml 3. clear cache -> site broken
  13. yes sir and I used the 2.2 branch files
  14. Thank you for the thread. I just needed to read it to figure out how I could create a Daily Reward System / Claim Items After x Time System. Global Variable (int): "Server Timestamp" = 0 Player Variable (int): "Next Claimable Timestamp" = 0 Autorun -> "Server Timestamp" = Server Time (ms) If player claims daily reward -> "Next Claimable Timestamp" = "Server Timestamp" "Next Claimable Timestamp" + 86,400,000 If "Next Claimable Timestamp" is less than "Server Timestamp" -> player can claim reward again
  15. Hi, I tried to do this and it broke the whole site. I got 500 Internal Server Error on every page after following steps 1, 2, 3, 4. (Yes, I used 2.2 branch) Anyway, I was able to restore the site back. Not sure what went wrong.
×
×
  • Create New...