Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   Commands (https://forums.graalonline.com/forums/showthread.php?t=6946)

fuzie 07-08-2001 05:06 PM

Commands
 
Is there a way people could find out the npc server commands prior to having a player world so they wouldn't have to spend so much time on construction? I never saw the one ice pick did so can someone retype it or email me it at [email protected]

----------------------------------------------thanx----------------------------

KJS 07-08-2001 08:11 PM

well see...
 
see it is just dumb to have the commands anyways for npc server...

because they only work if you put the script into the npc server....
so why do you need them until you get a npc server?

BocoC 07-09-2001 12:36 AM

Not exactly. The only commands that Graal won't accept from the npcserver are the 'with' commands. Like:

with (players[x]) { }
with (getplayer(account)) { }
with (npcs[x]) { }
with (getnpc(name)) { }

All the others like 'replaceani' and stuff work (but I havn't tried attachplayertoobj yet...)

KJS 07-09-2001 01:20 AM

well
 
you forgot a few...

like the ones to add guilds and delete guilds and stuff

BocoC 07-09-2001 01:43 AM

Oh yeah. addguildmember and stuff. But, the new 2.04 features work in offline mode.

G_yoshi 07-09-2001 12:57 PM

Quote:

Originally posted by BocoC
Oh yeah. addguildmember and stuff. But, the new 2.04 features work in offline mode.
That is because they are supposed to :D

If they were mean't to work exlcusively on an NPCserver...then they would have been specified in newfeatures2001.txt that they only worked on an NPCserver...

Just because it says its reserved for upgraded servers does not mean that it needs an npc server. all the new commands introduced in 2.04 work anywhere :D but are only allowed to be used on p2p servers...if they are used on a free server, they will be removed :)

07-09-2001 02:02 PM

Hmm try theses


- destroy;
- if (condition) command(s);
- while (condition) command(s);
- for (command;condition;command) command(s);
- break;
- continue;
- sleep time;
- set flagname;
- unset flagname;
- setstring flagname,value;
- message messagetext;
- setgif/setimg filename;
- setgifpart/setimgpart filename,offsetx,offsety,width,height;
- setshape shapetype,width,height;
- drawoverplayer;
- drawunderplayer;
- dontblock;
- blockagain;
- show;
- hide;
- noplayeronwall;
- showcharacter;
- setcharprop messagecode,value;
- setcharani ganiname,parameter(s);
- setchargender male/female;
- putbomb power,x,y;
- putexplosion radius,x,y;
- putexplosion2 power,radius,x,y;
- setarray variablename,arraysize;
- canwarp;
- canwarp2;
- cannotwarp;
- callnpc index,eventname;
- with (players[i]) command(s);
- with (getplayer(accountname)) command(s);
- with (npcs[i]) command(s);
- with (getnpcs(name)) command(s);
- join classname;
- warpto levelname,x,y;
- tokenize str;
- tokenize2 delimiters,str;

- setplayerprop messagecode,value;
- setani ganiname,parameter(s);
- setgender male/female;
- say signindex;
- enableweapons;
- disableweapons;
- toweapons weaponname;
- addweapon weaponname;
- removeweapon weaponname;
- setlevel2 levelname,x,y;
- freezeplayer2;
- unfreezeplayer;



kyle0654 07-09-2001 03:02 PM

Ice Pick, you must have NO respect for Stefan.
A) I doubt you know what half of those do or how to use them effectively.
B) That's directly from the npc server commands text file, which you shouldn't be posting.
C) SHORTEN THE SIG!

Brady2 07-10-2001 12:48 AM

1 Attachment(s)
Jadis:

Ice Pick, I am agreeing with Kyle to tell you to shorten your signature.

Here is a text file which someone gave me to learn server-side scripting.

kyle0654 07-10-2001 01:04 AM

bah, that's the text file I'm talkin' about >.<
oh well...

KJS 07-10-2001 03:12 AM

well...
 
people cant really do anything or make any server side scripts until they get the program for npc server and can connect to a server that has a npc server.

Jerom 07-10-2001 08:33 AM

Well IcePick certainly doesn't have any respect for Stefan since he just gave a bunch of commands which were included in a .txt which was NOT SUPPOSED TO BE GIVEN TO ANYONE BUT THE PERSON USING THE NPC SERVER NPC!!!
Then again...it can be used for learning, so I guess it's ok.
After all, we dont want new players to be asking us many questions requesting commands when yet infact they already exist.

07-10-2001 09:14 AM

O shut your wining.... I tried helping and all you do is wine!

G_yoshi 07-10-2001 09:54 AM

About a month or 2 ago, someone did post the npcserver.txt file....

kyle0654 07-10-2001 11:55 AM

*cough*Ice Pick did*cough*

entravial 07-10-2001 03:55 PM

i asked for it and he posted it but it got deleted, i didn't know you weren't allowed to have it though, i just needed it when i was working as bravo nat and nobody answered me when i asked for it

SaijinGohan 07-10-2001 07:00 PM

So I have the file, I have the Admin job, but no NPC Server. =(

Poogle 07-10-2001 11:14 PM

Quote:

Originally posted by kyle0654
C) SHORTEN THE SIG! [/B]
YEAH! And Ice Pick cant help it if he is 99% dumb 1% ***

Brady2 07-11-2001 03:46 AM

Jadis:

Well slap me because I did not know that. I cannot edit my message for some reason so any mod reading this delete my post on page 1. ^^ Yeah


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

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