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 07-29-2003, 01:54 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Triggeraction....

When i try to do a triggeraction from clientside to serverside on a normal npc, it works, but if i do it more, it wont work...

It only works once...

Anyone have an idea about what's wrong?
__________________
-Kjetil Valen
Reply With Quote
  #2  
Old 07-29-2003, 05:10 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Re: Triggeraction....

Quote:
Originally posted by VeX_RaT_Boy
When i try to do a triggeraction from clientside to serverside on a normal npc, it works, but if i do it more, it wont work...

It only works once...

Anyone have an idea about what's wrong?
Posting the bit of code wherein you use the triggeraction, as well as how the serverside action is handled, would be very beneficial. Otherwise, one can only guess what you are doing wrong.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #3  
Old 07-29-2003, 11:13 AM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
::fully agrees::
We're assuming this is a weapon right?
---Shifter
__________________
Who has time for life these days?
Reply With Quote
  #4  
Old 07-29-2003, 02:03 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Projectshifter
::fully agrees::
We're assuming this is a weapon right?
---Shifter
No weapon, just a normal NPC in a level.

NPC Code:

if (timeout) {
if (this.dir=0) y-=0.3;
if (this.dir=2) y+=0.3;
if (this.dir=1) x-=0.3;
if (this.dir=3) x+=0.3;
message #v(this.dir);

timeout=0.5;
}

if (actionmove) {
this.dir=strtofloat(#p(0));
timeout=1;
}
//#CLIENTSIDE
if (timeout) {
if (keydown(1)&&!this.dir=1) {triggeraction x,y,move,1;this.dir=1;}
if (keydown(3)&&!this.dir=3) {triggeraction x,y,move,3;this.dir=3;}
if (keydown(0)&&!this.dir=0) {triggeraction x,y,move,0;this.dir=0;}
if (keydown(2)&&!this.dir=2) {triggeraction x,y,move,2;this.dir=2;}
timeout=0.05;
}



This is NOT the whole script. Also, the player is attached to it.

EDIT: It wont triggeraction AFTER the first timeout=1; serverside. I have no idea why.
__________________
-Kjetil Valen

Last edited by VeX_RaT_Boy; 07-29-2003 at 02:35 PM..
Reply With Quote
  #5  
Old 07-29-2003, 04:46 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
NPC Code:

if(created||timeout){
if(this.dir=0&&y>0) y-=0.5;
if(this.dir=2&&x>0) y+=0.5;
if(this.dir=1&&x<64) x-=0.5;
if(this.dir=3&&y<64) x+=0.5;
message #v(this.dir);
timeout=0.5;
}

if(actionmove){
this.dir=strtofloat(#p(0));
timeout=0.5;
}

//#CLIENTSIDE
//Fixed by *osrs

if(created){
setimg block.png;
this.max=4;
timeout=0.05;
}

if(timeout||playerenters){
for(k=0;k<this.max;k++){
if(keydown(k)&&k!=this.m){
triggeraction x,y,move,#v(k);
this.m=strtofloat(#v(k));
}
}
timeout=0.05;
}



I think there is no need to trigger the npc every time when the position is changed,i tested the script online and worked fine.

PS:It's not the whole code,Kai
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #6  
Old 07-29-2003, 11:09 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by osrs

I think there is no need to trigger the npc every time when the position is changed,i tested the script online and worked fine.

PS:It's not the whole code,Kai
Ok, thank you that worked

[edit]
NPC Code:

if(this.dir=0&&y>0) move 0,-1,0.5,0;
if(this.dir=2&&x>0) move 0,+1,0.5,0;
if(this.dir=1&&x<64) move -1,0,0.5,0;
if(this.dir=3&&y<64) move +1,0,0.5,0;


I tested it with move... and its not working... why?
[/edit]


Also, I have another problem with triggeraction...

Its a weapon, triggering something clientside. I have a NPC on a level checking for it serverside if (action...), but it won't work! Strangly, it works clientside, but not serverside!
(Weapon Clientside to NPC Serverside)

Please respond if you know the problem.
__________________
-Kjetil Valen

Last edited by VeX_RaT_Boy; 07-29-2003 at 11:53 PM..
Reply With Quote
  #7  
Old 07-30-2003, 01:43 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by VeX_RaT_Boy


Ok, thank you that worked

[edit]
NPC Code:

if(this.dir=0&&y>0) move 0,-1,0.5,0;
if(this.dir=2&&x>0) move 0,+1,0.5,0;
if(this.dir=1&&x<64) move -1,0,0.5,0;
if(this.dir=3&&y<64) move +1,0,0.5,0;


I tested it with move... and its not working... why?
[/edit]


Also, I have another problem with triggeraction...

Its a weapon, triggering something clientside. I have a NPC on a level checking for it serverside if (action...), but it won't work! Strangly, it works clientside, but not serverside!
(Weapon Clientside to NPC Serverside)

Please respond if you know the problem.
About the triggeraction,read newfeatures,Stefan made a hammer script,that would be helpful.
About the move thing,i'm not sure,i rarely use move '
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #8  
Old 07-30-2003, 02:57 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
but the mining thing doesn't say how to use it from a clientside weapon to a serverside npc!
__________________
-Kjetil Valen
Reply With Quote
  #9  
Old 07-30-2003, 03:36 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
I think its not working because the local NPC moves every time,saving the npc position would work (I think x_o)
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #10  
Old 07-30-2003, 01:16 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Its not a local NPC, it's a normal NPC in a level. But if i do the if (action...) clientside, it works!

Help anyone? clientside weapon > triggeraction to a serverside npc.
__________________
-Kjetil Valen
Reply With Quote
  #11  
Old 07-30-2003, 04:52 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by VeX_RaT_Boy
Its not a local NPC, it's a normal NPC in a level. But if i do the if (action...) clientside, it works!

Help anyone? clientside weapon > triggeraction to a serverside npc.
Normal NPC in a level = local NPC,i believe o_x'
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #12  
Old 07-30-2003, 05:40 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by osrs


Normal NPC in a level = local NPC,i believe o_x'
I thought local NPC was a npc made with putnpc, putnpc2 ETC...
__________________
-Kjetil Valen
Reply With Quote
  #13  
Old 07-30-2003, 11:07 PM
Alexander Alexander is offline
Registered User
Join Date: Apr 2003
Location: California
Posts: 246
Alexander is on a distinguished road
Send a message via AIM to Alexander
Quote:
Originally posted by osrs


Normal NPC in a level = local NPC,i believe o_x'
I thought local NPC was a NPC that was clientside o.O

Quote:
Originally posted by VeX_RaT_Boy
Its not a local NPC, it's a normal NPC in a level. But if i do the if (action...) clientside, it works!

Help anyone? clientside weapon > triggeraction to a serverside npc.
Do a setshape or setshape2 serverside then try the trigger
Reply With Quote
  #14  
Old 07-30-2003, 11:13 PM
Androk Androk is offline
Registered User
Androk's Avatar
Join Date: Apr 2003
Posts: 614
Androk is on a distinguished road
You can't have something done on Clientside effect something on serverside, they don't mix, only variables transfer between the two. I am a newbie at scripting, so I might be wrong.
__________________

Name: Androk
Reply With Quote
  #15  
Old 07-30-2003, 11:16 PM
Alexander Alexander is offline
Registered User
Join Date: Apr 2003
Location: California
Posts: 246
Alexander is on a distinguished road
Send a message via AIM to Alexander
Quote:
Originally posted by Androk
You can't have something done on Clientside effect something on serverside, they don't mix, only variables transfer between the two. I am a newbie at scripting, so I might be wrong.
Yes you can -.-
Reply With Quote
  #16  
Old 07-30-2003, 11:18 PM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by Androk
You can't have something done on Clientside effect something on serverside, they don't mix, only variables transfer between the two. I am a newbie at scripting, so I might be wrong.
You are wrong.

*sigh*

If you know you are a newbie at scripting, do not try to help others out unless you are absolutely certain that you know what you are talking about (and even then, it's best to get someone else to verify).

It hurt my eyes, please don't make posts incredibly huge, may I recommend using a color. -Falados
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----

Last edited by Falados; 07-30-2003 at 11:40 PM..
Reply With Quote
  #17  
Old 07-30-2003, 11:22 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
The weapon triggeraction thing is fixed, PS helped me with it

I still want to know why move aint working..everything is ok, but when the timeout starts, it wont triggeraction again.
__________________
-Kjetil Valen

Last edited by VeX_RaT_Boy; 07-30-2003 at 11:53 PM..
Reply With Quote
  #18  
Old 07-30-2003, 11:28 PM
Falados Falados is offline
Cucumber NPC
Falados's Avatar
Join Date: Jan 2003
Posts: 141
Falados is on a distinguished road
Send a message via ICQ to Falados Send a message via AIM to Falados
Its probably b/c you are still using clientside coordinates for the server-side NPC, you moved the server-side part of it, but the clientside part remains where it is... posibly moving the client-side part to the new location aswell would work (set the clientside part's X and Y after you triggeraction)?
__________________

subliminal message: 1+1=3
Reply With Quote
  #19  
Old 07-30-2003, 11:28 PM
Alexander Alexander is offline
Registered User
Join Date: Apr 2003
Location: California
Posts: 246
Alexander is on a distinguished road
Send a message via AIM to Alexander
Quote:
Originally posted by Tseng


You are wrong.
Didn't I say that already :o
Reply With Quote
  #20  
Old 07-30-2003, 11:30 PM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by Alexander


Didn't I say that already :o
Yes, but you did not provide him with an easily-readable warning about continuing that behavior in the future.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #21  
Old 07-31-2003, 12:13 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Falados
Its probably b/c you are still using clientside coordinates for the server-side NPC, you moved the server-side part of it, but the clientside part remains where it is... posibly moving the client-side part to the new location aswell would work (set the clientside part's X and Y after you triggeraction)?
i made it do setplayerprop #c with the clientside coors, and message with the serverside. then i found out that clientside had decimals (43.3), and server had not. then i did int( ) on triggeraction, message, everything, but still not working.
__________________
-Kjetil Valen
Reply With Quote
  #22  
Old 07-31-2003, 12:45 AM
MarkB MarkB is offline
Sparked.
MarkB's Avatar
Join Date: Jun 2003
Location: Archaic
Posts: 881
MarkB is on a distinguished road
Quote:
Originally posted by Tseng


Yes, but you did not provide him with an easily-readable warning about continuing that behavior in the future.

lol tseng you act like he swore or something, rofl
relax k? he was offering help
__________________


Graal Kingdoms Event Master
I am tired to wake up the morning to see the forum going each day worst and worst because of a few people trying to ruin this forums. If you don't play any more Graal neither like the managment then what are you doing there ? I will not let anyone ruin the friendship of the community, we are there to have fun and not to have stress ! If you have bad energy to spend against something, then take a punching ball. This is the Third time i warn to not continue this way, so the next step will be to put out of the community trouble makers. -Unixmad

My point of view is your tooth are not big enough to hit me because if it were you will have eaten me since a while. Personaly i will never eat you because it will really taste bad. -Unixmad
Reply With Quote
  #23  
Old 07-31-2003, 12:49 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by MarkB



lol tseng you act like he swore or something, rofl
relax k? he was offering help
Would you like a pharmacist who had perhaps two weeks of training mixing your medicine prescriptions?

Or, even worse, attempting to teach others how to do so?
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #24  
Old 07-31-2003, 12:59 AM
MarkB MarkB is offline
Sparked.
MarkB's Avatar
Join Date: Jun 2003
Location: Archaic
Posts: 881
MarkB is on a distinguished road
well, you act rather extreme about it, a simple "dont speak unless you know wtf you are talking about" would do just fine, minus the feeling that he is going to be banned or something if he offers opinions/makes an attempt to help
__________________


Graal Kingdoms Event Master
I am tired to wake up the morning to see the forum going each day worst and worst because of a few people trying to ruin this forums. If you don't play any more Graal neither like the managment then what are you doing there ? I will not let anyone ruin the friendship of the community, we are there to have fun and not to have stress ! If you have bad energy to spend against something, then take a punching ball. This is the Third time i warn to not continue this way, so the next step will be to put out of the community trouble makers. -Unixmad

My point of view is your tooth are not big enough to hit me because if it were you will have eaten me since a while. Personaly i will never eat you because it will really taste bad. -Unixmad
Reply With Quote
  #25  
Old 07-31-2003, 01:01 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Fal-

Colors hurt the eyes more.

With size 48 text, I had thought perhaps someone might actually read it, and perhaps even listen to it.

Quote:
Originally posted by MarkB
well, you act rather extreme about it, a simple "dont speak unless you know wtf you are talking about" would do just fine, minus the feeling that he is going to be banned or something if he offers opinions/makes an attempt to help
People who clearly have no idea what they are doing should not be attempting to teach others.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #26  
Old 07-31-2003, 01:12 AM
MarkB MarkB is offline
Sparked.
MarkB's Avatar
Join Date: Jun 2003
Location: Archaic
Posts: 881
MarkB is on a distinguished road
all i am saying, it is you overreacted
__________________


Graal Kingdoms Event Master
I am tired to wake up the morning to see the forum going each day worst and worst because of a few people trying to ruin this forums. If you don't play any more Graal neither like the managment then what are you doing there ? I will not let anyone ruin the friendship of the community, we are there to have fun and not to have stress ! If you have bad energy to spend against something, then take a punching ball. This is the Third time i warn to not continue this way, so the next step will be to put out of the community trouble makers. -Unixmad

My point of view is your tooth are not big enough to hit me because if it were you will have eaten me since a while. Personaly i will never eat you because it will really taste bad. -Unixmad
Reply With Quote
  #27  
Old 07-31-2003, 01:14 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by MarkB
all i am saying, it is you overreacted
Perhaps you misunderstand.

When things like this happen, and the uninformed attempt to teach others, we have a world full of scripters who a) write inefficient code, and b) are less willing to believe that they are doing something wrong, which only makes it harder for these problems to be corrected, and creates more unnecessary work for the global scripting team.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #28  
Old 07-31-2003, 01:42 AM
MarkB MarkB is offline
Sparked.
MarkB's Avatar
Join Date: Jun 2003
Location: Archaic
Posts: 881
MarkB is on a distinguished road
doesnt change the fact you O V E R R E A C T E D to someone attempting to do something good, and help others.
__________________


Graal Kingdoms Event Master
I am tired to wake up the morning to see the forum going each day worst and worst because of a few people trying to ruin this forums. If you don't play any more Graal neither like the managment then what are you doing there ? I will not let anyone ruin the friendship of the community, we are there to have fun and not to have stress ! If you have bad energy to spend against something, then take a punching ball. This is the Third time i warn to not continue this way, so the next step will be to put out of the community trouble makers. -Unixmad

My point of view is your tooth are not big enough to hit me because if it were you will have eaten me since a while. Personaly i will never eat you because it will really taste bad. -Unixmad
Reply With Quote
  #29  
Old 07-31-2003, 02:04 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by MarkB
doesnt change the fact you O V E R R E A C T E D to someone attempting to do something good, and help others.
As the old saying goes, the road to hell is paved with good intentions.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #30  
Old 07-31-2003, 02:11 AM
MarkB MarkB is offline
Sparked.
MarkB's Avatar
Join Date: Jun 2003
Location: Archaic
Posts: 881
MarkB is on a distinguished road
Quote:
Originally posted by Tseng


As the old saying goes, the road to hell is paved with good intentions.
good one.... O.o
__________________


Graal Kingdoms Event Master
I am tired to wake up the morning to see the forum going each day worst and worst because of a few people trying to ruin this forums. If you don't play any more Graal neither like the managment then what are you doing there ? I will not let anyone ruin the friendship of the community, we are there to have fun and not to have stress ! If you have bad energy to spend against something, then take a punching ball. This is the Third time i warn to not continue this way, so the next step will be to put out of the community trouble makers. -Unixmad

My point of view is your tooth are not big enough to hit me because if it were you will have eaten me since a while. Personaly i will never eat you because it will really taste bad. -Unixmad
Reply With Quote
  #31  
Old 07-31-2003, 02:13 AM
Alexander Alexander is offline
Registered User
Join Date: Apr 2003
Location: California
Posts: 246
Alexander is on a distinguished road
Send a message via AIM to Alexander
Quote:
Originally posted by Tseng


Perhaps you misunderstand.

When things like this happen, and the uninformed attempt to teach others, we have a world full of scripters who a) write inefficient code, and b) are less willing to believe that they are doing something wrong, which only makes it harder for these problems to be corrected, and creates more unnecessary work for the global scripting team.
He did attempt to help others, but he also stated he "might be wrong", in this case he was. He was just trying to help, he wasn't making a pernament statement of anything.
Reply With Quote
  #32  
Old 07-31-2003, 04:49 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
People who persist in giving bad advice get masked from the scripting forum. Androk, don't say things if you're not sure that they're correct.
__________________
Reply With Quote
  #33  
Old 07-31-2003, 08:50 AM
Projectshifter Projectshifter is offline
The David
Projectshifter's Avatar
Join Date: Apr 2002
Location: USA
Posts: 912
Projectshifter is an unknown quantity at this point
Send a message via ICQ to Projectshifter Send a message via AIM to Projectshifter Send a message via MSN to Projectshifter Send a message via Yahoo to Projectshifter
I'm still trying to figure out WHAT clientside thing NEEDS to be clientside thing in a LOCAL NPC needs to be sent to the serverside of that NPC? Best to just keep it serverside or clientside x-x
---Shifter
__________________
Who has time for life these days?
Reply With Quote
  #34  
Old 07-31-2003, 03:15 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Both problems=solved.

Alex helped me with the move thingy.

Thanks everybody.
__________________
-Kjetil Valen
Reply With Quote
  #35  
Old 07-31-2003, 06:17 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by VeX_RaT_Boy
Both problems=solved.

Alex helped me with the move thingy.

Thanks everybody.
What was wrong?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #36  
Old 07-31-2003, 06:22 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by osrs


What was wrong?
When it was moving, it tried to trigger x and y, but since it was moving all the time, x and y was not the npc.
Now its x+.5 and y+5.
__________________
-Kjetil Valen
Reply With Quote
  #37  
Old 07-31-2003, 06:27 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by VeX_RaT_Boy


When it was moving, it tried to trigger x and y, but since it was moving all the time, x and y was not the npc.
Now its x+.5 and y+5.
Bah..

Quote:
Originally posted by osrs
I think its not working because the local NPC moves every time..
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #38  
Old 08-01-2003, 10:48 AM
Falados Falados is offline
Cucumber NPC
Falados's Avatar
Join Date: Jan 2003
Posts: 141
Falados is on a distinguished road
Send a message via ICQ to Falados Send a message via AIM to Falados
Ah, a simple case of leaping before you look.
__________________

subliminal message: 1+1=3
Reply With Quote
  #39  
Old 08-01-2003, 10:57 AM
Soul-Blade Soul-Blade is offline
US Marine
Soul-Blade's Avatar
Join Date: Jul 2001
Location: Coeur d'Alene, ID
Posts: 945
Soul-Blade is an unknown quantity at this point
Send a message via AIM to Soul-Blade
I only read the first page, so forgive me if this has been said.

NPCs in a level ARE serverside. NPCs placed with putnpc2 are serverside. In fact, the ONLY way a NPC is not serverside is if it has //#CLIENTSIDE at the top of it. Otherwise, it is serverside. Correct me if I am wrong.
Reply With Quote
  #40  
Old 08-01-2003, 10:48 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by Soul-Blade
I only read the first page, so forgive me if this has been said.

NPCs in a level ARE serverside. NPCs placed with putnpc2 are serverside. In fact, the ONLY way a NPC is not serverside is if it has //#CLIENTSIDE at the top of it. Otherwise, it is serverside. Correct me if I am wrong.
*Off-Topic*
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
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 01:24 AM.


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