Hi all,
i try to make a sqlQuery for creating a new row in _RefObjItem and take the generated ID from the column ID and paste in _RefObjCommon a new line and in column Link it paste die column ID from the new line in _RefObjItem ... i try all but all time i get the faildure:
Code:
Msg 109, Level 15, State 1, Line 1
There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
Completion time: 2024-09-20T14:31:15.0465060+02:00
SELECT * FROM [SILKROAD_R_SHARD].[dbo].[_RefObjItem] WHERE ID = @NewID;
SELECT * FROM [SILKROAD_R_SHARD].[dbo].[_RefObjCommon] WHERE ID = @NewID;
Anybody has a idea or could help me to fix it?
I know i can put the lines manuel but i want to make it over sqlQuery it has some reasons...
it would be really really nice if someone could help me
now i just try to create only in _RefObjItem a new line with this Query but it also failed and i get this error:
Code:
Msg 109, Level 15, State 1, Line 1
There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.
INSERT INTO [_RefObjCommon] ([Service],[CodeName128],[ObjName128],[OrgObjCodeName128],[NameStrID128],[DescStrID128],[CashItem],[Bionic],[TypeID1],[TypeID2],[TypeID3],[TypeID4],[DecayTime],[Country],[Rarity],[CanTrade],[CanSell],[CanBuy],[CanBorrow],[CanDrop],[CanPick],[CanRepair],[CanRevive],[CanUse],[CanThrow],[Price],[CostRepair],[CostRevive],[CostBorrow],[KeepingFee],[SellPrice],[ReqLevelType1],[ReqLevel1],[ReqLevelType2],[ReqLevel2],[ReqLevelType3],[ReqLevel3],[ReqLevelType4],[ReqLevel4],[MaxContain],[RegionID],[Dir],[OffsetX],[OffsetY],[OffsetZ],[Speed1],[Speed2],[Scale],[BCHeight],[BCRadius],[EventID],[AssocFileObj128],[AssocFileDrop128],[AssocFileIcon128],[AssocFile1_128],[AssocFile2_128],[Link]) VALUES (1,@@CodeName128,'Scroll for New Systems','xxx',CONCAT('SN_',@@CodeName128),CONCAT('SN_',@@CodeName128,'_TT_DESC'),1,0,3,3,3,1,180000,3,0,1,1,1,255,0,1,0,0,1,0,0,0,0,0,0,0,-1,0,-1,0,-1,0,-1,0,-1,0,0,0,0,0,0,0,100,0,0,0,'xxx',@@DropBSR,@@IconDDJ,'xxx','xxx',@@RefObjItem_ID+1)
SELECT * FROM [SILKROAD_R_SHARD].[dbo].[_RefObjItem] WHERE ID = @NewID;
SELECT * FROM [SILKROAD_R_SHARD].[dbo].[_RefObjCommon] WHERE ID = @NewID;
END TRY
BEGIN CATCH
SELECT ERROR_MESSAGE() AS ErrorMessage;
END CATCH;
The error has been corrected. The code works with you.
[HELP] How create some weapons in ShStudio? / Crash item mall / can't create new mobs 06/24/2021 - Shaiya PServer Development - 3 Replies Hey,
Before say "use the search button" or "see other topic for resolve ur problem" i have search and i don't have found any fix for my problem :/
I have 4 big problem:
-1: When i buy an item in my item mall IG the game crash (please try to recconect to the server ERROR 0) i don't have found help after 2 days of search
-2: When i want create a boss/mobs IG (only boss and mobs who i have add in my Monster.SData) i have this error in the tchat "Not authorized to create!" why i have this...
[Solved] Create Item from WorldServer, Item visible only after restart client 03/20/2017 - Flyff Private Server - 4 Replies Hi,
I am currently trying to understand the FlyFF Source by implementing my own systems from scratch.
I just got inspired by a Perin Converter using the Motion System. So I created a new motion which tries to convert penya to perin when clicking the motion.
That also works. I check if user has more or equal to 100.000.000 penya in inventory, if yes, remove the gold, and create a perin in his inventory.
Well removing the penya works flawless. Creating the perin works too, but its...
New Private server Update new skill ... new item . . .. New avata . . . New map. . . 01/19/2011 - Cabal Private Server - 54 Replies Web :cabalvn.net
YouTube - CabalVN Big Update.mpg
]Remember This server is EP2 with newskill..New map..new item
and inferno mob have only in channel hard core 3
New channel 4 . . .for farm
New Item Change Kit (Hair Syle) - Fever:http://images.plurk.com/3399722_2392a65b4121 5880b03fecf8455271e7.jpg
http://images.plurk.com/3399722_a1fea1218f6a2d19d ef18830a9b41a85.jpg
Ring of Luck and Ring of crit :http://ca6.upanh.com/12.452.16684262.CPH0/cabalvn net1283018347rin.jpg
FS new skill...