-
Posts
80 -
Joined
-
Last visited
-
Days Won
18
boasfesta last won the day on October 31 2021
boasfesta had the most liked content!
About boasfesta
- Birthday 06/05/1996
Contact Methods
-
Discord
boasfesta#8721
Profile Information
-
Location
Brazil
Profile Fields
-
Steam ID
https://steamcommunity.com/id/boasfesta/
Recent Profile Visitors
2,443 profile views
boasfesta's Achievements
-
boasfesta reacted to a post in a topic: [Read First!] A Warning About Custom Code Modifications
-
Bumping this one here. Dont know if i can do this, sorry mods if i dont. Just to say that i'm getting back with Intersect works, any interested person contact me at discord. tnx
-
Vaiku reacted to a post in a topic: Today I did this on my project...
-
Ikelos reacted to a post in a topic: Today I did this on my project...
-
boasfesta reacted to a post in a topic: [$30] Animation Camera Shake!
-
Justn reacted to a post in a topic: [$30] Animation Camera Shake!
-
Beefy Kasplant reacted to a post in a topic: Today I did this on my project...
-
Beefy Kasplant reacted to a post in a topic: Today I did this on my project...
-
Story Today I did this on my project...
boasfesta replied to SkywardRiver's topic in Design & Creativity
Its just the red flash at the enemy when it got hit It works by custom code -
Weylon Santana reacted to a post in a topic: [$30] Animation Camera Shake!
-
Scaly reacted to a post in a topic: [$30] Animation Camera Shake!
-
As it name suggest, here is a camera shaking system attached to animations for Intersect. Embedded Video Link How it works Animations now got a property called "Camera shake" in editor, which provides a duration in miliseconds for the shaking effect. This allows you make small shakes for light hits such like earthquakes for big ones. Videos got really big at AGD posts so, here is a example of a long duration shake and a smaller one. Requirements Intersect version v0.7+ Git installed Support For any problems or doubts with this system, add me on discord: boasfesta#8721. Soon in Intersect, wait for it
-
Worldofjimmy reacted to a post in a topic: Today I did this on my project...
-
Scaly reacted to a post in a topic: Today I did this on my project...
-
Gibier reacted to a post in a topic: Today I did this on my project...
-
Story Today I did this on my project...
boasfesta replied to SkywardRiver's topic in Design & Creativity
Embedded Video Link Testing some features together: -Fluid movement -Fluid knockback -Flashing hit -AoE basic attack -Camera shake -
boasfesta reacted to a post in a topic: Reconfiguring GUI Window Character Part One
-
I don't know exactly but you could start by checking if there is any PlayerData migration pending. Start by making an upgrade. Also, check server logs searching for any evidence about database errors that can help us to figure out whats happening. At last, try to set breaking points at saving player lines to check if everything is working ok. And use SQLite manager to check if only specific tables are not being saved. We can get more info about the issue this way. Just a question, it works okay this whole time? Do you know where the problem start to happening? I mean because there is an deleted migration at your diffy and thats a little strange, dont know if EF got problems with that.
-
Nice bro! Just care a little about the details mentioned by Weylon and that project can be great! For sure will help a lot of people. Its nice to see more Brazilians in the community. Be welcome!.
-
boasfesta reacted to a post in a topic: S.F.S Sea Fishing System - Video Tutorial
-
boasfesta reacted to an answer to a question: Call database .db in server?? [DEV]
-
{@“\command”, string.Join(Environment.NewLine, topList.Select(x => x.Name).ToList())} should work
-
You can. But that method seems to be called at every event command, so even if you're not asking for a toplist, the system will check the database for a ordered list. Consider making a cache if that becomes laggy. Just do that string.Join in a topList.Select(x => x.Name).toList(), it should world.
-
Try to select all projects in a row just by pressing SHIFT Right click and select "Clean", after that do "Rebuild". Lets see if it works.
-
Function public void HandlePacket(Client client, ChatMsgPacket packet) in PacketHandler.cs at Intersect.Server its a good place. And yup, you can show the player name since the list only order players by exp, but his whole data is returned.
-
Try CTRL + SHIFT + B and then restart VS If doesnt work, show us your Project Explorer at VS
-
Chesire is right. Caching its best way to keep performance. Try to declare an public static List and update it every 60m for example. But if you're using MySQL and considering that people wont check the toplist everytime. You dont need to worry about caching up at all. Even a huge table wont be affected that much. So for a command /top, just code something like this: if (command = "/top") { var topList = OnlinePlayers.OrderByDescending(x => x.Value.Exp).ToList(); var topListString = string.Empty; foreach (var player in topList){ // concat topListString here } //SendChatMsg blablabla topliststring }
-
You dont need to use raw SQL, let EntityFramework do that for you. An example for what are you trying to do is OnlinePlayers.OrderByDescending(p => p.Value.Exp).ToList(); So you got an ordered list of online players by Exp amount. Put that in communication between packets so clients can see it.
-
1. Migrations should work good just by editing Intersect.Server/Database/PlayerData/Players/Guild.cs. Remember to use Add-Migration -Context PlayerContext 2. LINQ would be a good choice for that, so if the line goes red, remember to add using to System.Linq. You can get an ordered list just by doing Guilds.OrderByDescending(g => g.Value.FamePoints).ToList(). Dont forget that "Guilds" is a public static var on Guild.cs so you need to access its visibility outside the class doing "Guild.Guilds".
-
boasfesta reacted to a post in a topic: Today I did this on my project...
-
How Intersect create migrations without a config class?
boasfesta posted a question in Questions & Answers
I mean, it only uses the Model class. Other projects i worked on, migrations need both Model and a Config class for each entity using classes like EntityTypeBuilder, IEntityTypeConfiguration, ModelBuilder and stuff. Can anyone explain me? There is anything related to NoFody? The other projects are in NET Core but the EF should be that easy too (i guess)