• 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!

Two errors you may help me solve.

CheatsBCN

New Member
Joined
Mar 6, 2012
Messages
131
Reaction score
1
Well first error i got is this one on console (even everything seems to run fine)

Warning: Unupported password hashing switch! Change back passwordType in config.lua to "sha1"!

and i already have it with sha1

passwordType = "sha1"

shall i just ignore it??


Second errors, this one is quite big bug, i've tryed also too look around but can't find anything, whenver a player steps into a fire / posion/energy field the server automatically crashes what would you suggest?
 
Second error:
Post your items.xml entries for those fire ids and also the fire movement scripts (if available).

Which version are you using?
 
Second error:
Post your items.xml entries for those fire ids and also the fire movement scripts (if available).

Which version are you using?

0.2.14.

Lua:
	<item id="1487" article="a" name="fire field">
		<attribute key="type" value="magicfield" />
		<attribute key="decayTo" value="1488" />
		<attribute key="duration" value="120" />
		<attribute key="field" value="fire">
			<attribute key="damage" value="20" />
			<attribute key="ticks" value="10000" />
			<attribute key="count" value="7" />
			<attribute key="damage" value="10" />
		</attribute>
	</item>




no momevements fire




For the first error try leaving it empty. For the second one post the error log here.
tryed first one and didnt worked, the second there is no error log,the server crashes without giving anyinformation.




i think its not about that, cus i didnt modififed anything maybe its about the source code?
 
Edit: Doesn't seem to be any problem with items.xml at least.

Have you done anything to the source code?
 
I saw some of his code, it didn't seem that good to me.
Post the changes he made.
Maybe he messed up checking if(attacker) or something.
 
The first error isn't important, but is annoying because it takes like 30 seconds to load, you can remove it at sources if you want.

otserv.cpp

[cpp] g_config.setNumber(ConfigManager::ENCRYPTION, ENCRYPTION_PLAIN);
std::clog << "> Using plaintext encryption" << std::endl << std::endl
<< "> WARNING: This method is completely unsafe!" << std::endl
<< "> Please set encryptionType = "sha1" (or any other available method) in config.lua" << std::endl;
boost::this_thread::sleep(boost::posix_time::seconds(30));[/cpp]

Just edit the seconds that you want to wait after the message.
 
I dont think it is one of those.
What feature did he add?
Try searching in all files for "TARGET_LEVEL_DIFFERENCE".
Maybe combat.cpp
 
[C++] ////////////////////////////////////////////////////////////////////// // OpenT - Pastebin.com

this is the combat.cpp bro i already uploaded

- - - Updated - - -

i found it

Lua:
					if(attack->getLevel() < 80 || targ->getLevel() < 80)
					{
						if(abs(attack->getLevel() - targ->getLevel()) > g_config.getNumber(ConfigManager::TARGET_LEVEL_DIFFERENCE))
						{					
							int i = g_config.getNumber(ConfigManager::TARGET_LEVEL_DIFFERENCE);
							std::string s;
							std::stringstream out;
							out << i;
							s = out.str();
							attack->sendCancel("You can't attack player higher/lower than " + s + " levels.");
							return false;
						}			
					}
				}

- - - Updated - - -

http://pastebin.com/zAv3Y4Br
its on game.cpp
 
As that is just a warning you can turn warnings off.
That warning also appears to me sometimes, but clicking compile just skips it for me.
 
Back
Top