• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[HELP ME] You do not have enough energy?

Lopaz

Member
Joined
Sep 1, 2010
Messages
50
Reaction score
5
Location
https://otland.net/
Hello! When a player in my OT get out of mana and still use spells, instead of saying "You do not have enough mana" it says "You do not have enough energy" which doesn't sound as good as "... not enough mana". How do I fix this? I've been searching in Google etc but I cant find anything about this. :D

Cheers and Rep++ to the one that can help ^^
 
@up.
when someone doesn't have mana to cast a spell instead of saying '... not enough mana' it says '... not enough energy'

@topic.
it's probabily sources.
 
It's very easy for edit.. That message only is editable on Sources...

You're using the otswen's tfs?
TheForgottenServer 0.3.6pl1 V5 ?

If you're using that tfs, otswen has posted the source's link... so... you can edit with Dev-Cpp

OR... Solve that problem downloading this tfs 0.3.6 v5 compiled by me:
TFS 0.3.6pl1 V5 by Chavoz (Nubaza)
So.. you can remplace it with your currently TheForgottenServer.exe and run the server!
That tfs have much edition for me :p
 
Lopaz, not have TFs compiling..?
You need edit player.cpp change
in line 1082 to 1084
Lua:
	case RET_NOTENOUGHMANA:
			sendCancel("You do not have enough mana.");
			break;
for
Lua:
	case RET_NOTENOUGHMANA:
			sendCancel("You do not have enough energy.");
			break;

and compiling for new .exe load new sources
 
Back
Top