Ok so I've had plenty of pm's about the buffing systems and the teleporters and things of that nature. So today I'm going to write a little easy to read guide aimed at teaching you how to create unique and customized buffing options and great npcs that will surely bring life to your server. These are methods tested and proven at Redemption mind you ^_^
A) When creating a buffing system you need to do your research
A.1) A good method is to pick buffs that compliment their users instead of wide range buffing.
A.2) Buff levels should compliment other buffs and you should always be mindful of the delicate balance you will be disturbing with your alterations.
A.3) Set up several safeties meant to reduce server load when many players are accessing the buffing unit simultaneously.
Now open a new document in your text editor. Now lets name this lua, a simple and easy method is just to name it anything memorable. For our case we'll use AUTOBUFF.lua
[B]Make sure to name it something close to the format it is in -- in the a fore mentioned example.
================================================
Save the document, CTRL+S or click File -> Save As:
- Save the document as NPC_BUFF.lua for simplicity.
================================================
Now with that accomplished we need to set some primary rules for the buffing system. These will vary based on what you want to be checked and what you want to be performed.
Note: I personally prefer to create seperate LUA's for inter-connecting functions that way things can be altered easily when tweaks are needed. I encourage you to use this process as it is very easy and very effective.
Ok for this example we are going to create a basic buffer check intended to check the users level.
--
Reminder: All functions must be tagged function at the very beginning of the very first function line
e.g. function function_name() <--- All function names must be ended with a set of brackets "()"
Note: Press tab after typing function to maintain proper formating in InType
function get_module_name()
return "Auto_Buffer"
end
function check_level()
local level = get_value("level") -- This will tell the lua to get value "level"
if level == x then -- ** Example One
add_state("state_id", "state_level", "state_time") -- ** Example Two
cprint("message") -- ** Example Three
end -- if end
end -- function end
"--" represents a null, and will cancel anything written on the line following it, great for comments.
"Local" defines that the variable "level" is local to the function it is being called in. Level in turn is the name of the value.
After any; if argument ==, >, < you must include "then"
There are many methods in which to build a buffing array, via simple one line buff entries or through a complex network of checks and balances. For this example however we are going to use a basic command function to buff the target
Basically follow the format in the above example just change variables to your liking.
[B]Note: I recommend looking through other LUA's to get handles on mixing functions and learning how to further this basic example.[/B]
Second section:
-- Non-Playable-Characters (NPC):
COMING SOON!!!
Time to "Farm" thanks
If you found this guide to be useful please be a sport and press "Thanks" and thank you for doing so ^_^
Ok so I've had plenty of pm's about the buffing systems and the teleporters and things of that nature. So today I'm going to write a little easy to read guide aimed at teaching you how to create unique and customized buffing options and great npcs that will surely bring life to your server. These are methods tested and proven at Redemption mind you ^_^
A) When creating a buffing system you need to do your research
A.1) A good method is to pick buffs that compliment their users instead of wide range buffing.
A.2) Buff levels should compliment other buffs and you should always be mindful of the delicate balance you will be disturbing with your alterations.
A.3) Set up several safeties meant to reduce server load when many players are accessing the buffing unit simultaneously.
Now open a new document in your text editor. Now lets name this lua, a simple and easy method is just to name it anything memorable. For our case we'll use AUTOBUFF.lua
[B]Make sure to name it something close to the format it is in -- in the a fore mentioned example.
================================================
Save the document, CTRL+S or click File -> Save As:
- Save the document as NPC_BUFF.lua for simplicity.
================================================
Now with that accomplished we need to set some primary rules for the buffing system. These will vary based on what you want to be checked and what you want to be performed.
Note: I personally prefer to create seperate LUA's for inter-connecting functions that way things can be altered easily when tweaks are needed. I encourage you to use this process as it is very easy and very effective.
Ok for this example we are going to create a basic buffer check intended to check the users level.
--
Reminder: All functions must be tagged function at the very beginning of the very first function line
e.g. function function_name() <--- All function names must be ended with a set of brackets "()"
Note: Press tab after typing function to maintain proper formating in InType
function get_module_name()
return "Auto_Buffer"
end
function check_level()
local level = get_value("level") -- This will tell the lua to get value "level"
if level == x then -- ** Example One
add_state("state_id", "state_level", "state_time") -- ** Example Two
cprint("message") -- ** Example Three
end -- if end
end -- function end
"--" represents a null, and will cancel anything written on the line following it, great for comments.
"Local" defines that the variable "level" is local to the function it is being called in. Level in turn is the name of the value.
After any; if argument ==, >, < you must include "then"
There are many methods in which to build a buffing array, via simple one line buff entries or through a complex network of checks and balances. For this example however we are going to use a basic command function to buff the target
Basically follow the format in the above example just change variables to your liking.
[B]Note: I recommend looking through other LUA's to get handles on mixing functions and learning how to further this basic example.[/B]
Second section:
-- Non-Playable-Characters (NPC):
COMING SOON!!!
Time to "Farm" thanks
If you found this guide to be useful please be a sport and press "Thanks" and thank you for doing so ^_^
[TUTORIAL] Buffing Systems and Basic NPCS 02/19/2012 - Rappelz Private Server - 5 Replies Ok so I've had plenty of pm's about the buffing systems and the teleporters and things of that nature. So today I'm going to write a little easy to read guide aimed at teaching you how to create unique and customized buffing options and great npcs that will surely bring life to your server. These are methods tested and proven at Redemption mind you ^_^
First section:
-- Buffing Systems:
========== / Things to keep in mind \ ==========
Fix the problem of software designed By Visual Basic to work on systems with Vista&7 07/08/2010 - Tutorials - 12 Replies Dear Brothers
All the brothers, users of Vista and Windows seven suffer from the problem of lack of work programs made by Visual Basic
On their computer ..
The problem lies in the two systems do not recognize some of the libraries and tools used by Visual Basic, and especially if
Programmed system uses xp.
[Video Tutorial] Eigene NPCs erstellen 05/04/2008 - WoW Private Server - 0 Replies Hallo,
exklusiv für Epvp habe ich mal ein kleines Video Tutorial gemacht (finde da lernt man besser, weil man die ganzen Arbeitsschritte sieht).
Eigene NPCs erstellen.rar
Das Tutorial steht unter meinem geistigen Eigentum und darf nicht verändert werden, sofern es weiter verbreitet wird.