• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
Luka S.J.
Reaction score
305

Profile posts Latest activity Postings About

  • Didn't realise that it was public, just making sure you weren't getting copied, really.
    I see how that script works. Pretty basic, and as you say, wouldn't let more than one person use it at the same time. It's certainly the right kind of thing to be doing. Obviously more options can/should be added at a later stage.

    One possibility to expand your system, in lieu of an actual database, is to include a timestamp in your GTS file which is noted and compared. Actions can only go through if the timestamp doesn't change between downloading the file before you start and downloading it again immediately before trying to upload a new version. This does mean more downloading (probably more of a problem than it's worth), but it would shorten the "multiple people can't use this" timeframe to just the short gap between trying to complete an action and actually doing it. There's also figuring out how to get the timestamp (from some online source, obviously).

    But anyway, MySQL would be a better option than that. Once a database has been created, it's quite simple to use (again, so long as you know the commands). Beyond that, it's just a matter of knowing how you want to use it. For example, I imagined each trade would have its own unique ID, and the player's trades' IDs would be saved in their game for a quick way of checking up on them. I thought old trades could be left in the database (marked as "completed") until the admin cleaned it up every so often (there would be debug options for database management), rather than your "delete immediately when done" approach.
    I've only thought about making a GTS, not battles or other trading options (are there any?). Whatever I say is based on those thoughts.

    Bearing in mind that I know nothing about networking, I can think of two main ways to go about online battles. The first is to make direct connections between two computers, perhaps via Hamachi or something; actual finding of opponents is not included, which is the only problem. The second is to use the MySQL database (used for the GTS) to hold information about each action, including the randomness calculations and so forth made by the "host" player.

    I'm sure it wouldn't be that difficult to actually set up the scripts which read/write/search a MySQL database, so long as you knew the available commands and how it should be laid out (I'm good at the latter). Everything else is a GUI. It's also probably more convenient to have both battles and the GTS in the same place. The database could even hold a scoreboard or something, if you went mad with the features.

    The big issue, as far as I can see, is finding somewhere you can upload a MySQL database to, preferably for free. I can't imagine it would get a huge amount of traffic, but still, I've heard servers don't like hosting them.
    I was posting in that thread at the same time as you, actually.

    I'd be interested in discussing those kinds of features with someone who actually knows something. You suggested MySQL, and I've thought it was the way to go for a while (I know practically nothing about how to use them, but I hear they're useful). I can imagine how to lay out systems and information, and generally how the system should/would be used, which is a start.

    It may just be a thought exercise for me, though; I don't know how much I'd actually want to create.
    You're not immune to having your posts cleaned up too, you know ;) Bad language is bad language, after all.
    Hmm, perhaps Essentials spoils people. It gives them so much already, it makes it easier for them to expect a little more and a little more. At least in the old days of bugs and incomplete features, people had to work themselves to make it playable.

    Game development is much more than just making your own fangame. It's about the process, the skill and the mindset. I think that's what's missing from the section.
    I've seen that thread. I most likely won't post in it, though, because I don't look at fangames and don't remember who people are, so I don't know anything about the politics and community outside of the Essentials section (which we've already talked about). Most of that thread went over my head, and it's only in the last couple of posts that it seems there's a purpose to it (i.e. the posts stating what could be improved).

    I've had a chat with Gavin today about the thread, and what he posted in the thread was pretty much what I told him. There's nothing else to do here except become too attached to your game and turn it into Serious Business. The main section is practically dead, when it should be the liveliest area. I think people need to sit down (perhaps a Skype conference of the big names - so-called "community leaders") and come up with absolutely every idea they can think of to spark community involvement (various competitions, GDM, challenge threads, discussions on various topics, etc.).

    I'll always have the belief that even a mediocre completed game will always be more than a match for the prettiest concept art, simply by virtue of it actually existing.
    Ah! That makes complete sense. It would struggle to keep things in the same place when you move if there's a decimal value rather than a solid intger. Thanks for hating that with me, I'll probably be online properly tomorrow. Been on my phone for a few days due to travel.
    I agree with the automation. The case that springs to mind is the tile puzzle mini-game I made for v11 - its grid is centred for any size tile graphics, and for the Unown puzzles, the side trays are automatically split up. It would certainly be easier to throw a few coordinates in, but it's much nicer to have a system that works by itself and allows for some irregularities (e.g. different-sized/shaped tiles).

    I've been rearranging some of the script sections recently and adding a few comments. I've also been working on a battle system for my TCG extension. I may eventually get brave enough to modify the core Essentials battle system and change how it works a bit. If I can figure out a better way, of course. The battle choice buttons are actually an adaptation of how they used to work before Poccil came up with a new method (which both the command and fight options could use; previously they used separate ways to display/choose their options).

    I'm making Essentials in my spare time. That's no excuse. :P I just happen to have had a lot of it recently.

    It can't be helped that many people don't have so-called common sense or lateral thinking skills. My approach to people asking how to implement new feature X is to point out existing feature Y which is similar to it (if applicable), and leave them to figure things out for themselves. Or tell them to read the error message (in which case they'll just lie and say they have).
    It's interesting you say I have a different approach to poccil. In what sense?

    Certainly there are a lot of basic questions. The really daft ones I just ignore and let someone else deal with, but mostly I just try to point people in the right direction and make them think for themselves. It's the only way they'll learn. It's just my helping nature, I suppose.

    There are some interesting and genuine questions too, such as the recent one about adding extra lines into pokemon.txt, which I just outright answer. As you say, it's fun to think about how things work, and all questions make me do so, no matter how briefly.

    I think it's a basic difference in mine and others' approaches to scripting. I look at scripts to learn how they work and see if they need improving and how they could be improved (because that's what I do in Essentials). Others just want to make things work for their game, and care only about getting something to happen in their way - they don't want to waste time learning about something because they just need it to work, rather than wanting to know how it could/does work. Maybe.

    There's also the mindset of: "I downloaded this which someone else made, so someone else knows how it works, so someone else can help me." I'm the guy in charge, which means I don't have the luxury of falling back on someone else, so I just have to learn instead.
    Ages back I decided to help out with a Duke Nukem wiki, and ended up designing most of it from scratch (I've since left it). This inspired me to make the Essentials wiki, as I really like the wiki format and Essentials really needed better documentation. Again, I made practically all of it myself, and still do.

    I'd also been doing a few things towards making my own Pokémon game. A lot of it involved redesigning the GUIs, which naturally gave me a lot of experience with Essentials' scripts. I fixed a few broken things as I went along, and developed some ideas.

    Around that time poccil stopped updating Essentials. Eventually I thought that perhaps he could hand it over to someone else who would continue his work, and the wiki seemed a decent owner. I asked, he agreed. In practice, that meant I had it. I made a release to get the ball rolling, and somehow just ended up doing it all myself since. Of course I've had some contributions (including your Vs animation which I tweaked a bit; I don't know if you've had a look at it), but Essentials has definitely become mine now rather than a community effort. It's a bit of a shame, because I'm bound to lose interest/free time at some point and there's no one to take over. Still, it's partly my fault for not being more active in finding others to work with.

    I like helping out, and developing Essentials helps out everyone who uses it. I think I would prefer it to making my own fangame, because it benefits everyone rather than just my own project. That's also why the TCG extension I'm currently making will also be made available to anyone who wants to use it; and I won't bother making my own game out of it.
    Thanks. Maybe it's just because I've actually produced something others can use; I'm sure there are people here who are better scripters than I am.
    You're slightly overreacting about what I said dude. It's not an issue, I'm not taking it anywhere near as seriously as you seem to think.
    No problem. Hey, if you need the help you can ask I am good with sprites as well so if you want I can do a few or something if you get too caught up in stuff.
    Nm. I just won't bother. I offered some help for your sprites but. Never mind I don't think I want to do it.
  • Loading…
  • Loading…
  • Loading…
Back
Top