Jump to content

Weylon Santana

Contributors
  • Posts

    661
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by Weylon Santana

  1. programming within the source
  2. I already know that autoruns events are evil processor-eating things that even the devil asks for a license to use, BUT I've been looking at some things here, I think they're recent about: "Processing": { ... "CommonEventAutorunStartInterval": 500 }, 1°) Is this value the time interval in ms when the autorun is executed? 2°) Larger values here could positively impact the performance of server when there is the existence of an autorun event in execution? (Something between , 10000 and 30000) 3°) If it's not those assumptions above, what's the function of this? 4°) When there is a need for an autorun event, is there any other possible alternative that can simulate an autorun event, but without swallowing the server's performance at breakfast? (For example: the value of a variable that must be constantly updated) - (Possible alternatives: Loop using label, Common event that executes itself at the end of commands (Recursive event? wtf?) and whatever) I intended to have an autorun event in my game(i hope just one), but I've seen recently how it drastically affects performance in another game. PS: These four questions are part of one question related to autorun and performance, I just divided it so that it's organized.
  3. Blocks dont work anymore, this is the old block function:
  4. make a common event, put the trigger "on login"
  5. Create Guild - https://prnt.sc/155kt57 // https://prnt.sc/155kulz
  6. Update - new video added on Videos List. #002 - First Steps
  7. Assuming that the intersection either copies only the current layer or all layers, I don't think so.
  8. Hey guys, my name is Weylon, and I've been hanging around the forum here and there, I'm an old user. Today I'm starting a youtube channel aimed at Intersect, because there aren't that many tutorials on youtube, due to its popularity. The focus of the channel will be to teach all the features of the Intersect quickly and simply, the goal will be that all videos contain approximately one minute of explanation to be straight to the point and as simple as possible. Because I am Brazilian I will NOT speak in the videos, but I will support the videos with English and Portuguese languages with subtitles, so that other beginners from other countries can enjoy the content. I will update this topic with every new video. If you support this initiative, and have questions about the engine, you can get help here (of course), but you can also get it through the video comments, If you support this initiative, subscribe to the channel, all comments and constructive criticism are welcome. The channel will be aimed at people who do not know how to program (like I'm) or are in their first contacts with Intersect All content will be based on my knowledge, current documentation or explanations in the wind (what developers are talking about here or there), If you are more experienced than me, I accept your help with video tips, content and so on. Game Developers As I always need to be in constant search of content for the Intersect, often when I'm explaining something, I can (or want to) leave a gameplay of a game running in the background of the video. So if you have an online game running, feel free to send it to me along with your game logo, because in those moments I mentioned, I'll leave your game running in the background with his logo somewhere, and of course , link to your game in the description, thus strengthening the engine's popularity a little, always showing games made with the engine. Videos List Thank you all for your time and attention.
  9. increases the width(bounds) of the inventory container in json.
  10. Official Discord Server: https://discord.gg/6CnkK82 Begginer Tutorial: https://www.ascensiongamedev.com/topic/5766-intersect-engine-full-basic-tutorial/ Events Tutorial: https://www.ascensiongamedev.com/forum/370-official-event-system-tutorial/ More Documentation: https://docs.freemmorpgmaker.com/en-US/
  11. My referenced post can help you. you will need 2 int variables, or 3 Creating a global variable to be the server time (machine), and creating a variable to be the time the player must wait to obtain the different item you can do that way. commom event - global time - autorun int "global time" set system time wait Xms (x = some value for not overloading the server i believe) event on the map - page 1 condition: int "change item" = 0 show option --- want to change the item? yea ----- remove item ----- set int "change item" to = int global time ----- set int "change item" add = "1 hour in ms something like = 3600000 more or less" no exit process event event on the map - page 2 condition: int "change item" != 0, int "change item" > int "global time" show text - the item is not ready event on the map - page 3 condition: int "change item" != 0, int "change item" < int "global time" show text - your item is ready give item int "change item" = 0 if you intend to do this with many items, create a variable id, and check the id to find out which item to deliver to the player. My quoted tutorial is just a "core" you should analyze and create the function as I mentioned above. If you do exactly as I said above it still won't work, because of the page changes and page conditions, the logic is right, making it work on the intersect is another history, but it is possible
  12. Give exp based on variable value also its the recent updates. to upgrade, download the latest prerelease version and replace all files in the zip file in your game server.. Client and editor. But backup your game first, it doesn't work ok for everyone. this version is ok for development, but not stable enough to go online with several players. Call me on discord and I can help you and see better the details Weylon#7909
  13. @RandemGamor First, which version do you use? The "when variable changes" trigger has only the most recent versions
  14. I know that. Even so, you can use it in the same way, there will never be a problem for one adm, and you will rarely have a problem for two or more if they are not typing commands simultaneously(with 5 sec delay maybe work fine). I did this thinking only to him who asked the question, but you still have the point.
  15. You can do 2/3 of these with events /giveexp playerName 1000 --create a common event that is triggered by /command "/giveexp" --create a global variable "giveexp" - string --create a global variable "exp" - int --create a variable input - enter the player name --the value of the player's name will be assigned to the global variable --create a variable input - enter the player exp --the value of the player's exp will be assigned to the global variable --create another commom event that is triggered by "global variable changed" choose giveexp --set spawn/run condition to: If var global giveexp = \pn --place the command, give exp = global variable "exp" --then set the var global exp to 0 --then set the var global giveexp to " " (nothing) /givelevel playerName 1 All the same process as above, but in the common event that will change with the variable givelevel(string), you must create a loop --label: start --conditional branching: if var global level > 0 --leveling up --wait 500ms --subtract var global 1 go to label "start" then in the else --set the var global givelevel to " " (nothing) changing status is not possible without modifying the source If you didn't understand anything I said, then good luck
  16. You can count on me too, I'm always reporting bugs
  17. This was basically all the features I ask, this will make edits faster, I already downloaded the new version, I will test it soon
  18. Man, I manipulate the interface so much that it's natural to me, but something like that is extremely useful I will download and test it now. Whatever you need help I will help.
  19. Animations in resources editor have this proposed make the tree falling when resources reaches 0 hp
  20. and now you have to be more careful when using global var with a new database system.
  21. This is hard man and soooo limited with events
  22. Some people have this error when trying to open the client, the client does not start what can be? 2021-04-21 14:15:25.031 [Warn] Directory was specified as a plugin directory but does not exist: 'resources\plugins' -------------------------------------------------------------------------------- 2021-04-21 14:15:25.045 [Info] Discovered 0 plugins: -------------------------------------------------------------------------------- 2021-04-21 14:15:26.132 [Info] Acquiring context lock... (0ms) -------------------------------------------------------------------------------- 2021-04-21 14:15:26.132 [Info] Acquired. (0ms) -------------------------------------------------------------------------------- 2021-04-21 14:15:26.162 [Error] Received unhandled exception from System.Threading.Thread. -------------------------------------------------------------------------------- 2021-04-21 14:15:26.164 [Error] Message: Service 'PluginService' is not yet running. Stack: at Intersect.Core.ApplicationService`2.Stop(IApplicationContext applicationContext) in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Core\ApplicationService`2.cs:line 108 at Intersect.Core.ApplicationContext`2.<StopServices>b__48_0(IApplicationService service) in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Core\ApplicationContext`2.cs:line 197 at System.Collections.Generic.List`1.ForEach(Action`1 action) at Intersect.Core.ApplicationContext`2.RunOnAllServices(Action`1 action) in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Core\ApplicationContext`2.cs:line 182 at Intersect.Core.ApplicationContext`2.StopServices() in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Core\ApplicationContext`2.cs:line 197 at Intersect.Core.ApplicationContext`2.InternalDispose() in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Core\ApplicationContext`2.cs:line 512 at Intersect.Threading.ConcurrentInstance`1.ClearWith(TInstance instance, Action action) in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Threading\ConcurrentInstance.cs:line 40 at Intersect.Core.ApplicationContext`2.Dispose() in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Core\ApplicationContext`2.cs:line 505 at Intersect.Client.MonoGame.IntersectGame.Dispose(Boolean disposing) at Microsoft.Xna.Framework.Game.Dispose() at Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction) at Intersect.Client.Core.ClientContext.InternalStart() at Intersect.Core.ApplicationContext`2.Start(Boolean lockUntilShutdown) in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Core\ApplicationContext`2.cs:line 217 at Intersect.Client.Core.Bootstrapper.Start(String[] args) --------------------------------------------------------------------------------
  23. I will give a detailed report on the tests you ordered This is the locked and unlocked cps with 0 players. locked, is usually locked at 65, sometimes decreases to 61 and returns to 65. Unlocked is between 2 million and 100 thousand and 2 million and 200 thousand. This is the locked and unlocked cps with 8 players. same as above. after this test I put the settings you said This is the locked and unlocked cps with 5 players. The players said it improved a little, but it was still bad. 500 - 510 locked, 1 million and 900-998 thousand unlocked After this setup I recorded ingame with 5 players online. Embedded Video Link in the end, i have typed exit on server console and a lot of error spam the console https://www.ascensiongamedev.com/resources/filehost/092609e4fd4322dbdbc04eea4aea8b82.log And about your comment, I find it difficult that the machine is the problem, we had no problems to hold up to 20 players in version 101, why would we have in version 111? If the only thing that changed was the version and not the machine. I don't know if I could test what you said because the machine is not mine.
  24. Machine VM
×
×
  • Create New...