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
  #46  
Old 02-07-2004, 04:45 AM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
Quote:
Originally posted by Dach


the first is client-side, the latter is server-side, the first is triggered when the npc is hit with a projectile, the latter is triggered when a projectile lands on the board
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
Reply With Quote
  #47  
Old 02-07-2004, 04:50 AM
Value Value is offline
Registered User
Join Date: Jan 2004
Posts: 8
Value is on a distinguished road
Angry WRONG

actionprojectile can work on serverside too
Reply With Quote
  #48  
Old 02-07-2004, 04:58 AM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
Don't call me wrong, please. I am not positive on the subject, I am simply giving you Dach's answer.
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
Reply With Quote
  #49  
Old 02-07-2004, 05:34 AM
Value Value is offline
Registered User
Join Date: Jan 2004
Posts: 8
Value is on a distinguished road
Talking Thanks!

Thanks to Ajira. Problem solved.
Reply With Quote
  #50  
Old 02-07-2004, 05:39 AM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
Always glad to help. =)
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
Reply With Quote
  #51  
Old 02-10-2004, 01:48 AM
Vegeta940 Vegeta940 is offline
Registered User
Join Date: Oct 2003
Location: I won't tell
Posts: 18
Vegeta940 is on a distinguished road
Send a message via AIM to Vegeta940 Send a message via Yahoo to Vegeta940
Post confused

uh, stefan u said there was a hitpoint system in there, all i found was sword scripts and projectile scripts, no hitpoint system
Attached Images
 
Reply With Quote
  #52  
Old 02-14-2004, 12:17 AM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
Re: confused

Quote:
Originally posted by Vegeta940
uh, stefan u said there was a hitpoint system in there, all i found was sword scripts and projectile scripts, no hitpoint system
1) You sir, are a *****.
2)Make.An.Effort.To.Learn
Reply With Quote
  #53  
Old 02-14-2004, 02:10 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
Re: Re: confused

Quote:
Originally posted by R0bin


1) You sir, are a *****.
2)Make.An.Effort.To.Learn
lol... Indeed!... Poor kid. Can't see the basic concept of the hitpoint system.
__________________
- Rance Vicious
Reply With Quote
  #54  
Old 02-29-2004, 03:58 PM
MysticHaste MysticHaste is offline
Registered User
Join Date: Dec 2003
Location: Australia
Posts: 109
MysticHaste is on a distinguished road
Send a message via AIM to MysticHaste
Re: confused

Quote:
Originally posted by Vegeta940
uh, stefan u said there was a hitpoint system in there, all i found was sword scripts and projectile scripts, no hitpoint system
Think about what your saying, and if it still makes sense, see your doctor.
__________________
spread the herat <3

Quote:
Originally posted by unixmad
Still not sure if it was not someone smoking to mush
Reply With Quote
  #55  
Old 03-21-2004, 08:54 PM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
Quote:
Originally posted by Stefan
I can possibly add yours. There will be more documentation for v3.1 scripting engine once it is released.

About clientside-system: a hitpoint-system should be secure and easy to use. On serverside you can build a database of objects which you can use to influence the hitpoint system, e.g. weapon strength and armour. If you don't script bad stuff into the hp functions then speed shouldn't be a problem at all. With 100 players playing on Graal Kingdoms the HP system uses less than 1% of the cpu time, although it's doing quite complicated hitpoint calculations.
On most Graal servers the clientside scripts are a much bigger speed problem (I have seen servers with quite slow clientside weapon scripts which then lag the players while the npcserver is bored)
The topic has been dead for awhile but this seems in the best place to put it

We used the tips in the hp system to build a secure system, but when just one of us were using it, the control-npc ended up going for 10 seconds of CPU time and lagging the server.
__________________
Reply With Quote
  #56  
Old 03-21-2004, 09:13 PM
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
Quote:
Originally posted by Andy0687

We used the tips in the hp system to build a secure system, but when just one of us were using it, the control-npc ended up going for 10 seconds of CPU time and lagging the server.
You obviously have bad code. By trial and error try to find the problem.

You can PM me for further help, if you want.
__________________
new account: Trevor
Reply With Quote
  #57  
Old 07-17-2004, 10:55 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
Unstickied and linked from the Advice thread.
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:57 PM.


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