Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-07-2003, 12:42 AM
Ethic_Sern Ethic_Sern is offline
Banned
Join Date: Aug 2002
Location: NewYork,NY
Posts: 97
Ethic_Sern is on a distinguished road
Send a message via AIM to Ethic_Sern
Exclamation Bad Commands

Stefan:
there are ton of commands that still dont work... commands such as setsword something as simple as that... a command most RP servers use doesnt work clientside or serverside please fix.
Reply With Quote
  #2  
Old 01-07-2003, 01:02 AM
draygin draygin is offline
Telmont Bandit
draygin's Avatar
Join Date: Feb 2002
Location: Ohio
Posts: 2,550
draygin is on a distinguished road
Re: Bad Commands

Quote:
Originally posted by Ethic_Sern
Stefan:
there are ton of commands that still dont work... commands such as setsword something as simple as that... a command most RP servers use doesnt work clientside or serverside please fix.
setsword has always worked for me. Are you sure you're using it correctly?
__________________

I stole Spanky's gold!
Reply With Quote
  #3  
Old 01-07-2003, 01:19 AM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
Re: Bad Commands

Quote:
Originally posted by Ethic_Sern
Stefan:
there are ton of commands that still dont work... commands such as setsword something as simple as that... a command most RP servers use doesnt work clientside or serverside please fix.
Why did you not post this in the NPC Scripting forum or the bugs forum?
__________________
new account: Trevor
Reply With Quote
  #4  
Old 01-07-2003, 01:51 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Re: Re: Bad Commands

Quote:
Originally posted by draygin
setsword has always worked for me. Are you sure you're using it correctly?
He is talking about the script command, not the chat command.

And, I suggest, you just rescript it, lazy person
Reply With Quote
  #5  
Old 01-07-2003, 07:05 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Re: Re: Bad Commands

Quote:
Originally posted by Loriel

He is talking about the script command, not the chat command.

And, I suggest, you just rescript it, lazy person
i agree 100% if not more
Reply With Quote
  #6  
Old 01-07-2003, 07:42 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Re: Re: Re: Re: Bad Commands

Quote:
Originally posted by Kill3r


How can you agree more than 100% if you're only one person posting on that account?
...it's an expression
*feels his IQ lowering after seeing the above post*
*sighs*
Reply With Quote
  #7  
Old 01-07-2003, 07:45 AM
draygin draygin is offline
Telmont Bandit
draygin's Avatar
Join Date: Feb 2002
Location: Ohio
Posts: 2,550
draygin is on a distinguished road
Re: Re: Re: Bad Commands

Quote:
Originally posted by Loriel

He is talking about the script command, not the chat command.

And, I suggest, you just rescript it, lazy person
wait you're right. I was thinking of something like if player #c or something another then the words setsword not the same thing though as the actual command setsword. But its been about 2 years since I had made a script using that. :P
__________________

I stole Spanky's gold!
Reply With Quote
  #8  
Old 01-07-2003, 07:47 AM
Ghost Pirate Ghost Pirate is offline
Prepare to be monopolized
Ghost Pirate's Avatar
Join Date: Jan 2002
Location: 7th Underworld
Posts: 2,456
Ghost Pirate is on a distinguished road
Re: Re: Re: Re: Re: Bad Commands

Quote:
Originally posted by Kill3r


How can you agree more than 100% if you're only one person posting on that account?
How can you not agree more than 100%?

I mean I agree 3048%.
__________________
Are you a member of the Idiotism Party?

Help fight the war on idiotism! Make your own War with IDIOTISM signature and spread the word.
Reply With Quote
  #9  
Old 01-07-2003, 03:28 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Hey mod people, would it be okay to post a rescripted sword here?
Reply With Quote
  #10  
Old 01-07-2003, 05:00 PM
Jeff Jeff is offline
Registered User
Join Date: Oct 2002
Location: Nebraska, USA
Posts: 707
Jeff is on a distinguished road
Hint to the poor soul who started this:


Use setplayerprop.
__________________
Jeff, the Archduke of Dustari
Member of the LAT on Graal The Adventure
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GO d+ s++:+ !a C++ UL+(UL+++)@ P+ L+(++)>+++ E---- W++@ N- !o ?K w(w--) !O !M@ !V PS- PE+ Y PGP t+ 5 X R tv(tv+) b++(b+)>b++++ DI(DI+) D-- G e->e++++ h! !r y
------END GEEK CODE BLOCK------
Reply With Quote
  #11  
Old 01-07-2003, 05:17 PM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Re: Re: Re: Re: Re: Bad Commands

Quote:
Originally posted by Kill3r


How can you agree more than 100% if you're only one person posting on that account?
Well (speaking of IQs), Killer, if your IQ had been positive instead of negative, you might have understood that as Jagen said, it's an expression.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #12  
Old 01-08-2003, 12:43 AM
Ethic_Sern Ethic_Sern is offline
Banned
Join Date: Aug 2002
Location: NewYork,NY
Posts: 97
Ethic_Sern is on a distinguished road
Send a message via AIM to Ethic_Sern
and not for the swordimg..... for the sword power!
Reply With Quote
  #13  
Old 01-08-2003, 01:12 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
setplayerprop #1,swordimage;
__________________

subliminal message: 1+1=3
Reply With Quote
  #14  
Old 01-08-2003, 01:42 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
And if you want to get really fancy and change the swordpower, you can use the playerswordpower variable.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #15  
Old 01-08-2003, 01:46 AM
Ethic_Sern Ethic_Sern is offline
Banned
Join Date: Aug 2002
Location: NewYork,NY
Posts: 97
Ethic_Sern is on a distinguished road
Send a message via AIM to Ethic_Sern
i did rescript it see
//#CLIENTSIDE
if (created||initialized){
timeout=0.05;
setstring clientr.swordimg,#1();
setstring client.swordpower,#v(playerswordpower);
}
if (keypressed) {
if (strequals(#p(1),1)) {
triggeraction playerx+1.5+vecx(playerdir)*2,playery+2+vecy(playe rdir)*2,swordhit,#a;
freezeplayer 0.25;
setani sword2,clientr.swordimg;
}
timeout=0.1;
}

if (actionswordhit) {
if (!strequals(#m,dead)){
freezeplayer .3;
setani hurt,;
hearts=strtofloat(#I(client.hp,0))-strtofloat(#s(client.swordpower));
replacestring client.hp,0,#v(hearts);
}
}
OR i have this one
//#CLIENTSIDE
if(created){
this.firing=0;
}
if (keydown2(keycode(g),true)){
this.firing=1;
this.p = players[0].swordpower;
this.q = this.p;
play sword.wav;
for (this.i=9;this.i<14; this.i++){
freezeplayer 1;
players[0].sprite=this.i;
testhurt();
sleep .05;
}
freezeplayer 0;
this.firing=0;
}
function testhurt()
for (this.a=1;this.a<playerscount;this.a++)
{if (abs(players[0].x-players[this.a].x)<3 && abs(players[0].y-players[this.a].y)<3)
hitplayer this.a,this.q,players[this.a].x,players[this.a].y;}
for (this.b=0;this.b<compuscount;this.b++)
{if (abs(compus[0].x-compus[this.b].x)<3 && abs(compus[0].y-compus[this.b].y)<3)
hitcompu this.b,this.q,compus[this.b].x,compus[this.b].y;}
return;

all iam saing is that if he going to make commands they should work
Reply With Quote
Reply


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 02:57 PM.


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