Jump to content

V1N1C1U5

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

1699 profile views

V1N1C1U5's Achievements

Poring

Poring (1/15)

  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I ask to chat gpt to make an npc to heal and give buff to near players, this is the result: #include <stdio.h> #include <unistd.h> // Função para obter jogadores próximos Player* get_nearby_players(int* num_players) { // Código para obter jogadores próximos return players; } // Função para curar jogadores void heal_players(Player* players, int num_players) { for (int i = 0; i < num_players; i++) { // Código para curar o jogador players[i].health = players[i].max_health; } } // Função para dar buff nos jogadores void buff_players(Player* players, int num_players) { for (int i = 0; i < num_players; i++) { // Código para adicionar um buff ao jogador players[i].buffs |= BUFF_ID; } } int main() { while (1) { int num_players; // Obter jogadores próximos Player* players = get_nearby_players(&num_players); // Curar jogadores heal_players(players, num_players); // Dar buff nos jogadores buff_players(players, num_players); // Pausar por alguns segundos antes de executar novamente sleep(5); } return 0; } Now my question to u guys, this gonna work in emulator?
  2. Olá, pessoal. Adicionei itens custons no meu servidor, eles estão funcionando normalmente, sem erros como dá pra ver na imagem abaixo : O problema são os itens que já existiam no servidor, eles não estão aparecendo a sprite. Não acusa nenhum erro no emulador ou no hexed, veja a imagem abaixo com item equipado e a sprite não aparece : Algúem já passou por isso e sabe como resolver? Ou tem alguma idéia de como posso arrumar? Agradeço.
×
×
  • Create New...