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.28 seconds.
Search: Posts Made By: DustyPorViva
Forum: Playerworld Staff Openings 03-05-2018, 10:10 PM
Replies: 11
Views: 2,317
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, 05:36 PM
Replies: 12
Views: 1,551
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, 09:43 PM
Replies: 12
Views: 1,551
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-06-2017, 12:39 AM
Replies: 4
Views: 1,049
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, 08:35 PM
Replies: 2
Views: 763
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, 01:51 AM
Replies: 21
Views: 5,643
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, 03:52 AM
Replies: 21
Views: 5,643
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) 08-01-2017, 12:19 AM
Replies: 21
Views: 5,643
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: 1,820
Posted By DustyPorViva
Yup...

Yup...
Forum: Code Gallery 02-24-2017, 02:59 AM
Replies: 6
Views: 1,820
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: 4,870
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: 8,617
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, 08:51 PM
Replies: 19
Views: 2,901
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, 09:49 AM
Replies: 11
Views: 2,022
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, 12:20 PM
Replies: 11
Views: 2,022
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, 05:44 PM
Replies: 7
Views: 1,955
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, 11:10 AM
Replies: 7
Views: 1,955
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, 06:31 PM
Replies: 3
Views: 2,052
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, 06:46 PM
Replies: 142
Views: 93,481
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, 01:03 PM
Replies: 71
So?
Views: 14,738
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, 12:31 PM
Replies: 71
So?
Views: 14,738
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: 1,330
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, 09:24 PM
Replies: 0
Views: 2,589
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, 06:58 PM
Replies: 131
Sticky: New Scripted RC
Views: 83,813
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, 06:10 PM
Replies: 131
Sticky: New Scripted RC
Views: 83,813
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 03:22 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.