Log in

View Full Version : Adding phrases for custom hack question.


Albus
03-30-2005, 05:10 PM
Hey guys, I am wondering something.

Up until recently, all y hack have been simple one-shot code add-ins to any number of the main scripts. I usually just add my custom phrases to the GLOBAL phrase group.

Now I am in the process of writing a full blown hack. This has added admin functionality as well as new scripts and so forth. I wanted to add a phrase group for it, and while I know how to do a raw table insert to get the new group, things go wacky in the phrase manager after doing so.

What is the typical process for adding a new phrase group to the system for use with a hack? All help is appreciated.

Marco van Herwaarden
03-30-2005, 05:39 PM
Have a look how the HIS installer is handling this.

Albus
03-30-2005, 06:06 PM
Have a look how the HIS installer is handling this.
Forgive me but...HIS?

Marco van Herwaarden
03-30-2005, 06:09 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=71542&highlight=hack+installer+system" target="_blank">https://vborg.vbsupport.ru/showt...staller+system</a>

Albus
03-30-2005, 06:27 PM
I've been reading a lot of related threads here that I found in a search. It seems that new phrase groups have been a problem, not just in getting them added to the system, but in ID conflicts between hacks. I am beginning to think that maybe the best solution is for the vb devs to add a special group called 'hackphrases' to the stock install, then all hack writers will do is add thier phrases to that, making sure thier phrases are prefixed with a special code. For example, a hack called "My Custom Index" would have phrases like this "mci_some_words_to_display". That would solve a lot of headache I think overall.

Opinions?