I got this working now
It won't set a time limit cause i don't need it. Feel free to add it, if you want.
Those items will appear in the item box. Look for the /cash flag in your launcher. Thank you Raskim for posting those infos about the paidItem thing
Users won't recieve a message in the chat, that they have recieved a new item!
Code:
Use Telecaster
DECLARE @id int; --accountid
DECLARE @itemcount int; --Anzahl der Items
DECLARE @item int;
DECLARE @avatarid int;
-----------Insert Settings here-----------------
SET @item = '' --INSERT ITEM ID (e.g. 2010764 R6 Cloak)
SET @itemcount = '1' --INSERT THE NUMBER OF ITEMS
SELECT @avatarid = sid FROM Character WHERE name = 'CHARNAME' --INSERT CHARACTER NAME
------------------------------------------------
SELECT @id = account_id FROM Character WHERE sid = @avatarid
--Warning
IF @id IS NULL
BEGIN
PRINT 'WARNING: This Character does not exist. No Rows affected!'
RETURN
END
--DB Update
INSERT INTO [telecaster].[dbo].[PaidItem]([account_id],[avatar_id],[avatar_name],[item_code],[item_count],[rest_item_count],[bought_time],[valid_time],[server_name],[taken_avatar_id],[taken_avatar_name],[taken_server_name],[taken_time],[taken_account_id],[confirmed],[confirmed_time]) VALUES (@id,@avatarid,NULL,@item,@itemcount,@itemcount,'2011-10-01 12:00:00.000',NULL,NULL,NULL,NULL,NULL,NULL,@id,NULL,NULL)
I got this working now
It won't set a time limit cause i don't need it. Feel free to add it, if you want.
Those items will appear in the item box. Look for the /cash flag in your launcher. Thank you Raskim for posting those infos about the paidItem thing
Users won't recieve a message in the chat, that they have recieved a new item!
Code:
Use Telecaster
DECLARE @id int; --accountid
DECLARE @itemcount int; --Anzahl der Items
DECLARE @item int;
DECLARE @avatarid int;
-----------Insert Settings here-----------------
SET @item = '' --INSERT ITEM ID (e.g. 2010764 R6 Cloak)
SET @itemcount = '1' --INSERT THE NUMBER OF ITEMS
SELECT @avatarid = sid FROM Character WHERE name = '' --INSERT CHARACTER NAME
------------------------------------------------
SELECT @id = account_id FROM Character WHERE sid = @avatarid
--Warning
IF @id IS NULL
BEGIN
PRINT 'WARNING: This Character does not exist. No Rows affected!'
RETURN
END
--DB Update
INSERT INTO [telecaster].[dbo].[PaidItem]([account_id],[avatar_id],[avatar_name],[item_code],[item_count],[rest_item_count],[bought_time],[valid_time],[server_name],[taken_avatar_id],[taken_avatar_name],[taken_server_name],[taken_time],[taken_account_id],[confirmed],[confirmed_time]) VALUES (@id,@avatarid,NULL,@item,@itemcount,@itemcount,'2011-10-01 12:00:00.000',NULL,NULL,NULL,NULL,NULL,NULL,@id,NULL,NULL)
Ist doch im Prinzip nichts anderes wie mein Script?
Na gut, du hast noch die klausel reingehauen, das er dir anzeigt das die falsche id verwendet wurde.
Nein ich habs einfacher gemacht, dass du nicht für jeden insert:
1. die character nummer suchen musst
2. die account nummer suchen musst
3. die blöcke abzählen musst
und 4. müll in der db drinnen steht
Also ich finds so deutlich komfortabler event items zu verteilen...
Pardon, ich bin etwas verwirrt gewesen, aber ich merk gerade das du die items direkt ins inventar legen willst mit dem script, aber da fehlen doch noch die taken_time usw.
Edit: Vergiss was ich gesagt hab, nicht mein Tag heute
Da ihr ja bestimmt gesehen habt, und ich mich just 4 fun an den Cashshop gesetzt habe, finde ich auch, das die normale Procedure um längen einfacher ist.
Man hat die ganzen Werte, sprich acc. id etc. in Variabeln gespeichert, und brauch dann nichts mehr machen, ...
Ich verzichte eigentlich so schon grundsätzlich auf die INSERT ITEM-Variante, ich mag die nicht. :/ xD
nuja ich nutz immer ingame insert_item aber verschiedene items (donation wings oder event zeug) landet immer im eigenen inventar. dafür ist die box ganz nice
[26.03]Geoning D3D V5.2 Beta - Chams, Fixed OPK, 2 vesion menu, Fixed SpeedHack 03/26/2011 - WarRock Hacks, Bots, Cheats & Exploits - 10 Replies Od autora...
OPK, SVP, wymaga szybkiego procesora.
Menu zmieniamy za pomocą klawiszy PageUp i PageDown
Mam nadzieje, że hack się wam spodoba :)
ChangeLog
26.03.2011 - 5.2
- Usunięto opcje pokazywania ilości dinarów
- Dodano funkcje D3D
- Poprawiono właczanie hacka, nie laguje pierwszego ładowania
VIP HACK @@@@@ 02.03.2011 by Geoning. Many Fixed PLAYERS OPK, FIXED NFD 03/02/2011 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies Cześć, hack mojej produkcji ^^
Na 64bitowym Windowsie 7 hack działa bez lagowania ponad 3 godzin (dalej nie testowałem ^^)
Warning! If you want to copy the hack into other forums, leave the current links to download and VirusTotal!
Co się zmieniło??
02.03.2011 - 4.9
- ESP Health Bar zmienia automatycznie kolor w zależności od ilości życia. Skala wylicza 100 kolorów.
- Naprawiono funkcje NFD - Nie trzęsie kamerą