Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Hello! Just started played this game and have played for a week, but now i cant start the game. I tried reinstalling and it doenst work. I get the message "pcre3.dll not found. Problem can be solved by reinstalling the game" I really want to play my old favourite game again! so please help
  3. Yesterday
  4. NAME: Game crash in match room DESCRIPTION: I had created a room for Titans Advanced, and while waiting for people to join, I hovered over some players' names until their icon showed up. Shortly after the icon was up, the game then crashed. The first time it happened, I was alone in the room at position 4. The second time there were 2 other people in the room with me, taking up positions 1 and 2. REPRODUCIBILITY: Happened twice in a row. _log_proxy_0.log _log_proxy_latest.log crashdata.mdmp
  5. It works, but the picture quality is lost 🙂 never mind, thanks for the advice.
  6. Hello once again! We are near the end of advanced scripting principles. Ifs and for loops are the last step between you and an official Skylords Reborn Advanced Scripting Degree! (jk) Let's look at them now, shall we? I will create two script files for this chapter, you can download them here. Don't forget to define the example.lua script in _scriptlist.lua! _globalvars.luaexample.lua If you encounter any issues, don't hesitate to ask in Skylords Reborn Map Making Discord. • Content If, Elseif, Else For Loops Using Ifs in BF Scripts Using Loops in BF Scripts Next Chapter • If, Elseif, Else First, I will use if, elseif and else conditions in a _globalvars.lua script. There, we can most easily see how to work with these conditions. In Lua, using the if condition is very simple. There are three basic keywords you need to know: IF - starts the if condition block, is followed by the actual condition THEN - defines the actions that should happen if the condition is true END - closes the if condition block Let's look at the _globalvars.lua example above. I've declared a difficulty variable and used the GetDifficulty() function to get the difficulty we are playing the map on. The GetDifficulty() function returns the numbers 1, 2 or 3 based on the difficulty. 1 - standard difficulty 2 - advanced difficulty 3 - expert difficulty Then I use the if condition to check if the difficulty is equal to one of these numbers. To compare values, we use the following characters. == - checks if the value on the left is equal to the value on the right, be sure to use double = > - checks if the value on the left is bigger than the value on the right < - checks if the value on the left is smaller than the value on the right >= - checks if the value on the left is larger or equal to the value on the right <= - checks if the value on the left is smaller or equal to the value on the right As you can see, I've used the else keywords in the code. If you want to check another condition for the same if condition, use the following keywords. ELSEIF - starts another if condition block, if the first if condition returns false, is followed by the new condition to check ELSE - defines the actions that will happen if ALL the above ifs and elseifs return false In my example - if the difficulty is not standard, I use the ELSEIF condition to check if the difficulty is advanced. If the difficulty is not standard or advanced, then it must be expert, so I use the ELSE keyword - no further condition needed, as the ELSE actions get executed if all the other conditions fail. If you don't want to deal with the ELSE and ELSEIF keywords, you can separate the check into three separate IF conditions. Keep in mind that you then need to end every if condition with the END keyword. • For Loops I am going to show you how to declare for loops outside of BF scripts at first. For loops are used to execute code multiple times, until you reach the loop count you specify. If you were to use for loops in general Lua scripts, you would go about it like this. So these are the keywords you need to remember. FOR - declares the for loop, is followed by definition how many times the loop should run DO - defines the actions that should happen for every run of the loop END - ends the for loop After the for, we need to declare a variable for that loop, that we will increase by one every time the loop finishes, and the range the variable should start and end at. Like this. i = 1,2 This tells the loop to define the i variable that starts at the value of 1, and the loop will stop once the i reaches a value of 2. So the loop will run two times. first time when the loop starts at i = 1 second time when i = 2 the loop will not start a third time, as the i has reached the specified value of 2 This for loop would do absolutely nothing, but if we were to add an equation into the for loop... With this loop, it would increase our difficulty variable by 1 every time the loop runs. So in the end, if we started the map on standard difficulty, the difficulty variable would return 3 - as if we were playing expert, and it would return 5 if we were actually playing on expert. (GetDifficulty() returns 1 on standard difficulty and 3 on expert difficulty, then we add 1 for every loop -> 1+1+1 = 3 or 3+1+1 = 5 ) For now, let's just declare a variable number_of_spawners in _globalvars.lua. • Using Ifs BF Scripts To show you how to use ifs and loops in BF scripts, I am going to create an example.lua script. I want the game to give me an outcry that the script was successfully loaded, so I add a state (remember, every script needs at least one state) with a OnOneTimeEvent that sends out an outcry. Now if we define the example.lua into _scriptlist.lua, upon map start, we should get the outcry "EXAMPLE LOADED". To actually use the ifs and for loops in the script, we will need to define them OUTSIDE OF ANY STATE. The events we declare in ifs and for loops will be added to the next state after them. I've added an if difficulty == 3 condition above my INIT state. This condition will use the difficulty variable I've declared in _globalvars.lua and check if we are playing on expert difficulty. If the condition is true, it will add the declared OnOneTimeEvent to the INIT state below the if condition. You probably didn't notice this, but I've added something special to the MissionOutcry. A "..difficulty" after the outcry text. Believe it or not, but we can actually use the variables in BF actions and conditions. The double dot (..) tells the script to add whatever comes after the double dot to the text before it. In our case, it will add the difficulty variable to the outcry text, like this. Awesome! Also notice that the event will switch the script to the EXPERT state. Note that, it is important in the following topic. • Using Loops in BF Scripts I've prepared a little scenario to showcase the usage of for loops. I have two fire spawners, one tagged spawn_point1 and the other spawn_point2. I want to spawn a squad next to each of them on expert difficulty. To do that, I will add the EXPERT state, to which the if condition event switches to. And above the EXPERT state, I will define my for loop. I have two spawners, and I want to spawn one squad next to every spawner. So I will declare the i = 1,2. I use the SquadSpawn action to spawn the squad and in the TargetTag, I use the good old double dot (..) to spawn the squad next to each spawner. The SquadSpawn action takes the "spawn_point" tag we specified and the for loop adds the number of the i after it. So what this for loop does is, it adds two OnOneTimeEvents with the SquadSpawn action to the EXPERT state. And the TargetTag for the first event is spawn_point1 and for the second event it is spawn_point2. Now, the number of spawners I have on the map can change as I work further on the map, for easy access to the number of spawners, I have declared the number_of_spawners variable in _globalvars.lua. We can use that variable in our for loop, now we won't need to sift through all the scripts to adjust the number of spawners we have, we can only change the variable in _globalvars.lua. Let's check our script in game. When we start the map on standard or advanced difficulty, the squads will not spawn. The EXAMPLE LOADED outcry tells us that the script works as it should, we just didn't select the expert difficulty. But when we start the map on expert (remember - we switch to the EXPERT state in our event in the first if condition), we will get a squad of Sunstriders next to each spawner, alongside the DIFFICULTY 3 outcry. YAY! Before we leave thic topic behind us, I just want to reiterate that the contents of the ifs and for loops get added to the next state that comes after them. • Next Chapter I know this chapter was a bit... ify. But you successfully got through the advanced scripting principles. Don't worry, a bit of practice and some help from your fellow map making skylords will carry you a long way. In the next chapter, we will look at the very complex topic of Warfare Patterns. Using them can be really great and easy if you know what you're doing, but they include some weird behaviours that might confuse you. Don't dread, I will be there to guide you on your Warfare Pattern jouney to victory. • Warfare Patterns • (Coming Soon)
  7. so i was able to log in using a vpn. which is confusing me a bit as i now dont know what the problem is or how to solve it
  8. Hi guys. Maybe I'm in the wrong section, but I would like to know if there is a way to zoom in on the UI in the game? At 15.6" 2k resolution, all the icons and the interface as a whole are very small. Thank you for your attention!
  9. Last week
  10. this was the result: Pinging 162.55.91.56 with 32 bytes of data: Reply from 162.55.91.56: bytes=32 time=287ms TTL=49 Reply from 162.55.91.56: bytes=32 time=144ms TTL=49 Reply from 162.55.91.56: bytes=32 time=186ms TTL=49 Reply from 162.55.91.56: bytes=32 time=140ms TTL=49 Ping statistics for 162.55.91.56: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 140ms, Maximum = 287ms, Average = 189ms i guess this means the server is not blocked and iranian ips are not banned? so what might the problem be? edit: about vpns: the islamic republic regime hates free access to the internet and had blocked A LOT of vpn services, (like they will block vpn servers after you connect to them just once!!) to the point that im thinking of setting up a server (with a lot of shenanigans to avoid detection) for my self and thanks for the very quick response
  11. you can try pinging the server `162.55.91.56` If your internet service provider is blocking something by IP you can try asking them to stop, or choose different provider, or using an VPN to avoid them knowing to what you are connecting. Proton VPN is free https://protonvpn.com/free-vpn
  12. so recently ive run into a problem, i get a connect failed whenever i try to log in to the game. ive tried it with my home internet, my phone's hotspot and another internet service and none work which leads me to believe either the provider of the server had banned IPs from iran or the stupid islamic republic regime has censored/blocked access to the server provider's services. of course there may be other reasons for the connect failed error, but usually this is how things usually turn out to be in iran. how can i test and see what my problem is? also, any suggestions on how to fix it? (it is hard to find a vpn that works on PCs here, ill try and see if i can get into the game with a vpn to determine whether this is actually the case)
  13. In the upcoming patch (no exact date yet)
  14. Hi Komme aus Bayern und bin 53 Jahre jung Als EA das Spiel 2013 von den Servern nahm ging meine heile Zockerwelt unter, ich liebte dieses Spiel, da einzigartig. Die Kombination aus Sammelkarten und Spiel gab und gibt es in dieser Form nicht. Und als ich hörte es besteht tatsächlich nochmals eine Chance mit Mo oder Juggernaut usw zu zocken konnte ich mein Glück kaum fassen. Bin allen so dankbar die dieses Mammutprojekt umgesetzt haben damit wir es wieder spielen dürfen. Zocke es wieder täglich ;) Vielen Dank ❤️
  15. Do you know went the change will go live ? Currently I don't see any map of the day.
  16. Please try starting the game through the launcher, instead of the game exe itself.
  17. Hey all, since multiple people had questions about running the game on a Steam Deck in the past, I decided to create this thread as a place to collect questions and issues and help each other getting the game to run. A good place to get started with running the game on a Steam Deck is the "Skylords Reborn on OSX/Linux" thread by Ultrakool: If you can't get the official updater to launch properly, there is also an alternative updater script, which can be found in the official download thread: If you have any specific Steam Deck related questions or issues, feel free to report them here, so either someone of the team or fellow community members may help you.
  18. I guess try asking someone in support/on Discord.
  19. The client does not start. I click on the game icon, and after confirming the administrator rights, nothing happens.
  20. The male/female tags are being removed. Reason being that on many cards it is unclear what the unit even is and there is no pretty way to communicate it. Also, the concept was never really fleshed out, it only had two cards that interacted with it. Twilight Hag already got reworked and Girl Power is next. So it hardly ever really amounted to an actual playstyle.
  21. All information's can be found in this post: Battle of Tactics #7: This isn't even my final form
  22. Some achievements involve only building, only flying units, but none for only female units and/or spells (Girl Power). I thought this could be a fun achievment.
  23. Sorry for the very delayed response. I chose "Color" and clicked on only the Frost orb and it does work properly. User error
  1. Load more activity
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use