Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-22-2002, 10:03 PM
draygin draygin is offline
Telmont Bandit
draygin's Avatar
Join Date: Feb 2002
Location: Ohio
Posts: 2,550
draygin is on a distinguished road
Level editor problem

I've known about this for a while but it just now occured to me to post it. When you put down baddy npc's (the ones that are dressed as newbies) you can set its options for what it does. But when you click on can or cant hurt other npc's it doesnt matter they kill each other no matter wether the option is selected for not being able to hurt each other.
__________________

I stole Spanky's gold!
Reply With Quote
  #2  
Old 04-22-2002, 10:56 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Re: Level editor problem

Quote:
Originally posted by draygin
I've known about this for a while but it just now occured to me to post it. When you put down baddy npc's (the ones that are dressed as newbies) you can set its options for what it does. But when you click on can or cant hurt other npc's it doesnt matter they kill each other no matter wether the option is selected for not being able to hurt each other.
Look at the code for the npc, maybe you can fix it yourself. That sux0rs.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #3  
Old 04-23-2002, 12:12 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: Level editor problem

Quote:
Originally posted by Saga2001


Look at the code for the npc, maybe you can fix it yourself. That sux0rs.
It's all greek to me. About the only thing I can do scripting wise is.

Lighting effects.
Hide Image.
X Y position stuf of that nature

the most complex script I've ever successfully written. Was one that changes your outfit colors and even it was buggy. Get the idea I'm an LAT not an NAT even if it is easy. I suxorz
__________________

I stole Spanky's gold!
Reply With Quote
  #4  
Old 04-23-2002, 01:08 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Yeah, that's because players[this.i].id<0 no longer applies to NPCs: they have a modulo on playerid of something like 32767, so the only way to detect them really is either players[this.i].id>3000 (which would break at random or whenever the server got 3000 players on at once - unlikely, but that's how we got the Y2K bug), or if(strlen(#n(this.i))<1) if your NPCs do not have names set - since players cannot set their names to null, that should be safe.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #5  
Old 04-23-2002, 01:52 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
Quote:
Originally posted by Tyhm
Yeah, that's because players[this.i].id<0 no longer applies to NPCs: they have a modulo on playerid of something like 32767, so the only way to detect them really is either players[this.i].id>3000 (which would break at random or whenever the server got 3000 players on at once - unlikely, but that's how we got the Y2K bug), or if(strlen(#n(this.i))<1) if your NPCs do not have names set - since players cannot set their names to null, that should be safe.
Greek can some one translate that to english :-P I'm probably one of the dumbest people you'll ever meet. When it comes to scripting I can tinker but actually fixing something? I dont know about that. Hmm I guess when I get home I can try and figure out where to put that.

I mean making a massive army of dark warriors is rather pointless when they kill each other off then the last man standing comes after you.
__________________

I stole Spanky's gold!
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 10:40 AM.


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