Graal Forums  

Go Back   Graal Forums > Search Forums
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: DustyPorViva
Forum: Playerworld Staff Openings 03-05-2018, 10:10 PM
Replies: 11
Views: 4,039
Posted By DustyPorViva
Looks a lot funner than Bomy Island. Good luck.

Looks a lot funner than Bomy Island. Good luck.
Forum: NPC Scripting 09-13-2017, 04:36 PM
Replies: 12
Views: 3,081
Posted By DustyPorViva
Make sure onPlayerLeaves() {} is being used...

Make sure onPlayerLeaves() {} is being used serverside, not clientside.

As for the issue you're encountering with the list selection... sometimes Graal is gonna be Graal. You can try using...
Forum: NPC Scripting 09-12-2017, 08:43 PM
Replies: 12
Views: 3,081
Posted By DustyPorViva
You can use findobject("objectname") to check if...

You can use findobject("objectname") to check if an object exists before destroying it.

For clearing out GUIs when you leave a level(assuming you are creating the GUI's in a level script) you can...
Forum: NPC Scripting 09-05-2017, 11:39 PM
Replies: 4
Views: 1,910
Posted By DustyPorViva
You should use this.level.name instead of...

You should use this.level.name instead of this.level. While this.level will work, it's actually giving the level object and not a string name of the level. But because of how typecasting in Graal...
Forum: NPC Scripting 09-04-2017, 07:35 PM
Replies: 2
Views: 1,567
Posted By DustyPorViva
If it's visible on the client than it can be...

If it's visible on the client than it can be edited in a memory editor.

The security Graal employs simply means secured variables are updated when changed on the server. You can still edit...
Forum: Old Scripting Engine (GS1) 08-02-2017, 12:51 AM
Replies: 21
Views: 19,614
Posted By DustyPorViva
Mostly picked it up from using it on gmaps, since...

Mostly picked it up from using it on gmaps, since I can throw it in a class and put it in levels on an overworld, snap it with x = int(this.x/64)*64; and it will still warp players out of specific...
Forum: Old Scripting Engine (GS1) 08-01-2017, 02:52 AM
Replies: 21
Views: 19,614
Posted By DustyPorViva
onPlayerEnters() works the same both serverside...

onPlayerEnters() works the same both serverside and clientside I'm pretty sure, though it's finicky when you're dealing with gmaps.

What I mean about letting the server do the heavy lifting is...
Forum: Old Scripting Engine (GS1) 07-31-2017, 11:19 PM
Replies: 21
Views: 19,614
Posted By DustyPorViva
In GS2 the most efficient way to warp players out...

In GS2 the most efficient way to warp players out of a level is to have a serverside NPC with a setshape that extends to the whole level, like so:


function onCreated() {
// Set the NPCs shape...
Forum: Code Gallery 03-01-2017, 01:56 AM
Replies: 6
Views: 2,809
Posted By DustyPorViva
Yup...

Yup...
Forum: Code Gallery 02-24-2017, 02:59 AM
Replies: 6
Views: 2,809
Posted By DustyPorViva
Setshape2 Assistance Tool

Always get annoyed when it's time to set a shape for an npc and I have to go through the process of laying out the tiletypes in an array and then testing -> modifying it until the shape actually...
Forum: Bug Report 12-20-2016, 08:26 PM
Replies: 12
Views: 10,521
Posted By DustyPorViva
Loading more levels than that is illogical,...

Loading more levels than that is illogical, better to enforce some sort of proper scaling.
Forum: Code Gallery 11-27-2016, 01:32 AM
Replies: 27
Views: 12,614
Posted By DustyPorViva
DrawingPanels are indeed a buffer so no you don't...

DrawingPanels are indeed a buffer so no you don't need to clear it before drawing more. Also even if Graal ran at 60fps I doubt you'd be able to achieve that with custom render engines like this......
Forum: Bomy Island Main Forum 10-11-2016, 07:51 PM
Replies: 19
Views: 4,055
Posted By DustyPorViva
You forgot when I stated that I knew it wasn't...

You forgot when I stated that I knew it wasn't logical, but that it has a more rewarding feeling. I'd rather hit a rock 5 times and get 1 gralat than hit a rock 100 times and get 20 gralats. It's...
Forum: NPC Scripting 08-29-2016, 08:49 AM
Replies: 11
Views: 3,031
Posted By DustyPorViva
No it doesn't matter, tiles just can't be on...

No it doesn't matter, tiles just can't be on layer 0 if you want proper transparency.
Forum: NPC Scripting 08-28-2016, 11:20 AM
Replies: 11
Views: 3,031
Posted By DustyPorViva
You will need to make sure your tiles are on...

You will need to make sure your tiles are on layer 1 instead of layer 0 for this to work, which is the more annoying part of this.
Forum: NPC Scripting 07-03-2016, 04:44 PM
Replies: 7
Views: 3,134
Posted By DustyPorViva
If it's possible, try a timeout instead of a...

If it's possible, try a timeout instead of a scheduleevent.
Forum: NPC Scripting 07-01-2016, 10:10 AM
Replies: 7
Views: 3,134
Posted By DustyPorViva
You can indeed raise the maxlooplimit on...

You can indeed raise the maxlooplimit on serverside and clientside.

However, it won't take effect until the next tick, so if you intend to do something that's loop-intensive onCreated() you're...
Forum: Code Gallery 06-20-2016, 05:31 PM
Replies: 3
Views: 2,700
Posted By DustyPorViva
Gmap boundary visualization

Recently I was dealing with NPCs that relied on boundaries of their local level instead of the gmap and needed to know precisely where the boundaries of these levels were in relation to the gmap. So...
Forum: Announcements 04-26-2016, 05:46 PM
Replies: 142
Views: 143,109
Posted By DustyPorViva
If you apply a script and the npc-server is down...

If you apply a script and the npc-server is down it simply closes the script window with no prompt or warning. I was working on a script and didn't realize the npc-server had crashed and lost all...
Forum: Bomy Island Main Forum 04-26-2016, 12:03 PM
Replies: 71
So?
Views: 18,800
Posted By DustyPorViva
So like... a handful of people? Woo... that...

So like... a handful of people? Woo... that justifies the work of all the effort that it would take to revive the server and make it playable!

Ya, shouldn't have to explain your point. How...
Forum: Bomy Island Main Forum 04-26-2016, 11:31 AM
Replies: 71
So?
Views: 18,800
Posted By DustyPorViva
Other than the thousands of daily players...

Other than the thousands of daily players contrast to the handful on PC? Nah... no one wants that.


If only it were also available on Android and Flash as well...


How selfish of you. You...
Forum: NPC Scripting 11-16-2015, 11:45 AM
Replies: 1
Views: 2,035
Posted By DustyPorViva
Modifying existing particles with particle properties

Is there any way to modify particles based on the properties of the particles themselves? What I'm trying to do is modify a particles x/y movement dependent on its height. I want the particles to...
Forum: Code Gallery 08-26-2015, 08:24 PM
Replies: 0
Views: 3,211
Posted By DustyPorViva
GuiPopUpMenuCtrl user input scanning

Just thought I'd share this since it's the only decent place to share GS2 code and I think it's something popup menus should support by default. Basically it lets you scan through popup menus via key...
Forum: Announcements 09-23-2014, 05:58 PM
Replies: 131
Sticky: New Scripted RC
Views: 126,631
Posted By DustyPorViva
Also, multi-tasking with scripted RC is near...

Also, multi-tasking with scripted RC is near impossible. I usually have 8+ scripts open at any given time... has anyone tried to do that with scripted RC? Because of the way they're made you can't...
Forum: Announcements 09-23-2014, 05:10 PM
Replies: 131
Sticky: New Scripted RC
Views: 126,631
Posted By DustyPorViva
That is a horrible, horrible justification.

That is a horrible, horrible justification.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT +2. The time now is 05:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.