Solved Revive Hero

Diego

Dedicated Member
Dedicated Member
Sep 20, 2010
72
1
3
35
Anyone know the command line for NPC to revive HERO (slave)?

Alternatively, does anyone know the STD mode and shape required to set the Herorelive item?

I'm thinking this won't be an STD 31 as this is specified independently from the core files in QFunction0.txt
I.e. you would still need the command i'm asking for to set the txt up.

Cheers
 
Last edited:

Diego

Dedicated Member
Dedicated Member
Sep 20, 2010
72
1
3
35
Ruby m2

I can get the Hero back by changing its HP on SQl, but its not very server friendly lol
 
Upvote 0

Diego

Dedicated Member
Dedicated Member
Sep 20, 2010
72
1
3
35
That command executed as GM doesn't revive your hero
Neither does @REVIVEHERO (USERNAME)
or @REVIVEHERO (HeroName)

I wish it did lmao

I'm amazed nobody knows, I assume everyone using RubyM2 and Heroes servers are manually reviving all their heroes from the SQL because i've searched through a few server versions and I find no HeroManagers, and no Qfunction txts setup for any Hero Revive items, or anything tbh lol

Its liveable if ur playing solo on ur server but useless otherwise

Someone must know something, please any ideas, let me know

---------- Post added at 03:05 PM ---------- Previous post was at 02:16 PM ----------

If anyone's interested. On the RubyM2 the hero token is one of the only special items that actually works. It has an STD mode of 3 and shape 14. So I figure, if you test all the shapes with std 3 you might be able to find some useful item actions.

Will be running these tests myself of course, so i'll let you know what I find.
(obviously some of them will be basic like food that already works with its DB settings.)
 
Last edited:
Upvote 0

Tai

HEAD CAPTAIN
Staff member
Administrator
May 11, 2003
14,331
2
2,716
515
United Kingdom
No, you asked for an npc command which is what I gave you.

Code:
;Settings
%100
+3


[@main]
Hello <$USERNAME>.\
There hasn't been much trespassing lately.\
You can say that this peace is thanks to my "Heroes"\
My "Heroes" are not cheap. After forming a contract\
with a "Hero", you will receive special powers.\

<What is a Hero?/@hero>\
<I want to hire a Hero/@gethero> (Level 22) (2.2m Gold)\
<I want to remove a Hero/@@removehero>\
<Manage Hero/@managehero>\
<Resurrect Your hero/@revivehero>\
<Shop for Hero/@buy>\ \


[@hero]
<Hero Information/@info1>\
<Hero Type/@info2>\
<Hero Max Level/@info3>\
<Hero Stats/@info5>\
<Hero Bag/@info6>\
<Hero Controls/@info7>\

[@info1]
#SAY
A Hero will fight alongside you and protect you.\
It can level up, learn skills, use items and equip items just like\
you.\
Of course,it depends on how you train your Hero as well.\
Anyways,the Hero will always fight and portect you.\

<Main Page/@main> <More Info/@hero>\

[@info2]
#SAY
Just like how all of us are different,the Heros also have\
different abillities.\
Some Heros may be good, while others may not be so good.\
Leveing up and everything else depends on the ranking of the Hero.\
As in the items Hero can use or the Skills Hero can use.\

<Main Page/@main> <More Info/@hero>\

[@info3]
#SAY
Heros Max level is the same as the max for us.\
Some Heros may only lvl to 53 but other may level\
past that,All in the way you use the hero.\
The Hero will also be able to learn more skills and have a larger\
bag depending on their level.\

<Main Page/@main> <More Info/@hero>\

[@info5]
#SAY
Heros Stats\
The stats are the same as the stats you posses.\
Such as HP,MP,DC,MC,SC,Bag Weight,Weapon Wright,etc.\

<Main Page/@main> <More Info/@hero>\

[@info6]
#SAY
In order for your Hero to use a item or skill book\
you must have it in your bag then move it accross to\
your Hero Bag.\
This is also the way you move pots to add them into the\
Hero Pot Bar.\

<Main Page/@main> <More Info/@hero>\

[@info7]
#SAY
Here are the commands you can use after hiring a Hero.\
Ctrl + C : Hero Status.\
Ctrl + I : Hero Inventory.\
Ctrl + S : Hero Skill.\
Ctrl + A : Hero Rest/Attack Mode.\
Shift + F1 - F7 Force Hero useage of skill.\

<Main Page/@main> <More Info/@hero>\

[@gethero]
#SAY
So you say you want to hire a "Hero"?\
Alright..However, remember that you can only have\
one Hero at a time.\
You have now signed the contract and payed the free!\

Your Fee has been paid (900k),Now this link to hire your\
Hero.\

<Unserstood.I want to hire a hero now/@@createhero>\

<Back/@main>\

#ELSESAY
You don't have enough gold to use my service!\
Be gone, don't waste my time again!\ \
<Exit/@exit>

[@managehero]
#SAY
To add more hero to the tablet you must have a HeroToken.\
HeroToken you double click to use.\ \

Once you done then you just double click on what hero you\
want to be your hero to use.\\

<Back/@main>

[@buy]
Please choose what you want to buy.\ \ \
<Back/@main>


[goods]
;Item Amount Time
AverageRelease 200 1
GoodRelease 200 1
HighRelease 200 1
HeroToken 200 1
HeroRelive 200 1

Poor English, it wasn't written by me.
 
Last edited:
Upvote 0

Diego

Dedicated Member
Dedicated Member
Sep 20, 2010
72
1
3
35
O awesome, ty so much! :)

---------- Post added 30-11-2011 at 09:16 PM ---------- Previous post was 21-11-2011 at 07:34 PM ----------

The original request was also solved by IceMan. It's because u need to set @revivehero as a click function for the NPC, its not a standard #ACT function.
SOLVED
 
Upvote 0