Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 15.08.2005, 18:26   #1
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default Reserved Slots for some players and Builders 1

There is a way to make reserved slots for some players even if the server is full? and builders 1 always can login even if the server is full too?
txs
sry my english
archonus is offline  
Old 15.08.2005, 18:37   #2
lamnh
Архивный участник
 
Join Date: Mar 2005
Posts: 185
Default

Try open ur L2server - Set - Set limit , u will see this.
lamnh is offline  
Old 15.08.2005, 20:52   #3
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default

LetBuilder=1 doesnt let gms login if server is full :S
archonus is offline  
Old 16.08.2005, 05:35   #4
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

builder char or builder acc ?
if you setted up bilder like //setbuilder name 1, its sets only char's builder=1 state in mssql db, you may need to correct builder state in lin2db:user_account, and after this all works correctly.

p.s. sorry for my bad english =)
darkagent is offline  
Old 16.08.2005, 11:34   #5
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

You tried or You assume ?
It never worked properly, and i guess it newer will.
Eliot is offline  
Old 16.08.2005, 12:34   #6
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default

i have 6 admin accounts with builder 1 and noone works with letbuilder=1 or 0 i already test both ways
if server full cant login
anyone has this working or know a way to make reserved slots ?
txs
archonus is offline  
Old 16.08.2005, 13:22   #7
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

L2server>Set>Set Limit, Check box.

lin2WORLD:builder_account : login_name >> 1 >> user_id
Click the exclamation point.

Check: lin2WORLD:user_account : builder = 1

Reboot Server.

Works.

//quick_edit stupid_entry 2005 08 16 17 03
nepsquare is offline  
Old 16.08.2005, 14:58   #8
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

Have u guys ever took a good look at user_account table?
there is no such column like builder or anything similar.
BiGBoY is offline  
Old 16.08.2005, 15:40   #9
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Lin2World.DBO.builder_account. Theres no user_account on lin2world.

Oso
Osito2Dancer is offline  
Old 17.08.2005, 00:10   #10
Professor F
Архивный участник
 
Join Date: Jul 2005
Posts: 136
Default

lin2db.user_account
lin2world.builder_account
definitely exist... should I print screen to prove?
Professor F is offline  
Old 17.08.2005, 00:19   #11
aseren
Архивный участник
 
Join Date: Feb 2005
Posts: 94
Default

No , it excists we all know this , they just need to open there eyes.
aseren is offline  
Old 17.08.2005, 04:00   #12
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

rus: kto ishet tot vsegda naidet
eng: try use search or fix some devices... like eyes or hands =)
darkagent is offline  
Old 17.08.2005, 08:41   #13
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

Okido, but I like to know if you succeeded...

Did you?
nepsquare is offline  
Old 17.08.2005, 09:21   #14
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

builder's account rulz..
i can override user-limit freely..

and all my chars on this acc have builder=1 then they creates...
darkagent is offline  
Old 17.08.2005, 12:40   #15
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default

i already try all this before i post guys
i have my account with builder 1
seted on builder_account with : accountname 1 accountid
and i still cant login to server if is full and letbuilder=1
any ideas?
archonus is offline  
Old 17.08.2005, 12:47   #16
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

Ok tell me, do you have any entries in the table lin2WORLD>>builder_account? (No? check one of my/our previous posts)

If so, does the userid refer to the correct account?
If so, is the builder box checked in L2server?

Did you generate ANY error messages concerning this issue?
nepsquare is offline  
Old 17.08.2005, 12:51   #17
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default

yes i have , like i said before i have 6 gms account working fine
letbuilder box is checked in l2server
no errors all working except gms cant login with server full
archonus is offline  
Old 17.08.2005, 13:04   #18
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

Untested, just idea.... I hope someone release this and then share

So, subj can be done through stored procedures.
1) Make all reserved accounts builders (for example 9 lvl)
2) Modify some stored procedure, that gets information about acc (for example lin2db.ap_GStat) - add something like following (of course this is not code, just pseudo-sql-code aka idea)

Code:
select @builder_lvl=builder from builder_account where account_id=@account_id

if (@builder_lvl = 0) then
begin
  select @playersonline=count(*) from lin2world.user_data where (login>logout) and (login>0) and (logout>0)
  if (@playersonline > @pl_limit) then
   begin
     set @blockflag2 = 1 //AFAIK this prevent from entering
    //or this: set @paystat = 0
   end

end

else
begin
  set @paystat = 1
end
3) set pl_limit in this code to some value you want, set limit in your configs to some value that higher than your normal user limit
4) online count through DB in most cases contains "ghosts", so we should make some ghost-buster actions (for example add modification to stored procedure, that clears all unowned items @ start or make separate procedure and put it as job before planned restart)
hr is offline  
Old 17.08.2005, 20:57   #19
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default

so by fact nobody has this working ?
archonus is offline  
Old 17.08.2005, 21:38   #20
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

Well, it seems that it does work for people... Although I created the initial GM account b4 all the others and it has worked so far...
nepsquare is offline  
Old 17.08.2005, 23:04   #21
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default

what clean database are u using ? im using the one provided with projectc2beta3
archonus is offline  
Old 18.08.2005, 01:47   #22
Professor F
Архивный участник
 
Join Date: Jul 2005
Posts: 136
Default

maybe letbuilder 5? or smth else...
Professor F is offline  
Old 18.08.2005, 07:41   #23
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

Me too, then I wiped it b4 I went to C3...
nepsquare is offline  
Old 18.08.2005, 15:21   #24
archonus
Архивный участник
 
Join Date: Apr 2005
Posts: 75
Default

any more ideas guys ?
archonus is offline  
Old 18.08.2005, 16:07   #25
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

- make a new account, don't make a character!!!
- edit the db: builder_account
- reboot server
- log in for the first time(!), make char.
- Set limit, set builder
- re-login...
nepsquare is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:48.