Graal Forums  

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

Showing results 1 to 21 of 21
Search took 0.01 seconds.
Search: Posts Made By: Restraint
Forum: Bug Report 03-08-2015, 08:54 PM
Replies: 8
Views: 6,198
Posted By Restraint
It is indeed related to the mainfiles/ directory....

It is indeed related to the mainfiles/ directory.

/finddef *Sans* yields:

Default game files found (relative to levels/, max 50 files):
mainfiles/fonts/DroidSansArabic.ttf: downloadable, 35880...
Forum: NPC Scripting 02-27-2015, 04:22 AM
Replies: 20
Views: 3,178
Posted By Restraint
On UN it's also an X/Y box around the warp-in...

On UN it's also an X/Y box around the warp-in zone.

You want it to fade in when they enter the space and then fade out on its own, and then not re-fade in until they've EXITED the space and...
Forum: NPC Scripting 02-27-2015, 03:57 AM
Replies: 20
Views: 3,178
Posted By Restraint
Also 100% certain. I've done it before on UN way...

Also 100% certain. I've done it before on UN way back in GS1 and the script is still around to this date.

Enter a city on UN for the first time and you'll see a message the top, "Welcome to...
Forum: NPC Scripting 02-26-2015, 03:36 PM
Replies: 20
Views: 3,178
Posted By Restraint
Off the top of my head: You didn't do...

Off the top of my head:

You didn't do anything to "fade" it in and "fade" it out as you suggested. The way to do that would be:

>Create the text onCreated, set its alpha to 0 default. Assign it...
Forum: NPC Scripting 02-26-2015, 03:20 PM
Replies: 18
Views: 2,921
Posted By Restraint
Using text files OR SQL should both work fine,...

Using text files OR SQL should both work fine, and I also agree with MD regarding usage of clientr. flags so that the SQL or DB don't need to be parsed as frequently.

Using an SQL library you'd...
Forum: Future Improvements 08-28-2014, 10:14 PM
Replies: 6
Views: 3,141
Posted By Restraint
I was mainly replying to others in the thread who...

I was mainly replying to others in the thread who were discussing it. I generally assume you know these things by now!

Also, for others in the thread: I remembered on a whim this morning in bed...
Forum: Future Improvements 08-28-2014, 01:32 AM
Replies: 6
Views: 3,141
Posted By Restraint
It's possible already, but a pain in the ass. On...

It's possible already, but a pain in the ass. On UN, I made it so players get clientr.ip set to their IP when they log on.

How do you retrieve their IP?

First, you have to give your NPC server:...
Forum: Bug Report 08-23-2014, 08:46 PM
Replies: 19
Views: 10,040
Posted By Restraint
I know something about the subject. I can't say...

I know something about the subject. I can't say much, but what I can say is that there are still people to fix bugs that are reported.



Sorry, then. I'd love to help you figure out what the...
Forum: Announcements 08-23-2014, 08:32 PM
Replies: 28
Views: 14,558
Posted By Restraint
My apologies. I have run into this question so...

My apologies. I have run into this question so many times I had assumed it was this (relatively common) Graal bug and not something new and more sinister.

How can you tell if the problem is with...
Forum: Bug Report 08-23-2014, 08:18 PM
Replies: 19
Views: 10,040
Posted By Restraint
I have run into an issue in the past with the...

I have run into an issue in the past with the Graal serverside where "&=" is what was failing to register properly, but even then it wasn't giving me '2' as in your case it was just giving me nulls...
Forum: Graal Main Forum (English) 08-23-2014, 06:47 PM
Replies: 51
Views: 33,527
Posted By Restraint
Seems to be the case in a lot of ways.

Seems to be the case in a lot of ways.
Forum: New Scripting Engine (GS2) 08-22-2014, 09:44 PM
Replies: 209
Sticky: Scripted RC
Views: 75,033
Posted By Restraint
If the client RC were to be updated, it should be...

If the client RC were to be updated, it should be updated with real tool additions: An SQL browser, an online level editor that looks and feels like the offline one, a debugger, etc.

Current...
Forum: NPC Scripting 08-22-2014, 06:03 PM
Replies: 5
Views: 865
Posted By Restraint
Ah okay. Didn't understand what you were trying...

Ah okay. Didn't understand what you were trying to do.

So you want to always preserve the player's guild through nickname changes unless they set a new guild?

Then your function looks correct,...
Forum: NPC Scripting 08-22-2014, 05:56 PM
Replies: 19
Views: 1,572
Posted By Restraint
It isn't an issue of not using onInitialized. I...

It isn't an issue of not using onInitialized. I am talking about TStaticVars going AWOL hours after their creation without an NPC server shutdown or downtime in between.

In addition, yes, both of...
Forum: Announcements 08-22-2014, 01:25 AM
Replies: 28
Views: 14,558
Posted By Restraint
I reported this a long time ago, when I ran into...

I reported this a long time ago, when I ran into this situation with an account of mine ("100Zero100") getting passed server-to-client seemingly as "100"

The problem involves datatyping.
...
Forum: NPC Scripting 08-22-2014, 01:21 AM
Replies: 19
Views: 1,572
Posted By Restraint
In theory, you are correct. It *should* never be...

In theory, you are correct. It *should* never be garbage collected. However, it often is.

I ran into this problem thrice: once for a jailing/punishments system, once for a Graphics Viewer system,...
Forum: NPC Scripting 08-21-2014, 10:44 PM
Replies: 19
Views: 1,572
Posted By Restraint
This is a terribly ugly way of doing it, as you...

This is a terribly ugly way of doing it, as you need to do (" " @ ) every time.

You can do what you're saying via:

this.options.(@player.account)

The advantages of a TStaticVar instead of...
Forum: NPC Scripting 08-21-2014, 04:21 AM
Replies: 7
Views: 737
Posted By Restraint
You could do the same by simply looping through...

You could do the same by simply looping through players on the clientside, instead of allplayers.

And, just a heads-up, you CAN alter player killing back and forth.

this.level.nopkzone =...
Forum: NPC Scripting 08-21-2014, 03:45 AM
Replies: 5
Views: 865
Posted By Restraint
Did you try something like... function...

Did you try something like...


function onPlayerLogout(pl) {
pl.clientr.lastGuild = pl.guild;
}


combined with:
Forum: NPC Scripting 08-21-2014, 03:41 AM
Replies: 5
Views: 620
Posted By Restraint
There is a way to do this: ...

There is a way to do this:


extractFilePath(filename)


For the other thing you wanted: a list of all directories to test, there's a way to do that as well!

You use loadFolder(folder, bool)...
Forum: NPC Scripting 08-21-2014, 03:33 AM
Replies: 19
Views: 1,572
Posted By Restraint
Have you considered simply using TStaticVars? It...

Have you considered simply using TStaticVars? It will likely simplify what you're trying to do.

You create a TStaticVar as follows:


temp.opt = this.options = new TStaticVar();

Then you...
Showing results 1 to 21 of 21

 
Forum Jump

All times are GMT +2. The time now is 09:42 PM.


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