Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-08-2001, 05:06 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
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----------------------------
  #2  
Old 07-08-2001, 08:11 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool 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?
__________________
Thanks,
-KJL
  #3  
Old 07-09-2001, 12:36 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
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...)
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
  #4  
Old 07-09-2001, 01:20 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool well

you forgot a few...

like the ones to add guilds and delete guilds and stuff
__________________
Thanks,
-KJL
  #5  
Old 07-09-2001, 01:43 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Oh yeah. addguildmember and stuff. But, the new 2.04 features work in offline mode.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
  #6  
Old 07-09-2001, 12:57 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
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

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 but are only allowed to be used on p2p servers...if they are used on a free server, they will be removed
__________________
  #7  
Old 07-09-2001, 02:02 PM
Guest
Posts: n/a
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;


  #8  
Old 07-09-2001, 03:02 PM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
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!
  #9  
Old 07-10-2001, 12:48 AM
Brady2 Brady2 is offline
Registered User
Brady2's Avatar
Join Date: Mar 2001
Location: Phoenix, AZ and Wichita Falls, TX
Posts: 924
Brady2 is on a distinguished road
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.
Attached Files
File Type: txt npcserver.txt (12.2 KB, 69 views)
  #10  
Old 07-10-2001, 01:04 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
bah, that's the text file I'm talkin' about >.<
oh well...
  #11  
Old 07-10-2001, 03:12 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool 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.
__________________
Thanks,
-KJL
  #12  
Old 07-10-2001, 08:33 AM
Jerom Jerom is offline
Banned
Jerom's Avatar
Join Date: Mar 2001
Location: In a Trash Can
Posts: 3,708
Jerom is on a distinguished road
Send a message via AIM to Jerom
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.

Last edited by Jerom; 07-10-2001 at 08:36 AM..
  #13  
Old 07-10-2001, 09:14 AM
Guest
Posts: n/a
O shut your wining.... I tried helping and all you do is wine!
  #14  
Old 07-10-2001, 09:54 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
About a month or 2 ago, someone did post the npcserver.txt file....
__________________
  #15  
Old 07-10-2001, 11:55 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
*cough*Ice Pick did*cough*
  #16  
Old 07-10-2001, 03:55 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
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
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
  #17  
Old 07-10-2001, 07:00 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Unhappy

So I have the file, I have the Admin job, but no NPC Server. =(
  #18  
Old 07-10-2001, 11:14 PM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Quote:
Originally posted by kyle0654
C) SHORTEN THE SIG! [/B]
YEAH! And Ice Pick cant help it if he is 99% dumb 1% ***
  #19  
Old 07-11-2001, 03:46 AM
Brady2 Brady2 is offline
Registered User
Brady2's Avatar
Join Date: Mar 2001
Location: Phoenix, AZ and Wichita Falls, TX
Posts: 924
Brady2 is on a distinguished road
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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:40 PM.


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