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

commands phpmyadmin

ItsMeMagic

Old Tibia Player.
Joined
Sep 11, 2008
Messages
318
Reaction score
25
Location
exiva "Magic~
hello otlanders..
i wonder .
what is the command to add an item to a online player by phpmyadmin ?
since i cant give an item ingame to a x player because i cant log on a computer.
i would to give the item via phpmyadmin.
a magic plate armor for example?
 
Are you using Gesior Shop System? You got z_ots_comunication table in phpmyadmin?

If so, you can use this code:

Code:
INSERT INTO `z_ots_comunication` (`id`, `name`, `type`, `action`, `param1`, `param2`, `param3`, `param4`, `param5`, `param6`, `param7`, `delete_it`) VALUES
(1, 'Admin', 'login', 'give_item', '2160', '100', '', '', 'item', 'Item Name', '', 1);
 

Okay in that case you do pretty much what @slawkens said, but with the Znote tables;
SQL:
CREATE TABLE IF NOT EXISTS `znote_shop_orders` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`account_id` int(11) NOT NULL,
`type` int(11) NOT NULL,
`itemid` int(11) NOT NULL,
`count` int(11) NOT NULL,
`time` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB;

Just change the values and names from his query to the ones above, you might have to add / remove some.
Then you set the itemid etc etc

After that the player has to use the talkaction command.
 
Back
Top