[request] lottery procedure

09/16/2020 21:53 sigel123456789#1
it has to be when user use a scroll it inserts his name into a table
and then selects random 10 from the table without repeating names
09/17/2020 01:59 JoleChow*#2
Quote:
Originally Posted by sigel123456789 View Post
it has to be when user use a scroll it inserts his name into a table
and then selects random 10 from the table without repeating names
Found this in my laptop
You can edit it to work as return scroll (AddLogItem)

09/17/2020 03:23 sigel123456789#3
Quote:
Originally Posted by JoleChow* View Post
Found this in my laptop
You can edit it to work as return scroll (AddLogItem)

thanks but iam looking for the procedure which will select the winners
09/17/2020 10:06 Devsome#4
Quote:
Originally Posted by sigel123456789 View Post
thanks but iam looking for the procedure which will select the winners
Did you read that Code from @[Only registered and activated users can see links. Click Here To Register...] ?
This looks like that Procedure
Code:
...exec SRO_VT_SHARD.dbo._ADD_ITEM_EXTERN...
09/17/2020 10:30 sigel123456789#5
Quote:
Originally Posted by Devsome View Post
Did you read that Code from @[Only registered and activated users can see links. Click Here To Register...] ?
This looks like that Procedure
Code:
...exec SRO_VT_SHARD.dbo._ADD_ITEM_EXTERN...
ya that what not looking for
iam looking for silk lottery which selects random 10 winners
it could be in 2 ways
1- scroll when the player uses . it inserts his name into a table then selects 10 randomly
2- buying tickets and keep in inventory and before announcing winners a procedure checks items in inventory and inserts into a table then selects 10 randomly