Trying to create a skill

Cyvster

New Member
Joined
Jul 17, 2018
Messages
5
Hello

I'm trying to create a skill on a private server that is just me and another friend. Specifically, I'm trying to steal the /forceRevive command from the Infinity server. I've got it mostly functional, but it does not perform the revive. It gives messages when conditions are not met, like you cannot target yourself or you must be grouped, but no messages are given when trying to perform a revive with all conditions met. Nothing happens.

These are the files I have copied/created:

ForceReviveCommand.h
forceRevive.lua

I have also added forcerevive lines to these files:

commands.lua
CommandConfigManager4.cpp

In the tre I added a new line for the command in datatables/commands/command_table.iff. I also added it in the string files so that it shows the name as Force Revive and has a description. I also added it to the ui section to set the icon. I don't have the tre file for reference at this moment, so the file names or paths I listed may be incorrect since it is from memory.

I'm not sure what I'm missing. Any help would be appreciated, thanks.
 

kissofdarknes

Member
Joined
Apr 14, 2015
Messages
31
You have to insert your command into the commands string in the tre make sure its in the skills.iff for what profession your granting it for. and there's a couple other things I can't remember off the top of my head.
 
Top Bottom