Hello.. Does Anyone Know How To Store a Item In Your inventory when you create a char or have it equipted already when u create a char.. i used to know how to do this, but i forgot.. can anyone help me out please? much appreciated<3.. for example: like when u create a char u have x10 apples in your inventory etc.. thanks
mh where would it maybe be an intresting question isnt it? lets take a deeper view.
Might be be maybe in the database in sql? oh gosh t is ö.Ö now we need to find where it is in the database mh..... what about ps_gamedefs? lets take a look.
OH there is a tabled called BaseItemsDefs!!! epic i will take a look into it and will post later if it is what u are searching for.
GENIUS !!
Teddy your sarcasm wasn't really appropriate since you didn't reply to the second part of his question. BaseItemsDefs won't make your gear be immediately equipped on the player.
I tried to make my chars start with gear already on them via the Create_Char_R procedure and I might have screwed something up as I was getting the "Name already in use" error. Still, it should be possible through a trigger.
GENIUS !!
Teddy your sarcasm wasn't really appropriate since you didn't reply to the second part of his question. BaseItemsDefs won't make your gear be immediately equipped on the player.
I tried to make my chars start with gear already on them via the Create_Char_R procedure and I might have screwed something up as I was getting the "Name already in use" error. Still, it should be possible through a trigger.
right it musst possible by using a trigger and my post didnt had a bad meaning i was just trolling and i guess all noticed that so ur flame wasnt needed at all he actually asked for one of this solutions and i gave him 1 so he got the answer he was looking for.
first of all it depends on the way how u act and my trolling wasnt blaming anyone it was just joking around where ur "trolling" wasnt rly trolling since u tried to insult with it.
second this is not the thread to talk about that if u want to continue u are welcome to send me a pm and i will gladly answer u.
I'm sorry that raise the subject, but there is the question ...
I changed the procedure [usp_Create_Char_R] but I have a problem with ItemUID, how is generated ItemUID?
I'm sorry that raise the subject, but there is the question ...
I changed the procedure [usp_Create_Char_R] but I have a problem with ItemUID, how is generated ItemUID?
need use triggers for it, i have this script but i can't give it for free
need use triggers for it, i have this script but i can't give it for free
"can't give it for free" Русский я так понял
You misunderstood me, I guess, I do not need to Equip Item on the character, I just need to create a set of objects to issue depending on the level of the choice (15 \ 30 \ 60)
simple addition INSERT INTO. quite work, the only problem is ItemUID, to generate every time a new one, so I do not know how it is generated .... Or could just rand () generit ItemUID, no problems?
I'm a noob in sql ..
DECLARE @anItemUID uniqueidentifier
SET @anItemUID = NEWID()
itemUID is a bigint (aka int8 or 64 bits) while NEWID generates a 128-bit (CLSID like) value.
this is no implicit (nor explicit) convertion between uniqueidentifier and numeric types, so we have to convert it to string (sole possible conversion), then extract/keep 64 of the 128 bits and finally convert the hexa-string to a bigint value:
note that a 4294967295 * rand() is likely also valid, the sole purpose of the ItemUID column is to contain an unique identifier (to prevent item dupe and so on), there this is no strong proof of uniqueness of values obtained by NEWID as opposed to rand (both function can internally rely on the same pseudo random generator).
You misunderstood me, I guess, I do not need to Equip Item on the character, I just need to create a set of objects to issue depending on the level of the choice (15 \ 30 \ 60)
simple addition INSERT INTO. quite work, the only problem is ItemUID, to generate every time a new one, so I do not know how it is generated .... Or could just rand () generit ItemUID, no problems?
I'm a noob in sql ..
на самом деле там все просто, 1 триггер и все решено, его даже создавать не нужно, а просто дописать
на самом деле там все просто, 1 триггер и все решено, его даже создавать не нужно, а просто дописать
ты про какой тригер? у меня только 1 тригер Trig_Chars_INSERT...в общем то все работает и через процедуру Create_Char_R, проблема была только в itemUID, если я правильно понял, то можно спокойно генерить itemUID, главное что бы он был уникальным.
ты про какой тригер? у меня только 1 тригер Trig_Chars_INSERT...в общем то все работает и через процедуру Create_Char_R, проблема была только в itemUID, если я правильно понял, то можно спокойно генерить itemUID, главное что бы он был уникальным.
да, я про этот триггер, я через него сделал, ибо в create_char_r он вроде-бы charid у меня не передавал, что ли,не помню
Alpha-Infectus/Cap110/NewSkills/NewBlue/Job Based/Auto Equip Item/10KSilk/And More 10/11/2012 - SRO PServer Advertising - 143 Replies http://epvpimg.com/3R7Gc
Hello Guys Today we just Finish Devoloper Alpha Online After 15 Days testing
and plane for this Server its not bassed on Donation only its really fun PVE High RAte Server
Enjoy the Details And Have fun
General
• Website: Alpha Infectus Online
• Register: Alpha Online | Register
• Download: Alpha Online | Download