[Help Thread] Please post your questions here.

03/25/2018 16:28 Skolko#6976
when restoring the database of Telecaster . gives an error.
03/25/2018 17:06 ThunderNikk#6977
You need MSSQL developer (Community) edition and use the telecaster from this post...

[Only registered and activated users can see links. Click Here To Register...]
03/25/2018 17:11 Skolko#6978
Telecaster, 9.1 is fine . at 9.4 such error[Only registered and activated users can see links. Click Here To Register...]
03/25/2018 19:27 ThunderNikk#6979
The link next to the little red X in your picture will tell you whats wrong. I can only guess it is database size and that means you are either not using MSSQL community or you are trying to use the released Telecaster instead of the one I linked.
03/26/2018 00:08 Rollk#6980
Hi guys

I encounter a very small problem in my script

look at this :


I want to select an item randomly in "list1"
and have a random amount of "0 to 10"

I am sure that for you it's simple but me who starts in lua ... it is complex:mad:
03/26/2018 00:29 InkDevil#6981
Quote:
Originally Posted by Rollk View Post
Hi guys

I encounter a very small problem in my script

look at this :


I want to select an item randomly in "list1"
and have a random amount of "0 to 10"

I am sure that for you it's simple but me who starts in lua ... it is complex:mad:
Code:
function slot(slot_id)

local list1 = {100001,101100,101101,101102}

local rdx = math.random( 0 , 10 )
local slot1 = list1[math.random(1,table.getn(list1))]

     if slot_id == 1 then 
	 
		insert_item( slot1, rdx )
	 
     end
end
- You pick an item of an array via array_name[index]
- via table.getn(array_name) you get the itemcount(usually the max index, but in your case the count of items) of your array (if I remember correctly).
- via math.random(1,table.getn(array_name)) you choose randomly a number between 1 and the itemcount of your array.
03/26/2018 00:40 Rollk#6982
Quote:
Originally Posted by LamiaCore View Post
Code:
function slot(slot_id)

local list1 = {100001,101100,101101,101102}

local rdx = math.random( 0 , 10 )
local slot1 = list1[math.random(1,table.getn(list1))]

     if slot_id == 1 then 
	 
		insert_item( slot1, rdx )
	 
     end
end
- You pick an item of an array via array_name[index]
- via table.getn(array_name) you get the itemcount(usually the max index, but in your case the count of items) of your array (if I remember correctly).
- via math.random(1,table.getn(array_name)) you choose randomly a number between 1 and the itemcount of your array.
Thank you very much @[Only registered and activated users can see links. Click Here To Register...] :handsdown::handsdown::handsdown:
03/26/2018 01:56 Wael™#6983

guys, I have the same issue if anyone can help :D:D @[Only registered and activated users can see links. Click Here To Register...]
03/26/2018 12:01 InkDevil#6984
Quote:
Originally Posted by Wael™ View Post

guys, I have the same issue if anyone can help :D:D @[Only registered and activated users can see links. Click Here To Register...]
I can't help with that, because I never used 7.X Files on my own,
so I have no idea about the db-backgrounds in that epic.
Sorry
03/26/2018 12:09 Wael™#6985

its fine man :handsdown::handsdown:

hmmm do you know about the pets improving that happen in 8.1-9.1

like pets in 7.XX so slow when they take an item from the ground
is there any way to make it faster like 9.1 8.1 ?


thx for your time ":)
03/26/2018 12:52 ThunderNikk#6986
Pretty sure that one is hard coded into the game server.
03/26/2018 13:53 thefear511#6987
Quote:
Originally Posted by Wael™ View Post
its fine man :handsdown::handsdown:

hmmm do you know about the pets improving that happen in 8.1-9.1

like pets in 7.XX so slow when they take an item from the ground
is there any way to make it faster like 9.1 8.1 ?


thx for your time ":)
looters are hardcoded, they have made them faster in higher epics.

the thing responsible about this is sframe + herlock, if you have the source code or a reverse engineer expert you can make it possible in 7.2.
03/26/2018 17:51 12sky2Server#6988
who have the 9.4 databases of mssql 2008r2?
03/26/2018 18:27 ThunderNikk#6989
Why can't you just get the latest MSSQL developer edition?...

[Only registered and activated users can see links. Click Here To Register...]

Even if you mean you have a 2008 R2 server you can install the latest edition of MSSQL on it.

Am I really understanding correctly that you want to run it on an old MSSQL 2008 R2 version?
03/26/2018 19:01 Rollk#6990
Quote:
Originally Posted by Wael™ View Post

guys, I have the same issue if anyone can help :D:D @[Only registered and activated users can see links. Click Here To Register...]
I am not sure
but you can make a script that says that the account "ID" receives the passport
I do not have the 7.2 available for testing
But why want to do all the acount?
sorry for my bad English..