Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Gurok

#61
The Rumpus Room / Re: What's on TV?
Fri 31/08/2018 22:23:16
Legend of the Seeker
#62
The Rumpus Room / Re: What's on TV?
Wed 29/08/2018 13:49:06
Looks a bit like Ocean Girl
#63
Quote from: Snarky on Tue 28/08/2018 06:16:03
Quote from: Gurok on Tue 28/08/2018 03:57:55
The first season of Westworld was carried along by Anthony Hopkins, but I agree, beyond that it's utter garbage. It's what I like to affectionately call, low-budget Canadian sci-fi.

There are many things you could call Westworld, but "low-budget"?

I was referring to season 2 here. Typically in shows like Travelers, there's a tendency to tell rather than show the action (because that's cheaper, I'm guessing). It's also possible the writing took a dip. Westwood went from robots and debauchery to long walks along the beach and no real pay-off in sight. It was draining to watch.
#64
Quote from: Mandle on Tue 28/08/2018 03:52:58
Yes, some are really good. But most aren't: The Exorcist, The Omen, Westworld, Emerald City, etc.

The first season of Westworld was carried along by Anthony Hopkins, but I agree, beyond that it's utter garbage. It's what I like to affectionately call, low-budget Canadian sci-fi.
#65
Quote from: Crimson Wizard on Wed 22/08/2018 10:46:08
I had no idea about this... May this be added to the manual? Because it mentions "constant expressions" right now.

I have updated the wiki for the manual accordingly. I also reworked the description of a switch statement to make it more concise and better reflect how AGS executes them.
#66
Quote from: Crimson Wizard on Thu 09/08/2018 10:18:22
Quote from: JFalcon on Thu 09/08/2018 10:06:08
That being said, is there a limitation on the number of case statements in a switch?

I checked the code, and "switch" uses same mechanism to keep record of nested script blocks as if/else, having same limit of 75.

Quote from: JFalcon on Thu 09/08/2018 10:06:08the easiest thing to do would be to convert the resulting operation to a value that can be used within a switch...case from a loop.

The way that I would approach this using an array of structs, one the string that I would want to check and the other member with the value to use in the switch() case construct.

Ahh, yes, you are right, that will work. I was not thinking hard enough earlier.

Although I'd perhaps propose to again split this into verb ID and object ID to make further handling more convenient; for example, you will be able to run some specific commands in case of each "look", or tell "I cannot look at xxx" if the object is unknown, etc.
And of course there are still ways to split the giant switch into several parts to make it work in current AGS.

Sorry, I might be late to the party here, but I need to correct a few things.

The switch statement does indeed use the same mechanism for managing nesting as if/else blocks. However, case statements are not additional layers of nesting. You can certainly have more than 75 case statements in a single switch block. You just can't have more than 75 switch blocks inside each other.

The switch statement in AGS is very flexible. It's more like a destructured if statement than the restrictive kind you might find in C or old Java. The following construction is certainly possible and will work:

Code: ags
switch(true)
{
    case Parser.Said("One"):
        break;
    case Parser.Said("Two"):
        break;
    ...
}

#67
The Rumpus Room / Re: Happy Birthday Thread!
Wed 22/08/2018 03:57:51
Got a Beatles song ready for you next year, Slasher.
#68
1st: 7
2nd: 4
3rd: 1
#69
The Rumpus Room / Re: *Guess the Movie Title*
Fri 17/08/2018 00:46:14
Cats and Dogs?
#70
The Rumpus Room / Re: *Guess the Movie Title*
Tue 14/08/2018 07:45:45
I'm going to guess that they're both movies.
#71
I found a lot of these too avant garde for my taste. I voted for 11 because it was the easiest to picture working, though I really liked 3 as well.
#72
Quote from: Khris on Sun 12/08/2018 09:20:53
Using more than 3GB (Gigabyte) of RAM, which is recommended very much, requires a 64bit OS and hence a 64bit CPU.

Not true. There is PAE, which allows for 36-bit addressing on a 32-bit processor. You can see this in Windows 2000, which had variants supporting 8 GB of RAM.
MS crippled Windows XP SP2 intentionally for driver compatibility, limiting the available RAM to 3 GB.
If you ran a Linux distro on a 32-bit machine, you'd most likely have access to up to 64 GB of RAM + page file combined.

Aaaand yes, it's stupid to invest in a 32-bit machine in 2018.
#73
General Discussion / Re: AGS Image Host?
Sat 11/08/2018 09:30:12
Hi again,

http://ags.pics/ is up and running.

I've created accounts for anyone who seemed to express interest in using it. If you'd like an account and I haven't made one for you, just PM me -- it's a 5 minute process.
#74
The Rumpus Room / Re: *Guess the Movie Title*
Sat 11/08/2018 04:59:48
Moana?
#75
The Rumpus Room / Re: Happy Birthday Thread!
Fri 10/08/2018 07:32:56
Happy birthday, AGA! Best wishes!
#76
General Discussion / Re: AGS Image Host?
Fri 27/07/2018 04:50:08
Quote from: tzachs on Fri 27/07/2018 04:41:29
Ah, ok, I saw that you linked to their pricing page, so I assumed you intend to use the paid version.

Well, I very well might. It's a trade-off between time and money. I'm looking at the hosting plans that include it and they don't seem that prohibitive.
I thought you were just concerned from a code-maintenance perspective if the author ever goes away.
#77
The Rumpus Room / Re: The 4 word story thread
Fri 27/07/2018 04:38:33
He was the meanest
#78
General Discussion / Re: AGS Image Host?
Fri 27/07/2018 04:20:22
Quote from: Slasher on Thu 26/07/2018 14:02:03
Yes, I would. A yearly donation would be acceptable to assist costs.

No need to donate, but that was a lovely gesture.

Quote from: tzachs on Thu 26/07/2018 15:32:29
Cool initiative!
I'll probably use it if it's as convenient as imgur.
One concern, though, that if you run it on your server and it blows up or something, you'll need to take care of running backups. Did you consider hosting it in the cloud so you won't need to worry about this?

Umm... I don't know what you mean by this. I'm already looking at dedicated hosting.

Quote from: tzachs on Thu 26/07/2018 15:32:29
Also, a free and open source alternative to Chevereto that you might want to check out: Pictshare.

Chevereto is also free (as in beer) and open source. Their commercial offering includes support and more frequent updates.

--

Regarding alternative domains, I appreciate the offers. I'm going to go with ags.pics anyway. One of my goals is to have short URLs for images. Admittedly, we could go with something like "i.agser.me/abcdef.png", but "ags.pics/abcdef.png" is just so much clearer and two characters shorter.

The mains thing are, there's been no vehement opposition and I don't seem to be stepping on anyone's toes.

That 22 EUR price for ags.pics was either false or a pricing error. I've determined costs for the entire project and it looks like it'll come to about $250 AUD/year. I'm going to look into it further after work tonight.
#79
General Discussion / AGS Image Host?
Thu 26/07/2018 13:50:19
I'd like to improve the image hosting situation for myself and the AGS community. We have a variety of image hosts we use like Imgur and Photobucket, but anything free that's out there seems to come with a catch or annoying "features".

I currently use Imgur. I'm perhaps feeling a little more motivated because Imgur's drag and drop broke sometime last year for me and it doesn't look like they're planning to fix it. There's also the matter of Imgur's images being a bit too ephemeral for my liking. Imgur discards images that aren't accessed regularly and this breaks some older forum posts.

I've looked into the costs of running such a server and it doesn't seem all that prohibitive. I think I'd be willing to pay for this even if it were just for me.

I can purchase ags.pics for a nominal amount (22 EUR / year) via eurodns.com
There's a script called Chevereto that I could run on a dedicated host: https://chevereto.com/pricing
It doesn't seem all that expensive to purchase a licence either
Dedicated hosting ranges in price, starting at about ~$2/mo
I thought about running it from home, but I wouldn't have the bandwidth.

I don't want to donate time to this, just a little cash to set it up and hopefully have it run itself.

I was thinking of opening it up to AGS users on an invitation basis to begin with. At a later date, I might set up some sort of cookie-based authentication to allow signups for logged in members.
I would be fine with people using it for any purpose, not just AGS.

Would you use an image host like this if it existed?
#80
Hello,

Just visiting. I must say, this is a quaint little tow-- oh heavens! There's blood everywhere!
SMF spam blocked by CleanTalk