![]() |
Howto Hitpoint System
1 Attachment(s)
I have attached a little documentation about scripting an custom hitpoint system, I hope it is usefull.
|
Nice stefan. I never knew you could actualy do it with an npcs server.
|
I'm going back to school later, I've downloaded and will read it later :)
|
It's excellent.
Although I wonder how much the npcserver will like it when 100 players are all hacking away at eachother? It best not get overwhelmed. |
Nice.
|
Re: Howto Hitpoint System
Quote:
To my understanding as well people who use "string hackers" to hack the client. strings of the game need to know the string name. Why would you not be able to make a similar system only with more clientside refrence? |
Shouldn't this go to scripting forum? :\
lol i thought this had been posted in playerworlds forum. Looks nice Stefan, probably is very useful ^_~ |
Re: Re: Howto Hitpoint System
Quote:
|
Re: Re: Howto Hitpoint System
Quote:
|
Very nice Stefan. I learned 2 new functions from that, getnearestplayers, and getareanpcs. =D
|
Quote:
|
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) |
Aight, I'll take your word for it.
Thank you for the input. ... How about compiled particle engine?? Want to use my script as a refrence ;) |
Quote:
|
Quote:
|
Quote:
|
Jagen seems in a very black mood, what happen? someone set him up the bomb?
|
Quote:
|
um... i should really do something ive been planning for a long time.
a website with the commands in a list like commands rtf, with a search, examples, and people can log in and register and add things, and with me as the evil overlord deleting fake things and spam! |
Quote:
|
Quote:
|
Quote:
I think he was going to do it on his website but his website is never updated. |
Quote:
Site is being reprogrammed as i disliked how i coded it before, then all i gotta do is add the commands to it. |
well you already got the domain and stuff, need help?
|
Quote:
|
I meant help with gscript,us, not mental help :D
|
Quote:
|
I didnt understand where in the stuff you could pass variables for attack damage
so from clientside to actionserverxxx i want to pass 5, i did NPC Code: The Above is a short example of what im trying to get at, but i cant seem to get it to work. |
There's no such thing as a thiso var...yet
|
Quote:
When I want to pass strings and variables from one npc to a DB npc, I use thiso. vars and they work.. |
yeah jagen, what do you mean?
|
Quote:
|
Quote:
|
thiso.strings exist. Haven't had any luck with thiso.vars yet though
|
They both work.
|
Still messed up
Stefan, I did what your doc said about the actionprojectile and it still doesn't work. I did the serverside one. Also, clientside doesnt work either. Only actionprojectile2 works. Is there something wrong with my server or something? Name of my server is Altair. Please reply as soon as possible. I want to make cool bows :(
|
Is your actionprojectile in the Control-NPC?
|
Yes
Yes it is in the Control-NPC. I also tried putting it a DB npc as clientside and serverside. And only actionprojectile2 works. There has to be a problem somewhere. It's messed up that just because i take away the 2 from actionprojectile, it doesn't work and when i add the 2 to actionprojectile it works. And i know there is a difference between both statements. But I did what stefan put in his docu and it still only works with actionprojectile2!!!
|
Posting Script
1 Attachment(s)
Here is the script for my bow, control-npc and class. Help me find the problem!!!!!
|
Re: Posting Script
Quote:
|
| All times are GMT +2. The time now is 09:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.