Jump to content

Jcy

Contributors
  • Posts

    216
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jcy

  1. I found: foreach (MapInstance eventMap in Maps.MapInstance.Lookup.Values) { foreach (var en in eventMap.LocalEntities) { if (en.Value == null) { continue; } if (en.Value.MapId == map && en.Value.X == x && en.Value.Y == y) { if (en.Value is Event) { //Talk to Event PacketSender.SendActivateEvent(en.Key); AttackTimer = Timing.Global.Milliseconds + CalculateAttackTime(); return true; } } } } In Player.cs, this was it, and I managed to do the changes.
  2. Hey there, Been looking for awhile now, I can't seem to find the piece of code that handles the AttackInteract input, when you activate an event via the Attackinteract key. I would like to change that key. Where is this located? Thanks!
  3. Step 1: You would need to modify the client's source to do this, adding a button to your main menu (Intersect.Client.Interface.Menu.MainMenu.cs), like so: private readonly Button mWebsiteButton; mWebsiteButton = new Button(mMenuWindow, "WebsiteButton"); mWebsiteButton.SetText(Strings.MainMenu.Website); mWebsiteButton.Clicked += WebsiteButton_Clicked; _______________________________________________________________________________________________________ Step 2: Then, also in (Intersect.Client.Interface.Menu.MainMenu.cs), add a button event, something like: private void WebsiteButton_Click(object sender, EventArgs e) { // Launch browser to ascensiongamedev... System.Diagnostics.Process.Start("http://www.ascensiongamedev.com"); } _______________________________________________________________________________________________________ Step 3: Lastly, in (Intersect.Client.Localisation.Strings.cs , find "public partial struct MainMenu") add the JsonProperty: [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public static LocalizedString Website = @"Website"; _______________________________________________________________________________________________________ Feel free to modify and customize the new button under "WebsiteButton": { , this piece of code will be in your client's resources (yourClient\resources\gui\layouts\menu\MenuWindow.json) Sadly, you need source modifications to add a new button, so if you have some coding knowledge, load up visual studio and follow the steps above. If not, sorry that I couldn't help you
  4. How do i stop this post from sending me thousands of emails everyday?
  5. Jcy

    Build Error

    Apologies, here’s the 6 errors:
  6. I'm trying to build the dev branch and this is aggravating me, I keep getting this over and over:
  7. Fixed it. If anyone has this issue, make sure "NormalSheetAttackFrame" in your server config is 1 frame less than "AttackFrames".
  8. So, there’s a way!
  9. I rly need to fix this. I changed to completely different sprites and a different number of frames. This issue is simply not going away.
  10. it won't show up in the game, what am I doing wrong?
  11. Yep sadly lol
  12. Basically I've downloaded and used a fresh 0.7.0.129 install made a map and just started to get my sprites in but this has been happening. Whenever I move (any sprite I try) and try to attack while moving the sprite disappears for the duration of the attack. If the character simply attacks while he isn't moving the issue does not occur. I have set _attack _weapon _shoot _cast _idle accordingly and everything looks fine on that part. It does not occur with NPC/Mobs even though they use the same sprite size/frames. https://www.ascensiongamedev.com/resources/filehost/c04f9bf42ba396aa1c5b56c0d82e9ca6.mp4
  13. No, but there's a key that automatically selects the nearest targets.
  14. @jcsnider He made the launcher, let's wait for him.
  15. Try and run it as an administrator.
  16. Go further and open the resources folder, in there open the Config file
  17. Where are you testing it? If you changed the client's IP to your IP you'll probably need a friend to test it for you. Also please make this a little clearer, did you mean that the launcher can't find the updates or that your client can't connect?
  18. This is located in your server's config file. The line you wan't is "MaxCharacters". Just change the "3" to what you'd like
  19. You need to post these in the Suggestions Box 😬
  20. Firstly, thank you for helping and secondly, I tried to update my bug #119 to show as much as I could!
  21. Happens to me also, some variables just won't get off of "True" no matter what
  22. Hey, um, so this happens and I can't click out of it. Basically, the event behind is preventing the further events from running. That "All your party members have signed" text, is UNFINDABLE. I have searched each event, one by one, to find it but it's like it doesn't exist. I remembered I wrote that line in a quest completion and I went and deleted it, but this still shows up like it exists wth, I can't find it anywhere else. I'd fix it if it was there but lol, where the heck. Could this be a bug? I'm almost 100% sure it's deleted but still showing. I restarted everything multiple times. Tysm
  23. My kinda polished Clan System without source!

     

    https://www.ascensiongamedev.com/resources/filehost/42ab4626621b7a746d8375dc5f7cc1fa.mp4

     

    Works like a charm!

    1. Zetasis

      Zetasis

      What happens if two or more people pick the same guild names? Interesting little guild system for sure but I’m not a fan of how you go about picking the names. Better then nothing I guess though. 

    2. Jcy

      Jcy

      If someone chooses the same name, they still arent part of that same guild and their guild ID is different. You can shout your guild ID to differentiate between same name guilds. But I feel your reasoning (:

       

      It can always be better.

  24. The steps I'd recommend are in bold below: You need to setup port forwarding through your router OR ask your ISP if it still won't work. Plus, you might have to disable your router's firewall (and your pc's) which is something I can't recommend but had to be done on my older router. This could help with port forwarding.
  25. Jcy

    Multiple Images

    The answer is: No you can't Though, I found a perfect workaround. If anyone is interested to see, here it is in action https://s3.us-east-2.amazonaws.com/ascensiongamedev/filehost/50e66709c6aa21630d8cc6b090e97fe1.mp4
×
×
  • Create New...