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

help mysql no save

Try this:

SQL:
CREATE TABLE `guild_wars` (
  `id` int(11) NOT NULL,
  `guild1` int(11) NOT NULL DEFAULT '0',
  `guild2` int(11) NOT NULL DEFAULT '0',
  `name1` varchar(255) NOT NULL,
  `name2` varchar(255) NOT NULL,
  `status` tinyint(2) NOT NULL DEFAULT '0',
  `started` bigint(15) NOT NULL DEFAULT '0',
  `ended` bigint(15) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

SQL:
ALTER TABLE `players` ADD `castViewers` smallint(5) DEFAULT '0';
 
why player lose items when dead and magic<>some worng V where
MY server player no lose items or magic or skill only lose exp
its server like noobwar
 

Attachments

Last edited:
Stell wrong in sourc worng
i need Code for player no lose items PLEASE
im dont need player lose items or skill or magic > only lose exp
But u good in Code < Great
 

Attachments

You are missing some columns in database thats why you loosing items i guess. You need just update your database like we are doing now and correct all errors.
SQL:
ALTER TABLE `guild_wars` ADD `end` bigint(15) NOT NULL DEFAULT '0';
 
mysql_real_query(): DELETE FROM guild_wars WHERE status = 0 AND begin < 1590856869; - MYSQL ERROR: Unknown column 'begin' in 'where clause' (1054)

I take all your guild war Copy in mysql but i got a problem
Try this:

SQL:
CREATE TABLE `guild_wars` (
  `id` int(11) NOT NULL,
  `guild1` int(11) NOT NULL DEFAULT '0',
  `guild2` int(11) NOT NULL DEFAULT '0',
  `name1` varchar(255) NOT NULL,
  `name2` varchar(255) NOT NULL,
  `status` tinyint(2) NOT NULL DEFAULT '0',
  `started` bigint(15) NOT NULL DEFAULT '0',
  `ended` bigint(15) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

SQL:
ALTER TABLE `players` ADD `castViewers` smallint(5) DEFAULT '0';
 
Back
Top