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.02 seconds.
Search: Posts Made By: Chompy
Forum: PlayerWorlds Main Forum 01-02-2015, 07:29 PM
Replies: 24
Views: 9,416
Posted By Chompy
Graal should move to a new platform and do some...

Graal should move to a new platform and do some changes internally engine-wise. Many good options out there.

New compiler would be nice, eh?
Forum: NPC Scripting 06-17-2014, 11:34 PM
Replies: 1
Views: 1,709
Posted By Chompy
Functions as parameters

Have you ever wondered if you could pass functions as parameters, and how that could help you sometimes? Well, I tried I guess.

What could you use functions as parameters for? You could pass on...
Forum: NPC Scripting 04-28-2014, 12:41 PM
Replies: 4
Views: 1,683
Posted By Chompy
Hey there! findimg() basically returns the...

Hey there!

findimg() basically returns the object of an image displayed at the given index, and there's really no limit to indices, besides the fact that from 0 to 200 will draw images relative to...
Forum: PlayerWorlds Main Forum 01-28-2014, 04:00 AM
Replies: 36
Views: 9,179
Posted By Chompy
hmm, fixed it

hmm, fixed it
Forum: PlayerWorlds Main Forum 01-27-2014, 01:18 PM
Replies: 36
Views: 9,179
Posted By Chompy
Really cool project you have going there, are you...

Really cool project you have going there, are you doing all the coding yourself?
Brings up some good memories like when I was working on Crystia years ago.

We made a fancy character creation...
Forum: NPC Scripting 01-27-2014, 01:14 PM
Replies: 5
Views: 1,774
Posted By Chompy
So, an inventory system like Diablo, Torchlight,...

So, an inventory system like Diablo, Torchlight, Neverwinter Nights, Path of Exile, etc? Items take up different spaces but basically as a different sized square?
Forum: Code Gallery 01-20-2014, 10:16 PM
Replies: 5
Views: 2,854
Posted By Chompy
Did something like this on the Testbed server...

Did something like this on the Testbed server back in 2009. This was due the to the fact scripters loved to upload staff tools and write their name with thousands of staff blocks. Best part? putnpcs...
Forum: NPC Scripting 01-15-2014, 12:48 AM
Replies: 10
Views: 2,851
Posted By Chompy
If you can pinpoint things directly, lets say...

If you can pinpoint things directly, lets say variable name being the same as the key order, why just not check if it exists?

Lets take a modular example, with great possibilities when it comes to...
Forum: NPC Scripting 01-14-2014, 10:21 AM
Replies: 10
Views: 2,851
Posted By Chompy
Your code could be optimized further though,...

Your code could be optimized further though, instead of having to do a loop at every keystroke the player does.

Also, there's no ending the loop if there's a match as far I as I see. Could have...
Forum: Playerworld Staff Openings 10-23-2013, 09:45 PM
Replies: 21
Views: 6,090
Posted By Chompy
Do I smell an update from Draenin coming, or?...

Do I smell an update from Draenin coming, or? :confused: :D
Forum: PlayerWorlds Main Forum 08-01-2013, 05:50 PM
Replies: 7
Views: 2,736
Posted By Chompy
Still need more spells? ^^

Still need more spells? ^^
Forum: NPC Scripting 08-01-2013, 11:35 AM
Replies: 19
Views: 2,696
Posted By Chompy
http://forums.graalonline.com/forums/showthread.ph...

http://forums.graalonline.com/forums/showthread.php?t=134268469
Forum: NPC Scripting 07-28-2013, 11:07 PM
Replies: 19
Views: 2,696
Posted By Chompy
use for(temp.i :...

use


for(temp.i : getstringkeys("clientr.mud_")){
clientr.(@ "mud_" @ temp.i) = "";
}


Or just use makevar()
Forum: NPC Scripting 07-26-2013, 04:27 PM
Replies: 4
Views: 1,531
Posted By Chompy
A great hash function to generate passwords with...

A great hash function to generate passwords with I made a while ago!


function onCreated() {
this.hashtable = "aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWyYzZ132465798";
this.symbols =...
Forum: PlayerWorlds Main Forum 06-28-2013, 11:23 PM
Replies: 130
Views: 20,096
Posted By Chompy
i still like this.[/QUOTE] I do have a full...

i still like this.[/QUOTE]

I do have a full backup of the server from that screenshot, fully functional.
Forum: PlayerWorlds Main Forum 06-28-2013, 11:20 PM
Replies: 10
Views: 1,516
Posted By Chompy
If Stefan doesn't have a backup of Testbed, I do...

If Stefan doesn't have a backup of Testbed, I do have an old full server copy of testbed. He should have one though..
Forum: NPC Scripting 06-27-2013, 10:16 PM
Replies: 17
Views: 2,686
Posted By Chompy
The problem is the use of addtiledef2() which...

The problem is the use of addtiledef2() which means you can basically use several different tilesets in one level.
Forum: NPC Scripting 06-27-2013, 10:15 PM
Replies: 1
Views: 960
Posted By Chompy
BUMP! Also add a way to edit your own first...

BUMP!

Also add a way to edit your own first post in a thread, especially for the code gallery.

And add spoiler tags. Would encourage posting in the code gallery for sure, as it would make it...
Forum: NPC Scripting 06-27-2013, 10:13 PM
Replies: 17
Views: 2,686
Posted By Chompy
I believe that function simply returns the type...

I believe that function simply returns the type of the tile at the given x and y in a level, for example if the tile is blocking, non-blocking etc
Forum: NPC Scripting 06-27-2013, 10:11 PM
Replies: 17
Views: 2,686
Posted By Chompy
You're better off having one system which handles...

You're better off having one system which handles all setting of tiledefs on the server, and simply track which tiledef you set in a variable when the system changes tiledefs.

EDIT: There is no...
Forum: NPC Scripting 06-26-2013, 04:46 PM
Replies: 36
Views: 10,868
Posted By Chompy
Here's a little tip for understanding the options...

Here's a little tip for understanding the options part of move(), showstats(), enablefeatures() etc and how it works:

If these functions are known to you, you might have noticed the build up of...
Forum: NPC Scripting 06-26-2013, 04:11 PM
Replies: 5
Views: 1,340
Posted By Chompy
Just a small addition to what callimuc posted,...

Just a small addition to what callimuc posted, you do not need to check if something equals to true or false, as the if statement will go through if the value given equals true or false itself.
...
Forum: Announcements 06-16-2013, 03:29 PM
Replies: 29
Views: 22,813
Posted By Chompy
I think posting the script could help with...

I think posting the script could help with debugging it and to find a solution :)
Forum: Announcements 06-16-2013, 02:19 PM
Replies: 29
Views: 22,813
Posted By Chompy
//#CLIENTSIDE function onCreated() { ...

//#CLIENTSIDE
function onCreated() {
this.speed = 1;
}

function onTimeout() {
player.x += (keydown(3)-keydown(1))*this.speed;
player.y += (keydown(2)-keydown(0))*this.speed;
...
Forum: NPC Scripting 06-16-2013, 01:57 PM
Replies: 11
Views: 3,185
Posted By Chompy
Firstly, I'm not sure why you have the 4 ending...

Firstly, I'm not sure why you have the 4 ending brackets at the end of your script, when you only have one opening bracket.

And here's a tip, when you're scripting, make sure your starting...
Showing results 1 to 25 of 500

 
Forum Jump

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


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