Graal Forums  

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

Showing results 126 to 150 of 151
Search took 0.00 seconds; generated 61 minute(s) ago.
Search: Posts Made By: Stryke
Forum: New Scripting Engine (GS2) 05-11-2008, 04:57 PM
Replies: 18
Views: 3,227
Posted By Stryke
Thanks how about my other question: Also is it...

Thanks how about my other question:
Also is it possible to put a function in a for statement because I don't want to make 20 function InvItem_x.onMouseDown's.

I don't really understand how the...
Forum: New Scripting Engine (GS2) 05-11-2008, 04:22 PM
Replies: 18
Views: 3,227
Posted By Stryke
By equip i mean selectedweapon = index of weapon...

By equip i mean selectedweapon = index of weapon i want equipped.
Forum: New Scripting Engine (GS2) 05-11-2008, 03:14 PM
Replies: 18
Views: 3,227
Posted By Stryke
function InvItem_0.onMouseDown() { ...

function InvItem_0.onMouseDown() {
for(temp.i=0;temp.i<player.weapons.size();temp.i++;)
{
if(player.weapons[temp.i].name == InvItem_0)
{
temp.var == temp.i;
break;
...
Forum: New Scripting Engine (GS2) 05-11-2008, 05:44 AM
Replies: 18
Views: 3,227
Posted By Stryke
Is there a way to make the Hint overlap the...

Is there a way to make the Hint overlap the mouse..?

and why doesnt this work?

function InvItem_0.onMouseDragged() {
InvItem_0.x = mousex;
InvItem_0.y = mousey;
}
Forum: New Scripting Engine (GS2) 05-11-2008, 05:33 AM
Replies: 18
Views: 3,227
Posted By Stryke
//#CLIENTSIDE function onCreated(){...

//#CLIENTSIDE
function onCreated(){ setTimer(0.05); disableselectweapons(); }

function onKeyPressed( code, key )
{
if (key == "q")
{
client.qo = 1 - client.qo;
}
}
Forum: New Scripting Engine (GS2) 05-11-2008, 05:10 AM
Replies: 18
Views: 3,227
Posted By Stryke
Can you show me an example I have never used it...

Can you show me an example I have never used it before. =/
Forum: New Scripting Engine (GS2) 05-11-2008, 04:58 AM
Replies: 18
Views: 3,227
Posted By Stryke
Problem with Custom Inventory

//#CLIENTSIDE
function onCreated(){ setTimer(0.05); disableselectweapons(); }

function onKeyPressed( code, key )
{
if (key == "q")
{
client.qo = 1 - client.qo;
}
}
Forum: New Scripting Engine (GS2) 05-09-2008, 05:55 AM
Replies: 19
Views: 2,838
Posted By Stryke
Yes, I've done that as an alternative. Thanks for...

Yes, I've done that as an alternative. Thanks for all the help, I appreciate it. :)
Forum: New Scripting Engine (GS2) 05-09-2008, 04:22 AM
Replies: 19
Views: 2,838
Posted By Stryke
So in other words, it's impossible to read/change...

So in other words, it's impossible to read/change the client variables of a player that is offline?
Forum: New Scripting Engine (GS2) 05-09-2008, 04:08 AM
Replies: 19
Views: 2,838
Posted By Stryke
Thanks. But findplayer only works when they're...

Thanks. But findplayer only works when they're online..
Forum: New Scripting Engine (GS2) 05-09-2008, 03:51 AM
Replies: 19
Views: 2,838
Posted By Stryke
params[3].client.guildrank = temp.tokens[0]; ...

params[3].client.guildrank = temp.tokens[0];
params[3].saveVars( "control/accounts/"@(params[3].substring(0,(params[3].length)+2))@"/" @ params[3] @ ".txt", false );
It doesn't work when I'm...
Forum: New Scripting Engine (GS2) 05-09-2008, 03:37 AM
Replies: 19
Views: 2,838
Posted By Stryke
Well, it works now I fixed it. Here's if anyone...

Well, it works now I fixed it. Here's if anyone was wondering how I did it.

player.chat = "control/accounts/"@(player.account.substring(0,(player.account.length)+2))@"/" @ player.account @...
Forum: New Scripting Engine (GS2) 05-09-2008, 03:17 AM
Replies: 19
Views: 2,838
Posted By Stryke
Yeah I tested it with echo and it showed my...

Yeah I tested it with echo and it showed my account name

and npc server does have rights : rw control/*.txt
Forum: New Scripting Engine (GS2) 05-09-2008, 03:08 AM
Replies: 19
Views: 2,838
Posted By Stryke
params[3].loadVars( "control/players/" @...

params[3].loadVars( "control/players/" @ params[3] @ ".txt" );
params[3].client.guildrank = temp.tokens2[0];
params[3].saveVars( "control/players/" @ params[3] @ ".txt", false );
...
Forum: New Scripting Engine (GS2) 05-09-2008, 01:14 AM
Replies: 19
Views: 2,838
Posted By Stryke
kool thx

kool thx
Forum: New Scripting Engine (GS2) 05-09-2008, 12:54 AM
Replies: 19
Views: 2,838
Posted By Stryke
@cbkbud: How would you check if a player went...

@cbkbud: How would you check if a player went online/offline?

@Tigarius: Nothing really for future reference. I just made a stupid mistake I overlooked. The ones that others solved for me are...
Forum: New Scripting Engine (GS2) 05-09-2008, 12:01 AM
Replies: 19
Views: 2,838
Posted By Stryke
Player's Client Variable

Can a Player's client variable be accessed when they are offline?
They should be? Cause in RC you can /open accountname and see their attributes and even change them while they are offline.
Forum: New Scripting Engine (GS2) 05-06-2008, 03:22 AM
Replies: 19
Views: 3,044
Posted By Stryke
Nice. Thanks! One question: Is there a way...

Nice. Thanks!

One question: Is there a way to delete an array?
Forum: New Scripting Engine (GS2) 05-06-2008, 03:03 AM
Replies: 19
Views: 3,044
Posted By Stryke
You won't know the total list of guilds using...

You won't know the total list of guilds using that, and you can't add guilds.
Can someone answer my question?
Forum: New Scripting Engine (GS2) 05-06-2008, 02:15 AM
Replies: 19
Views: 3,044
Posted By Stryke
How do I set an array's name to...

How do I set an array's name to serverr.guilds_params[1] though?

params[1] is the Guild Name of the guild being added to the system.

something like this wont work ?...
Forum: New Scripting Engine (GS2) 05-05-2008, 04:47 AM
Replies: 19
Views: 3,044
Posted By Stryke
Thanks. Exactly what I need. Meh now I have to...

Thanks. Exactly what I need. Meh now I have to change my guild manager script to 2d guild_list arrays though.
Forum: New Scripting Engine (GS2) 05-05-2008, 03:50 AM
Replies: 19
Views: 3,044
Posted By Stryke
2-dimensional arrays? do they exist?

Because I'm trying to make a Guild system, and it supports up to 100 guilds.
I'm using the array for the list of guilds:

serverr.guild_list

But how would I store the information of the guilds...
Forum: New Scripting Engine (GS2) 05-05-2008, 02:20 AM
Replies: 3
Views: 1,165
Posted By Stryke
EDIT: Nevermind, thanks Tigairius....

EDIT: Nevermind, thanks Tigairius. array.remove("Text"); works very well.
I was just overcomplicating the script by trying to script a custom array.remove.
Forum: New Scripting Engine (GS2) 05-05-2008, 01:37 AM
Replies: 3
Views: 1,165
Posted By Stryke
Guild System help..

this.count = 0;
for(i=0;i<serverr.guild_total;i++;) {
if(i>(params[1]+this.count)) {
serverr.guild_list[i-1] = serverr.guild_list[i];
this.count += 1;
}
}

params[1] is...
Forum: New Scripting Engine (GS2) 05-01-2008, 03:42 AM
Replies: 6
Views: 1,322
Posted By Stryke
thanks for the script Skyld but it only shows...

thanks for the script Skyld but it only shows Stream - ?
Showing results 126 to 150 of 151

 
Forum Jump

All times are GMT +2. The time now is 08:02 PM.


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