Jump to content

AlfyG

Members
  • Posts

    11
  • Joined

  • Last visited

  1. Hi Cheshire. Yeah, I think that would be the way forward. As I say, its not a critique. Things are designed to work a certain way, they can't tick all boxes! I'll work on some other aspects, this isn't a crucial feature atm. I've asked a few questions recently, and they've been answered quickly and constructively, its really appreciated. Great community spirit ☺
  2. Cheers Waylon. Reading around, it seems like using the global variable idea is the only way to achieve something like this, but its a bit too hacky for me. As you say, lots of chances for unexpected behaviour. I find it surprising when you say that comparing two player variables directly would be impossible in intersect. I'm only starting out in dev, but it seems like pulling out and comparing two stored variables wouldn't be beyond doing, especially when it can be done indirectly in the API? It's not a critique, I think the engine is amazing and what has been done so far is really impressive! Thanks for your answer.
  3. Hi all, Is there a way to compare a player variable with the same variable for another player? Eg, if player A "FavColour" == player B "FavColour", then do *something* For context, I'm looking to create a basic faction system using player variable to store the faction number, then use that to compare players in a PvP situation. If a player kills someone of the same faction, they lose points. Different factions, they gain points. If anyone can shed light, I'd be grateful. Cheers.
  4. AlfyG

    PvP on??

    Its in the map settings, down on the lower right of the editor
  5. No worries, thanks for confirming Xiphoid I think I can do what I want via the API, pulling up player data etc. I was just hoping there was a simpler way in the editor! Thanks again, appreciate your time.
  6. Thanks for getting back to me, I appreciate it, but this isn't what I wanted to know. When SETTING a variable, you can set it to an amount, or make it equal to another variable (or system time). Lets say I have 30 Gold Coins. How do I set a variable to equal that number of coins? So, I could then use that variable in chat, or in rankings, eg "You have \pv Gold Coins". Is it doable? Cheers.
  7. Hi all, Apologies if this was addressed way back, but I have looked through the forums and can't see it... Is there a way of assigning the number of a certain item held to a variable? For example, the amount of 'Gold Coins' held by a player? I know that no. of item X held can be used as a conditional, but I can't see how to assign that amount it to a variable? Any help is appreciated. Thanks everyone.
  8. Excellent. Thank you, esp for the quick response. Will continue having a play with it.
  9. Hi. Apologies if I have missed something, but I am trying to connect to the Intersect API. Just for testing, I have been using Postman. Still quite new to it, and having a problem getting an auth token. Access is enabled in config and I have granted myself user.manage access, but I am unable to get a token. I thought the issue may be my password. In the documenrarion that getting an authentication token requires the SHA256 hash of my password. Reading around though, it seems that accessing the database in other ways requires a re-hashed password once the SALT has been added (ie hash password, then add salt, then hash again) So, my question is, which do I need to use to access to the API; the hash of my plaintext password, or the hash of my plaintext password+salt and hashed again? Sorry if it's a bit garbled. Any help is appreciated Cheers.
  10. Thanks for this. Still quite new to using the API, but I can see that its in there! Thanks for your help :)
  11. Hi all. I saw that someone raised the possibility of a chat log a couple if years ago, and it was something that the devs wanted to implement. Just wondered if there had been any news on that front? Or (because I know the devs have 1000 things to do!), if anyone had found a solution/workaround some other way? Cheers.
×
×
  • Create New...