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

[7.72] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

and the second qeustion, about player Deaths... Under "environment_killers", is only written one Monster. I want to edit 2 Monster or like 2 Players who killed the player. Is there any method how i can change it? Would be nice, if anyone can help me.
 
and the second qeustion, about player Deaths... Under "environment_killers", is only written one Monster. I want to edit 2 Monster or like 2 Players who killed the player. Is there any method how i can change it? Would be nice, if anyone can help me.

You need to edit sources for both things, the share exp and the death thing.
 
you know maybe, in wich source I can find Death list and share exp?
The Source with the Party share I allrady added, but I really don't know how to edit the problem with the death list. I know where it is written in player.cpp under death, but I don't know how to edit or change it. Maybe you can help me there, thanks
 
The Source with the Party share I allrady added, but I really don't know how to edit the problem with the death list. I know where it is written in player.cpp under death, but I don't know how to edit or change it. Maybe you can help me there, thanks
I got no C++ knowledge.
 
I keep saving the map with item.otb in server files and make sure its all set to version 2 in clients.xml but it still wont load the map
 
When I use this, all my teleports in my map bug and lose their set tp location?
 
When I use this, all my teleports in my map bug and lose their set tp location?
I think I uploaded the wrong items.otb to repository, I just changed it, grab it and try again.
 
Anyone else experience the problem with magic light wands, they aren't running out. It will say brand-new, then you use it; and it will never run out. Tested by seting to 5 seconds, and it wouldn't disappear.

Also still having that spell book debug, very strange.
 
Error when player is getting banned for unjustified kills, doesn't ban them.

Code:
mysql_real_query(): INSERT INTO `bans` (`type`, `value`, `expires`, `added`, `admin_id`, `comment`, `statement`, `reason`, `action`) VALUES (2, 362, 604800, 1412275227, 1, 'Automatic', '', 28, 2): MYSQL ERROR: Cannot add or update a child row: a foreign key constraint fails (`othire`.`bans`, CONSTRAINT `bans_ibfk_1` FOREIGN KEY (`admin_id`) REFERENCES `players` (`id`) ON DELETE SET NULL)
 
Also when using
Code:
ALTER TABLE `bans`
ADD CONSTRAINT `bans_ibfk_1` FOREIGN KEY (`admin_id`) REFERENCES `players` (`id`) ON DELETE SET NULL;
I get
Code:
#1005 - Can't create table 'othire.#sql-ba3_1ca0b' (errno: 121)
 
Ok so I recompiled with my played Id of the gamemaster (player.cpp) and now the player does get banned, but they can log right back in.
 
Fix is in player.cpp search "addPlayerBan" and change for the below code.
if (g_bans.addPlayerBan(getName(), std::time(NULL)+g_config.getNumber(ConfigManager::BAN_LENGTH), 8, "Automatic", "", 28, ACTION_BANISHMENT))
 
Back
Top