antiblock
https://arwen2.global/
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
[ADM]Ghosting

Problema no Mysql

Question

Boas, pessoal estou com problema no servidor, no mysql, basicamente para explicar melhor dentro do jogo esta alguém a 120, e no site e no mysql aparece a 119 quando dou reboot da rollback,

 

Queria saber se alguém sabe o tem ideia do que possa ser este problema, já falei com varias pessoas e nenhuma soube me dizer que podia ser

 

 

Desde já obrigado

Share this post


Link to post
Share on other sites

22 answers to this question

  • 0
1 minuto atrás, [ADM]Ghosting disse:

Isso também se da a perda de level ? porque também tem perda de lvl

 

tinyint vai até 255 por isso não é disso, mas sim das querys, ele não consegue dar update visto que as querys não consegue guardar devido aos outros dados estarem serem maiores do que a db permite...

 

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega
  • 0

Basicamente mudo o hp - type para int

 

e o exp teria de ser na sourcE?

Share this post


Link to post
Share on other sites
  • 0
1 minuto atrás, [ADM]Ghosting disse:

Basicamente mudo o hp - type para int

 

e o exp teria de ser na sourcE?

 

Tens de mudar o exp na source para valores mais pequenos, visto que o exp para mudar para bigint ou terias de fazer muitas mudanças, basta só mudar no constants.cpp para tipo 2.1kkk exp...

 

Share this post


Link to post
Share on other sites
  • 0

Prefeito e este aqui também me esta aparecer

 

SYSERR: Jun 26 19:25:08.587213 :: Update: cannot update marriage : PID:32402 32542
SYSERR: Jun 26 19:35:26.556966 :: ChildLoop: AsyncSQL: query failed: Data truncated for column 'size' at row 1 (query: replace into mob_proto (vnum, name, locale_name, type, rank, battle_type, level, size, ai_flag, setRaceFlag, setImmuneFlag, on_click, empire, drop_item, resurrection_vnum, folder, st, dx, ht, iq, damage_min, damage_max, max_hp, regen_cycle, regen_percent, exp, gold_min, gold_max, def, attack_speed, move_speed, aggressive_hp_pct, aggressive_sight, attack_range, polymorph_item, enchant_curse, enchant_slow, enchant_poison, enchant_stun, enchant_critical, enchant_penetrate, resist_sword, resist_twohand, resist_dagger, resist_bell, resist_fan, resist_bow, resist_fire, resist_elect, resist_magic, resist_wind, resist_poison, resist_claw, dam_multiply, summon, drain_sp, skill_vnum0, skill_level0, skill_vnum1, skill_level1, skill_vnum2, skill_level2, skill_vnum3, skill_level3, skill_vnum4, skill_level4, sp_berserk, sp_stoneskin, sp_godspeed, sp_deathblow, sp_revive) values (101, "??", "Cão Selvagem",
 

Share this post


Link to post
Share on other sites
  • 0
1 hora atrás, Karbust™ # PT disse:

 

Tens de mudar o exp na source para valores mais pequenos, visto que o exp para mudar para bigint ou terias de fazer muitas mudanças, basta só mudar no constants.cpp para tipo 2.1kkk exp...

 

Não estou vendo onde seja isso estou na tabela mas não encontro, podia me passar seu contacto?

Share this post


Link to post
Share on other sites
  • 0
1 hora atrás, [ADM]Ghosting disse:

Não estou vendo onde seja isso estou na tabela mas não encontro, podia me passar seu contacto?

 

Esta é a estrutura da minha tabela player

 

/*
 Navicat Premium Data Transfer

 Source Server         : Source Karbust
 Source Server Type    : MySQL
 Source Server Version : 50630
 Source Host           : 192.168.1.96:3306
 Source Schema         : player

 Target Server Type    : MySQL
 Target Server Version : 50630
 File Encoding         : 65001

 Date: 26/06/2018 21:14:34
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for player
-- ----------------------------
DROP TABLE IF EXISTS `player`;
CREATE TABLE `player`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `account_id` int(11) NOT NULL DEFAULT 0,
  `name` varchar(24) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'NONAME',
  `job` tinyint(2) UNSIGNED NOT NULL DEFAULT 0,
  `voice` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
  `dir` tinyint(2) NOT NULL DEFAULT 0,
  `x` int(11) NOT NULL DEFAULT 0,
  `y` int(11) NOT NULL DEFAULT 0,
  `z` int(11) NOT NULL DEFAULT 0,
  `map_index` int(11) NOT NULL DEFAULT 0,
  `exit_x` int(11) NOT NULL DEFAULT 0,
  `exit_y` int(11) NOT NULL DEFAULT 0,
  `exit_map_index` int(11) NOT NULL DEFAULT 0,
  `hp` int(4) NOT NULL DEFAULT 0,
  `mp` int(4) NOT NULL DEFAULT 0,
  `stamina` int(6) NOT NULL DEFAULT 0,
  `random_hp` smallint(5) UNSIGNED NOT NULL DEFAULT 0,
  `random_sp` smallint(5) UNSIGNED NOT NULL DEFAULT 0,
  `playtime` int(11) NOT NULL DEFAULT 0,
  `level` tinyint(2) UNSIGNED NOT NULL DEFAULT 1,
  `level_step` tinyint(1) NOT NULL DEFAULT 0,
  `st` smallint(3) NOT NULL DEFAULT 0,
  `ht` smallint(3) NOT NULL DEFAULT 0,
  `dx` smallint(3) NOT NULL DEFAULT 0,
  `iq` smallint(3) NOT NULL DEFAULT 0,
  `exp` int(11) NOT NULL DEFAULT 0,
  `gold` bigint(255) NOT NULL DEFAULT 0,
  `stat_point` smallint(3) NOT NULL DEFAULT 0,
  `skill_point` smallint(3) NOT NULL DEFAULT 0,
  `quickslot` tinyblob NULL,
  `ip` varchar(15) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT '0.0.0.0',
  `part_main` int(7) NOT NULL DEFAULT 0,
  `part_base` int(4) NOT NULL DEFAULT 0,
  `part_hair` int(4) NOT NULL DEFAULT 0,
  `part_acce` smallint(4) UNSIGNED NOT NULL DEFAULT 0,
  `skill_group` tinyint(4) NOT NULL DEFAULT 0,
  `skill_level` blob NULL,
  `alignment` int(11) NOT NULL DEFAULT 0,
  `prestige` smallint(4) UNSIGNED NOT NULL DEFAULT 0,
  `last_play` datetime(0) NOT NULL DEFAULT '0000-00-00 00:00:00',
  `change_name` tinyint(1) NOT NULL DEFAULT 0,
  `mobile` varchar(24) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `sub_skill_point` smallint(3) NOT NULL DEFAULT 0,
  `stat_reset_count` tinyint(4) NOT NULL DEFAULT 0,
  `horse_hp` smallint(4) NOT NULL DEFAULT 0,
  `horse_stamina` smallint(4) NOT NULL DEFAULT 0,
  `horse_level` tinyint(2) UNSIGNED NOT NULL DEFAULT 0,
  `horse_hp_droptime` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `horse_riding` tinyint(1) NOT NULL DEFAULT 0,
  `horse_skill_point` smallint(3) NOT NULL DEFAULT 0,
  `prestige2` int(255) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`, `last_play`) USING BTREE,
  UNIQUE INDEX `name_idx`(`name`) USING BTREE,
  INDEX `account_id_idx`(`account_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1323 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;

 

Tenho exp em int e hp também em int

Share this post


Link to post
Share on other sites
  • 0
20 horas atrás, Karbust™ # PT disse:

 

Esta é a estrutura da minha tabela player

 


/*
 Navicat Premium Data Transfer

 Source Server         : Source Karbust
 Source Server Type    : MySQL
 Source Server Version : 50630
 Source Host           : 192.168.1.96:3306
 Source Schema         : player

 Target Server Type    : MySQL
 Target Server Version : 50630
 File Encoding         : 65001

 Date: 26/06/2018 21:14:34
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for player
-- ----------------------------
DROP TABLE IF EXISTS `player`;
CREATE TABLE `player`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `account_id` int(11) NOT NULL DEFAULT 0,
  `name` varchar(24) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT 'NONAME',
  `job` tinyint(2) UNSIGNED NOT NULL DEFAULT 0,
  `voice` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
  `dir` tinyint(2) NOT NULL DEFAULT 0,
  `x` int(11) NOT NULL DEFAULT 0,
  `y` int(11) NOT NULL DEFAULT 0,
  `z` int(11) NOT NULL DEFAULT 0,
  `map_index` int(11) NOT NULL DEFAULT 0,
  `exit_x` int(11) NOT NULL DEFAULT 0,
  `exit_y` int(11) NOT NULL DEFAULT 0,
  `exit_map_index` int(11) NOT NULL DEFAULT 0,
  `hp` int(4) NOT NULL DEFAULT 0,
  `mp` int(4) NOT NULL DEFAULT 0,
  `stamina` int(6) NOT NULL DEFAULT 0,
  `random_hp` smallint(5) UNSIGNED NOT NULL DEFAULT 0,
  `random_sp` smallint(5) UNSIGNED NOT NULL DEFAULT 0,
  `playtime` int(11) NOT NULL DEFAULT 0,
  `level` tinyint(2) UNSIGNED NOT NULL DEFAULT 1,
  `level_step` tinyint(1) NOT NULL DEFAULT 0,
  `st` smallint(3) NOT NULL DEFAULT 0,
  `ht` smallint(3) NOT NULL DEFAULT 0,
  `dx` smallint(3) NOT NULL DEFAULT 0,
  `iq` smallint(3) NOT NULL DEFAULT 0,
  `exp` int(11) NOT NULL DEFAULT 0,
  `gold` bigint(255) NOT NULL DEFAULT 0,
  `stat_point` smallint(3) NOT NULL DEFAULT 0,
  `skill_point` smallint(3) NOT NULL DEFAULT 0,
  `quickslot` tinyblob NULL,
  `ip` varchar(15) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT '0.0.0.0',
  `part_main` int(7) NOT NULL DEFAULT 0,
  `part_base` int(4) NOT NULL DEFAULT 0,
  `part_hair` int(4) NOT NULL DEFAULT 0,
  `part_acce` smallint(4) UNSIGNED NOT NULL DEFAULT 0,
  `skill_group` tinyint(4) NOT NULL DEFAULT 0,
  `skill_level` blob NULL,
  `alignment` int(11) NOT NULL DEFAULT 0,
  `prestige` smallint(4) UNSIGNED NOT NULL DEFAULT 0,
  `last_play` datetime(0) NOT NULL DEFAULT '0000-00-00 00:00:00',
  `change_name` tinyint(1) NOT NULL DEFAULT 0,
  `mobile` varchar(24) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `sub_skill_point` smallint(3) NOT NULL DEFAULT 0,
  `stat_reset_count` tinyint(4) NOT NULL DEFAULT 0,
  `horse_hp` smallint(4) NOT NULL DEFAULT 0,
  `horse_stamina` smallint(4) NOT NULL DEFAULT 0,
  `horse_level` tinyint(2) UNSIGNED NOT NULL DEFAULT 0,
  `horse_hp_droptime` int(10) UNSIGNED NOT NULL DEFAULT 0,
  `horse_riding` tinyint(1) NOT NULL DEFAULT 0,
  `horse_skill_point` smallint(3) NOT NULL DEFAULT 0,
  `prestige2` int(255) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`, `last_play`) USING BTREE,
  UNIQUE INDEX `name_idx`(`name`) USING BTREE,
  INDEX `account_id_idx`(`account_id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1323 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;

 

Tenho exp em int e hp também em int

Obrigado aos 2 por ajuda, sim eu já consegui, não precisei de fazer isso mas corrigi nas tabelas do MYSQL 🙂

 

 

Mas no channel ainda tenho este erro aqui

 

process: fdwatch: peer null in event: ident 21

 

o channel leva dc volta activar e aparece esse erro ai.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this