Page 2 of 2
Re: Light & Dark spells
Posted: 12 Jun 2011, 08:09
by Okurwieniec !!!
Thank you for all answers.
I have however one more question
I had AC down for a blink but enough to kill my server.
Why all chars dissapeared from /save/athena.txt? Accounts still there.
I presume i need an UPS ?
Re: Light & Dark spells
Posted: 13 Jun 2011, 16:47
by Crush
What you need is not an UPS, what you need is an automatic backup. When possible on a different machine or at least a different hard drive than the original files. A friend of mine had a quite successful browser game he made as a hobby. But then he lost everything to a hard drive crash because he didn't do any backups.
A backup isn't hard to set up. Just create a little script which copies all content files from the tmwAthena directory to another location with the current date prefixed to the filename. Then create a cronjob which executes this script daily. Voila, you have a poor mans backup solution.
When you want to solve the backup problem more elegantly, you can of course use a more sophisticated pre-made solution which allows incremental backups and automatic deletion of older backups. There is a vast array of software which can do that and only needs minimal configuration to do so. Many operating systems even have such a solution built-in which just needs to be switched on.
Re: Light & Dark spells
Posted: 15 Jun 2011, 10:53
by Okurwieniec !!!
I wish to thank you for your patience, believe me if i ask so many questions its just because i have gone trough about 15 years of absolutely indescribable chaos, a low quality and ugly commercial OS experience, in which editing a file sometimes means nothing, sometimes produces random effect or a complete loss of all data, and running executable is a real adventure - you never know what will happen.
After that i have still difficulties to not be afraid of modifying the files or running the scripts.
Finally i decided to run build-magic.sh again, then i checked magic.conf, and i understood all i was asking about

Re: Light & Dark spells
Posted: 22 Jun 2011, 14:06
by Okurwieniec !!!
Where i can find sfx procedure?
I need to see existing spell animation structure, sprites and stuff, to be able to do my own effects.
Re: Light & Dark spells
Posted: 22 Jun 2011, 14:17
by Freeyorp101
Are you asking about the server side or the client side?
The server side is simple, just put in a sfx(target, id, delay) call into your script. Such API calls are documented in doc/spell-language.
The client side is a bit trickier. effects.xml maps effect ids to particle effects and/or audio. For the format of the former I'd recommend looking at both the existing particle effects used in client data and the particle system documentation, found [
here].
---Freeyorp
Re: Light & Dark spells
Posted: 22 Jun 2011, 17:59
by natsuki3
I remember when magic was only in the testing server , when we was able to enter to both servers from the same client (sorry for my corupted english xD )
The wasnt any spells like #itenplz , #parum boo/lurk etc
the spells was like #G01 , #G02 etc
Re: Light & Dark spells
Posted: 23 Jun 2011, 02:42
by Freeyorp101
Yes, the testing server used the default spell invocations.
---Freeyorp