Jump to content

9.1 Crystal Server 0.1.5 Sources


Recommended Posts

Oi, presiso esos sources para fazer um upgrade do sprites em meu ot, solo presiso aumentar max ids em items.cpp é fixar hotkeys em game.cpp Eu nao tenho os sources.
Me ajudan?
game.cpp

bool Game::playerUseItemEx(uint32_t playerId, const Position& fromPos, int16_t fromStackpos, uint16_t fromSpriteId,
	const Position& toPos, int16_t toStackpos, uint16_t toSpriteId, bool isHotkey)
{
	Player* player = getPlayerByID(playerId);
	if(!player || player->isRemoved())
		return false;

	if(isHotkey && !g_config.getBool(ConfigManager::AIMBOT_HOTKEY_ENABLED))
		return false;

	Thing* thing = internalGetThing(player, fromPos, fromStackpos, fromSpriteId, STACKPOS_USEITEM);
	if(!thing)
	{
		std::cout << "h" << std::endl;
		player->sendCancelMessage(RET_NOTPOSSIBLE);
		return false;
	}

 

E aumentar max ids para 90000+ sprites em items.cpp

Por favor, seria de muita ajuda si me da os sources para editar solo eso, obrigado :)

 

Link to post
Share on other sites
  • Moderator

Este tópico foi movido para a seção de Suporte Otserv.

                                                                                                                  Have no idea!

                                                                                                  freelance? go to my discord:  sun#8860

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Confirmação de Termo