Probleme with commande

07/19/2011 12:29 Nouredine96#1
Héllo I Have probleme with my game001 i put this commande
#insert_item(Petcard ID, 1, 1, 1, -2147483648, "char_name") with the id of pet and my name in the game but i don't recive the pet !!!! Help Me Pleas
07/19/2011 12:41 ufoman444#2
Did you relogg ?
07/19/2011 12:49 hamada omara#3
yes i have the same problem the code not work with server v 6.1

put work with old version

thx
07/19/2011 13:03 Nouredine96#4
But I Would Like AdminTools For Add The Pets
07/19/2011 15:26 johhnyxD#5
Quote:
Originally Posted by Nouredine96 View Post
Héllo I Have probleme with my game001 i put this commande
#insert_item(Petcard ID, 1, 1, 1, -2147483648, "char_name") with the id of pet and my name in the game but i don't recive the pet !!!! Help Me Pleas
use this query
Code:
USE [Telecaster]
GO

DECLARE @return_value int

EXEC @return_value = [dbo].[smp_insert_item]
@IN_SID = 1, --Change this Per Item
@IN_OWNER_ID = 1, --Char ID
@IN_ACCOUNT_ID = 0,
@IN_SUMMON_ID = 0,
@IN_AUCTION_ID = 0,
@IN_KEEPING_ID = 0,
@IN_CODE = 910037, --Item Code
@IN_IDX = 100, --Place in Inv (doesnt seem to matter)
@IN_FLAG = -2147483648, --This makes Pet tamed
@IN_CNT = 1, --How Many you want
@IN_LEVEL = 1, --Item Level
@IN_ENHANCE = 0, -- Item +
@IN_ENDURANCE = 100,
@IN_GCODE = 1,
@IN_REMAIN_TIME = 0,
@IN_ELEMENTAL_EFFECT_TYPE = 0,
@IN_ELEMENTAL_EFFECT_EXPIRE_TIME = N'1970-01-01 11:00:00.000',
@IN_ELEMENTAL_EFFECT_ATTACK_POINT = 0,
@IN_ELEMENTAL_EFFECT_MAGIC_POINT = 0

SELECT 'Return Value' = @return_value

GO
Insert the ID from the pet you want at --Item Code